/* Options: Date: 2024-12-22 12:13:41 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LockTech.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Limit updates to Technology to Owner or Admin users */ @Route(Path="/admin/technology/{TechnologyId}/lock") @Api(Description="Limit updates to Technology to Owner or Admin users") open class LockTech : IReturn, IPut { @Validate(Validator="GreaterThan(0)") open var technologyId:Long? = null open var isLocked:Boolean? = null companion object { private val responseType = LockStackResponse::class.java } override fun getResponseType(): Any? = LockTech.responseType } open class LockStackResponse { }