Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions lib/Model/Vehicle.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class Vehicle implements ModelInterface, ArrayAccess
'bolt_pattern' => 'string',
'power' => '\WsApiClient\Model\Power',
'engine_type' => 'string',
'engine_code' => 'string',
'fuel' => 'string',
'wheels' => '\WsApiClient\Model\WheelPair[]'
];
Expand All @@ -93,6 +94,7 @@ class Vehicle implements ModelInterface, ArrayAccess
'bolt_pattern' => null,
'power' => null,
'engine_type' => null,
'engine_code' => null,
'fuel' => null,
'wheels' => null
];
Expand Down Expand Up @@ -137,6 +139,7 @@ public static function swaggerFormats()
'bolt_pattern' => 'bolt_pattern',
'power' => 'power',
'engine_type' => 'engine_type',
'engine_code' => 'engine_code',
'fuel' => 'fuel',
'wheels' => 'wheels'
];
Expand All @@ -160,6 +163,7 @@ public static function swaggerFormats()
'bolt_pattern' => 'setBoltPattern',
'power' => 'setPower',
'engine_type' => 'setEngineType',
'engine_code' => 'setEngineCode',
'fuel' => 'setFuel',
'wheels' => 'setWheels'
];
Expand All @@ -183,6 +187,7 @@ public static function swaggerFormats()
'bolt_pattern' => 'getBoltPattern',
'power' => 'getPower',
'engine_type' => 'getEngineType',
'engine_code' => 'getEngineCode',
'fuel' => 'getFuel',
'wheels' => 'getWheels'
];
Expand Down Expand Up @@ -275,6 +280,7 @@ public function __construct(array $data = null)
$this->container['bolt_pattern'] = isset($data['bolt_pattern']) ? $data['bolt_pattern'] : null;
$this->container['power'] = isset($data['power']) ? $data['power'] : null;
$this->container['engine_type'] = isset($data['engine_type']) ? $data['engine_type'] : null;
$this->container['engine_code'] = isset($data['engine_code']) ? $data['engine_code'] : null;
$this->container['fuel'] = isset($data['fuel']) ? $data['fuel'] : null;
$this->container['wheels'] = isset($data['wheels']) ? $data['wheels'] : null;
}
Expand Down Expand Up @@ -637,6 +643,30 @@ public function setEngineType($engine_type)
return $this;
}

/**
* Gets engine_code
*
* @return string
*/
public function getEngineCode()
{
return $this->container['engine_code'];
}

/**
* Sets engine_code
*
* @param string $engine_code Engine code (e.g. `G3LA`, can be __*`null`*__)
*
* @return $this
*/
public function setEngineCode($engine_code)
{
$this->container['engine_code'] = $engine_code;

return $this;
}

/**
* Gets fuel
*
Expand Down