Class: BuildingSync::Meter
- Inherits:
-
Object
- Object
- BuildingSync::Meter
- Defined in:
- lib/BuildingSync.rb
Overview
http://www.gbxml.org/schemaMeter
name - SOAP::SOAPString
description - SOAP::SOAPString
utilityRate - BuildingSync::UtilityRate
xmlattr_id - SOAP::SOAPID
xmlattr_resourceType - SOAP::SOAPNMTOKEN
xmlattr_programId - SOAP::SOAPIDREF
Constant Summary collapse
- AttrId =
XSD::QName.new(nil, "id")
- AttrProgramId =
XSD::QName.new(nil, "programId")
- AttrResourceType =
XSD::QName.new(nil, "resourceType")
Instance Attribute Summary collapse
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#utilityRate ⇒ Object
Returns the value of attribute utilityRate.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(name = [], description = [], utilityRate = []) ⇒ Meter
constructor
A new instance of Meter.
- #set_any(elements) ⇒ 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(name = [], description = [], utilityRate = []) ⇒ Meter
Returns a new instance of Meter.
30332 30333 30334 30335 30336 30337 30338 |
# File 'lib/BuildingSync.rb', line 30332 def initialize(name = [], description = [], utilityRate = []) @name = name @description = description @utilityRate = utilityRate @__xmlele_any = nil @__xmlattr = {} end |
Instance Attribute Details
#__xmlele_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
30298 30299 30300 |
# File 'lib/BuildingSync.rb', line 30298 def __xmlele_any @__xmlele_any end |
#description ⇒ Object
Returns the value of attribute description.
30296 30297 30298 |
# File 'lib/BuildingSync.rb', line 30296 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
30295 30296 30297 |
# File 'lib/BuildingSync.rb', line 30295 def name @name end |
#utilityRate ⇒ Object
Returns the value of attribute utilityRate.
30297 30298 30299 |
# File 'lib/BuildingSync.rb', line 30297 def utilityRate @utilityRate end |
Instance Method Details
#__xmlattr ⇒ Object
30304 30305 30306 |
# File 'lib/BuildingSync.rb', line 30304 def __xmlattr @__xmlattr ||= {} end |
#set_any(elements) ⇒ Object
30300 30301 30302 |
# File 'lib/BuildingSync.rb', line 30300 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_id ⇒ Object
30308 30309 30310 |
# File 'lib/BuildingSync.rb', line 30308 def xmlattr_id __xmlattr[AttrId] end |
#xmlattr_id=(value) ⇒ Object
30312 30313 30314 |
# File 'lib/BuildingSync.rb', line 30312 def xmlattr_id=(value) __xmlattr[AttrId] = value end |
#xmlattr_programId ⇒ Object
30324 30325 30326 |
# File 'lib/BuildingSync.rb', line 30324 def xmlattr_programId __xmlattr[AttrProgramId] end |
#xmlattr_programId=(value) ⇒ Object
30328 30329 30330 |
# File 'lib/BuildingSync.rb', line 30328 def xmlattr_programId=(value) __xmlattr[AttrProgramId] = value end |
#xmlattr_resourceType ⇒ Object
30316 30317 30318 |
# File 'lib/BuildingSync.rb', line 30316 def xmlattr_resourceType __xmlattr[AttrResourceType] end |
#xmlattr_resourceType=(value) ⇒ Object
30320 30321 30322 |
# File 'lib/BuildingSync.rb', line 30320 def xmlattr_resourceType=(value) __xmlattr[AttrResourceType] = value end |