Class: BuildingSync::SiteType

Inherits:
Object
  • Object
show all
Defined in:
lib/BuildingSync.rb

Overview

http://buildingsync.net/schemas/bedes-auc/2019SiteType

premisesIdentifiers - BuildingSync::PremisesIdentifiers
premisesName - SOAP::SOAPString
premisesNotes - SOAP::SOAPString
occupancyClassification - BuildingSync::OccupancyClassificationType
address - BuildingSync::Address
climateZoneType - BuildingSync::ClimateZoneType
eGRIDRegionCode - SOAP::SOAPString
eGRIDSubregionCodes - BuildingSync::EGRIDSubregionCodes
weatherDataStationID - BuildingSync::WeatherDataStationID
weatherStationName - BuildingSync::WeatherStationName
weatherStationCategory - SOAP::SOAPString
weatherStations - BuildingSync::WeatherStations
longitude - BuildingSync::Longitude
latitude - BuildingSync::Latitude
floorAreas - BuildingSync::FloorAreas
ownership - SOAP::SOAPString
ownershipStatus - SOAP::SOAPString
primaryContactID - BuildingSync::PrimaryContactID
buildings - BuildingSync::SiteType::Buildings
userDefinedFields - BuildingSync::UserDefinedFields
xmlattr_ID - SOAP::SOAPID

Defined Under Namespace

Classes: Buildings

Constant Summary collapse

AttrID =
XSD::QName.new(nil, "ID")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(premisesIdentifiers = nil, premisesName = nil, premisesNotes = nil, occupancyClassification = nil, address = nil, climateZoneType = nil, eGRIDRegionCode = nil, eGRIDSubregionCodes = nil, weatherDataStationID = nil, weatherStationName = nil, weatherStationCategory = nil, weatherStations = nil, longitude = nil, latitude = nil, floorAreas = nil, ownership = nil, ownershipStatus = nil, primaryContactID = nil, buildings = nil, userDefinedFields = nil) ⇒ SiteType

Returns a new instance of SiteType.



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/BuildingSync.rb', line 68

def initialize(premisesIdentifiers = nil, premisesName = nil, premisesNotes = nil, occupancyClassification = nil, address = nil, climateZoneType = nil, eGRIDRegionCode = nil, eGRIDSubregionCodes = nil, weatherDataStationID = nil, weatherStationName = nil, weatherStationCategory = nil, weatherStations = nil, longitude = nil, latitude = nil, floorAreas = nil, ownership = nil, ownershipStatus = nil, primaryContactID = nil, buildings = nil, userDefinedFields = nil)
  @premisesIdentifiers = premisesIdentifiers
  @premisesName = premisesName
  @premisesNotes = premisesNotes
  @occupancyClassification = occupancyClassification
  @address = address
  @climateZoneType = climateZoneType
  @eGRIDRegionCode = eGRIDRegionCode
  @eGRIDSubregionCodes = eGRIDSubregionCodes
  @weatherDataStationID = weatherDataStationID
  @weatherStationName = weatherStationName
  @weatherStationCategory = weatherStationCategory
  @weatherStations = weatherStations
  @longitude = longitude
  @latitude = latitude
  @floorAreas = floorAreas
  @ownership = ownership
  @ownershipStatus = ownershipStatus
  @primaryContactID = primaryContactID
  @buildings = buildings
  @userDefinedFields = userDefinedFields
  @__xmlattr = {}
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



39
40
41
# File 'lib/BuildingSync.rb', line 39

def address
  @address
end

#buildingsObject

Returns the value of attribute buildings.



53
54
55
# File 'lib/BuildingSync.rb', line 53

def buildings
  @buildings
end

#climateZoneTypeObject

Returns the value of attribute climateZoneType.



40
41
42
# File 'lib/BuildingSync.rb', line 40

def climateZoneType
  @climateZoneType
end

#eGRIDRegionCodeObject

Returns the value of attribute eGRIDRegionCode.



41
42
43
# File 'lib/BuildingSync.rb', line 41

def eGRIDRegionCode
  @eGRIDRegionCode
end

#eGRIDSubregionCodesObject

Returns the value of attribute eGRIDSubregionCodes.



42
43
44
# File 'lib/BuildingSync.rb', line 42

def eGRIDSubregionCodes
  @eGRIDSubregionCodes
end

#floorAreasObject

Returns the value of attribute floorAreas.



49
50
51
# File 'lib/BuildingSync.rb', line 49

def floorAreas
  @floorAreas
end

#latitudeObject

Returns the value of attribute latitude.



48
49
50
# File 'lib/BuildingSync.rb', line 48

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



47
48
49
# File 'lib/BuildingSync.rb', line 47

def longitude
  @longitude
end

#occupancyClassificationObject

Returns the value of attribute occupancyClassification.



38
39
40
# File 'lib/BuildingSync.rb', line 38

def occupancyClassification
  @occupancyClassification
end

#ownershipObject

Returns the value of attribute ownership.



50
51
52
# File 'lib/BuildingSync.rb', line 50

def ownership
  @ownership
end

#ownershipStatusObject

Returns the value of attribute ownershipStatus.



51
52
53
# File 'lib/BuildingSync.rb', line 51

def ownershipStatus
  @ownershipStatus
end

#premisesIdentifiersObject

Returns the value of attribute premisesIdentifiers.



35
36
37
# File 'lib/BuildingSync.rb', line 35

def premisesIdentifiers
  @premisesIdentifiers
end

#premisesNameObject

Returns the value of attribute premisesName.



36
37
38
# File 'lib/BuildingSync.rb', line 36

def premisesName
  @premisesName
end

#premisesNotesObject

Returns the value of attribute premisesNotes.



37
38
39
# File 'lib/BuildingSync.rb', line 37

def premisesNotes
  @premisesNotes
end

#primaryContactIDObject

Returns the value of attribute primaryContactID.



52
53
54
# File 'lib/BuildingSync.rb', line 52

def primaryContactID
  @primaryContactID
end

#userDefinedFieldsObject

Returns the value of attribute userDefinedFields.



54
55
56
# File 'lib/BuildingSync.rb', line 54

def userDefinedFields
  @userDefinedFields
end

#weatherDataStationIDObject

Returns the value of attribute weatherDataStationID.



43
44
45
# File 'lib/BuildingSync.rb', line 43

def weatherDataStationID
  @weatherDataStationID
end

#weatherStationCategoryObject

Returns the value of attribute weatherStationCategory.



45
46
47
# File 'lib/BuildingSync.rb', line 45

def weatherStationCategory
  @weatherStationCategory
end

#weatherStationNameObject

Returns the value of attribute weatherStationName.



44
45
46
# File 'lib/BuildingSync.rb', line 44

def weatherStationName
  @weatherStationName
end

#weatherStationsObject

Returns the value of attribute weatherStations.



46
47
48
# File 'lib/BuildingSync.rb', line 46

def weatherStations
  @weatherStations
end

Instance Method Details

#__xmlattrObject



56
57
58
# File 'lib/BuildingSync.rb', line 56

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_IDObject



60
61
62
# File 'lib/BuildingSync.rb', line 60

def xmlattr_ID
  __xmlattr[AttrID]
end

#xmlattr_ID=(value) ⇒ Object



64
65
66
# File 'lib/BuildingSync.rb', line 64

def xmlattr_ID=(value)
  __xmlattr[AttrID] = value
end