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);
	}
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

REST: POST /telephony/{billingAccount}/easyHunting/{serviceName}/timeConditions/conditions
@param timeFrom [required] The time of the day when the extension will start to be executed
@param weekDay [required] The day of the week when the extension will be executed
@param policy [required] The time condition's policy
@param timeTo [required] The time of the day when the extension will stop to be executed
@param billingAccount [required] The name of your billingAccount
@param serviceName [required]