Class VehicleResponse

  • All Implemented Interfaces:
    java.io.Serializable

    public class VehicleResponse
    extends ApiData
    POJO for the Response object
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VehicleResponse​(com.google.gson.JsonObject body)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.gson.JsonObject getBody()
      Returns the body of the response
      java.lang.String getBodyAsString()
      Returns the body of the response as a Json String
      • Methods inherited from class java.lang.Object

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

      • VehicleResponse

        public VehicleResponse​(com.google.gson.JsonObject body)
    • Method Detail

      • getBody

        public com.google.gson.JsonObject getBody()
        Returns the body of the response
        Returns:
        body
      • getBodyAsString

        public java.lang.String getBodyAsString()
        Returns the body of the response as a Json String
        Returns:
        body as Json String