ExtendedDoorLockTrait.PrivacyModeActor

class ExtendedDoorLockTrait.PrivacyModeActor : ClusterStruct


Describes who and what last caused the privacy mode state to change.

Summary

Nested types

Descriptor enum for this struct's fields.

Public constructors

PrivacyModeActor(
    privacy_mode_actor_method: ExtendedDoorLockTrait.PrivacyModeActorMethodEnum,
    actor_name: String,
    user_id: Long,
    timeStampSeconds: Long
)

Creates the PrivacyModeActor class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

String

The name of the actor who took the action.

ExtendedDoorLockTrait.PrivacyModeActorMethodEnum

The method of the privacy mode actor for changing a lock-related state.

Long

The timestamp of the event in seconds.

Long

The user ID of the actor who took the action.

Public constructors

PrivacyModeActor

PrivacyModeActor(
    privacy_mode_actor_method: ExtendedDoorLockTrait.PrivacyModeActorMethodEnum = PrivacyModeActorMethodEnum.Unspecified,
    actor_name: String = "",
    user_id: Long = 0,
    timeStampSeconds: Long = 0
)

Creates the PrivacyModeActor class.

Public functions

getDescriptor

@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

actor_name

val actor_nameString

The name of the actor who took the action.

privacy_mode_actor_method

val privacy_mode_actor_methodExtendedDoorLockTrait.PrivacyModeActorMethodEnum

The method of the privacy mode actor for changing a lock-related state.

timeStampSeconds

val timeStampSecondsLong

The timestamp of the event in seconds.

user_id

val user_idLong

The user ID of the actor who took the action.