Skip to main content

Class: GetAccountResponse

cloudservice.v1.GetAccountResponse

Represents a GetAccountResponse.

Properties

account

Optional account: null | $Properties

The account.

Methods

toJSON

toJSON(): Object

Converts this GetAccountResponse to JSON.

Returns

Object

JSON object


create

create(properties?): GetAccountResponse & $Properties

Creates a new GetAccountResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

GetAccountResponse & $Properties

GetAccountResponse instance

create(properties?): GetAccountResponse

Parameters

NameType
properties?$Properties

Returns

GetAccountResponse


decode

decode(reader, length?): GetAccountResponse & $Properties

Decodes a GetAccountResponse message from the specified reader or buffer.

Parameters

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

Returns

GetAccountResponse & $Properties

GetAccountResponse

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): GetAccountResponse & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

GetAccountResponse & $Properties

GetAccountResponse

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 GetAccountResponse message. Does not implicitly temporal.api.cloud.cloudservice.v1.GetAccountResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified GetAccountResponse message, length delimited. Does not implicitly temporal.api.cloud.cloudservice.v1.GetAccountResponse.verify|verify messages.

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): GetAccountResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

GetAccountResponse

GetAccountResponse


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageGetAccountResponseGetAccountResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object