code: public ApiResponse<DeviceEnvelope> addDeviceWithHttpInfo(Device device) throws ApiException {
          com.squareup.okhttp.Call call = addDeviceValidateBeforeCall(device, null, null);
          Type localVarReturnType = new TypeToken<DeviceEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Add Device
  Create a device
  @param device Device to be added to the user (required)
  @return ApiResponse&lt;DeviceEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body