code: public Observable<ServiceResponse<Terms>> getAllTermsWithServiceResponseAsync(String listId, String language, GetAllTermsOptionalParameter getAllTermsOptionalParameter) {
          if (this.client.baseUrl() == null) {
              throw new IllegalArgumentException("Parameter this.client.baseUrl() is required and cannot be null.");
          }
          if (listId == null) {
              throw new IllegalArgumentException("Parameter listId is required and cannot be null.");
          }
          if (language == null) {
              throw new IllegalArgumentException("Parameter language is required and cannot be null.");
          }
          final Integer offset = getAllTermsOptionalParameter != null ? getAllTermsOptionalParameter.offset() : null;
          final Integer limit = getAllTermsOptionalParameter != null ? getAllTermsOptionalParameter.limit() : null;
  
          return getAllTermsWithServiceResponseAsync(listId, language, offset, limit);
      }
docs: Gets all terms from the list with list Id equal to the list Id passed.
  
  @param listId List Id of the image list.
  @param language Language of the terms.
  @param getAllTermsOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the Terms object