Class: BuildingSync::WeekSchedule

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

Overview

http://www.gbxml.org/schemaWeekSchedule

name - SOAP::SOAPString
description - SOAP::SOAPString
day - BuildingSync::Day
xmlattr_id - SOAP::SOAPID
xmlattr_scheduleType - SOAP::SOAPNMTOKEN
xmlattr_scheduleTypeLimitsId - SOAP::SOAPString

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrScheduleType =
XSD::QName.new(nil, "scheduleType")
AttrScheduleTypeLimitsId =
XSD::QName.new(nil, "scheduleTypeLimitsId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = [], description = [], day = []) ⇒ WeekSchedule

Returns a new instance of WeekSchedule.



33498
33499
33500
33501
33502
33503
# File 'lib/BuildingSync.rb', line 33498

def initialize(name = [], description = [], day = [])
  @name = name
  @description = description
  @day = day
  @__xmlattr = {}
end

Instance Attribute Details

#dayObject

Returns the value of attribute day.



33468
33469
33470
# File 'lib/BuildingSync.rb', line 33468

def day
  @day
end

#descriptionObject

Returns the value of attribute description.



33467
33468
33469
# File 'lib/BuildingSync.rb', line 33467

def description
  @description
end

#nameObject

Returns the value of attribute name.



33466
33467
33468
# File 'lib/BuildingSync.rb', line 33466

def name
  @name
end

Instance Method Details

#__xmlattrObject



33470
33471
33472
# File 'lib/BuildingSync.rb', line 33470

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



33474
33475
33476
# File 'lib/BuildingSync.rb', line 33474

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



33478
33479
33480
# File 'lib/BuildingSync.rb', line 33478

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

#xmlattr_scheduleTypeObject



33482
33483
33484
# File 'lib/BuildingSync.rb', line 33482

def xmlattr_scheduleType
  __xmlattr[AttrScheduleType]
end

#xmlattr_scheduleType=(value) ⇒ Object



33486
33487
33488
# File 'lib/BuildingSync.rb', line 33486

def xmlattr_scheduleType=(value)
  __xmlattr[AttrScheduleType] = value
end

#xmlattr_scheduleTypeLimitsIdObject



33490
33491
33492
# File 'lib/BuildingSync.rb', line 33490

def xmlattr_scheduleTypeLimitsId
  __xmlattr[AttrScheduleTypeLimitsId]
end

#xmlattr_scheduleTypeLimitsId=(value) ⇒ Object



33494
33495
33496
# File 'lib/BuildingSync.rb', line 33494

def xmlattr_scheduleTypeLimitsId=(value)
  __xmlattr[AttrScheduleTypeLimitsId] = value
end