public OvhTask serviceName_user_userId_changeProperties_POST ( String serviceName , Long userId , Boolean canManageIpFailOvers , Boolean canManageNetwork , Boolean canManageRights , String email , String firstName , Boolean fullAdminRo , String lastName , Boolean nsxRight , String phoneNumber , Boolean receiveAlerts , Boolean tokenValidator ) throws IOException { String qPath = "/dedicatedCloud/{serviceName}/user/{userId}/changeProperties" ; StringBuilder sb = path ( qPath , serviceName , userId ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "canManageIpFailOvers" , canManageIpFailOvers ) ; addBody ( o , "canManageNetwork" , canManageNetwork ) ; addBody ( o , "canManageRights" , canManageRights ) ; addBody ( o , "email" , email ) ; addBody ( o , "firstName" , firstName ) ; addBody ( o , "fullAdminRo" , fullAdminRo ) ; addBody ( o , "lastName" , lastName ) ; addBody ( o , "nsxRight" , nsxRight ) ; addBody ( o , "phoneNumber" , phoneNumber ) ; addBody ( o , "receiveAlerts" , receiveAlerts ) ; addBody ( o , "tokenValidator" , tokenValidator ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhTask . class ) ; }
Change Private Cloud user properties