code: public DeviceRegStatusResponseEnvelope getRequestStatusForUser(String requestId) throws ApiException {
          ApiResponse<DeviceRegStatusResponseEnvelope> resp = getRequestStatusForUserWithHttpInfo(requestId);
          return resp.getData();
      }
docs: Get Request Status For User
  This call checks the status of the request so users can poll and know when registration is complete.
  @param requestId Request ID. (required)
  @return DeviceRegStatusResponseEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body