You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2023/01/17 14:46:18 UTC
[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #7100: api/server: add project id/name in ssh keypair response
weizhouapache commented on code in PR #7100:
URL: https://github.com/apache/cloudstack/pull/7100#discussion_r1072300454
##########
api/src/main/java/org/apache/cloudstack/api/response/SSHKeyPairResponse.java:
##########
@@ -46,6 +46,14 @@ public class SSHKeyPairResponse extends BaseResponseWithAnnotations {
@SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the keypair owner")
private String domain;
+ @SerializedName(ApiConstants.PROJECT_ID)
+ @Param(description = "the project id of the keypair owner")
+ private String projectId;
+
+ @SerializedName(ApiConstants.PROJECT)
+ @Param(description = "the project name of the keypair owner")
+ private String projectName;
Review Comment:
same as other properties (zone id/name, domaini id/name, service offering id/name, etc) in other responses, the names are displayed on UI and more visible for users
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org