code: public Observable<ServiceResponse<Image>> addImageUrlInputWithServiceResponseAsync(String listId, String contentType, BodyModelModel imageUrl, AddImageUrlInputOptionalParameter addImageUrlInputOptionalParameter) {
          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 (contentType == null) {
              throw new IllegalArgumentException("Parameter contentType is required and cannot be null.");
          }
          if (imageUrl == null) {
              throw new IllegalArgumentException("Parameter imageUrl is required and cannot be null.");
          }
          Validator.validate(imageUrl);
          final Integer tag = addImageUrlInputOptionalParameter != null ? addImageUrlInputOptionalParameter.tag() : null;
          final String label = addImageUrlInputOptionalParameter != null ? addImageUrlInputOptionalParameter.label() : null;
  
          return addImageUrlInputWithServiceResponseAsync(listId, contentType, imageUrl, tag, label);
      }
docs: Add an image to the list with list Id equal to list Id passed.
  
  @param listId List Id of the image list.
  @param contentType The content type.
  @param imageUrl The image url.
  @param addImageUrlInputOptionalParameter 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 Image object