/* Options: Date: 2024-12-22 12:53:57 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: LockTechStack.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Limit updates to TechStack to Owner or Admin users */ // @Route("/admin/techstacks/{TechnologyStackId}/lock") public class LockTechStack : IReturn, IPut, Codable { public typealias Return = LockStackResponse // @Validate(Validator="GreaterThan(0)") public var technologyStackId:Int? public var isLocked:Bool? required public init(){} } public class LockStackResponse : Codable { required public init(){} }