Class: Peddler::APIs::Vehicles20241101::Vehicle

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/vehicles_2024_11_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#body_styleString? (readonly)

Returns the value of attribute body_style.

Returns:

  • (String, nil)


99
100
101
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 99

def body_style
  @body_style
end

#drive_typeString? (readonly)

Returns the value of attribute drive_type.

Returns:

  • (String, nil)


100
101
102
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 100

def drive_type
  @drive_type
end

#energyString? (readonly)

Returns the value of attribute energy.

Returns:

  • (String, nil)


101
102
103
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 101

def energy
  @energy
end

#engine_outputArray[Peddler::APIs::Vehicles20241101::EngineOutput]? (readonly)

Returns the value of attribute engine_output.



102
103
104
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 102

def engine_output
  @engine_output
end

#identifiersArray[Peddler::APIs::Vehicles20241101::VehicleIdentifiers] (readonly)

Returns the value of attribute identifiers.



103
104
105
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 103

def identifiers
  @identifiers
end

#last_processed_dateString? (readonly)

Returns the value of attribute last_processed_date.

Returns:

  • (String, nil)


104
105
106
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 104

def last_processed_date
  @last_processed_date
end

#makeString (readonly)

Returns the value of attribute make.

Returns:

  • (String)


105
106
107
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 105

def make
  @make
end

#manufacturing_start_datePeddler::APIs::Vehicles20241101::MonthAndYear? (readonly)

Returns the value of attribute manufacturing_start_date.



106
107
108
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 106

def manufacturing_start_date
  @manufacturing_start_date
end

#manufacturing_stop_datePeddler::APIs::Vehicles20241101::MonthAndYear? (readonly)

Returns the value of attribute manufacturing_stop_date.



107
108
109
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 107

def manufacturing_stop_date
  @manufacturing_stop_date
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


108
109
110
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 108

def model
  @model
end

#statusString? (readonly)

Returns the value of attribute status.

Returns:

  • (String, nil)


109
110
111
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 109

def status
  @status
end

#variant_nameString? (readonly)

Returns the value of attribute variant_name.

Returns:

  • (String, nil)


110
111
112
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 110

def variant_name
  @variant_name
end

Class Method Details

.[](identifiers:, make:, model:, body_style:, drive_type:, energy:, engine_output:, last_processed_date:, manufacturing_start_date:, manufacturing_stop_date:, status:, variant_name:) ⇒ Peddler::APIs::Vehicles20241101::Vehicle .[](arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::Vehicles20241101::Vehicle

Overloads:



92
93
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 92

def self.[]: (identifiers: Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], make: String, model: String, ?body_style: String?, ?drive_type: String?, ?energy: String?, ?engine_output: Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, ?last_processed_date: String?, ?manufacturing_start_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, ?manufacturing_stop_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, ?status: String?, ?variant_name: String?) -> Peddler::APIs::Vehicles20241101::Vehicle
| (Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], String, String, String?, String?, String?, Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, String?, Peddler::APIs::Vehicles20241101::MonthAndYear?, Peddler::APIs::Vehicles20241101::MonthAndYear?, String?, String?) -> Peddler::APIs::Vehicles20241101::Vehicle

.members[ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ]

Returns:

  • ([ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ])


95
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 95

def self.members: () -> [ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ]

.new(identifiers:, make:, model:, body_style:, drive_type:, energy:, engine_output:, last_processed_date:, manufacturing_start_date:, manufacturing_stop_date:, status:, variant_name:) ⇒ Peddler::APIs::Vehicles20241101::Vehicle .new(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) ⇒ Peddler::APIs::Vehicles20241101::Vehicle

Overloads:



90
91
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 90

def self.new: (identifiers: Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], make: String, model: String, ?body_style: String?, ?drive_type: String?, ?energy: String?, ?engine_output: Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, ?last_processed_date: String?, ?manufacturing_start_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, ?manufacturing_stop_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, ?status: String?, ?variant_name: String?) -> Peddler::APIs::Vehicles20241101::Vehicle
| (Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], String, String, String?, String?, String?, Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, String?, Peddler::APIs::Vehicles20241101::MonthAndYear?, Peddler::APIs::Vehicles20241101::MonthAndYear?, String?, String?) -> Peddler::APIs::Vehicles20241101::Vehicle

.parsePeddler::APIs::Vehicles20241101::Vehicle

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



97
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 97

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Vehicles20241101::Vehicle

Instance Method Details

#members[ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ]

Returns:

  • ([ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ])


112
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 112

def members: () -> [ :identifiers, :make, :model, :body_style, :drive_type, :energy, :engine_output, :last_processed_date, :manufacturing_start_date, :manufacturing_stop_date, :status, :variant_name ]

#to_h{ identifiers: Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], make: String, model: String, body_style: String?, drive_type: String?, energy: String?, engine_output: Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, last_processed_date: String?, manufacturing_start_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, manufacturing_stop_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, status: String?, variant_name: String? }

Returns:



113
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 113

def to_h: () -> { identifiers: Array[Peddler::APIs::Vehicles20241101::VehicleIdentifiers], make: String, model: String, body_style: String?, drive_type: String?, energy: String?, engine_output: Array[Peddler::APIs::Vehicles20241101::EngineOutput]?, last_processed_date: String?, manufacturing_start_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, manufacturing_stop_date: Peddler::APIs::Vehicles20241101::MonthAndYear?, status: String?, variant_name: String? }