winterhazel commented on code in PR #13449:
URL: https://github.com/apache/cloudstack/pull/13449#discussion_r3546100035


##########
plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaCreditsListCmd.java:
##########
@@ -44,12 +45,15 @@ public class QuotaCreditsListCmd extends BaseCmd {
     @Inject
     QuotaResponseBuilder quotaResponseBuilder;
 
-    @ACL
-    @Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, 
entityType = AccountResponse.class, description = "ID of the account for which 
the credit statement will be generated.")
+    @Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, 
entityType = AccountResponse.class,
+            description = "ID of the Account for which the credit statement 
will be generated. Can not be specified with '" + ApiConstants.PROJECT_ID + 
"'.")
     private Long accountId;
 
-    @ACL
-    @Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, 
entityType = DomainResponse.class, description = "ID of the domain for which 
credit statement will be generated. " +
+    @Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, 
entityType = ProjectResponse.class,
+            description = "ID of the Project for which the credit statement 
will be generated. Can not be specified with '" + ApiConstants.ACCOUNT_ID + 
"'.")
+    private Long projectId;
+
+    @Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, 
entityType = DomainResponse.class, description = "ID of the Domain for which 
credit statement will be generated. " +

Review Comment:
   We can.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to