code: public DeviceStatus getDeviceStatus(String deviceId, Boolean includeSnapshot, Boolean includeSnapshotTimestamp) throws ApiException {
          ApiResponse<DeviceStatus> resp = getDeviceStatusWithHttpInfo(deviceId, includeSnapshot, includeSnapshotTimestamp);
          return resp.getData();
      }
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 DeviceStatus
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body