/* Options: Date: 2025-08-05 02:10:14 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetScheduledTasks.* //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="/sitefinity/scheduling/scheduled-tasks", Verbs="GET") public static class GetScheduledTasks implements IReturn { public Integer Skip = null; public Integer Take = null; public String SearchTerm = null; public OrderByType OrderBy = null; public FilterByType FilterBy = null; public Integer getSkip() { return Skip; } public GetScheduledTasks setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public GetScheduledTasks setTake(Integer value) { this.Take = value; return this; } public String getSearchTerm() { return SearchTerm; } public GetScheduledTasks setSearchTerm(String value) { this.SearchTerm = value; return this; } public OrderByType getOrderBy() { return OrderBy; } public GetScheduledTasks setOrderBy(OrderByType value) { this.OrderBy = value; return this; } public FilterByType getFilterBy() { return FilterBy; } public GetScheduledTasks setFilterBy(FilterByType value) { this.FilterBy = value; return this; } private static Object responseType = GetScheduledTasksResponse.class; public Object getResponseType() { return responseType; } } public static class GetScheduledTasksResponse { public ArrayList Items = null; public Integer TotalCount = null; public ArrayList getItems() { return Items; } public GetScheduledTasksResponse setItems(ArrayList value) { this.Items = value; return this; } public Integer getTotalCount() { return TotalCount; } public GetScheduledTasksResponse setTotalCount(Integer value) { this.TotalCount = value; return this; } } public static enum OrderByType { ScheduledFor, LastExecutionDate, Status, NameAsc, NameDesc; } public static enum FilterByType { All, Pending, Started, Stopped, Failed, Recurring; } public static class ScheduledTaskViewModel { public UUID TaskId = null; public String Name = null; public String Title = null; public String Status = null; public String ErrorMessage = null; public String RecurringInterval = null; public Date ScheduledForDate = null; public Date LastExecutionTime = null; public String Hash = null; public UUID getTaskId() { return TaskId; } public ScheduledTaskViewModel setTaskId(UUID value) { this.TaskId = value; return this; } public String getName() { return Name; } public ScheduledTaskViewModel setName(String value) { this.Name = value; return this; } public String getTitle() { return Title; } public ScheduledTaskViewModel setTitle(String value) { this.Title = value; return this; } public String getStatus() { return Status; } public ScheduledTaskViewModel setStatus(String value) { this.Status = value; return this; } public String getErrorMessage() { return ErrorMessage; } public ScheduledTaskViewModel setErrorMessage(String value) { this.ErrorMessage = value; return this; } public String getRecurringInterval() { return RecurringInterval; } public ScheduledTaskViewModel setRecurringInterval(String value) { this.RecurringInterval = value; return this; } public Date getScheduledForDate() { return ScheduledForDate; } public ScheduledTaskViewModel setScheduledForDate(Date value) { this.ScheduledForDate = value; return this; } public Date getLastExecutionTime() { return LastExecutionTime; } public ScheduledTaskViewModel setLastExecutionTime(Date value) { this.LastExecutionTime = value; return this; } public String getHash() { return Hash; } public ScheduledTaskViewModel setHash(String value) { this.Hash = value; return this; } } }