struct Facebook::Proto::HomeListing

Included Modules

Defined in:

cli/proto/facebook/HomeListing.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def ac_type : String | Nil #

def ac_type=(ac_type : String | Nil) #

def additional_fees_description : String | Nil #

def additional_fees_description=(additional_fees_description : String | Nil) #

def agent_company : String | Nil #

def agent_company=(agent_company : String | Nil) #

def agent_email : String | Nil #

def agent_email=(agent_email : String | Nil) #

def agent_name : String | Nil #

def agent_name=(agent_name : String | Nil) #

def agent_phone : String | Nil #

def agent_phone=(agent_phone : String | Nil) #

def area_size : Int64 | Nil #

def area_size=(area_size : Int64 | Nil) #

def area_unit : String | Nil #

def area_unit=(area_unit : String | Nil) #

def availability : String | Nil #

def availability=(availability : String | Nil) #

def currency : String | Nil #

def currency=(currency : String | Nil) #

def days_on_market : Int64 | Nil #

def days_on_market=(days_on_market : Int64 | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def furnish_type : String | Nil #

def furnish_type=(furnish_type : String | Nil) #

def group_id : String | Nil #

def group_id=(group_id : String | Nil) #

def heating_type : String | Nil #

def heating_type=(heating_type : String | Nil) #

def home_listing_id : String | Nil #

def home_listing_id=(home_listing_id : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def images : Array(String) | Nil #

def images=(images : Array(String) | Nil) #

def images=(images : Array(String) | Nil) #

def laundry_type : String | Nil #

def laundry_type=(laundry_type : String | Nil) #

def listing_type : String | Nil #

def listing_type=(listing_type : String | Nil) #

def max_currency : String | Nil #

def max_currency=(max_currency : String | Nil) #

def max_price : String | Nil #

def max_price=(max_price : String | Nil) #

def min_currency : String | Nil #

def min_currency=(min_currency : String | Nil) #

def min_price : String | Nil #

def min_price=(min_price : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def num_baths : Float64 | Nil #

def num_baths=(num_baths : Float64 | Nil) #

def num_beds : Float64 | Nil #

def num_beds=(num_beds : Float64 | Nil) #

def num_rooms : Float64 | Nil #

def num_rooms=(num_rooms : Float64 | Nil) #

def num_units : Int64 | Nil #

def num_units=(num_units : Int64 | Nil) #

def parking_type : String | Nil #

def parking_type=(parking_type : String | Nil) #

def partner_verification : String | Nil #

def partner_verification=(partner_verification : String | Nil) #

def pet_policy : String | Nil #

def pet_policy=(pet_policy : String | Nil) #

def price : String | Nil #

def price=(price : String | Nil) #

def property_type : String | Nil #

def property_type=(property_type : String | Nil) #

def sanitized_images : Array(String) | Nil #

def sanitized_images=(sanitized_images : Array(String) | Nil) #

def sanitized_images=(sanitized_images : Array(String) | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def url : String | Nil #

def url=(url : String | Nil) #

def year_built : Int64 | Nil #

def year_built=(year_built : Int64 | Nil) #