Class: BookingstudioRuby::WebService::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/bookingstudio_ruby/web_service/search_service.rb

Overview

/Location

id - SOAP::SOAPInt
parentLocationId - SOAP::SOAPInt
internalName - SOAP::SOAPString
name - SOAP::SOAPString
shortDescription - SOAP::SOAPString
longDescription - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, parentLocationId = nil, internalName = nil, name = nil, shortDescription = nil, longDescription = nil) ⇒ Location

Returns a new instance of Location.



117
118
119
120
121
122
123
124
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 117

def initialize(id = nil, parentLocationId = nil, internalName = nil, name = nil, shortDescription = nil, longDescription = nil)
  @id = id
  @parentLocationId = parentLocationId
  @internalName = internalName
  @name = name
  @shortDescription = shortDescription
  @longDescription = longDescription
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



110
111
112
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 110

def id
  @id
end

#internalNameObject

Returns the value of attribute internalName.



112
113
114
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 112

def internalName
  @internalName
end

#longDescriptionObject

Returns the value of attribute longDescription.



115
116
117
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 115

def longDescription
  @longDescription
end

#nameObject

Returns the value of attribute name.



113
114
115
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 113

def name
  @name
end

#parentLocationIdObject

Returns the value of attribute parentLocationId.



111
112
113
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 111

def parentLocationId
  @parentLocationId
end

#shortDescriptionObject

Returns the value of attribute shortDescription.



114
115
116
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 114

def shortDescription
  @shortDescription
end