struct Facebook::Proto::Vehicle

Included Modules

Defined in:

cli/proto/facebook/Vehicle.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: :availability, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :body_style, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :condition, 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: :date_first_on_lot, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :dealer_communication_channel, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :dealer_email, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :dealer_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :dealer_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :dealer_phone, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :dealer_privacy_policy_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :drivetrain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :exterior_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :fuel_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 19 => {name: :interior_color, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :legal_disclosure_impressum_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :make, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :model, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :previous_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :previous_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :sale_currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :sale_price, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :sanitized_images, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 29 => {name: :state_of_vehicle, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :transmission, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :trim, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :vehicle_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :vehicle_registration_plate, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :vehicle_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :vin, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {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, availability : String | Nil = nil, body_style : String | Nil = nil, condition : String | Nil = nil, currency : String | Nil = nil, custom_label_0 : String | Nil = nil, date_first_on_lot : String | Nil = nil, dealer_communication_channel : String | Nil = nil, dealer_email : String | Nil = nil, dealer_id : String | Nil = nil, dealer_name : String | Nil = nil, dealer_phone : String | Nil = nil, dealer_privacy_policy_url : String | Nil = nil, description : String | Nil = nil, drivetrain : String | Nil = nil, exterior_color : String | Nil = nil, fuel_type : String | Nil = nil, images : Array(String) | Nil = nil, interior_color : String | Nil = nil, legal_disclosure_impressum_url : String | Nil = nil, make : String | Nil = nil, model : String | Nil = nil, previous_currency : String | Nil = nil, previous_price : String | Nil = nil, price : String | Nil = nil, sale_currency : String | Nil = nil, sale_price : String | Nil = nil, sanitized_images : Array(String) | Nil = nil, state_of_vehicle : String | Nil = nil, title : String | Nil = nil, transmission : String | Nil = nil, trim : String | Nil = nil, url : String | Nil = nil, vehicle_id : String | Nil = nil, vehicle_registration_plate : String | Nil = nil, vehicle_type : String | Nil = nil, vin : 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 availability : String | Nil #

def availability=(availability : String | Nil) #

def body_style : String | Nil #

def body_style=(body_style : String | Nil) #

def condition : String | Nil #

def condition=(condition : 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 date_first_on_lot : String | Nil #

def date_first_on_lot=(date_first_on_lot : String | Nil) #

def dealer_communication_channel : String | Nil #

def dealer_communication_channel=(dealer_communication_channel : String | Nil) #

def dealer_email : String | Nil #

def dealer_email=(dealer_email : String | Nil) #

def dealer_id : String | Nil #

def dealer_id=(dealer_id : String | Nil) #

def dealer_name : String | Nil #

def dealer_name=(dealer_name : String | Nil) #

def dealer_phone : String | Nil #

def dealer_phone=(dealer_phone : String | Nil) #

def dealer_privacy_policy_url : String | Nil #

def dealer_privacy_policy_url=(dealer_privacy_policy_url : 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 fuel_type : String | Nil #

def fuel_type=(fuel_type : 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 legal_disclosure_impressum_url : String | Nil #

def legal_disclosure_impressum_url=(legal_disclosure_impressum_url : String | Nil) #

def make : String | Nil #

def make=(make : String | Nil) #

def model : String | Nil #

def model=(model : String | Nil) #

def previous_currency : String | Nil #

def previous_currency=(previous_currency : String | Nil) #

def previous_price : String | Nil #

def previous_price=(previous_price : String | Nil) #

def price : String | Nil #

def price=(price : String | Nil) #

def sale_currency : String | Nil #

def sale_currency=(sale_currency : String | Nil) #

def sale_price : String | Nil #

def sale_price=(sale_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 state_of_vehicle : String | Nil #

def state_of_vehicle=(state_of_vehicle : 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 vehicle_id : String | Nil #

def vehicle_id=(vehicle_id : String | Nil) #

def vehicle_registration_plate : String | Nil #

def vehicle_registration_plate=(vehicle_registration_plate : String | Nil) #

def vehicle_type : String | Nil #

def vehicle_type=(vehicle_type : String | Nil) #

def vin : String | Nil #

def vin=(vin : String | Nil) #

def year : Int64 | Nil #

def year=(year : Int64 | Nil) #