struct Facebook::Proto::AutomotiveModel
- Facebook::Proto::AutomotiveModel
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AutomotiveModel.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: :automotive_model_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :availability, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :body_style, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :custom_label_0, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :drivetrain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :exterior_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :finance_description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :finance_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :fuel_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :generation, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 15 => {name: :interior_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :interior_upholstery, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :make, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :model, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :sanitized_images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :transmission, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :trim, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :year, 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, automotive_model_id : String | Nil = nil, availability : String | Nil = nil, body_style : String | Nil = nil, currency : String | Nil = nil, custom_label_0 : String | Nil = nil, description : String | Nil = nil, drivetrain : String | Nil = nil, exterior_color : String | Nil = nil, finance_description : String | Nil = nil, finance_type : String | Nil = nil, fuel_type : String | Nil = nil, generation : String | Nil = nil, images : Array(String) | Nil = nil, interior_color : String | Nil = nil, interior_upholstery : String | Nil = nil, make : String | Nil = nil, model : String | Nil = nil, price : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, title : String | Nil = nil, transmission : String | Nil = nil, trim : String | Nil = nil, url : String | Nil = nil, year : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #automotive_model_id : String | Nil
- #automotive_model_id=(automotive_model_id : String | Nil)
- #availability : String | Nil
- #availability=(availability : String | Nil)
- #body_style : String | Nil
- #body_style=(body_style : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #custom_label_0 : String | Nil
- #custom_label_0=(custom_label_0 : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #drivetrain : String | Nil
- #drivetrain=(drivetrain : String | Nil)
- #exterior_color : String | Nil
- #exterior_color=(exterior_color : String | Nil)
- #finance_description : String | Nil
- #finance_description=(finance_description : String | Nil)
- #finance_type : String | Nil
- #finance_type=(finance_type : String | Nil)
- #fuel_type : String | Nil
- #fuel_type=(fuel_type : String | Nil)
- #generation : String | Nil
- #generation=(generation : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #images : Array(String) | Nil
- #images=(images : Array(String) | Nil)
- #images=(images : Array(String) | Nil)
- #interior_color : String | Nil
- #interior_color=(interior_color : String | Nil)
- #interior_upholstery : String | Nil
- #interior_upholstery=(interior_upholstery : String | Nil)
- #make : String | Nil
- #make=(make : String | Nil)
- #model : String | Nil
- #model=(model : String | Nil)
- #price : String | Nil
- #price=(price : String | Nil)
- #sanitized_images : Array(String) | Nil
- #sanitized_images=(sanitized_images : Array(String) | Nil)
- #sanitized_images=(sanitized_images : Array(String) | Nil)
- #title : String | Nil
- #title=(title : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #transmission : String | Nil
- #transmission=(transmission : String | Nil)
- #trim : String | Nil
- #trim=(trim : String | Nil)
- #url : String | Nil
- #url=(url : String | Nil)
- #year : Int64 | Nil
- #year=(year : Int64 | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, automotive_model_id : String | Nil = nil, availability : String | Nil = nil, body_style : String | Nil = nil, currency : String | Nil = nil, custom_label_0 : String | Nil = nil, description : String | Nil = nil, drivetrain : String | Nil = nil, exterior_color : String | Nil = nil, finance_description : String | Nil = nil, finance_type : String | Nil = nil, fuel_type : String | Nil = nil, generation : String | Nil = nil, images : Array(String) | Nil = nil, interior_color : String | Nil = nil, interior_upholstery : String | Nil = nil, make : String | Nil = nil, model : String | Nil = nil, price : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, title : String | Nil = nil, transmission : String | Nil = nil, trim : String | Nil = nil, url : String | Nil = nil, year : Int64 | Nil = nil)
#