public JSONObject partialUpdateObject(JSONObject partialObject, String objectID, Boolean createIfNotExists, @Nullable RequestOptions requestOptions) throws AlgoliaException {
    """
	Update partially an object (only update attributes passed in argument).
	
	@param partialObject  the object attributes to override
	@param requestOptions Request-specific options.
	@throws AlgoliaException
    """
        try {
            String path = "/1/indexes/" + encodedIndexName + "/" + URLEncoder.encode(objectID, "UTF-8") + "/partial";
            Map<String, String> urlParameters = new HashMap<>();
            if (createIfNotExists != null) {
                urlParameters.put("createIfNotExists", createIfNotExists.toString());
            }
            return client.postRequest(path, urlParameters, partialObject.toString(), false, requestOptions);
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }
public JSONObject partialUpdateObject(JSONObject partialObject, String objectID, Boolean createIfNotExists, @Nullable RequestOptions requestOptions) throws AlgoliaException {
        try {
            String path = "/1/indexes/" + encodedIndexName + "/" + URLEncoder.encode(objectID, "UTF-8") + "/partial";
            Map<String, String> urlParameters = new HashMap<>();
            if (createIfNotExists != null) {
                urlParameters.put("createIfNotExists", createIfNotExists.toString());
            }
            return client.postRequest(path, urlParameters, partialObject.toString(), false, requestOptions);
        } catch (UnsupportedEncodingException e) {
            throw new RuntimeException(e);
        }
    }
public JSONObject partialUpdateObject ( JSONObject partialObject , String objectID , Boolean createIfNotExists , @ Nullable RequestOptions requestOptions ) throws AlgoliaException { try { String path = "/1/indexes/" + encodedIndexName + "/" + URLEncoder . encode ( objectID , "UTF-8" ) + "/partial" ; Map < String , String > urlParameters = new HashMap <> ( ) ; if ( createIfNotExists != null ) { urlParameters . put ( "createIfNotExists" , createIfNotExists . toString ( ) ) ; } return client . postRequest ( path , urlParameters , partialObject . toString ( ) , false , requestOptions ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } }
Update partially an object (only update attributes passed in argument).

@param partialObject  the object attributes to override
@param requestOptions Request-specific options.
@throws AlgoliaException
Update partially an object ( only update attributes passed in argument ) .