ChannelTrait.PageTokenStruct

class ChannelTrait.PageTokenStruct : ClusterStruct


Summary

Public constructors

PageTokenStruct(
    limit: OptionalValue<UShort>,
    after: OptionalValue<String>,
    before: OptionalValue<String>
)

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

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

Public constructors

PageTokenStruct

PageTokenStruct(
    limit: OptionalValue<UShort> = OptionalValue.absent(),
    after: OptionalValue<String> = OptionalValue.absent(),
    before: OptionalValue<String> = OptionalValue.absent()
)

Public functions

getDescriptor

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

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

Public properties

after

val afterOptionalValue<String>

before

val beforeOptionalValue<String>

limit

val limitOptionalValue<UShort>