public OvhEasyHuntingTimeConditions billingAccount_easyHunting_serviceName_timeConditions_conditions_POST ( String billingAccount , String serviceName , OvhTimeConditionsPolicyEnum policy , Date timeFrom , Date timeTo , OvhOvhPabxDialplanExtensionConditionTimeWeekDayEnum weekDay ) throws IOException { String qPath = "/telephony/{billingAccount}/easyHunting/{serviceName}/timeConditions/conditions" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "policy" , policy ) ; addBody ( o , "timeFrom" , timeFrom ) ; addBody ( o , "timeTo" , timeTo ) ; addBody ( o , "weekDay" , weekDay ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhEasyHuntingTimeConditions . class ) ; }
Create a new time condition