/* Options: Date: 2025-09-13 18:21:59 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddAxemaCodeLockSetting.* //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/axema/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 AddAxemaCodeLockSetting : 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 api endpoint of the code lock */ @ApiMember(DataType="string", Description="The api endpoint of the code lock", IsRequired=true) open var ApiEndpoint:String? = null /** * The api port for the code lock. */ @ApiMember(DataType="string", Description="The api port for the code lock.", IsRequired=true) open var ApiPort:String? = null /** * The username to logon to the code lock. */ @ApiMember(DataType="string", Description="The username to logon to the code lock.", IsRequired=true) open var Username:String? = null /** * The password to logon to the code lock. */ @ApiMember(DataType="string", Description="The password to logon to the code lock.", IsRequired=true) open var Password:String? = null companion object { private val responseType = CodeLockAxemaSettingResponse::class.java } override fun getResponseType(): Any? = AddAxemaCodeLockSetting.responseType } open class CodeLockAxemaSettingResponse { open var CompanyId:UUID? = null /** * The api endpoint of the code lock */ @ApiMember(DataType="string", Description="The api endpoint of the code lock") open var ApiEndpoint:String? = null /** * The api port for the code lock. */ @ApiMember(DataType="string", Description="The api port for the code lock.") open var ApiPort:Int? = null /** * The username to logon to the code lock. */ @ApiMember(DataType="string", Description="The username to logon to the code lock.") open var Username:String? = null /** * The password to logon to the code lock. */ @ApiMember(DataType="string", Description="The password to logon to the code lock.") open var Password: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? }