Class: BuildingSync::HolidaysModeled

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

Overview

http://www.gbxml.org/schemaHolidaysModeled

name - SOAP::SOAPString
description - SOAP::SOAPString
holidayDate - SOAP::SOAPDate
xmlattr_id - SOAP::SOAPID

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, description = nil, holidayDate = nil) ⇒ HolidaysModeled

Returns a new instance of HolidaysModeled.



33973
33974
33975
33976
33977
33978
# File 'lib/BuildingSync.rb', line 33973

def initialize(name = nil, description = nil, holidayDate = nil)
  @name = name
  @description = description
  @holidayDate = holidayDate
  @__xmlattr = {}
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



33958
33959
33960
# File 'lib/BuildingSync.rb', line 33958

def description
  @description
end

#holidayDateObject

Returns the value of attribute holidayDate.



33959
33960
33961
# File 'lib/BuildingSync.rb', line 33959

def holidayDate
  @holidayDate
end

#nameObject

Returns the value of attribute name.



33957
33958
33959
# File 'lib/BuildingSync.rb', line 33957

def name
  @name
end

Instance Method Details

#__xmlattrObject



33961
33962
33963
# File 'lib/BuildingSync.rb', line 33961

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



33965
33966
33967
# File 'lib/BuildingSync.rb', line 33965

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



33969
33970
33971
# File 'lib/BuildingSync.rb', line 33969

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end