code: public ApiResponse<DeviceStatus> putDeviceStatusWithHttpInfo(String deviceId, DeviceStatusPut body) throws ApiException {
          com.squareup.okhttp.Call call = putDeviceStatusValidateBeforeCall(deviceId, body, null, null);
          Type localVarReturnType = new TypeToken<DeviceStatus>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Update Device Status
  Update Device Status
  @param deviceId Device ID. (required)
  @param body Body (optional)
  @return ApiResponse&lt;DeviceStatus&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body