/* Options: Date: 2024-04-28 00:10:06 SwiftVersion: 5.0 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: LockTech.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //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(){} }