public OvhTimeCondition billingAccount_timeCondition_serviceName_condition_POST ( String billingAccount , String serviceName , OvhTimeConditionsDayEnum day , String hourBegin , String hourEnd , OvhTimeConditionsPolicyEnum policy ) throws IOException { String qPath = "/telephony/{billingAccount}/timeCondition/{serviceName}/condition" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "day" , day ) ; addBody ( o , "hourBegin" , hourBegin ) ; addBody ( o , "hourEnd" , hourEnd ) ; addBody ( o , "policy" , policy ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTimeCondition . class ) ; }
Create a new time condition rule