code: public DeviceEnvelope addDevice(Device device) throws ApiException {
          ApiResponse<DeviceEnvelope> resp = addDeviceWithHttpInfo(device);
          return resp.getData();
      }
docs: Add Device
  Create a device
  @param device Device to be added to the user (required)
  @return DeviceEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body