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.



30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
# File 'lib/BuildingSync.rb', line 30707

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.



30684
30685
30686
# File 'lib/BuildingSync.rb', line 30684

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



30685
30686
30687
# File 'lib/BuildingSync.rb', line 30685

def address2
  @address2
end

#cityObject

Returns the value of attribute city.



30686
30687
30688
# File 'lib/BuildingSync.rb', line 30686

def city
  @city
end

#companyNameObject

Returns the value of attribute companyName.



30693
30694
30695
# File 'lib/BuildingSync.rb', line 30693

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



30689
30690
30691
# File 'lib/BuildingSync.rb', line 30689

def country
  @country
end

#email1AddressObject

Returns the value of attribute email1Address.



30691
30692
30693
# File 'lib/BuildingSync.rb', line 30691

def email1Address
  @email1Address
end

#firstNameObject

Returns the value of attribute firstName.



30681
30682
30683
# File 'lib/BuildingSync.rb', line 30681

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



30682
30683
30684
# File 'lib/BuildingSync.rb', line 30682

def lastName
  @lastName
end

#middleNameObject

Returns the value of attribute middleName.



30683
30684
30685
# File 'lib/BuildingSync.rb', line 30683

def middleName
  @middleName
end

#phoneNumberObject

Returns the value of attribute phoneNumber.



30690
30691
30692
# File 'lib/BuildingSync.rb', line 30690

def phoneNumber
  @phoneNumber
end

#stateObject

Returns the value of attribute state.



30687
30688
30689
# File 'lib/BuildingSync.rb', line 30687

def state
  @state
end

#webPageObject

Returns the value of attribute webPage.



30692
30693
30694
# File 'lib/BuildingSync.rb', line 30692

def webPage
  @webPage
end

#zipCodeObject

Returns the value of attribute zipCode.



30688
30689
30690
# File 'lib/BuildingSync.rb', line 30688

def zipCode
  @zipCode
end

Instance Method Details

#__xmlattrObject



30695
30696
30697
# File 'lib/BuildingSync.rb', line 30695

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



30699
30700
30701
# File 'lib/BuildingSync.rb', line 30699

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



30703
30704
30705
# File 'lib/BuildingSync.rb', line 30703

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