/* Options: Date: 2025-08-05 02:33:31 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetScheduledTasks.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/sitefinity/scheduling/scheduled-tasks", Verbs="GET") open class GetScheduledTasks : IReturn { var Skip:Int? = null var Take:Int? = null var SearchTerm:String? = null var OrderBy:OrderByType? = null var FilterBy:FilterByType? = null companion object { private val responseType = GetScheduledTasksResponse::class.java } override fun getResponseType(): Any? = GetScheduledTasks.responseType } open class GetScheduledTasksResponse { var Items:ArrayList = ArrayList() var TotalCount:Int? = null } enum class OrderByType { ScheduledFor, LastExecutionDate, Status, NameAsc, NameDesc, } enum class FilterByType { All, Pending, Started, Stopped, Failed, Recurring, } open class ScheduledTaskViewModel { var TaskId:UUID? = null var Name:String? = null var Title:String? = null var Status:String? = null var ErrorMessage:String? = null var RecurringInterval:String? = null var ScheduledForDate:Date? = null var LastExecutionTime:Date? = null var Hash:String? = null }