Class: BuildingSync::WeatherStations::WeatherStation
- Inherits:
-
Object
- Object
- BuildingSync::WeatherStations::WeatherStation
- Defined in:
- lib/BuildingSync.rb
Overview
http://buildingsync.net/schemas/bedes-auc/2019WeatherStation
weatherDataStationID - BuildingSync::WeatherDataStationID
weatherStationName - BuildingSync::WeatherStationName
weatherStationCategory - SOAP::SOAPString
xmlattr_ID - SOAP::SOAPID
Constant Summary collapse
- AttrID =
XSD::QName.new(nil, "ID")
Instance Attribute Summary collapse
-
#weatherDataStationID ⇒ Object
Returns the value of attribute weatherDataStationID.
-
#weatherStationCategory ⇒ Object
Returns the value of attribute weatherStationCategory.
-
#weatherStationName ⇒ Object
Returns the value of attribute weatherStationName.
Instance Method Summary collapse
- #__xmlattr ⇒ Object
-
#initialize(weatherDataStationID = nil, weatherStationName = nil, weatherStationCategory = nil) ⇒ WeatherStation
constructor
A new instance of WeatherStation.
- #xmlattr_ID ⇒ Object
- #xmlattr_ID=(value) ⇒ Object
Constructor Details
#initialize(weatherDataStationID = nil, weatherStationName = nil, weatherStationCategory = nil) ⇒ WeatherStation
Returns a new instance of WeatherStation.
22179 22180 22181 22182 22183 22184 |
# File 'lib/BuildingSync.rb', line 22179 def initialize(weatherDataStationID = nil, weatherStationName = nil, weatherStationCategory = nil) @weatherDataStationID = weatherDataStationID @weatherStationName = weatherStationName @weatherStationCategory = weatherStationCategory @__xmlattr = {} end |
Instance Attribute Details
#weatherDataStationID ⇒ Object
Returns the value of attribute weatherDataStationID.
22163 22164 22165 |
# File 'lib/BuildingSync.rb', line 22163 def weatherDataStationID @weatherDataStationID end |
#weatherStationCategory ⇒ Object
Returns the value of attribute weatherStationCategory.
22165 22166 22167 |
# File 'lib/BuildingSync.rb', line 22165 def weatherStationCategory @weatherStationCategory end |
#weatherStationName ⇒ Object
Returns the value of attribute weatherStationName.
22164 22165 22166 |
# File 'lib/BuildingSync.rb', line 22164 def weatherStationName @weatherStationName end |
Instance Method Details
#__xmlattr ⇒ Object
22167 22168 22169 |
# File 'lib/BuildingSync.rb', line 22167 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_ID ⇒ Object
22171 22172 22173 |
# File 'lib/BuildingSync.rb', line 22171 def xmlattr_ID __xmlattr[AttrID] end |
#xmlattr_ID=(value) ⇒ Object
22175 22176 22177 |
# File 'lib/BuildingSync.rb', line 22175 def xmlattr_ID=(value) __xmlattr[AttrID] = value end |