Skip to main content

Class: ActivityTaskCanceledEventAttributes

history.v1.ActivityTaskCanceledEventAttributes

Represents an ActivityTaskCanceledEventAttributes.

Implements#

Constructors#

constructor#

new ActivityTaskCanceledEventAttributes(properties?)

Constructs a new ActivityTaskCanceledEventAttributes.

Parameters#

NameType
properties?IActivityTaskCanceledEventAttributes

Properties#

details#

Optional details: null | IPayloads

ActivityTaskCanceledEventAttributes details.

Implementation of#

IActivityTaskCanceledEventAttributes.details


identity#

identity: string

ActivityTaskCanceledEventAttributes identity.

Implementation of#

IActivityTaskCanceledEventAttributes.identity


latestCancelRequestedEventId#

latestCancelRequestedEventId: Long

ActivityTaskCanceledEventAttributes latestCancelRequestedEventId.

Implementation of#

IActivityTaskCanceledEventAttributes.latestCancelRequestedEventId


scheduledEventId#

scheduledEventId: Long

ActivityTaskCanceledEventAttributes scheduledEventId.

Implementation of#

IActivityTaskCanceledEventAttributes.scheduledEventId


startedEventId#

startedEventId: Long

ActivityTaskCanceledEventAttributes startedEventId.

Implementation of#

IActivityTaskCanceledEventAttributes.startedEventId

Methods#

toJSON#

toJSON(): Object

Converts this ActivityTaskCanceledEventAttributes to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ActivityTaskCanceledEventAttributes

Decodes an ActivityTaskCanceledEventAttributes message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

ActivityTaskCanceledEventAttributes

ActivityTaskCanceledEventAttributes


decodeDelimited#

Static decodeDelimited(reader): ActivityTaskCanceledEventAttributes

Decodes an ActivityTaskCanceledEventAttributes message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

ActivityTaskCanceledEventAttributes

ActivityTaskCanceledEventAttributes


encode#

Static encode(message, writer?): Writer

Encodes the specified ActivityTaskCanceledEventAttributes message. Does not implicitly {@link temporal.api.history.v1.ActivityTaskCanceledEventAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageIActivityTaskCanceledEventAttributesActivityTaskCanceledEventAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified ActivityTaskCanceledEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.ActivityTaskCanceledEventAttributes.verify|verify} messages.

Parameters#

NameTypeDescription
messageIActivityTaskCanceledEventAttributesActivityTaskCanceledEventAttributes message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ActivityTaskCanceledEventAttributes

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ActivityTaskCanceledEventAttributes

ActivityTaskCanceledEventAttributes


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageActivityTaskCanceledEventAttributesActivityTaskCanceledEventAttributes
options?IConversionOptions-

Returns#

Object

Plain object