code: public ApiResponse<DeviceTokenEnvelope> getDeviceTokenWithHttpInfo(String deviceId) throws ApiException {
          com.squareup.okhttp.Call call = getDeviceTokenValidateBeforeCall(deviceId, null, null);
          Type localVarReturnType = new TypeToken<DeviceTokenEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get Device Token
  Retrieves a device&#39;s token
  @param deviceId deviceId (required)
  @return ApiResponse&lt;DeviceTokenEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body