struct Facebook::Proto::HomeListing
- Facebook::Proto::HomeListing
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/HomeListing.pb.crConstant Summary
-
FIELDS =
{1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :ac_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :additional_fees_description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :agent_company, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :agent_email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :agent_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :agent_phone, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :area_size, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :area_unit, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :availability, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :days_on_market, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :furnish_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :group_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :heating_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :home_listing_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 19 => {name: :laundry_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :listing_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :max_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :max_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :min_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :min_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :num_baths, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :num_beds, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :num_rooms, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :num_units, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :parking_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :partner_verification, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :pet_policy, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :property_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :sanitized_images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 36 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :year_built, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(id : String | Nil = nil, ac_type : String | Nil = nil, additional_fees_description : String | Nil = nil, agent_company : String | Nil = nil, agent_email : String | Nil = nil, agent_name : String | Nil = nil, agent_phone : String | Nil = nil, area_size : Int64 | Nil = nil, area_unit : String | Nil = nil, availability : String | Nil = nil, currency : String | Nil = nil, days_on_market : Int64 | Nil = nil, description : String | Nil = nil, furnish_type : String | Nil = nil, group_id : String | Nil = nil, heating_type : String | Nil = nil, home_listing_id : String | Nil = nil, images : Array(String) | Nil = nil, laundry_type : String | Nil = nil, listing_type : String | Nil = nil, max_currency : String | Nil = nil, max_price : String | Nil = nil, min_currency : String | Nil = nil, min_price : String | Nil = nil, name : String | Nil = nil, num_baths : Float64 | Nil = nil, num_beds : Float64 | Nil = nil, num_rooms : Float64 | Nil = nil, num_units : Int64 | Nil = nil, parking_type : String | Nil = nil, partner_verification : String | Nil = nil, pet_policy : String | Nil = nil, price : String | Nil = nil, property_type : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, url : String | Nil = nil, year_built : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #ac_type : String | Nil
- #ac_type=(ac_type : String | Nil)
- #additional_fees_description : String | Nil
- #additional_fees_description=(additional_fees_description : String | Nil)
- #agent_company : String | Nil
- #agent_company=(agent_company : String | Nil)
- #agent_email : String | Nil
- #agent_email=(agent_email : String | Nil)
- #agent_name : String | Nil
- #agent_name=(agent_name : String | Nil)
- #agent_phone : String | Nil
- #agent_phone=(agent_phone : String | Nil)
- #area_size : Int64 | Nil
- #area_size=(area_size : Int64 | Nil)
- #area_unit : String | Nil
- #area_unit=(area_unit : String | Nil)
- #availability : String | Nil
- #availability=(availability : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #days_on_market : Int64 | Nil
- #days_on_market=(days_on_market : Int64 | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #furnish_type : String | Nil
- #furnish_type=(furnish_type : String | Nil)
- #group_id : String | Nil
- #group_id=(group_id : String | Nil)
- #heating_type : String | Nil
- #heating_type=(heating_type : String | Nil)
- #home_listing_id : String | Nil
- #home_listing_id=(home_listing_id : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #images : Array(String) | Nil
- #images=(images : Array(String) | Nil)
- #images=(images : Array(String) | Nil)
- #laundry_type : String | Nil
- #laundry_type=(laundry_type : String | Nil)
- #listing_type : String | Nil
- #listing_type=(listing_type : String | Nil)
- #max_currency : String | Nil
- #max_currency=(max_currency : String | Nil)
- #max_price : String | Nil
- #max_price=(max_price : String | Nil)
- #min_currency : String | Nil
- #min_currency=(min_currency : String | Nil)
- #min_price : String | Nil
- #min_price=(min_price : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #num_baths : Float64 | Nil
- #num_baths=(num_baths : Float64 | Nil)
- #num_beds : Float64 | Nil
- #num_beds=(num_beds : Float64 | Nil)
- #num_rooms : Float64 | Nil
- #num_rooms=(num_rooms : Float64 | Nil)
- #num_units : Int64 | Nil
- #num_units=(num_units : Int64 | Nil)
- #parking_type : String | Nil
- #parking_type=(parking_type : String | Nil)
- #partner_verification : String | Nil
- #partner_verification=(partner_verification : String | Nil)
- #pet_policy : String | Nil
- #pet_policy=(pet_policy : String | Nil)
- #price : String | Nil
- #price=(price : String | Nil)
- #property_type : String | Nil
- #property_type=(property_type : String | Nil)
- #sanitized_images : Array(String) | Nil
- #sanitized_images=(sanitized_images : Array(String) | Nil)
- #sanitized_images=(sanitized_images : Array(String) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #url : String | Nil
- #url=(url : String | Nil)
- #year_built : Int64 | Nil
- #year_built=(year_built : Int64 | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, ac_type : String | Nil = nil, additional_fees_description : String | Nil = nil, agent_company : String | Nil = nil, agent_email : String | Nil = nil, agent_name : String | Nil = nil, agent_phone : String | Nil = nil, area_size : Int64 | Nil = nil, area_unit : String | Nil = nil, availability : String | Nil = nil, currency : String | Nil = nil, days_on_market : Int64 | Nil = nil, description : String | Nil = nil, furnish_type : String | Nil = nil, group_id : String | Nil = nil, heating_type : String | Nil = nil, home_listing_id : String | Nil = nil, images : Array(String) | Nil = nil, laundry_type : String | Nil = nil, listing_type : String | Nil = nil, max_currency : String | Nil = nil, max_price : String | Nil = nil, min_currency : String | Nil = nil, min_price : String | Nil = nil, name : String | Nil = nil, num_baths : Float64 | Nil = nil, num_beds : Float64 | Nil = nil, num_rooms : Float64 | Nil = nil, num_units : Int64 | Nil = nil, parking_type : String | Nil = nil, partner_verification : String | Nil = nil, pet_policy : String | Nil = nil, price : String | Nil = nil, property_type : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, url : String | Nil = nil, year_built : Int64 | Nil = nil)
#