/* Options: Date: 2024-12-22 12:44:14 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: LockTech.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Limit updates to Technology to Owner or Admin users */ // @Route("/admin/technology/{TechnologyId}/lock") // @Api(Description="Limit updates to Technology to Owner or Admin users") public class LockTech : IReturn, IPut, Codable { public typealias Return = LockStackResponse // @Validate(Validator="GreaterThan(0)") public var technologyId:Int? public var isLocked:Bool? required public init(){} } public class LockStackResponse : Codable { required public init(){} }