public OvhTask serviceName_pca_pcaServiceName_tasks_POST ( String serviceName , String pcaServiceName , String [ ] fileIds , String sessionId , OvhTaskTypeEnum taskFunction ) throws IOException { String qPath = "/cloud/{serviceName}/pca/{pcaServiceName}/tasks" ; StringBuilder sb = path ( qPath , serviceName , pcaServiceName ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "fileIds" , fileIds ) ; addBody ( o , "sessionId" , sessionId ) ; addBody ( o , "taskFunction" , taskFunction ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Create a cloud archives task