Skip to main content

Class: ListWorkflowRulesRequest

workflowservice.v1.ListWorkflowRulesRequest

Represents a ListWorkflowRulesRequest.

Properties​

namespace​

• namespace: string

ListWorkflowRulesRequest namespace.


nextPageToken​

• nextPageToken: Uint8Array

ListWorkflowRulesRequest nextPageToken.

Methods​

toJSON​

▸ toJSON(): Object

Converts this ListWorkflowRulesRequest to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): ListWorkflowRulesRequest & $Properties

Creates a new ListWorkflowRulesRequest instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

ListWorkflowRulesRequest & $Properties

ListWorkflowRulesRequest instance

▸ create(properties?): ListWorkflowRulesRequest

Parameters​

NameType
properties?$Properties

Returns​

ListWorkflowRulesRequest


decode​

▸ decode(reader, length?): ListWorkflowRulesRequest & $Properties

Decodes a ListWorkflowRulesRequest message from the specified reader or buffer.

Parameters​

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

Returns​

ListWorkflowRulesRequest & $Properties

ListWorkflowRulesRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): ListWorkflowRulesRequest & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

ListWorkflowRulesRequest & $Properties

ListWorkflowRulesRequest

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 ListWorkflowRulesRequest message. Does not implicitly temporal.api.workflowservice.v1.ListWorkflowRulesRequest.verify|verify messages.

Parameters​

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

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

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

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): ListWorkflowRulesRequest

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

ListWorkflowRulesRequest

ListWorkflowRulesRequest


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageListWorkflowRulesRequestListWorkflowRulesRequest
options?IConversionOptionsConversion options

Returns​

Object

Plain object