/* Options: Date: 2025-09-14 13:53:17 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddParakeyCodeLockSetting.* //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.* @Route(Path="/codelock/parakey/settings", Verbs="POST") @ValidateRequest(Validator="IsAuthenticated") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privileges to call this service", StatusCode=403) open class AddParakeyCodeLockSetting : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") override var CompanyId:UUID? = null /** * The domain id of the code lock. */ @ApiMember(DataType="string", Description="The domain id of the code lock.", IsRequired=true) open var DomainId:String? = null /** * The access token of the code lock. */ @ApiMember(DataType="string", Description="The access token of the code lock.", IsRequired=true) open var AccessToken:String? = null companion object { private val responseType = CodeLockParakeySettingResponse::class.java } override fun getResponseType(): Any? = AddParakeyCodeLockSetting.responseType } open class CodeLockParakeySettingResponse { open var CompanyId:UUID? = null /** * The domain id of the code lock. */ @ApiMember(DataType="string", Description="The domain id of the code lock.") open var DomainId:String? = null /** * The access token of the code lock. */ @ApiMember(DataType="string", Description="The access token of the code lock.") open var AccessToken:String? = null /** * When settings was created */ @ApiMember(DataType="datetime", Description="When settings was created") open var Created:Date? = null /** * When settings was updated */ @ApiMember(DataType="datetime", Description="When settings was updated") open var Updated:Date? = null } interface ICompany { var CompanyId:UUID? }