Package com.smartcar.sdk.data
Class VehicleAttributes
- java.lang.Object
-
- com.smartcar.sdk.data.ApiData
-
- com.smartcar.sdk.data.VehicleAttributes
-
- All Implemented Interfaces:
java.io.Serializable
public class VehicleAttributes extends ApiData
POJO for Smartcar /attributes endpoint- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VehicleAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()Returns the vehicle id.java.lang.StringgetMake()Returns the vehicle makejava.lang.StringgetModel()Returns the vehicle modelintgetYear()Returns the year of the vehiclejava.lang.StringtoString()Returns the stored data string.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the vehicle id.- Returns:
- vehicle id
-
getMake
public java.lang.String getMake()
Returns the vehicle make- Returns:
- vehicle make
-
getModel
public java.lang.String getModel()
Returns the vehicle model- Returns:
- model of the vehicle
-
getYear
public int getYear()
Returns the year of the vehicle- Returns:
- year of the vehicle
-
-