A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ActionResponse - Class in com.smartcar.sdk.data
- ActionResponse() - Constructor for class com.smartcar.sdk.data.ActionResponse
- addBodyParameter(String, boolean) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, double) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, float) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, int) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, long) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, short) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, JsonArray) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addBodyParameter(String, JsonObject) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addFlag(String, boolean) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- addFlag(String, boolean) - Method in class com.smartcar.sdk.SmartcarAuthOptions.Builder
- addFlag(String, boolean) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- addFlag(String, boolean) - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- addFlag(String, boolean) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addFlag(String, String) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- addFlag(String, String) - Method in class com.smartcar.sdk.SmartcarAuthOptions.Builder
- addFlag(String, String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- addFlag(String, String) - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- addFlag(String, String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addHeader(String, String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addQueryParameter(String, String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- addUser(String) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- API_ORIGIN - Static variable in class com.smartcar.sdk.Smartcar
- API_VERSION - Static variable in class com.smartcar.sdk.Smartcar
- ApiData<T> - Class in com.smartcar.sdk.data
-
The base object representing parsed API response data.
- ApiData() - Constructor for class com.smartcar.sdk.data.ApiData
-
Default constructor.
- ApiData(T) - Constructor for class com.smartcar.sdk.data.ApiData
-
Initializes a new instance with the specified data.
- ApplicationPermissions - Class in com.smartcar.sdk.data
-
POJO for Smartcar /permissions endpoint
- ApplicationPermissions(ResponsePaging, String[]) - Constructor for class com.smartcar.sdk.data.ApplicationPermissions
-
Initializes a new instance of ApplicationPermission
- approvalPrompt(boolean) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- attributes() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the / endpoint
- attributes() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the / endpoint
- Auth - Class in com.smartcar.sdk.data
-
A container for the authentication tokens obtained from the Smartcar OAuth 2.0 service.
- Auth(String, String, Date, Date) - Constructor for class com.smartcar.sdk.data.Auth
-
Initializes a new instance with the specified token values.
- AuthClient - Class in com.smartcar.sdk
-
Smartcar OAuth 2.0 Authentication Client
- AuthClient.AuthUrlBuilder - Class in com.smartcar.sdk
-
A builder for creating Authorization URLs.
- AuthClient.Builder - Class in com.smartcar.sdk
-
Builds a new AuthClient.
- authUrlBuilder(String[]) - Method in class com.smartcar.sdk.AuthClient
-
Creates an AuthUrlBuilder
- AuthUrlBuilder(String[]) - Constructor for class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- AvailableCapacity - Class in com.smartcar.sdk.data
-
Data class for an individual available capacity.
- AvailableCapacity() - Constructor for class com.smartcar.sdk.data.AvailableCapacity
-
No-argument constructor for deserialization.
B
- batch(String[]) - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /batch endpoint
- BatchDeserializer - Class in com.smartcar.sdk.data
-
BatchDeserializer
- BatchDeserializer() - Constructor for class com.smartcar.sdk.data.BatchDeserializer
- BatchResponse - Class in com.smartcar.sdk.data
-
Smartcar BatchResponse Object
- BatchResponse(JsonArray) - Constructor for class com.smartcar.sdk.data.BatchResponse
-
Initializes a new BatchResponse.
- battery() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /battery endpoint
- battery() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /battery endpoint
- batteryCapacity() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /battery/capacity endpoint
- batteryCapacity() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /battery/capacity endpoint
- build() - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- build() - Method in class com.smartcar.sdk.AuthClient.Builder
- build() - Method in class com.smartcar.sdk.data.ConnectionsFilter.Builder
- build() - Method in class com.smartcar.sdk.data.RequestPagingCursor.Builder
- build() - Method in class com.smartcar.sdk.SmartcarAuthOptions.Builder
- build() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- build() - Method in class com.smartcar.sdk.SmartcarException.Builder
- build() - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- build() - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- Builder() - Constructor for class com.smartcar.sdk.AuthClient.Builder
- Builder() - Constructor for class com.smartcar.sdk.data.ConnectionsFilter.Builder
- Builder() - Constructor for class com.smartcar.sdk.data.RequestPagingCursor.Builder
- Builder() - Constructor for class com.smartcar.sdk.SmartcarAuthOptions.Builder
- Builder() - Constructor for class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- Builder() - Constructor for class com.smartcar.sdk.SmartcarException.Builder
- Builder() - Constructor for class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- Builder() - Constructor for class com.smartcar.sdk.SmartcarVehicleRequest.Builder
C
- call(String, String, RequestBody, Class<T>) - Method in class com.smartcar.sdk.Vehicle
- call(String, String, RequestBody, String, Class<T>) - Method in class com.smartcar.sdk.Vehicle
-
Executes an API request under the VehicleIds endpoint.
- call(String, String, RequestBody, Map<String, String>, Class<T>) - Method in class com.smartcar.sdk.Vehicle
- Capability() - Constructor for class com.smartcar.sdk.data.Compatibility.Capability
- charge() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /charge endpoint
- charge() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /charge endpoint
- chargeLimit() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /charge/limit endpoint
- clientId(String) - Method in class com.smartcar.sdk.AuthClient.Builder
- clientId(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- clientSecret(String) - Method in class com.smartcar.sdk.AuthClient.Builder
- clientSecret(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- code(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
- com.smartcar.sdk - package com.smartcar.sdk
-
Smartcar Java SDK
- com.smartcar.sdk.data - package com.smartcar.sdk.data
-
Data POJOs representing parsed responses from Smartcar endpoints.
- Compatibility - Class in com.smartcar.sdk.data
-
A container for the compatibility endpoint
- Compatibility() - Constructor for class com.smartcar.sdk.data.Compatibility
- Compatibility.Capability - Class in com.smartcar.sdk.data
- Connection - Class in com.smartcar.sdk.data
- Connection() - Constructor for class com.smartcar.sdk.data.Connection
- ConnectionsFilter - Class in com.smartcar.sdk.data
- ConnectionsFilter.Builder - Class in com.smartcar.sdk.data
- country(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- cursor(String) - Method in class com.smartcar.sdk.data.RequestPagingCursor.Builder
D
- deleteConnections(String, ConnectionsFilter) - Static method in class com.smartcar.sdk.Smartcar
-
Deletes all the connections by vehicle or user ID and returns a list of all connections that were deleted.
- DeleteConnections - Class in com.smartcar.sdk.data
- DeleteConnections(Connection[]) - Constructor for class com.smartcar.sdk.data.DeleteConnections
- description(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.smartcar.sdk.data.BatchDeserializer
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.smartcar.sdk.data.VehicleResponseDeserializer
- detail(JsonArray) - Method in class com.smartcar.sdk.SmartcarException.Builder
- DiagnosticSystem - Class in com.smartcar.sdk.data
-
Data class for an individual diagnostic system.
- DiagnosticSystem() - Constructor for class com.smartcar.sdk.data.DiagnosticSystem
-
No-argument constructor for deserialization.
- diagnosticSystemStatus() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /diagnostics/system_status endpoint
- diagnosticSystemStatus() - Method in class com.smartcar.sdk.Vehicle
-
Retrieves the diagnostic system status of the vehicle.
- DiagnosticTroubleCode - Class in com.smartcar.sdk.data
-
Data class for an individual diagnostic trouble code.
- DiagnosticTroubleCode() - Constructor for class com.smartcar.sdk.data.DiagnosticTroubleCode
-
No-argument constructor for deserialization.
- diagnosticTroubleCodes() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /diagnostics/dtcs endpoint
- diagnosticTroubleCodes() - Method in class com.smartcar.sdk.Vehicle
-
Retrieves the diagnostic trouble codes of the vehicle.
- disconnect() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /disconnect endpoint
- DisconnectResponse - Class in com.smartcar.sdk.data
- DisconnectResponse() - Constructor for class com.smartcar.sdk.data.DisconnectResponse
- docURL(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
E
- engineOil() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /engine/oil endpoint
- engineOil() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /engine/oil endpoint
- exchangeCode(String) - Method in class com.smartcar.sdk.AuthClient
-
Exchanges an authorization code for an access token.
- exchangeCode(String, SmartcarAuthOptions) - Method in class com.smartcar.sdk.AuthClient
-
Exchanges an authorization code for an access token.
- exchangeRefreshToken(String) - Method in class com.smartcar.sdk.AuthClient
-
Exchanges a refresh token for a new access token.
- exchangeRefreshToken(String, SmartcarAuthOptions) - Method in class com.smartcar.sdk.AuthClient
-
Exchanges a refresh token for a new access token.
F
- Factory(int, JsonObject, JsonObject) - Static method in exception com.smartcar.sdk.SmartcarException
- Factory(int, Headers, ResponseBody) - Static method in exception com.smartcar.sdk.SmartcarException
- fuel() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /fuel endpoint
- fuel() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /fuel endpoint
G
- getAccessToken() - Method in class com.smartcar.sdk.data.Auth
-
Returns the currently stored access token.
- getActiveCodes() - Method in class com.smartcar.sdk.data.VehicleDiagnosticTroubleCodes
-
Returns the list of active diagnostic trouble codes.
- getAmountRemaining() - Method in class com.smartcar.sdk.data.VehicleFuel
-
Returns the fuel amount remaining
- getAvailableCapacities() - Method in class com.smartcar.sdk.data.VehicleNominalCapacity
-
Returns the list of available capacites.
- getBackLeft() - Method in class com.smartcar.sdk.data.VehicleTirePressure
-
Returns the back left tire pressure
- getBackRight() - Method in class com.smartcar.sdk.data.VehicleTirePressure
-
Returns the back right tire pressure
- getBody() - Method in class com.smartcar.sdk.data.VehicleResponse
-
Returns the body of the response
- getBody() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getBodyAsString() - Method in class com.smartcar.sdk.data.VehicleResponse
-
Returns the body of the response as a Json String
- getCapabilities() - Method in class com.smartcar.sdk.data.Compatibility
-
Returns the capabilities
- getCapable() - Method in class com.smartcar.sdk.data.Compatibility.Capability
-
Returns capable field
- getCapacity() - Method in class com.smartcar.sdk.data.AvailableCapacity
-
Gets the capacity.
- getCapacity() - Method in class com.smartcar.sdk.data.VehicleBatteryCapacity
-
Returns the battery capacity
- getCapacity() - Method in class com.smartcar.sdk.data.VehicleNominalCapacity
-
Returns the selected capacity.
- getChargeLimit() - Method in class com.smartcar.sdk.data.VehicleChargeLimit
-
Returns whether charging cable is plugged in
- getChargeLimit() - Method in class com.smartcar.sdk.Vehicle
-
Get a vehicle's charge limit
- getChargingPort() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns the vehicle's charging ports
- getClientId() - Method in class com.smartcar.sdk.AuthClient
- getClientId() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getClientSecret() - Method in class com.smartcar.sdk.AuthClient
- getClientSecret() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getCode() - Method in class com.smartcar.sdk.data.DiagnosticTroubleCode
-
Gets the diagnostic trouble code.
- getCode() - Method in exception com.smartcar.sdk.SmartcarException
- getCompatibility(SmartcarCompatibilityRequest) - Static method in class com.smartcar.sdk.Smartcar
-
Determine if a vehicle is compatible with the Smartcar API and the provided permissions for the specified country.
- getCompatible() - Method in class com.smartcar.sdk.data.Compatibility
-
Return the compatible variable
- getConnectedAt() - Method in class com.smartcar.sdk.data.Connection
- getConnections() - Method in class com.smartcar.sdk.data.DeleteConnections
- getConnections() - Method in class com.smartcar.sdk.data.GetConnections
- getConnections(String) - Static method in class com.smartcar.sdk.Smartcar
-
Returns a paged list of all the vehicles that are connected to the application associated with the management API token used sorted in descending order by connection date.
- getConnections(String, ConnectionsFilter) - Static method in class com.smartcar.sdk.Smartcar
-
Returns a paged list of all the vehicles that are connected to the application associated with the management API token used sorted in descending order by connection date.
- getConnections(String, ConnectionsFilter, RequestPagingCursor) - Static method in class com.smartcar.sdk.Smartcar
-
Returns a paged list of all the vehicles that are connected to the application associated with the management API token used sorted in descending order by connection date.
- GetConnections - Class in com.smartcar.sdk.data
- GetConnections(Connection[], ResponsePagingCursor) - Constructor for class com.smartcar.sdk.data.GetConnections
- getCount() - Method in class com.smartcar.sdk.data.ResponsePaging
-
Returns the response count
- getCountry() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getCurrency() - Method in class com.smartcar.sdk.data.ServiceCost
- getCursor() - Method in class com.smartcar.sdk.data.RequestPagingCursor
- getCursor() - Method in class com.smartcar.sdk.data.ResponsePagingCursor
-
Returns the response cursor
- getDataAge() - Method in class com.smartcar.sdk.data.Meta
- getDescription() - Method in class com.smartcar.sdk.data.AvailableCapacity
-
Gets the description of the capacity.
- getDescription() - Method in class com.smartcar.sdk.data.DiagnosticSystem
-
Gets the description of the system.
- getDescription() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the description associated with the exception.
- getDetail() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the error details if available for this exception.
- getDistance() - Method in class com.smartcar.sdk.data.VehicleOdometer
-
Returns the odometer distance
- getDocURL() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the documentation URL associated with the exception.
- getDoors() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns the vehicle doors
- getEndpoint() - Method in class com.smartcar.sdk.data.Compatibility.Capability
-
Returns endpoint field
- getExpiration() - Method in class com.smartcar.sdk.data.Auth
-
Returns the expiration timestamp for the current access token.
- getFlags() - Method in class com.smartcar.sdk.SmartcarAuthOptions
- getFlags() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getFlags() - Method in class com.smartcar.sdk.SmartcarVehicleOptions
- getFlags() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getFlags() - Method in class com.smartcar.sdk.Vehicle
-
Gets the flags that are passed to the vehicle object as a serialized string
- getFrontLeft() - Method in class com.smartcar.sdk.data.VehicleTirePressure
-
Returns the front left tire pressure
- getFrontRight() - Method in class com.smartcar.sdk.data.VehicleTirePressure
-
Returns the front right tire pressure
- getHeaders() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getId() - Method in class com.smartcar.sdk.data.User
-
Returns the user id
- getId() - Method in class com.smartcar.sdk.data.VehicleAttributes
-
Returns the vehicle id.
- getIsPluggedIn() - Method in class com.smartcar.sdk.data.VehicleCharge
-
Returns whether charging cable is plugged in
- getItems() - Method in class com.smartcar.sdk.data.ServiceHistory
-
Returns the list of service records.
- getLatitude() - Method in class com.smartcar.sdk.data.VehicleLocation
-
Returns the latitude of the vehicle
- getLifeRemaining() - Method in class com.smartcar.sdk.data.VehicleEngineOil
-
Returns the oil life remaining
- getLimit() - Method in class com.smartcar.sdk.data.RequestPaging
-
Returns the response limit
- getLimit() - Method in class com.smartcar.sdk.data.RequestPagingCursor
- getLongitude() - Method in class com.smartcar.sdk.data.VehicleLocation
-
Returns the longitude of the vehicle
- getMake() - Method in class com.smartcar.sdk.data.VehicleAttributes
-
Returns the vehicle make
- getMessage() - Method in class com.smartcar.sdk.data.ActionResponse
- getMessage() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the error message
- getMeta() - Method in class com.smartcar.sdk.data.ApiData
- getMethod() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getMode() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getModel() - Method in class com.smartcar.sdk.data.VehicleAttributes
-
Returns the vehicle model
- getNominal() - Method in class com.smartcar.sdk.data.SelectedCapacity
-
Gets the capacity.
- getOdometerDistance() - Method in class com.smartcar.sdk.data.ServiceRecord
- getOffset() - Method in class com.smartcar.sdk.data.RequestPaging
-
Returns the response offset
- getOffset() - Method in class com.smartcar.sdk.data.ResponsePaging
-
Returns the response offset
- getOrigin() - Method in class com.smartcar.sdk.SmartcarVehicleOptions
- getPaging() - Method in class com.smartcar.sdk.data.ApplicationPermissions
-
Returns the paging information of the response
- getPaging() - Method in class com.smartcar.sdk.data.GetConnections
- getPaging() - Method in class com.smartcar.sdk.data.VehicleIds
- getPath() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getPercentRemaining() - Method in class com.smartcar.sdk.data.VehicleBattery
-
Returns the battery percent remaining
- getPercentRemaining() - Method in class com.smartcar.sdk.data.VehicleFuel
-
Returns the fuel percent remaining
- getPermission() - Method in class com.smartcar.sdk.data.Compatibility.Capability
-
Returns permission field
- getPermissions() - Method in class com.smartcar.sdk.data.ApplicationPermissions
-
Returns the application permissions
- getQueryParams() - Method in class com.smartcar.sdk.SmartcarVehicleRequest
- getRange() - Method in class com.smartcar.sdk.data.VehicleBattery
-
Returns the battery range
- getRange() - Method in class com.smartcar.sdk.data.VehicleFuel
-
Returns the fuel range
- getReason() - Method in class com.smartcar.sdk.data.Compatibility.Capability
-
Returns reason field
- getReason() - Method in class com.smartcar.sdk.data.Compatibility
-
Return the reason variable
- getRedirectUri() - Method in class com.smartcar.sdk.AuthClient
- getRefreshExpiration() - Method in class com.smartcar.sdk.data.Auth
-
Returns the expiration timestamp for the current refresh token.
- getRefreshToken() - Method in class com.smartcar.sdk.data.Auth
-
Returns the currently stored refresh token.
- getRequestId() - Method in class com.smartcar.sdk.data.BatchResponse
-
Return the Smartcar request id from the response headers
- getRequestId() - Method in class com.smartcar.sdk.data.Meta
- getRequestId() - Method in exception com.smartcar.sdk.SmartcarException
- getResolutionType() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the resolution type associated with the exception.
- getResolutionUrl() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns a url associated with the resolution to the exception
- getRetryAfter() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the retry-after unix timestamp (ms) upon hitting a rate limit error.
- getScope() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getServiceCost() - Method in class com.smartcar.sdk.data.ServiceRecord
- getServiceDate() - Method in class com.smartcar.sdk.data.ServiceRecord
- getServiceDetails() - Method in class com.smartcar.sdk.data.ServiceRecord
- getServiceId() - Method in class com.smartcar.sdk.data.ServiceRecord
- getServiceTasks() - Method in class com.smartcar.sdk.data.ServiceRecord
- getSource() - Method in class com.smartcar.sdk.data.SelectedCapacity
-
Gets the source of the capacity.
- getState() - Method in class com.smartcar.sdk.data.VehicleCharge
-
Returns the charge state
- getStatus() - Method in class com.smartcar.sdk.data.ActionResponse
- getStatus() - Method in class com.smartcar.sdk.data.DiagnosticSystem
-
Gets the status of the system.
- getStatus() - Method in class com.smartcar.sdk.data.VehicleChargingPort
-
Returns the charging port status
- getStatus() - Method in class com.smartcar.sdk.data.VehicleDoor
-
Returns the door status
- getStatus() - Method in class com.smartcar.sdk.data.VehicleStorage
-
Returns the storage status
- getStatus() - Method in class com.smartcar.sdk.data.VehicleSunroof
-
Returns the sunroof status
- getStatus() - Method in class com.smartcar.sdk.data.VehicleWindow
-
Returns the window status
- getStatusCode() - Method in exception com.smartcar.sdk.SmartcarException
- getStorage() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns the vehicle's storage
- getSuggestedUserMessage() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the suggested user message if available for this exception.
- getSunroof() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns the vehicle's sunroofs
- getSystemId() - Method in class com.smartcar.sdk.data.DiagnosticSystem
-
Gets the system ID.
- getSystems() - Method in class com.smartcar.sdk.data.VehicleDiagnosticSystemStatus
-
Returns the list of diagnostic systems.
- getTestMode() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
-
Deprecated.use
SmartcarCompatibilityRequest.getMode()
which returns the mode as a String. - getTestModeCompatibilityLevel() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getTimestamp() - Method in class com.smartcar.sdk.data.DiagnosticTroubleCode
-
Gets the timestamp associated with the code.
- getTotalCost() - Method in class com.smartcar.sdk.data.ServiceCost
- getType() - Method in class com.smartcar.sdk.data.ServiceDetails
- getType() - Method in class com.smartcar.sdk.data.VehicleChargingPort
-
Returns the charging port type
- getType() - Method in class com.smartcar.sdk.data.VehicleDoor
-
Returns the door type
- getType() - Method in class com.smartcar.sdk.data.VehicleStorage
-
Returns the storage type
- getType() - Method in class com.smartcar.sdk.data.VehicleSunroof
-
Returns the sunroof type
- getType() - Method in class com.smartcar.sdk.data.VehicleWindow
-
Returns the window type
- getType() - Method in exception com.smartcar.sdk.SmartcarException
-
Returns the error type associated with the SmartcarExceptionV2.
- getUnitSystem() - Method in class com.smartcar.sdk.data.Meta
- getUnitSystem() - Method in class com.smartcar.sdk.SmartcarVehicleOptions
- getUrl() - Method in class com.smartcar.sdk.data.VehicleNominalCapacity
-
Returns the url.
- getUser(String) - Static method in class com.smartcar.sdk.Smartcar
-
Retrieves the user ID of the user authenticated with the specified access token.
- getUserId() - Method in class com.smartcar.sdk.data.Connection
- getUserId() - Method in class com.smartcar.sdk.data.ConnectionsFilter
- getVehicleId() - Method in class com.smartcar.sdk.data.Connection
- getVehicleId() - Method in class com.smartcar.sdk.data.ConnectionsFilter
- getVehicleId() - Method in class com.smartcar.sdk.data.WebhookSubscription
- getVehicleIds() - Method in class com.smartcar.sdk.data.VehicleIds
-
Returns the vehicle IDs.
- getVehicles(String) - Static method in class com.smartcar.sdk.Smartcar
-
Retrieves all vehicle IDs associated with the authenticated user.
- getVehicles(String, RequestPaging) - Static method in class com.smartcar.sdk.Smartcar
-
Retrieves all vehicles associated with the authenticated user.
- getVersion() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getVersion() - Method in class com.smartcar.sdk.SmartcarVehicleOptions
- getVersion() - Method in class com.smartcar.sdk.Vehicle
-
Gets the version of Smartcar API that this vehicle is using
- getVin() - Method in class com.smartcar.sdk.data.VehicleVin
-
Returns the vehicle vin
- getVin() - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest
- getWebhookId() - Method in class com.smartcar.sdk.data.WebhookSubscription
- getWindows() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns the vehicle's windows
- getYear() - Method in class com.smartcar.sdk.data.VehicleAttributes
-
Returns the year of the vehicle
H
- hashChallenge(String, String) - Static method in class com.smartcar.sdk.Smartcar
-
Performs a HmacSHA256 hash on a challenge string using the key provided
I
- IMPERIAL - com.smartcar.sdk.Vehicle.UnitSystem
- isExpired() - Method in class com.smartcar.sdk.data.Auth
-
Determines whether or not the current auth token has expired.
- isExpired(Date) - Static method in class com.smartcar.sdk.Smartcar
-
Convenience method for determining if an auth token expiration has passed.
- isLocked() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Check if the vehicle currently locked.
L
- limit(Integer) - Method in class com.smartcar.sdk.data.RequestPagingCursor.Builder
- location() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /location endpoint
- location() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /location endpoint
- lock() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /security endpoint to lock a vehicle
- lockStatus() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /security endpoint
- lockStatus() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /security endpoint to get the vehicle's lock status
M
- makeBypass(String) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- MANAGEMENT_API_ORIGIN - Static variable in class com.smartcar.sdk.Smartcar
- Meta - Class in com.smartcar.sdk.data
- Meta() - Constructor for class com.smartcar.sdk.data.Meta
- method(String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- METRIC - com.smartcar.sdk.Vehicle.UnitSystem
- mode(String) - Method in class com.smartcar.sdk.AuthClient.Builder
- mode(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
N
- nominalCapacity() - Method in class com.smartcar.sdk.data.BatchResponse
-
Send request to the /battery/nominal_capacity endpoint
- nominalCapacity() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /battery/nominal_capacity endpoint
O
- odometer() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /odometer endpoint
- odometer() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /odometer endpoint
- origin(String) - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
P
- path(String) - Method in class com.smartcar.sdk.SmartcarVehicleRequest.Builder
- permissions() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /permissions endpoint
- permissions(RequestPaging) - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /permissions endpoint with paging options set
R
- redirectUri(String) - Method in class com.smartcar.sdk.AuthClient.Builder
- request(SmartcarVehicleRequest) - Method in class com.smartcar.sdk.Vehicle
-
General purpose method to make a request to a Smartcar endpoint - can be used to make requests to brand specific endpoints.
- requestId(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
- RequestPaging - Class in com.smartcar.sdk.data
-
POJO for the paging object
- RequestPaging(int, int) - Constructor for class com.smartcar.sdk.data.RequestPaging
-
Initializes a new instance of RequestPaging
- RequestPagingCursor - Class in com.smartcar.sdk.data
-
Builder class for setting request paging w/cursor options
- RequestPagingCursor.Builder - Class in com.smartcar.sdk.data
- resolutionType(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
- resolutionUrl(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
- ResponsePaging - Class in com.smartcar.sdk.data
-
POJO for the paging object
- ResponsePaging() - Constructor for class com.smartcar.sdk.data.ResponsePaging
- ResponsePagingCursor - Class in com.smartcar.sdk.data
-
POJO for the response paging w/cursor object
- ResponsePagingCursor() - Constructor for class com.smartcar.sdk.data.ResponsePagingCursor
- retryAfter(int) - Method in class com.smartcar.sdk.SmartcarException.Builder
S
- scope(String[]) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- SelectedCapacity - Class in com.smartcar.sdk.data
-
Data class for an individual available capacity.
- SelectedCapacity() - Constructor for class com.smartcar.sdk.data.SelectedCapacity
-
No-argument constructor for deserialization.
- sendDestination(double, double) - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /navigation/destination endpoint to set the navigation destination
- ServiceCost - Class in com.smartcar.sdk.data
- ServiceCost(double, String) - Constructor for class com.smartcar.sdk.data.ServiceCost
- ServiceDetails - Class in com.smartcar.sdk.data
- ServiceDetails(String) - Constructor for class com.smartcar.sdk.data.ServiceDetails
- serviceHistory() - Method in class com.smartcar.sdk.Vehicle
-
Overload without parameters to handle no input case, calling the full method with nulls
- serviceHistory(OffsetDateTime, OffsetDateTime) - Method in class com.smartcar.sdk.Vehicle
-
Returns a list of all the service records performed on the vehicle, filtered by the optional date range.
- ServiceHistory - Class in com.smartcar.sdk.data
-
POJO for Service History of a Vehicle
- ServiceHistory() - Constructor for class com.smartcar.sdk.data.ServiceHistory
- ServiceHistory(List<ServiceRecord>) - Constructor for class com.smartcar.sdk.data.ServiceHistory
- ServiceRecord - Class in com.smartcar.sdk.data
- ServiceRecord(int, String, int, List<ServiceTask>, ServiceDetails, ServiceCost) - Constructor for class com.smartcar.sdk.data.ServiceRecord
- setApiVersion(String) - Static method in class com.smartcar.sdk.Smartcar
-
Sets the Smartcar API version
- setChargeLimit(double) - Method in class com.smartcar.sdk.Vehicle
-
Set a vehicle's charge limit
- setCurrency(String) - Method in class com.smartcar.sdk.data.ServiceCost
- setMeta(Meta) - Method in class com.smartcar.sdk.data.ApiData
- setOdometerDistance(int) - Method in class com.smartcar.sdk.data.ServiceRecord
- setPermissions(String[]) - Method in class com.smartcar.sdk.data.ApplicationPermissions
-
Stores the application permissions
- setRequestId(String) - Method in class com.smartcar.sdk.data.BatchResponse
-
Sets the Smartcar request id from the response headers
- setServiceCost(ServiceCost) - Method in class com.smartcar.sdk.data.ServiceRecord
- setServiceDate(String) - Method in class com.smartcar.sdk.data.ServiceRecord
- setServiceDetails(ServiceDetails) - Method in class com.smartcar.sdk.data.ServiceRecord
- setServiceId(int) - Method in class com.smartcar.sdk.data.ServiceRecord
- setServiceTasks(List<ServiceTask>) - Method in class com.smartcar.sdk.data.ServiceRecord
- setState(String) - Method in class com.smartcar.sdk.data.VehicleCharge
-
Stores the charge state
- setTotalCost(double) - Method in class com.smartcar.sdk.data.ServiceCost
- setType(String) - Method in class com.smartcar.sdk.data.ServiceDetails
- setUnitSystem(Vehicle.UnitSystem) - Method in class com.smartcar.sdk.Vehicle
-
Sets the preferred unit system for subsequent API requests.
- singleSelect(boolean) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- singleSelectVin(String) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- Smartcar - Class in com.smartcar.sdk
- Smartcar() - Constructor for class com.smartcar.sdk.Smartcar
- SmartcarAuthOptions - Class in com.smartcar.sdk
-
Class encompassing any optional arguments for Smartcar Authorization requests
- SmartcarAuthOptions.Builder - Class in com.smartcar.sdk
- SmartcarCompatibilityRequest - Class in com.smartcar.sdk
-
Class encompassing optional arguments for Smartcar compatibility requests
- SmartcarCompatibilityRequest.Builder - Class in com.smartcar.sdk
- SmartcarException - Exception in com.smartcar.sdk
-
Thrown when the Smartcar API library encounters a problem.
- SmartcarException.Builder - Class in com.smartcar.sdk
- SmartcarVehicleOptions - Class in com.smartcar.sdk
-
Class encompassing any optional arguments for constructing a new Vehicle instance
- SmartcarVehicleOptions.Builder - Class in com.smartcar.sdk
- SmartcarVehicleRequest - Class in com.smartcar.sdk
-
Class encompassing optional arguments for Smartcar Vehicle general purpose requests
- SmartcarVehicleRequest.Builder - Class in com.smartcar.sdk
- startCharge() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /charge endpoint to start charging a vehicle
- state(String) - Method in class com.smartcar.sdk.AuthClient.AuthUrlBuilder
- statusCode(int) - Method in class com.smartcar.sdk.SmartcarException.Builder
- stopCharge() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /charge endpoint to stop charging a vehicle
- subscribe(String) - Method in class com.smartcar.sdk.Vehicle
-
Subscribe vehicle to a webhook
- suggestedUserMessage(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
T
- testMode(boolean) - Method in class com.smartcar.sdk.AuthClient.Builder
-
Deprecated.use
AuthClient.Builder.mode(String)
instead. - testMode(boolean) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
-
Deprecated.use
SmartcarCompatibilityRequest.Builder.mode(String)
instead. - testModeCompatibilityLevel(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- tirePressure() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /tires/pressure endpoint
- tirePressure() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /tires/pressure endpoint
- toCamelCase(String) - Static method in class com.smartcar.sdk.Utils
- toString() - Method in class com.smartcar.sdk.data.ActionResponse
- toString() - Method in class com.smartcar.sdk.data.ApiData
-
Returns the stored data string.
- toString() - Method in class com.smartcar.sdk.data.ApplicationPermissions
- toString() - Method in class com.smartcar.sdk.data.Auth
- toString() - Method in class com.smartcar.sdk.data.AvailableCapacity
- toString() - Method in class com.smartcar.sdk.data.BatchResponse
- toString() - Method in class com.smartcar.sdk.data.Compatibility.Capability
-
Return the string representation
- toString() - Method in class com.smartcar.sdk.data.Compatibility
-
Return the string representation
- toString() - Method in class com.smartcar.sdk.data.Connection
- toString() - Method in class com.smartcar.sdk.data.ConnectionsFilter
- toString() - Method in class com.smartcar.sdk.data.DeleteConnections
- toString() - Method in class com.smartcar.sdk.data.GetConnections
- toString() - Method in class com.smartcar.sdk.data.RequestPaging
- toString() - Method in class com.smartcar.sdk.data.RequestPagingCursor
- toString() - Method in class com.smartcar.sdk.data.ResponsePaging
- toString() - Method in class com.smartcar.sdk.data.ResponsePagingCursor
- toString() - Method in class com.smartcar.sdk.data.SelectedCapacity
- toString() - Method in class com.smartcar.sdk.data.User
- toString() - Method in class com.smartcar.sdk.data.VehicleAttributes
- toString() - Method in class com.smartcar.sdk.data.VehicleBattery
- toString() - Method in class com.smartcar.sdk.data.VehicleBatteryCapacity
- toString() - Method in class com.smartcar.sdk.data.VehicleCharge
- toString() - Method in class com.smartcar.sdk.data.VehicleChargeLimit
- toString() - Method in class com.smartcar.sdk.data.VehicleChargingPort
- toString() - Method in class com.smartcar.sdk.data.VehicleDoor
- toString() - Method in class com.smartcar.sdk.data.VehicleEngineOil
- toString() - Method in class com.smartcar.sdk.data.VehicleFuel
- toString() - Method in class com.smartcar.sdk.data.VehicleIds
- toString() - Method in class com.smartcar.sdk.data.VehicleLocation
- toString() - Method in class com.smartcar.sdk.data.VehicleLockStatus
-
Returns a stringified representation of the VehicleLockStatus object.
- toString() - Method in class com.smartcar.sdk.data.VehicleOdometer
- toString() - Method in class com.smartcar.sdk.data.VehicleStorage
- toString() - Method in class com.smartcar.sdk.data.VehicleSunroof
- toString() - Method in class com.smartcar.sdk.data.VehicleTirePressure
- toString() - Method in class com.smartcar.sdk.data.VehicleVin
- toString() - Method in class com.smartcar.sdk.data.VehicleWindow
- toString() - Method in class com.smartcar.sdk.data.WebhookSubscription
- type(String) - Method in class com.smartcar.sdk.SmartcarException.Builder
U
- unitSystem(Vehicle.UnitSystem) - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- unlock() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /security endpoint to unlock a vehicle
- unsubscribe(String, String) - Method in class com.smartcar.sdk.Vehicle
-
Unsubscribe vehicle from a webhook
- UnsubscribeResponse - Class in com.smartcar.sdk.data
- UnsubscribeResponse() - Constructor for class com.smartcar.sdk.data.UnsubscribeResponse
- User - Class in com.smartcar.sdk.data
- User() - Constructor for class com.smartcar.sdk.data.User
- userId(String) - Method in class com.smartcar.sdk.data.ConnectionsFilter.Builder
- Utils - Class in com.smartcar.sdk
-
General package utilities.
- Utils() - Constructor for class com.smartcar.sdk.Utils
V
- valueOf(String) - Static method in enum com.smartcar.sdk.Vehicle.UnitSystem
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.smartcar.sdk.Vehicle.UnitSystem
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Vehicle - Class in com.smartcar.sdk
-
Smartcar Vehicle API Object
- Vehicle(String, String) - Constructor for class com.smartcar.sdk.Vehicle
-
Initializes a new Vehicle.
- Vehicle(String, String, SmartcarVehicleOptions) - Constructor for class com.smartcar.sdk.Vehicle
-
Initializes a new Vehicle with provided options
- Vehicle.UnitSystem - Enum in com.smartcar.sdk
- VehicleAttributes - Class in com.smartcar.sdk.data
-
POJO for Smartcar /attributes endpoint
- VehicleAttributes() - Constructor for class com.smartcar.sdk.data.VehicleAttributes
- VehicleBattery - Class in com.smartcar.sdk.data
-
POJO for Smartcar /battery endpoint
- VehicleBattery() - Constructor for class com.smartcar.sdk.data.VehicleBattery
- VehicleBatteryCapacity - Class in com.smartcar.sdk.data
-
POJO for Smartcar /battery/capacity endpoint
- VehicleBatteryCapacity() - Constructor for class com.smartcar.sdk.data.VehicleBatteryCapacity
- VehicleCharge - Class in com.smartcar.sdk.data
-
POJO for Smartcar /charge endpoint
- VehicleCharge() - Constructor for class com.smartcar.sdk.data.VehicleCharge
- VehicleChargeLimit - Class in com.smartcar.sdk.data
- VehicleChargeLimit() - Constructor for class com.smartcar.sdk.data.VehicleChargeLimit
- VehicleChargingPort - Class in com.smartcar.sdk.data
- VehicleChargingPort() - Constructor for class com.smartcar.sdk.data.VehicleChargingPort
- VehicleDiagnosticSystemStatus - Class in com.smartcar.sdk.data
-
Data class for the diagnostic system status of a vehicle.
- VehicleDiagnosticSystemStatus() - Constructor for class com.smartcar.sdk.data.VehicleDiagnosticSystemStatus
-
No-argument constructor for deserialization.
- VehicleDiagnosticTroubleCodes - Class in com.smartcar.sdk.data
-
Data class for the diagnostic trouble codes of a vehicle.
- VehicleDiagnosticTroubleCodes() - Constructor for class com.smartcar.sdk.data.VehicleDiagnosticTroubleCodes
-
No-argument constructor for deserialization.
- VehicleDoor - Class in com.smartcar.sdk.data
- VehicleDoor() - Constructor for class com.smartcar.sdk.data.VehicleDoor
- VehicleEngineOil - Class in com.smartcar.sdk.data
-
POJO for Smartcar /engine/oil endpoint
- VehicleEngineOil() - Constructor for class com.smartcar.sdk.data.VehicleEngineOil
- VehicleFuel - Class in com.smartcar.sdk.data
-
POJO for Smartcar /fuel endpoint
- VehicleFuel() - Constructor for class com.smartcar.sdk.data.VehicleFuel
- vehicleId(String) - Method in class com.smartcar.sdk.data.ConnectionsFilter.Builder
- VehicleIds - Class in com.smartcar.sdk.data
-
POJO for Smartcar /vehicles endpoint.
- VehicleIds(String[], ResponsePaging) - Constructor for class com.smartcar.sdk.data.VehicleIds
-
Initializes a new instance of VehicleIds
- VehicleLocation - Class in com.smartcar.sdk.data
-
POJO for Smartcar /location endpodouble
- VehicleLocation() - Constructor for class com.smartcar.sdk.data.VehicleLocation
- VehicleLockStatus - Class in com.smartcar.sdk.data
- VehicleLockStatus() - Constructor for class com.smartcar.sdk.data.VehicleLockStatus
- VehicleNominalCapacity - Class in com.smartcar.sdk.data
-
Data class for Smartcar /battery/nominal_capacity endpoint
- VehicleNominalCapacity() - Constructor for class com.smartcar.sdk.data.VehicleNominalCapacity
- VehicleOdometer - Class in com.smartcar.sdk.data
-
POJO for Smartcar /odometer endpoint
- VehicleOdometer() - Constructor for class com.smartcar.sdk.data.VehicleOdometer
- VehicleResponse - Class in com.smartcar.sdk.data
-
POJO for the Response object
- VehicleResponse(JsonObject) - Constructor for class com.smartcar.sdk.data.VehicleResponse
- VehicleResponseDeserializer - Class in com.smartcar.sdk.data
-
VehicleResponseDeserializer
- VehicleResponseDeserializer() - Constructor for class com.smartcar.sdk.data.VehicleResponseDeserializer
- VehicleStorage - Class in com.smartcar.sdk.data
- VehicleStorage() - Constructor for class com.smartcar.sdk.data.VehicleStorage
- VehicleSunroof - Class in com.smartcar.sdk.data
- VehicleSunroof() - Constructor for class com.smartcar.sdk.data.VehicleSunroof
- VehicleTirePressure - Class in com.smartcar.sdk.data
-
POJO for Smartcar /tires/pressure endpoint
- VehicleTirePressure() - Constructor for class com.smartcar.sdk.data.VehicleTirePressure
- VehicleVin - Class in com.smartcar.sdk.data
-
POJO for Smartcar /vin endpoint
- VehicleVin() - Constructor for class com.smartcar.sdk.data.VehicleVin
- VehicleWindow - Class in com.smartcar.sdk.data
- VehicleWindow() - Constructor for class com.smartcar.sdk.data.VehicleWindow
- verifyPayload(String, String, String) - Static method in class com.smartcar.sdk.Smartcar
-
Verifies as HmacSHA256 signature
- version(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
- version(String) - Method in class com.smartcar.sdk.SmartcarVehicleOptions.Builder
- vin() - Method in class com.smartcar.sdk.data.BatchResponse
-
Get response from the /vin endpoint
- vin() - Method in class com.smartcar.sdk.Vehicle
-
Send request to the /vin endpoint
- vin(String) - Method in class com.smartcar.sdk.SmartcarCompatibilityRequest.Builder
W
- WebhookSubscription - Class in com.smartcar.sdk.data
- WebhookSubscription() - Constructor for class com.smartcar.sdk.data.WebhookSubscription
All Classes All Packages