struct Facebook::Proto::HotelRoom
- Facebook::Proto::HotelRoom
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/HotelRoom.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: :base_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :margin_level, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :room_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :sale_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, 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, base_price : String | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, images : Array(String) | Nil = nil, margin_level : String | Nil = nil, name : String | Nil = nil, room_id : String | Nil = nil, sale_price : String | Nil = nil, url : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #base_price : String | Nil
- #base_price=(base_price : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #images : Array(String) | Nil
- #images=(images : Array(String) | Nil)
- #images=(images : Array(String) | Nil)
- #margin_level : String | Nil
- #margin_level=(margin_level : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #room_id : String | Nil
- #room_id=(room_id : String | Nil)
- #sale_price : String | Nil
- #sale_price=(sale_price : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #url : String | Nil
- #url=(url : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, base_price : String | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, images : Array(String) | Nil = nil, margin_level : String | Nil = nil, name : String | Nil = nil, room_id : String | Nil = nil, sale_price : String | Nil = nil, url : String | Nil = nil)
#