public OvhTask organizationName_service_exchangeService_publicFolder_POST ( String organizationName , String exchangeService , OvhPublicFolderRightTypeEnum anonymousPermission , OvhPublicFolderRightTypeEnum defaultPermission , String path , Long quota , OvhPublicFolderTypeEnum type ) throws IOException { String qPath = "/email/exchange/{organizationName}/service/{exchangeService}/publicFolder" ; StringBuilder sb = path ( qPath , organizationName , exchangeService ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "anonymousPermission" , anonymousPermission ) ; addBody ( o , "defaultPermission" , defaultPermission ) ; addBody ( o , "path" , path ) ; addBody ( o , "quota" , quota ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create organization public folder