struct Facebook::Proto::AutomotiveModel

Included Modules

Defined in:

cli/proto/facebook/AutomotiveModel.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: :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

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

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 automotive_model_id : String | Nil #

def automotive_model_id=(automotive_model_id : String | Nil) #

def availability : String | Nil #

def availability=(availability : String | Nil) #

def body_style : String | Nil #

def body_style=(body_style : String | Nil) #

def currency : String | Nil #

def currency=(currency : String | Nil) #

def custom_label_0 : String | Nil #

def custom_label_0=(custom_label_0 : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def drivetrain : String | Nil #

def drivetrain=(drivetrain : String | Nil) #

def exterior_color : String | Nil #

def exterior_color=(exterior_color : String | Nil) #

def finance_description : String | Nil #

def finance_description=(finance_description : String | Nil) #

def finance_type : String | Nil #

def finance_type=(finance_type : String | Nil) #

def fuel_type : String | Nil #

def fuel_type=(fuel_type : String | Nil) #

def generation : String | Nil #

def generation=(generation : 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 interior_color : String | Nil #

def interior_color=(interior_color : String | Nil) #

def interior_upholstery : String | Nil #

def interior_upholstery=(interior_upholstery : String | Nil) #

def make : String | Nil #

def make=(make : String | Nil) #

def model : String | Nil #

def model=(model : String | Nil) #

def price : String | Nil #

def price=(price : 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 title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

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

def to_protobuf #

def transmission : String | Nil #

def transmission=(transmission : String | Nil) #

def trim : String | Nil #

def trim=(trim : String | Nil) #

def url : String | Nil #

def url=(url : String | Nil) #

def year : Int64 | Nil #

def year=(year : Int64 | Nil) #