code: public ApiResponse<DeviceTypesEnvelope> getUserDeviceTypesWithHttpInfo(String userId, Integer offset, Integer count, Boolean includeShared) throws ApiException {
          com.squareup.okhttp.Call call = getUserDeviceTypesValidateBeforeCall(userId, offset, count, includeShared, null, null);
          Type localVarReturnType = new TypeToken<DeviceTypesEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get User Device Types
  Retrieve User&#39;s Device Types
  @param userId User ID. (required)
  @param offset Offset for pagination. (optional)
  @param count Desired count of items in the result set (optional)
  @param includeShared 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)
  @return ApiResponse&lt;DeviceTypesEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body