Class: RecordMarkerCommandAttributes
Represents a RecordMarkerCommandAttributes.
Properties
details
details:
object
RecordMarkerCommandAttributes details.
Index Signature
[k: string]: $Properties
failure?
optionalfailure?:$Properties|null
RecordMarkerCommandAttributes failure.
header?
optionalheader?:$Properties|null
RecordMarkerCommandAttributes header.
markerName
markerName:
string
RecordMarkerCommandAttributes markerName.
Methods
toJSON()
toJSON():
object
Converts this RecordMarkerCommandAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):RecordMarkerCommandAttributes&$Shape
Creates a new RecordMarkerCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RecordMarkerCommandAttributes & $Shape
RecordMarkerCommandAttributes instance
Call Signature
staticcreate(properties?):RecordMarkerCommandAttributes
Creates a new RecordMarkerCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
RecordMarkerCommandAttributes
RecordMarkerCommandAttributes instance
decode()
staticdecode(reader,length?):RecordMarkerCommandAttributes&$Shape
Decodes a RecordMarkerCommandAttributes message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message 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()
staticdecodeDelimited(reader):RecordMarkerCommandAttributes&$Shape
Decodes a RecordMarkerCommandAttributes message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified RecordMarkerCommandAttributes message. Does not implicitly temporal.api.command.v1.RecordMarkerCommandAttributes.verify|verify messages.
Parameters
message
RecordMarkerCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified RecordMarkerCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.RecordMarkerCommandAttributes.verify|verify messages.
Parameters
message
RecordMarkerCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):RecordMarkerCommandAttributes
Creates a RecordMarkerCommandAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
RecordMarkerCommandAttributes
RecordMarkerCommandAttributes
toObject()
statictoObject(message,options?):object
Creates a plain object from a RecordMarkerCommandAttributes message. Also converts values to other types if specified.
Parameters
message
RecordMarkerCommandAttributes
RecordMarkerCommandAttributes
options?
IConversionOptions
Conversion options
Returns
object
Plain object