Class: BuildingSync::PersonInfo

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

Overview

http://www.gbxml.org/schemaPersonInfo

firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
middleName - SOAP::SOAPString
address1 - SOAP::SOAPString
address2 - SOAP::SOAPString
city - SOAP::SOAPString
state - SOAP::SOAPString
zipCode - SOAP::SOAPString
country - SOAP::SOAPString
phoneNumber - SOAP::SOAPString
email1Address - SOAP::SOAPString
webPage - SOAP::SOAPString
companyName - 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(firstName = [], lastName = [], middleName = [], address1 = [], address2 = [], city = [], state = [], zipCode = [], country = [], phoneNumber = [], email1Address = [], webPage = [], companyName = []) ⇒ PersonInfo

Returns a new instance of PersonInfo.



31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
# File 'lib/BuildingSync.rb', line 31232

def initialize(firstName = [], lastName = [], middleName = [], address1 = [], address2 = [], city = [], state = [], zipCode = [], country = [], phoneNumber = [], email1Address = [], webPage = [], companyName = [])
  @firstName = firstName
  @lastName = lastName
  @middleName = middleName
  @address1 = address1
  @address2 = address2
  @city = city
  @state = state
  @zipCode = zipCode
  @country = country
  @phoneNumber = phoneNumber
  @email1Address = email1Address
  @webPage = webPage
  @companyName = companyName
  @__xmlattr = {}
end

Instance Attribute Details

#address1Object

Returns the value of attribute address1.



31209
31210
31211
# File 'lib/BuildingSync.rb', line 31209

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



31210
31211
31212
# File 'lib/BuildingSync.rb', line 31210

def address2
  @address2
end

#cityObject

Returns the value of attribute city.



31211
31212
31213
# File 'lib/BuildingSync.rb', line 31211

def city
  @city
end

#companyNameObject

Returns the value of attribute companyName.



31218
31219
31220
# File 'lib/BuildingSync.rb', line 31218

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



31214
31215
31216
# File 'lib/BuildingSync.rb', line 31214

def country
  @country
end

#email1AddressObject

Returns the value of attribute email1Address.



31216
31217
31218
# File 'lib/BuildingSync.rb', line 31216

def email1Address
  @email1Address
end

#firstNameObject

Returns the value of attribute firstName.



31206
31207
31208
# File 'lib/BuildingSync.rb', line 31206

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



31207
31208
31209
# File 'lib/BuildingSync.rb', line 31207

def lastName
  @lastName
end

#middleNameObject

Returns the value of attribute middleName.



31208
31209
31210
# File 'lib/BuildingSync.rb', line 31208

def middleName
  @middleName
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



31215
31216
31217
# File 'lib/BuildingSync.rb', line 31215

def phoneNumber
  @phoneNumber
end

#stateObject

Returns the value of attribute state.



31212
31213
31214
# File 'lib/BuildingSync.rb', line 31212

def state
  @state
end

#webPageObject

Returns the value of attribute webPage.



31217
31218
31219
# File 'lib/BuildingSync.rb', line 31217

def webPage
  @webPage
end

#zipCodeObject

Returns the value of attribute zipCode.



31213
31214
31215
# File 'lib/BuildingSync.rb', line 31213

def zipCode
  @zipCode
end

Instance Method Details

#__xmlattrObject



31220
31221
31222
# File 'lib/BuildingSync.rb', line 31220

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



31224
31225
31226
# File 'lib/BuildingSync.rb', line 31224

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



31228
31229
31230
# File 'lib/BuildingSync.rb', line 31228

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