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.
21957 21958 21959 21960 21961 21962 |
# File 'lib/BuildingSync.rb', line 21957 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.
21941 21942 21943 |
# File 'lib/BuildingSync.rb', line 21941 def weatherDataStationID @weatherDataStationID end |
#weatherStationCategory ⇒ Object
Returns the value of attribute weatherStationCategory.
21943 21944 21945 |
# File 'lib/BuildingSync.rb', line 21943 def weatherStationCategory @weatherStationCategory end |
#weatherStationName ⇒ Object
Returns the value of attribute weatherStationName.
21942 21943 21944 |
# File 'lib/BuildingSync.rb', line 21942 def weatherStationName @weatherStationName end |
Instance Method Details
#__xmlattr ⇒ Object
21945 21946 21947 |
# File 'lib/BuildingSync.rb', line 21945 def __xmlattr @__xmlattr ||= {} end |
#xmlattr_ID ⇒ Object
21949 21950 21951 |
# File 'lib/BuildingSync.rb', line 21949 def xmlattr_ID __xmlattr[AttrID] end |
#xmlattr_ID=(value) ⇒ Object
21953 21954 21955 |
# File 'lib/BuildingSync.rb', line 21953 def xmlattr_ID=(value) __xmlattr[AttrID] = value end |