Class: UpsertWorkflowSearchAttributesCommandAttributes
Represents an UpsertWorkflowSearchAttributesCommandAttributes.
Properties
searchAttributes?
optionalsearchAttributes?:$Properties|null
UpsertWorkflowSearchAttributesCommandAttributes searchAttributes.
Methods
toJSON()
toJSON():
object
Converts this UpsertWorkflowSearchAttributesCommandAttributes to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):UpsertWorkflowSearchAttributesCommandAttributes&$Properties
Creates a new UpsertWorkflowSearchAttributesCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UpsertWorkflowSearchAttributesCommandAttributes & $Properties
UpsertWorkflowSearchAttributesCommandAttributes instance
Call Signature
staticcreate(properties?):UpsertWorkflowSearchAttributesCommandAttributes
Creates a new UpsertWorkflowSearchAttributesCommandAttributes instance using the specified properties.
Parameters
properties?
Properties to set
Returns
UpsertWorkflowSearchAttributesCommandAttributes
UpsertWorkflowSearchAttributesCommandAttributes instance
decode()
staticdecode(reader,length?):UpsertWorkflowSearchAttributesCommandAttributes&$Properties
Decodes an UpsertWorkflowSearchAttributesCommandAttributes 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
UpsertWorkflowSearchAttributesCommandAttributes & $Properties
UpsertWorkflowSearchAttributesCommandAttributes
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
staticdecodeDelimited(reader):UpsertWorkflowSearchAttributesCommandAttributes&$Properties
Decodes an UpsertWorkflowSearchAttributesCommandAttributes message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
Returns
UpsertWorkflowSearchAttributesCommandAttributes & $Properties
UpsertWorkflowSearchAttributesCommandAttributes
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 UpsertWorkflowSearchAttributesCommandAttributes message. Does not implicitly temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.verify|verify messages.
Parameters
message
UpsertWorkflowSearchAttributesCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified UpsertWorkflowSearchAttributesCommandAttributes message, length delimited. Does not implicitly temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.verify|verify messages.
Parameters
message
UpsertWorkflowSearchAttributesCommandAttributes message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):UpsertWorkflowSearchAttributesCommandAttributes
Creates an UpsertWorkflowSearchAttributesCommandAttributes message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
UpsertWorkflowSearchAttributesCommandAttributes
UpsertWorkflowSearchAttributesCommandAttributes
toObject()
statictoObject(message,options?):object
Creates a plain object from an UpsertWorkflowSearchAttributesCommandAttributes message. Also converts values to other types if specified.
Parameters
message
UpsertWorkflowSearchAttributesCommandAttributes
UpsertWorkflowSearchAttributesCommandAttributes
options?
IConversionOptions
Conversion options
Returns
object
Plain object