Skip to content

Commit

Permalink
Update OpenCreateAppDTO.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Anilople committed Aug 29, 2023
1 parent 9558c84 commit 26e1699
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,21 @@

public class OpenCreateAppDTO {

/**
* when {@code assignAppRoleToSelf} is true,
* you can do anything with the app by current token!
*/
private boolean assignAppRoleToSelf;

/**
* The application owner has project administrator permission by default.
* <p>
* Administrators can create namespace, cluster, and assign user permissions
*/
private Set<String> admins;

/**
* when {@code assignAppRoleToSelf} is true,
* you can do anything with the app by current token!
*/
private boolean assignAppRoleToSelf;

private OpenAppDTO app;

public Set<String> getAdmins() {
return admins;
}

public void setAdmins(Set<String> admins) {
this.admins = admins;
}

public boolean isAssignAppRoleToSelf() {
return assignAppRoleToSelf;
}
Expand All @@ -51,6 +43,14 @@ public void setAssignAppRoleToSelf(boolean assignAppRoleToSelf) {
this.assignAppRoleToSelf = assignAppRoleToSelf;
}

public Set<String> getAdmins() {
return admins;
}

public void setAdmins(Set<String> admins) {
this.admins = admins;
}

public OpenAppDTO getApp() {
return app;
}
Expand Down

0 comments on commit 26e1699

Please sign in to comment.