Class: YieldStarClient::Property

Inherits:
Modelish::Base
  • Object
show all
Defined in:
lib/yield_star_client/property_methods.rb

Overview

Represents a property in the YieldStar system.

A property is guaranteed to have an external_property_id and name; all other attributes are optional.

Instance Attribute Summary collapse

Instance Attribute Details

#addressString

the street address

Returns:

  • (String)

    the current value of address



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def address
  @address
end

#cityString

the city in which the property is located

Returns:

  • (String)

    the current value of city



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def city
  @city
end

#external_property_idString

the property ID

Returns:

  • (String)

    the current value of external_property_id



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def external_property_id
  @external_property_id
end

#faxString

the fax telephone number

Returns:

  • (String)

    the current value of fax



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def fax
  @fax
end

#latitudeFloat

the latitude of the property’s location

Returns:

  • (Float)

    the current value of latitude



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def latitude
  @latitude
end

#longitudeFloat

the longitude of the property’s location

Returns:

  • (Float)

    the current value of longitude



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def longitude
  @longitude
end

#nameString

the name of the property

Returns:

  • (String)

    the current value of name



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def name
  @name
end

#phoneString

the voice telephone number

Returns:

  • (String)

    the current value of phone



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def phone
  @phone
end

#stateString

the two-letter code of the state in which the property is located

Returns:

  • (String)

    the current value of state



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def state
  @state
end

#unit_countInteger

the number of units at this property

Returns:

  • (Integer)

    the current value of unit_count



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def unit_count
  @unit_count
end

#websiteString

the URL of the property website

Returns:

  • (String)

    the current value of website



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def website
  @website
end

#year_builtInteger

the year in which the property was built

Returns:

  • (Integer)

    the current value of year_built



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def year_built
  @year_built
end

#zipString

the zip code

Returns:

  • (String)

    the current value of zip



22
23
24
# File 'lib/yield_star_client/property_methods.rb', line 22

def zip
  @zip
end