Skip to main content

Class: RecordMarkerCommandAttributes

command.v1.RecordMarkerCommandAttributes

Represents a RecordMarkerCommandAttributes.

Properties​

details​

• details: Object

RecordMarkerCommandAttributes details.

Index signature​

▪ [k: string]: $Properties


failure​

• Optional failure: null | $Properties

RecordMarkerCommandAttributes failure.


• Optional header: null | $Properties

RecordMarkerCommandAttributes header.


markerName​

• markerName: string

RecordMarkerCommandAttributes markerName.

Methods​

toJSON​

▸ toJSON(): Object

Converts this RecordMarkerCommandAttributes to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): RecordMarkerCommandAttributes & $Shape

Creates a new RecordMarkerCommandAttributes instance using the specified properties.

Parameters​

NameTypeDescription
properties?$ShapeProperties to set

Returns​

RecordMarkerCommandAttributes & $Shape

RecordMarkerCommandAttributes instance

▸ create(properties?): RecordMarkerCommandAttributes

Parameters​

NameType
properties?$Properties

Returns​

RecordMarkerCommandAttributes


decode​

▸ decode(reader, length?): RecordMarkerCommandAttributes & $Shape

Decodes a RecordMarkerCommandAttributes message from the specified reader or buffer.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns​

RecordMarkerCommandAttributes & $Shape

RecordMarkerCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): RecordMarkerCommandAttributes & $Shape

Decodes a RecordMarkerCommandAttributes message from the specified reader or buffer, length delimited.

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

RecordMarkerCommandAttributes & $Shape

RecordMarkerCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode​

▸ encode(message, writer?): Writer

Encodes the specified RecordMarkerCommandAttributes message. Does not implicitly temporal.api.command.v1.RecordMarkerCommandAttributes.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesRecordMarkerCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

Encodes the specified RecordMarkerCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.RecordMarkerCommandAttributes.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesRecordMarkerCommandAttributes message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): RecordMarkerCommandAttributes

Creates a RecordMarkerCommandAttributes message from a plain object. Also converts values to their respective internal types.

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

RecordMarkerCommandAttributes

RecordMarkerCommandAttributes


toObject​

▸ toObject(message, options?): Object

Creates a plain object from a RecordMarkerCommandAttributes message. Also converts values to other types if specified.

Parameters​

NameTypeDescription
messageRecordMarkerCommandAttributesRecordMarkerCommandAttributes
options?IConversionOptionsConversion options

Returns​

Object

Plain object