/* Options: Date: 2026-05-19 10:45:15 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://dev-api-booster.richemont.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetTask.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/tasks", Verbs="GET") public static class GetTask implements IReturn { private static Object responseType = GetTaskResponse.class; public Object getResponseType() { return responseType; } } public static class GetTaskResponse extends ArrayList { } public static class Task { /** * Async task ID */ @ApiMember(Description="Async task ID", IsRequired=true) public UUID asyncTaskId = null; /** * Type of requested async task, e.g 'stock', 'sellout', 'crm' */ @ApiMember(Description="Type of requested async task, e.g 'stock', 'sellout', 'crm'", IsRequired=true) public String type = null; /** * Async task creation date */ @ApiMember(Description="Async task creation date", IsRequired=true) public String requestDate = null; /** * Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR' */ @ApiMember(Description="Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'", IsRequired=true) public String status = null; /** * Percentage of completion */ @ApiMember(Description="Percentage of completion", IsRequired=true) public Integer percentage = null; /** * Brand Trigram */ @ApiMember(Description="Brand Trigram", IsRequired=true) public String brand = null; /** * Download url of created files */ @ApiMember(Description="Download url of created files") public String downloadUrl = null; /** * Presigned expiring download url */ @ApiMember(Description="Presigned expiring download url") public String signedDownloadUrl = null; /** * Total count of operations */ @ApiMember(Description="Total count of operations") public Integer totalResults = null; /** * Count of successful operations */ @ApiMember(Description="Count of successful operations") public Integer totalSucceeded = null; /** * Count of failed operations */ @ApiMember(Description="Count of failed operations") public Integer totalFailed = null; public UUID getAsyncTaskId() { return asyncTaskId; } public Task setAsyncTaskId(UUID value) { this.asyncTaskId = value; return this; } public String getType() { return type; } public Task setType(String value) { this.type = value; return this; } public String getRequestDate() { return requestDate; } public Task setRequestDate(String value) { this.requestDate = value; return this; } public String getStatus() { return status; } public Task setStatus(String value) { this.status = value; return this; } public Integer getPercentage() { return percentage; } public Task setPercentage(Integer value) { this.percentage = value; return this; } public String getBrand() { return brand; } public Task setBrand(String value) { this.brand = value; return this; } public String getDownloadUrl() { return downloadUrl; } public Task setDownloadUrl(String value) { this.downloadUrl = value; return this; } public String getSignedDownloadUrl() { return signedDownloadUrl; } public Task setSignedDownloadUrl(String value) { this.signedDownloadUrl = value; return this; } public Integer getTotalResults() { return totalResults; } public Task setTotalResults(Integer value) { this.totalResults = value; return this; } public Integer getTotalSucceeded() { return totalSucceeded; } public Task setTotalSucceeded(Integer value) { this.totalSucceeded = value; return this; } public Integer getTotalFailed() { return totalFailed; } public Task setTotalFailed(Integer value) { this.totalFailed = value; return this; } } }