Class VehicleAttributes

  • All Implemented Interfaces:
    java.io.Serializable

    public class VehicleAttributes
    extends ApiData
    POJO for Smartcar /attributes endpoint
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Returns the vehicle id.
      java.lang.String getMake()
      Returns the vehicle make
      java.lang.String getModel()
      Returns the vehicle model
      int getYear()
      Returns the year of the vehicle
      java.lang.String toString()
      Returns the stored data string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VehicleAttributes

        public VehicleAttributes()
    • 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
      • toString

        public java.lang.String toString()
        Description copied from class: ApiData
        Returns the stored data string.
        Overrides:
        toString in class ApiData
        Returns:
        a stringified representation of VehicleInfo