code: public ApiResponse<DeviceStatus> getDeviceStatusWithHttpInfo(String deviceId, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException {
          com.squareup.okhttp.Call call = getDeviceStatusValidateBeforeCall(deviceId, includeSnapshot, includeSnapshotTimestamp, null, null);
          Type localVarReturnType = new TypeToken<DeviceStatus>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get Device Status
  Get Device Status
  @param deviceId Device ID. (required)
  @param includeSnapshot Include device snapshot into the response (optional)
  @param includeSnapshotTimestamp Include device snapshot timestamp into the response (optional)
  @return ApiResponse&lt;DeviceStatus&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body