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:
Rohit Yadav 2021-03-06 15:09:06 +05:30 committed by GitHub
parent df4103f0d1
commit f511babc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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;
}