Class: OpenActive::Models::Schema::Vehicle
- Inherits:
-
Product
show all
- Defined in:
- lib/openactive/models/schema/vehicle.rb
Direct Known Subclasses
Car
Instance Attribute Summary collapse
Attributes inherited from Product
#additional_property, #aggregate_rating, #audience, #award, #awards, #brand, #category, #color, #depth, #gtin, #gtin12, #gtin13, #gtin14, #gtin8, #has_product_return_policy, #height, #is_accessory_or_spare_part_for, #is_consumable_for, #is_related_to, #is_similar_to, #item_condition, #logo, #manufacturer, #material, #model, #mpn, #nsn, #offers, #product_id, #release_date, #review, #reviews, #sku, #slogan, #weight, #width
Attributes inherited from Thing
#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
#call_sign ⇒ String
17
18
19
|
# File 'lib/openactive/models/schema/vehicle.rb', line 17
def call_sign
@call_sign
end
|
41
42
43
|
# File 'lib/openactive/models/schema/vehicle.rb', line 41
def cargo_volume
@cargo_volume
end
|
#date_vehicle_first_registered ⇒ Date?
133
134
135
|
# File 'lib/openactive/models/schema/vehicle.rb', line 133
def date_vehicle_first_registered
@date_vehicle_first_registered
end
|
115
116
117
|
# File 'lib/openactive/models/schema/vehicle.rb', line 115
def drive_wheel_configuration
@drive_wheel_configuration
end
|
12
13
14
|
# File 'lib/openactive/models/schema/vehicle.rb', line 12
def fuel_consumption
@fuel_consumption
end
|
36
37
38
|
# File 'lib/openactive/models/schema/vehicle.rb', line 36
def fuel_efficiency
@fuel_efficiency
end
|
87
88
89
|
# File 'lib/openactive/models/schema/vehicle.rb', line 87
def fuel_type
@fuel_type
end
|
#known_vehicle_damages ⇒ String
68
69
70
|
# File 'lib/openactive/models/schema/vehicle.rb', line 68
def known_vehicle_damages
@known_vehicle_damages
end
|
103
104
105
|
# File 'lib/openactive/models/schema/vehicle.rb', line 103
def mileage_from_odometer
@mileage_from_odometer
end
|
#number_of_airbags ⇒ BigDecimal, ...
80
81
82
|
# File 'lib/openactive/models/schema/vehicle.rb', line 80
def number_of_airbags
@number_of_airbags
end
|
#number_of_axles ⇒ BigDecimal, ...
46
47
48
|
# File 'lib/openactive/models/schema/vehicle.rb', line 46
def number_of_axles
@number_of_axles
end
|
73
74
75
|
# File 'lib/openactive/models/schema/vehicle.rb', line 73
def number_of_doors
@number_of_doors
end
|
#number_of_forward_gears ⇒ BigDecimal, ...
29
30
31
|
# File 'lib/openactive/models/schema/vehicle.rb', line 29
def number_of_forward_gears
@number_of_forward_gears
end
|
22
23
24
|
# File 'lib/openactive/models/schema/vehicle.rb', line 22
def number_of_previous_owners
@number_of_previous_owners
end
|
#production_date ⇒ Date?
121
122
123
|
# File 'lib/openactive/models/schema/vehicle.rb', line 121
def production_date
@production_date
end
|
#purchase_date ⇒ Date?
127
128
129
|
# File 'lib/openactive/models/schema/vehicle.rb', line 127
def purchase_date
@purchase_date
end
|
53
54
55
|
# File 'lib/openactive/models/schema/vehicle.rb', line 53
def steering_position
@steering_position
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/vehicle.rb', line 7
def type
"schema:Vehicle"
end
|
#vehicle_configuration ⇒ String
155
156
157
|
# File 'lib/openactive/models/schema/vehicle.rb', line 155
def vehicle_configuration
@vehicle_configuration
end
|
63
64
65
|
# File 'lib/openactive/models/schema/vehicle.rb', line 63
def vehicle_engine
@vehicle_engine
end
|
#vehicle_identification_number ⇒ String
150
151
152
|
# File 'lib/openactive/models/schema/vehicle.rb', line 150
def vehicle_identification_number
@vehicle_identification_number
end
|
#vehicle_interior_color ⇒ String
145
146
147
|
# File 'lib/openactive/models/schema/vehicle.rb', line 145
def vehicle_interior_color
@vehicle_interior_color
end
|
#vehicle_interior_type ⇒ String
58
59
60
|
# File 'lib/openactive/models/schema/vehicle.rb', line 58
def vehicle_interior_type
@vehicle_interior_type
end
|
#vehicle_model_date ⇒ Date?
139
140
141
|
# File 'lib/openactive/models/schema/vehicle.rb', line 139
def vehicle_model_date
@vehicle_model_date
end
|
#vehicle_seating_capacity ⇒ BigDecimal, ...
108
109
110
|
# File 'lib/openactive/models/schema/vehicle.rb', line 108
def vehicle_seating_capacity
@vehicle_seating_capacity
end
|
95
96
97
|
# File 'lib/openactive/models/schema/vehicle.rb', line 95
def vehicle_transmission
@vehicle_transmission
end
|