struct Facebook::Proto::Destination
- Facebook::Proto::Destination
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Destination.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: :address, 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: :destination_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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: :price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :price_change, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :sanitized_images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 11 => {name: :types, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 12 => {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, address : String | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, destination_id : String | Nil = nil, images : Array(String) | Nil = nil, name : String | Nil = nil, price : String | Nil = nil, price_change : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, types : Array(String) | Nil = nil, url : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #address : String | Nil
- #address=(address : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #destination_id : String | Nil
- #destination_id=(destination_id : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #images : Array(String) | Nil
- #images=(images : Array(String) | Nil)
- #images=(images : Array(String) | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #price : String | Nil
- #price=(price : String | Nil)
- #price_change : String | Nil
- #price_change=(price_change : 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
- #types : Array(String) | Nil
- #types=(types : Array(String) | Nil)
- #types=(types : Array(String) | Nil)
- #url : String | Nil
- #url=(url : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, address : String | Nil = nil, currency : String | Nil = nil, description : String | Nil = nil, destination_id : String | Nil = nil, images : Array(String) | Nil = nil, name : String | Nil = nil, price : String | Nil = nil, price_change : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, types : Array(String) | Nil = nil, url : String | Nil = nil)
#