public OvhTaskMl domain_mailingList_POST ( String domain , OvhDomainMlLanguageEnum language , String name , OvhDomainMlOptionsStruct options , String ownerEmail , String replyTo ) throws IOException { String qPath = "/email/domain/{domain}/mailingList" ; StringBuilder sb = path ( qPath , domain ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "language" , language ) ; addBody ( o , "name" , name ) ; addBody ( o , "options" , options ) ; addBody ( o , "ownerEmail" , ownerEmail ) ; addBody ( o , "replyTo" , replyTo ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTaskMl . class ) ; }
Create new mailingList