public OvhTask serviceName_user_userId_objectRight_POST ( String serviceName , Long userId , Boolean propagate , OvhRightEnum right , OvhUserObjectRightTypeEnum type , String vmwareObjectId ) throws IOException { String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/objectRight" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "propagate" , propagate ) ; addBody ( o , "right" , right ) ; addBody ( o , "type" , type ) ; addBody ( o , "vmwareObjectId" , vmwareObjectId ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Add a new object right to user in datacenter on Private Cloud