Package com.smartcar.sdk
Class SmartcarVehicleRequest.Builder
- java.lang.Object
-
- com.smartcar.sdk.SmartcarVehicleRequest.Builder
-
- Enclosing class:
- SmartcarVehicleRequest
public static class SmartcarVehicleRequest.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
method
public SmartcarVehicleRequest.Builder method(java.lang.String method)
-
path
public SmartcarVehicleRequest.Builder path(java.lang.String path)
-
addHeader
public SmartcarVehicleRequest.Builder addHeader(java.lang.String key, java.lang.String value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, short value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, int value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, long value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, float value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, double value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, boolean value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, java.lang.String value)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, javax.json.JsonArray values)
-
addBodyParameter
public SmartcarVehicleRequest.Builder addBodyParameter(java.lang.String key, javax.json.JsonObject values)
-
addQueryParameter
public SmartcarVehicleRequest.Builder addQueryParameter(java.lang.String key, java.lang.String value)
-
addFlag
public SmartcarVehicleRequest.Builder addFlag(java.lang.String key, java.lang.String value)
-
addFlag
public SmartcarVehicleRequest.Builder addFlag(java.lang.String key, boolean value)
-
build
public SmartcarVehicleRequest build() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-