Package com.smartcar.sdk.data
Class ApiData<T>
- java.lang.Object
-
- com.smartcar.sdk.data.ApiData<T>
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ActionResponse
,ApplicationPermissions
,Auth
,BatchResponse
,Compatibility
,Compatibility.Capability
,DeleteConnections
,GetConnections
,RequestPaging
,ResponsePaging
,ResponsePagingCursor
,ServiceHistory
,User
,VehicleAttributes
,VehicleBattery
,VehicleBatteryCapacity
,VehicleCharge
,VehicleChargeLimit
,VehicleChargingPort
,VehicleDiagnosticSystemStatus
,VehicleDiagnosticTroubleCodes
,VehicleDoor
,VehicleEngineOil
,VehicleFuel
,VehicleIds
,VehicleLocation
,VehicleLockStatus
,VehicleNominalCapacity
,VehicleOdometer
,VehicleResponse
,VehicleStorage
,VehicleSunroof
,VehicleTirePressure
,VehicleVin
,VehicleWindow
,WebhookSubscription
public class ApiData<T> extends java.lang.Object implements java.io.Serializable
The base object representing parsed API response data.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Meta
getMeta()
void
setMeta(Meta meta)
java.lang.String
toString()
Returns the stored data string.
-
-
-
Constructor Detail
-
ApiData
public ApiData()
Default constructor.
-
ApiData
public ApiData(T data)
Initializes a new instance with the specified data.- Parameters:
data
- the data to be included
-
-