Class: BuildingSync::WeatherStations::WeatherStation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#weatherDataStationIDObject

Returns the value of attribute weatherDataStationID.



21941
21942
21943
# File 'lib/BuildingSync.rb', line 21941

def weatherDataStationID
  @weatherDataStationID
end

#weatherStationCategoryObject

Returns the value of attribute weatherStationCategory.



21943
21944
21945
# File 'lib/BuildingSync.rb', line 21943

def weatherStationCategory
  @weatherStationCategory
end

#weatherStationNameObject

Returns the value of attribute weatherStationName.



21942
21943
21944
# File 'lib/BuildingSync.rb', line 21942

def weatherStationName
  @weatherStationName
end

Instance Method Details

#__xmlattrObject



21945
21946
21947
# File 'lib/BuildingSync.rb', line 21945

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_IDObject



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