AccountLoginTrait.LoginCommand.Request

class AccountLoginTrait.LoginCommand.Request : ClusterStruct


The request payload for the Login command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    tempAccountIdentifier: String,
    setupPin: String,
    node: OptionalValue<ULong>
)

Creates a request payload for the Login command.

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

OptionalValue<ULong>
String

The setup PIN.

String

The client's temporary account identifier.

Public constructors

Request

Request(
    tempAccountIdentifier: String = "",
    setupPin: String = "",
    node: OptionalValue<ULong> = OptionalValue.absent()
)

Creates a request payload for the Login command.

Public functions

getDescriptor

@HomeExperimentalApi
open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

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

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

Public properties

node

val nodeOptionalValue<ULong>

setupPin

val setupPinString

The setup PIN.

tempAccountIdentifier

val tempAccountIdentifierString

The client's temporary account identifier.