class Realogy::Office

Public Instance Methods

addl_language_names() click to toggle source

addlLanguageNames : [Hash] A collection of office names in other languages (non-English)“,

# File lib/realogy/app/models/realogy/office.rb, line 6
def addl_language_names
  self.dig_for_array("addlLanguageNames")
end
addl_phone_numbers() click to toggle source

addlPhoneNumbers : [Hash] Array of additional phone numbers associated with the office

# File lib/realogy/app/models/realogy/office.rb, line 13
def addl_phone_numbers
  self.dig_for_array("addlPhoneNumbers")
end
addl_websites() click to toggle source

addlWebSites : [Hash] A collection of websites associated with the Office

# File lib/realogy/app/models/realogy/office.rb, line 20
def addl_websites
  self.dig_for_array("addlWebSites")
end
area_served() click to toggle source

areaServed : [Hash] Collection of areas served by the office

# File lib/realogy/app/models/realogy/office.rb, line 27
def area_served
  self.dig_for_array("areaServed")
end
brand_code() click to toggle source

brandCode : String The Franchise that the Office is part of

# File lib/realogy/app/models/realogy/office.rb, line 34
def brand_code
  self.dig_for_string("officeSummary", "brandCode")
end
broker_name() click to toggle source

brokerName : String Name of the Broker of the Office

# File lib/realogy/app/models/realogy/office.rb, line 41
def broker_name
  self.dig_for_string("brokerName")
end
city() click to toggle source

city : String City

# File lib/realogy/app/models/realogy/office.rb, line 48
def city
  self.dig_for_string("officeSummary", "officeAddress", "city")
end
company_id() click to toggle source

companyId : String Globally unique identifier assigned to a company by Realogy“

# File lib/realogy/app/models/realogy/office.rb, line 55
def company_id
  self.dig_for_string("officeSummary", "companyId")
end
company_name() click to toggle source

companyName : String Name of the Company

# File lib/realogy/app/models/realogy/office.rb, line 62
def company_name
  self.dig_for_string("officeSummary", "companyName")
end
country() click to toggle source

country : String Country

# File lib/realogy/app/models/realogy/office.rb, line 69
def country
  self.dig_for_string("officeSummary", "officeAddress", "country")
end
country_code() click to toggle source

countryCode : String ISO Code of the country

# File lib/realogy/app/models/realogy/office.rb, line 76
def country_code
  self.dig_for_string("officeSummary", "officeAddress", "countryCode")
end
default_photo_url() click to toggle source

defaultPhotoURL : String URL for the default photo associated with the Office

# File lib/realogy/app/models/realogy/office.rb, line 83
def default_photo_url
  self.dig_for_string("defaultPhotoURL")
end
district() click to toggle source

district : String Subdivision name in the country or region for the address. In USA it's same as County.

# File lib/realogy/app/models/realogy/office.rb, line 90
def district
  self.dig_for_string("officeSummary", "officeAddress", "district")
end
email_address() click to toggle source

emailAddress : String description“: ”Main contact email address for the office

# File lib/realogy/app/models/realogy/office.rb, line 97
def email_address
  self.dig_for_string("officeSummary", "emailAddress")
end
entity_preference() click to toggle source

entityPreference : [Hash] Array of entityPreference associated with the office

# File lib/realogy/app/models/realogy/office.rb, line 104
def entity_preference
  self.dig_for_array("entityPreference")
end
fax_number() click to toggle source

faxNumber : String Fax number for the office

# File lib/realogy/app/models/realogy/office.rb, line 111
def fax_number
  self.dig_for_string("officeSummary", "faxNumber")
end
formatted_address() click to toggle source

formattedAddress : String Formatted address for display purpose

# File lib/realogy/app/models/realogy/office.rb, line 118
def formatted_address
  self.dig_for_string("officeSummary", "officeAddress", "formattedAddress")
end
geographic_regions() click to toggle source

geographicRegions : Array A collection of geographic regions associated with the Office location

# File lib/realogy/app/models/realogy/office.rb, line 125
def geographic_regions
  self.dig_for_array("geographicRegions")
end
languages_spoken() click to toggle source

languagesSpoken : Array A collection of languages spoken by Agents that work out of the office

# File lib/realogy/app/models/realogy/office.rb, line 132
def languages_spoken
  self.dig_for_array("languagesSpoken")
end
last_updated() click to toggle source

lastUpdateOn : DateTime The date/time that the Office record was last updated in the system (UTC)

# File lib/realogy/app/models/realogy/office.rb, line 139
def last_updated
  self.dig_for_datetime("lastUpdateOn")
end
latitude() click to toggle source

latitude : Decimal Latitude of a location

# File lib/realogy/app/models/realogy/office.rb, line 146
def latitude
  self.dig_for_decimal("officeSummary", "officeAddress", "latitude")
end
lead_email_address() click to toggle source

leadEmailAddress : String Email address to send any leads generated for the Office

# File lib/realogy/app/models/realogy/office.rb, line 153
def lead_email_address
  self.dig_for_string("leadEmailAddress")
end
longitude() click to toggle source

longitude : Decimal Longitude of a location

# File lib/realogy/app/models/realogy/office.rb, line 160
def longitude
  self.dig_for_decimal("officeSummary", "officeAddress", "longitude")
end
media() click to toggle source

media : [Hash]

# File lib/realogy/app/models/realogy/office.rb, line 166
def media
  self.dig_for_array("media")
end
mls_information() click to toggle source

mlsInformation : Array A collection of MLS numbers associated with an Office

# File lib/realogy/app/models/realogy/office.rb, line 173
def mls_information
  self.dig_for_array("mlsInformation")
end
name() click to toggle source

name : String Name of the office

# File lib/realogy/app/models/realogy/office.rb, line 180
def name
  self.dig_for_string("officeSummary", "name")
end
office_address() click to toggle source

officeAddress : Hash

# File lib/realogy/app/models/realogy/office.rb, line 186
def office_address
  self.dig_for_hash("officeSummary", "officeAddress")
end
office_id() click to toggle source

officeId : String Globally unique identifier assigned to an office by Realogy

# File lib/realogy/app/models/realogy/office.rb, line 193
def office_id
  self.dig_for_string("officeSummary", "officeId")
end
office_manager_name() click to toggle source

officeManagerName : String Name of the Office Manager

# File lib/realogy/app/models/realogy/office.rb, line 200
def office_manager_name
  self.dig_for_string("officeManagerName")
end
office_summary() click to toggle source

officeSummary

# File lib/realogy/app/models/realogy/office.rb, line 206
def office_summary
  self.dig_for_hash("officeSummary")
end
office_type() click to toggle source

type : String Type of office (Main, Branch, etc.)

# File lib/realogy/app/models/realogy/office.rb, line 213
def office_type
  self.dig_for_string("officeSummary", "type")
end
phone_number() click to toggle source

phoneNumber : String Main contact phone number for the office

# File lib/realogy/app/models/realogy/office.rb, line 220
def phone_number
  self.dig_for_string("officeSummary", "phoneNumber")
end
postal_code() click to toggle source

postalCode : String ZIP/Postal code“

# File lib/realogy/app/models/realogy/office.rb, line 227
def postal_code
  self.dig_for_string("officeSummary", "officeAddress", "postalCode")
end
recruiting_email_address() click to toggle source

recruitingEmailAddress : String Email address to send any recruiting-related communications for the Office

# File lib/realogy/app/models/realogy/office.rb, line 234
def recruiting_email_address
  self.dig_for_string("recruitingEmailAddress")
end
remarks() click to toggle source

remarks : [Hash] Collection of remarks for the Office

# File lib/realogy/app/models/realogy/office.rb, line 241
def remarks
  self.dig_for_array("remarks")
end
rfg_company_id() click to toggle source

RFGCompanyId : String Unique identifier assigned to a company by Realogy

# File lib/realogy/app/models/realogy/office.rb, line 248
def rfg_company_id
  self.dig_for_string("RFGCompanyId")
end
rfg_office_id() click to toggle source

RFGOfficeId : String Unique identifier assigned to an office by Realogy

# File lib/realogy/app/models/realogy/office.rb, line 255
def rfg_office_id
  self.dig_for_string("RFGOfficeId")
end
seasonal_close_mmdd() click to toggle source

seasonalCloseMMDD : String If a Seasonal Office, the month/day on which the Office closes in a year

# File lib/realogy/app/models/realogy/office.rb, line 262
def seasonal_close_mmdd
  self.dig_for_string("seasonalCloseMMDD")
end
seasonal_open_mmdd() click to toggle source

seasonalOpenMMDD : String If a Seasonal Office, the month/day on which the Office opens in a year

# File lib/realogy/app/models/realogy/office.rb, line 269
def seasonal_open_mmdd
  self.dig_for_string("seasonalOpenMMDD")
end
special_markets() click to toggle source

specialMarkets : Array A list of Markets that the Office specializes in

# File lib/realogy/app/models/realogy/office.rb, line 276
def special_markets
  self.dig_for_array("specialMarkets")
end
state_province() click to toggle source

stateProvince : String State/Province where the address is

# File lib/realogy/app/models/realogy/office.rb, line 283
def state_province
  self.dig_for_string("officeSummary", "officeAddress", "stateProvince")
end
state_province_code() click to toggle source

stateProvinceCode : String ISO code of the state/subdivision

# File lib/realogy/app/models/realogy/office.rb, line 290
def state_province_code
  self.dig_for_string("officeSummary", "officeAddress", "stateProvinceCode")
end
street_address() click to toggle source

streetAddress : String Street address“

# File lib/realogy/app/models/realogy/office.rb, line 297
def street_address
  self.dig_for_string("officeSummary", "officeAddress", "streetAddress")
end
website_url() click to toggle source

websiteURL : String URL to the Office's website

# File lib/realogy/app/models/realogy/office.rb, line 304
def website_url
  self.dig_for_string("websiteURL")
end