public OvhDefaultIpRestriction telephony_defaultIpRestriction_POST ( String subnet , OvhProtocolEnum type ) throws IOException { String qPath = "/me/telephony/defaultIpRestriction" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "subnet" , subnet ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhDefaultIpRestriction . class ) ; }
Create a default IP restriction for your future VoIP lines