You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, entityType = AccountResponse.class, description = "ID of the account for which balance will be listed. Can not be specified with projectId.")
55
+
privateLongaccountId;
56
+
44
57
@Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, required = false, description = "Optional, Account Id for which statement needs to be generated")
45
58
privateStringaccountName;
46
59
@@ -52,15 +65,13 @@ public class QuotaSummaryCmd extends BaseListCmd {
52
65
privateBooleanlistAll;
53
66
54
67
@Parameter(name = ApiConstants.ACCOUNT_STATE_TO_SHOW, type = CommandType.STRING, description = "Possible values are [ALL, ACTIVE, REMOVED]. ALL will list summaries for " +
55
-
"active and removed accounts; ACTIVE will list summaries only for active accounts; REMOVED will list summaries only for removed accounts. The default value is ACTIVE.”,
56
-
since = “4.21.0)
68
+
"active and removed accounts; ACTIVE will list summaries only for active accounts; REMOVED will list summaries only for removed accounts. The default value is ACTIVE.",
69
+
since = "4.21.0")
57
70
privateStringaccountStateToShow;
58
71
59
-
@Inject
60
-
QuotaResponseBuilder quotaResponseBuilder;
61
-
62
-
@Inject
63
-
QuotaService quotaService;
72
+
@ACL
73
+
@Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class, description = "Project Id for which balance will be listed. Can not be specified with accountId.")
74
+
privateLongprojectId;
64
75
65
76
@Override
66
77
publicvoidexecute() {
@@ -72,6 +83,14 @@ public void execute() {
72
83
setResponseObject(response);
73
84
}
74
85
86
+
publicLonggetAccountId() {
87
+
returnaccountId;
88
+
}
89
+
90
+
publicvoidsetAccountId(LongaccountId) {
91
+
this.accountId = accountId;
92
+
}
93
+
75
94
publicStringgetAccountName() {
76
95
returnaccountName;
77
96
}
@@ -96,6 +115,10 @@ public void setListAll(Boolean listAll) {
0 commit comments