public Observable<ServiceResponse<FoundFaces>> findFacesUrlInputWithServiceResponseAsync(String contentType, BodyModelModel imageUrl, FindFacesUrlInputOptionalParameter findFacesUrlInputOptionalParameter) {
        if (this.client.baseUrl() == null) {
            throw new IllegalArgumentException("Parameter this.client.baseUrl() 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 Boolean cacheImage = findFacesUrlInputOptionalParameter != null ? findFacesUrlInputOptionalParameter.cacheImage() : null;

        return findFacesUrlInputWithServiceResponseAsync(contentType, imageUrl, cacheImage);
    }
public Observable < ServiceResponse < FoundFaces > > findFacesUrlInputWithServiceResponseAsync ( String contentType , BodyModelModel imageUrl , FindFacesUrlInputOptionalParameter findFacesUrlInputOptionalParameter ) { if ( this . client . baseUrl ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.baseUrl() 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 Boolean cacheImage = findFacesUrlInputOptionalParameter != null ? findFacesUrlInputOptionalParameter . cacheImage ( ) : null ; return findFacesUrlInputWithServiceResponseAsync ( contentType , imageUrl , cacheImage ) ; }
Returns the list of faces found.

@param contentType The content type.
@param imageUrl The image url.
@param findFacesUrlInputOptionalParameter 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 FoundFaces object