Package-level declarations

Contained within are the public model classes used for our API.

Types

Link copied to clipboard
data class CreateDoorLockData(var revision: Int? = 0, val serialNumber: String, var name: String = "", val timeZone: String, var softwareVersions: Array<FirmwareVersion>? = null, var deviceSettings: DeviceSettings? = null, var signature: String = "", val activationCode: String)
Link copied to clipboard
data class DeviceCertificate(var certificate: String = "", var devicePublicKey: String = "")
Link copied to clipboard
data class DeviceSettings(var autoLockEnabled: Boolean? = null, var autoLockDelay: Int? = DEFAULT_AUTO_LOCK_FROM_SEMI_LOCKED_DELAY_SECONDS, var autoLockImplicitEnabled: Boolean? = null, var autoLockImplicitDelay: Int? = DEFAULT_AUTO_LOCK_FROM_SEMI_LOCKED_DELAY_SECONDS, var pullSpringEnabled: Boolean? = null, var pullSpringDuration: Int? = DEFAULT_PULL_SPRING_DURATION_SECONDS, var autoPullSpringEnabled: Boolean? = null, var postponedLockEnabled: Boolean? = null, var postponedLockDelay: Int? = DEFAULT_POSTPONED_LOCK_DELAY, var buttonLockEnabled: Boolean? = null, var buttonUnlockEnabled: Boolean? = null, var hasUnpairedKeypad: Boolean? = null, var isAsync: Boolean? = null, var isCustomPullSpringDuration: Boolean = false, var isCustomPostponedLockDelay: Boolean = false, var deviceId: Int = -1)
Link copied to clipboard
data class FirmwareVersion(val softwareType: Int, val version: String)
Link copied to clipboard
data class RegisterDeviceData(val id: Int, val authPublicKey: String)
Link copied to clipboard
data class SignedTime(val datetime: String, val signature: String)