struct Facebook::Proto::FoodDrinkOrder
- Facebook::Proto::FoodDrinkOrder
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/FoodDrinkOrder.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: :admin_note, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :creation_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :customer_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :customer_phone_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :note, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :state, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :update_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, admin_note : String | Nil = nil, creation_time : Datetime | Nil = nil, customer_name : String | Nil = nil, customer_phone_number : String | Nil = nil, note : String | Nil = nil, state : String | Nil = nil, update_time : Datetime | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #admin_note : String | Nil
- #admin_note=(admin_note : String | Nil)
- #creation_time : Datetime | Nil
- #creation_time=(creation_time : Datetime | Nil)
- #customer_name : String | Nil
- #customer_name=(customer_name : String | Nil)
- #customer_phone_number : String | Nil
- #customer_phone_number=(customer_phone_number : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #note : String | Nil
- #note=(note : String | Nil)
- #state : String | Nil
- #state=(state : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #update_time : Datetime | Nil
- #update_time=(update_time : Datetime | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, admin_note : String | Nil = nil, creation_time : Datetime | Nil = nil, customer_name : String | Nil = nil, customer_phone_number : String | Nil = nil, note : String | Nil = nil, state : String | Nil = nil, update_time : Datetime | Nil = nil)
#