/* Options: Date: 2026-10-29 03:04:09 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateRcoM5CodeLockSetting.* //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/rcom5/settings", Verbs="PUT") @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 UpdateRcoM5CodeLockSetting : 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 /** * Overrides BokaMera's default M5AdminAPI URL (e.g. https://host/M5AdminAPI/). */ @ApiMember(DataType="string", Description="Overrides BokaMera's default M5AdminAPI URL (e.g. https://host/M5AdminAPI/).") open var ApiEndpoint:String? = null /** * Server id from rcoservers.config of the M5AdminAPI installation. */ @ApiMember(DataType="int", Description="Server id from rcoservers.config of the M5AdminAPI installation.") open var ServerId:Int? = null /** * System name exactly as in R-CARD M5 Arbetsstation. */ @ApiMember(DataType="string", Description="System name exactly as in R-CARD M5 Arbetsstation.") open var SystemName:String? = null /** * The API operator username to logon to the RCO M5 system. */ @ApiMember(DataType="string", Description="The API operator username to logon to the RCO M5 system.") open var Username:String? = null /** * The API operator password to logon to the RCO M5 system. */ @ApiMember(DataType="string", Description="The API operator password to logon to the RCO M5 system.") open var Password:String? = null companion object { private val responseType = CodeLockRcoM5SettingResponse::class.java } override fun getResponseType(): Any? = UpdateRcoM5CodeLockSetting.responseType } open class CodeLockRcoM5SettingResponse { open var CompanyId:UUID? = null /** * Overrides BokaMera's default M5AdminAPI URL (e.g. https://host/M5AdminAPI/). */ @ApiMember(DataType="string", Description="Overrides BokaMera's default M5AdminAPI URL (e.g. https://host/M5AdminAPI/).") open var ApiEndpoint:String? = null /** * Server id from rcoservers.config of the M5AdminAPI installation. */ @ApiMember(DataType="int", Description="Server id from rcoservers.config of the M5AdminAPI installation.") open var ServerId:Int? = null /** * System name exactly as in R-CARD M5 Arbetsstation. */ @ApiMember(DataType="string", Description="System name exactly as in R-CARD M5 Arbetsstation.") open var SystemName:String? = null /** * The API operator username to logon to the RCO M5 system. */ @ApiMember(DataType="string", Description="The API operator username to logon to the RCO M5 system.") open var Username:String? = null /** * The API operator password to logon to the RCO M5 system. */ @ApiMember(DataType="string", Description="The API operator password to logon to the RCO M5 system.") open var Password:String? = null /** * When settings were created */ @ApiMember(DataType="datetime", Description="When settings were created") open var Created:Date? = null /** * When settings were updated */ @ApiMember(DataType="datetime", Description="When settings were updated") open var Updated:Date? = null } interface ICompany { var CompanyId:UUID? }