/* Options: Date: 2025-08-05 02:36:13 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ManageScheduleTask.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/sitefinity/scheduling/scheduled-tasks", "PUT") public class ManageScheduleTask : Codable { public var taskId:String public var operation:SchedulingTaskCommand public var hash:String required public init(){} } public enum SchedulingTaskCommand : String, Codable { case Restart case Stop case Resume case Delete case Start }