code: public DevicesEnvelope getUserDevices(String userId, Integer offset, Integer count, Boolean includeProperties, String owner, Boolean includeShareInfo, String dtid) throws ApiException {
          ApiResponse<DevicesEnvelope> resp = getUserDevicesWithHttpInfo(userId, offset, count, includeProperties, owner, includeShareInfo, dtid);
          return resp.getData();
      }
docs: Get User Devices
  Retrieve User&#39;s Devices
  @param userId User ID (required)
  @param offset Offset for pagination. (optional)
  @param count Desired count of items in the result set (optional)
  @param includeProperties Optional. Boolean (true/false) - If false, only return the user&#39;s device types. If true, also return device types shared by other users. (optional)
  @param owner Return owned and/or shared devices. Default to ALL. (optional)
  @param includeShareInfo Include share info (optional)
  @param dtid Return only devices of this device type. If empty, assumes all device types allowed by the authorization. (optional)
  @return DevicesEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body