Skip to main content

Class: NotifyHasPatch

coresdk.workflow_activation.NotifyHasPatch

Represents a NotifyHasPatch.

Implements#

Constructors#

constructor#

new NotifyHasPatch(properties?)

Constructs a new NotifyHasPatch.

Parameters#

NameType
properties?INotifyHasPatch

Properties#

patchId#

patchId: string

NotifyHasPatch patchId.

Implementation of#

INotifyHasPatch.patchId

Methods#

toJSON#

toJSON(): Object

Converts this NotifyHasPatch to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): NotifyHasPatch

Decodes a NotifyHasPatch 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#

NotifyHasPatch

NotifyHasPatch


decodeDelimited#

Static decodeDelimited(reader): NotifyHasPatch

Decodes a NotifyHasPatch 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#

NotifyHasPatch

NotifyHasPatch


encode#

Static encode(message, writer?): Writer

Encodes the specified NotifyHasPatch message. Does not implicitly {@link coresdk.workflow_activation.NotifyHasPatch.verify|verify} messages.

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified NotifyHasPatch message, length delimited. Does not implicitly {@link coresdk.workflow_activation.NotifyHasPatch.verify|verify} messages.

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): NotifyHasPatch

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

NotifyHasPatch

NotifyHasPatch


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageNotifyHasPatchNotifyHasPatch
options?IConversionOptions-

Returns#

Object

Plain object