mirror of https://github.com/apache/cloudstack.git
api: remove account from listProjects API response (#4743)
The `account` is no longer set in the listProjects API response that is still mentioned in the API docs. API consumers should now use the `owner` key from the listProjects API response which returns a list of owners (accounts and users). Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
df4103f0d1
commit
f511babc16
|
|
@ -51,10 +51,6 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
|
|||
@Param(description = "the domain name where the project belongs to")
|
||||
private String domain;
|
||||
|
||||
@SerializedName(ApiConstants.ACCOUNT)
|
||||
@Param(description = "the account name of the project's owner")
|
||||
private String ownerName;
|
||||
|
||||
@SerializedName(ApiConstants.OWNER)
|
||||
@Param(description = "the account name of the project's owners")
|
||||
private List<Map<String, String>> owners;
|
||||
|
|
@ -231,10 +227,6 @@ public class ProjectResponse extends BaseResponse implements ResourceLimitAndCou
|
|||
this.domain = domain;
|
||||
}
|
||||
|
||||
public void setOwner(String owner) {
|
||||
ownerName = owner;
|
||||
}
|
||||
|
||||
public void setProjectAccountName(String projectAccountName) {
|
||||
this.projectAccountName = projectAccountName;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue