CameraTimelineTrait.ListTimelinePeriodsCommand.Request

class CameraTimelineTrait.ListTimelinePeriodsCommand.Request : ClusterStruct


The request payload for the ListTimelinePeriods command.

Summary

Nested types

Descriptor enum for this command's request fields.

Public constructors

Request(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    pageToken: OptionalValue<String>,
    modes: List<CameraTimelineTrait.TimelineMode>
)

Creates a request payload for the ListTimelinePeriods 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

ULong

The end time of the timeline data in milliseconds since the Unix epoch.

List<CameraTimelineTrait.TimelineMode>

The timeline data modes.

OptionalValue<String>

The page token for the timeline periods.

ULong

The start time of the timeline data in milliseconds since the Unix epoch.

Public constructors

Request

Request(
    startTimeMillis: ULong,
    endTimeMillis: ULong,
    pageToken: OptionalValue<String> = OptionalValue.absent(),
    modes: List<CameraTimelineTrait.TimelineMode> = emptyList()
)

Creates a request payload for the ListTimelinePeriods command.

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

endTimeMillis

val endTimeMillisULong

The end time of the timeline data in milliseconds since the Unix epoch.

modes

val modesList<CameraTimelineTrait.TimelineMode>

The timeline data modes.

pageToken

val pageTokenOptionalValue<String>

The page token for the timeline periods.

startTimeMillis

val startTimeMillisULong

The start time of the timeline data in milliseconds since the Unix epoch.