public OvhTaskFilter domain_account_accountName_filter_name_rule_POST ( String domain , String accountName , String name , String header , OvhDomainFilterOperandEnum operand , String value ) throws IOException { String qPath = "/email/domain/{domain}/account/{accountName}/filter/{name}/rule" ; StringBuilder sb = path ( qPath , domain , accountName , name ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "header" , header ) ; addBody ( o , "operand" , operand ) ; addBody ( o , "value" , value ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskFilter . class ) ; }
Create new rule for filter