public OvhDHCPStaticAddress serviceName_modem_lan_lanName_dhcp_dhcpName_DHCPStaticAddresses_POST ( String serviceName , String lanName , String dhcpName , String IPAddress , String MACAddress , String name ) throws IOException { String qPath = "/xdsl/{serviceName}/modem/lan/{lanName}/dhcp/{dhcpName}/DHCPStaticAddresses" ; StringBuilder sb = path ( qPath , serviceName , lanName , dhcpName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "IPAddress" , IPAddress ) ; addBody ( o , "MACAddress" , MACAddress ) ; addBody ( o , "name" , name ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhDHCPStaticAddress . class ) ; }
Add a DHCP static lease