/* Options: Date: 2026-04-02 03:43:18 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.imglobal.com/RestApi //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ManageScheduleTask.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //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 }