public OvhOvhPabxHuntingQueue billingAccount_easyHunting_serviceName_hunting_queue_POST ( String billingAccount , String serviceName , OvhOvhPabxQueueActionEnum actionOnClosure , String actionOnClosureParam , OvhOvhPabxQueueActionEnum actionOnOverflow , String actionOnOverflowParam , Boolean askForRecordDisabling , String description , Long maxMember , Long maxWaitTime , Boolean record , OvhOvhPabxHuntingQueueRecordDisablingDigitEnum recordDisablingDigit , OvhOvhPabxHuntingQueueRecordDisablingLanguageEnum recordDisablingLanguage , Long soundOnHold , OvhOvhPabxHuntingQueueStrategyEnum strategy ) throws IOException { String qPath = "/telephony/{billingAccount}/easyHunting/{serviceName}/hunting/queue" ; StringBuilder sb = path ( qPath , billingAccount , serviceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "actionOnClosure" , actionOnClosure ) ; addBody ( o , "actionOnClosureParam" , actionOnClosureParam ) ; addBody ( o , "actionOnOverflow" , actionOnOverflow ) ; addBody ( o , "actionOnOverflowParam" , actionOnOverflowParam ) ; addBody ( o , "askForRecordDisabling" , askForRecordDisabling ) ; addBody ( o , "description" , description ) ; addBody ( o , "maxMember" , maxMember ) ; addBody ( o , "maxWaitTime" , maxWaitTime ) ; addBody ( o , "record" , record ) ; addBody ( o , "recordDisablingDigit" , recordDisablingDigit ) ; addBody ( o , "recordDisablingLanguage" , recordDisablingLanguage ) ; addBody ( o , "soundOnHold" , soundOnHold ) ; addBody ( o , "strategy" , strategy ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhOvhPabxHuntingQueue . class ) ; }
Create a new queue