sureshanaparti commented on code in PR #14270:
URL: https://github.com/apache/cloudstack/pull/14270#discussion_r4142441468
##########
api/src/main/java/org/apache/cloudstack/api/command/user/job/ListAsyncJobsCmd.java:
##########
@@ -26,18 +33,22 @@
import org.apache.cloudstack.api.response.AsyncJobResponse;
import org.apache.cloudstack.api.response.ListResponse;
import org.apache.cloudstack.api.response.ManagementServerResponse;
+import org.apache.cloudstack.jobs.JobInfo;
-@APICommand(name = "listAsyncJobs", description = "Lists all pending
asynchronous jobs for the Account.", responseObject = AsyncJobResponse.class,
+@APICommand(name = "listAsyncJobs", description = "Lists asynchronous jobs for
the Account.", responseObject = AsyncJobResponse.class,
requestHasSensitiveInfo = false, responseHasSensitiveInfo = false)
public class ListAsyncJobsCmd extends BaseListAccountResourcesCmd {
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////
- @Parameter(name = ApiConstants.START_DATE, type = CommandType.DATE,
description = "The start date of the async job (use format
\"yyyy-MM-dd'T'HH:mm:ss'+'SSSS\")")
+ @Parameter(name = ApiConstants.START_DATE, type = CommandType.DATE,
description = "The start date from which the async jobs should be listed. Only
jobs created on or after this date will be included. (use format
\"yyyy-MM-dd'T'HH:mm:ss'+'SSSS\")")
private Date startDate;
+ @Parameter(name = ApiConstants.END_DATE, type = CommandType.DATE,
description = "The end date up to which the async jobs should be listed. Only
jobs created on or before this date will be included. (use format
\"yyyy-MM-dd'T'HH:mm:ss'+'SSSS\")")
Review Comment:
```suggestion
@Parameter(name = ApiConstants.END_DATE, type = CommandType.DATE,
description = "The end date up to which the async jobs should be listed. Only
jobs created on or before this date will be included. (use format
\"yyyy-MM-dd'T'HH:mm:ss'+'SSSS\")", since = "24.0")
```
--
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]