Class: OpenActive::Models::Schema::Car

Inherits:
Vehicle show all
Defined in:
lib/openactive/models/schema/car.rb

Instance Attribute Summary collapse

Attributes inherited from Vehicle

#call_sign, #cargo_volume, #date_vehicle_first_registered, #drive_wheel_configuration, #fuel_consumption, #fuel_efficiency, #fuel_type, #known_vehicle_damages, #mileage_from_odometer, #number_of_airbags, #number_of_axles, #number_of_doors, #number_of_forward_gears, #number_of_previous_owners, #production_date, #purchase_date, #steering_position, #vehicle_configuration, #vehicle_engine, #vehicle_identification_number, #vehicle_interior_color, #vehicle_interior_type, #vehicle_model_date, #vehicle_seating_capacity, #vehicle_transmission

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, #production_date, #purchase_date, #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

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/car.rb', line 7

def type
  "schema:Car"
end