Package api
Class DevicesApi.APIgetDeviceRequest
- java.lang.Object
-
- api.DevicesApi.APIgetDeviceRequest
-
- Enclosing class:
- DevicesApi
public class DevicesApi.APIgetDeviceRequest extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description okhttp3.CallbuildCall(ApiCallback _callback)Build call for getDeviceDeviceexecute()Execute getDevice requestokhttp3.CallexecuteAsync(ApiCallback<Device> _callback)Execute getDevice request (asynchronously)ApiResponse<Device>executeWithHttpInfo()Execute getDevice request with HTTP info returnedDevicesApi.APIgetDeviceRequestincludeConnection(Boolean includeConnection)Set includeConnection
-
-
-
Method Detail
-
includeConnection
public DevicesApi.APIgetDeviceRequest includeConnection(Boolean includeConnection)
Set includeConnection- Parameters:
includeConnection- Specifies whether the connection information should be included. (optional)- Returns:
- APIgetDeviceRequest
-
buildCall
public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
Build call for getDevice- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Device object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
execute
public Device execute() throws ApiException
Execute getDevice request- Returns:
- Device
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Device object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
executeWithHttpInfo
public ApiResponse<Device> executeWithHttpInfo() throws ApiException
Execute getDevice request with HTTP info returned- Returns:
- ApiResponse<Device>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Single Device object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<Device> _callback) throws ApiException
Execute getDevice request (asynchronously)- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 Single Device object * finix-apiuser-role -
* date -
* x-request-id -
401 Authentication information is missing or invalid * finix-apiuser-role -
* date -
* x-request-id -
403 Forbidden * finix-apiuser-role -
* date -
* x-request-id -
404 Object does not exist * finix-apiuser-role -
* date -
* x-request-id -
406 Not Acceptable * finix-apiuser-role -
* date -
* x-request-id -
-
-