Skip to content

Commit 970acd0

Browse files
author
Pearl Dsilva
committed
detailed description of api parameter
1 parent 95a6a43 commit 970acd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/project/UpdateProjectCmd.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ public class UpdateProjectCmd extends BaseAsyncCmd {
6363
@Parameter(name = ApiConstants.ROLE_TYPE, type = CommandType.STRING, description = "Account level role to be assigned to the user/account : Admin/Regular")
6464
private String roleType;
6565

66-
@Parameter(name = ApiConstants.SWAP_OWNER, type = CommandType.BOOLEAN, description = "True by default; when true, makes provided account the owner")
66+
@Parameter(name = ApiConstants.SWAP_OWNER, type = CommandType.BOOLEAN, description = "when true, it swaps ownership with the account/ user provided. " +
67+
"Ideally to be used when a single project administrator is present. In case of multiple project admins, swapowner is to be set to false," +
68+
"to promote or demote the user/account based on the roleType (Regular or Admin) provided. Defaults to true")
6769
private Boolean swapOwner;
6870

6971
/////////////////////////////////////////////////////

0 commit comments

Comments
 (0)