Class: BuildingSync::AltEnergySource
- Inherits:
-
Object
- Object
- BuildingSync::AltEnergySource
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaAltEnergySource
meterId - BuildingSync::MeterId
xmlattr_id - SOAP::SOAPID
xmlattr_altEnergyType - SOAP::SOAPNMTOKEN
xmlattr_resourceType - SOAP::SOAPNMTOKEN
xmlattr_programId - SOAP::SOAPIDREF
Constant Summary collapse
- AttrAltEnergyType =
XSD::QName.new(nil, "altEnergyType")
- AttrId =
XSD::QName.new(nil, "id")
- AttrProgramId =
XSD::QName.new(nil, "programId")
- AttrResourceType =
XSD::QName.new(nil, "resourceType")
Instance Attribute Summary collapse
-
#meterId ⇒ Object
Returns the value of attribute meterId.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(meterId = []) ⇒ AltEnergySource
constructor
A new instance of AltEnergySource.
- #xmlattr_altEnergyType ⇒ Object
- #xmlattr_altEnergyType=(value) ⇒ Object
- #xmlattr_id ⇒ Object
- #xmlattr_id=(value) ⇒ Object
- #xmlattr_programId ⇒ Object
- #xmlattr_programId=(value) ⇒ Object
- #xmlattr_resourceType ⇒ Object
- #xmlattr_resourceType=(value) ⇒ Object
Constructor Details
#initialize(meterId = []) ⇒ AltEnergySource
Returns a new instance of AltEnergySource.
25469 25470 25471 25472 |
# File 'lib/BuildingSync.rb', line 25469 def initialize(meterId = []) @meterId = meterId @__xmlattr = {} end |
Instance Attribute Details
#meterId ⇒ Object
Returns the value of attribute meterId.
25431 25432 25433 |
# File 'lib/BuildingSync.rb', line 25431 def meterId @meterId end |
Instance Method Details
#__xmlattr ⇒ Object
25433 25434 25435 |
# File 'lib/BuildingSync.rb', line 25433 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_altEnergyType ⇒ Object
25445 25446 25447 |
# File 'lib/BuildingSync.rb', line 25445 def xmlattr_altEnergyType __xmlattr[AttrAltEnergyType] end |
#xmlattr_altEnergyType=(value) ⇒ Object
25449 25450 25451 |
# File 'lib/BuildingSync.rb', line 25449 def xmlattr_altEnergyType=(value) __xmlattr[AttrAltEnergyType] = value end |
#xmlattr_id ⇒ Object
25437 25438 25439 |
# File 'lib/BuildingSync.rb', line 25437 def xmlattr_id __xmlattr[AttrId] end |
#xmlattr_id=(value) ⇒ Object
25441 25442 25443 |
# File 'lib/BuildingSync.rb', line 25441 def xmlattr_id=(value) __xmlattr[AttrId] = value end |
#xmlattr_programId ⇒ Object
25461 25462 25463 |
# File 'lib/BuildingSync.rb', line 25461 def xmlattr_programId __xmlattr[AttrProgramId] end |
#xmlattr_programId=(value) ⇒ Object
25465 25466 25467 |
# File 'lib/BuildingSync.rb', line 25465 def xmlattr_programId=(value) __xmlattr[AttrProgramId] = value end |
#xmlattr_resourceType ⇒ Object
25453 25454 25455 |
# File 'lib/BuildingSync.rb', line 25453 def xmlattr_resourceType __xmlattr[AttrResourceType] end |
#xmlattr_resourceType=(value) ⇒ Object
25457 25458 25459 |
# File 'lib/BuildingSync.rb', line 25457 def xmlattr_resourceType=(value) __xmlattr[AttrResourceType] = value end |