GoodMem
ReferenceClient SDKsPython SDKModels

RpcStatus Model

RpcStatus Model documentation for Python SDK

Status payload for per-page OCR errors.

Properties

NameTypeDescriptionNotes
codeintgRPC status code as defined by google.rpc.Code
messagestrHuman-readable error message[optional]

Example

from goodmem_client.models.rpc_status import RpcStatus

# TODO update the JSON string below
json = "{}"
# create an instance of RpcStatus from a JSON string
rpc_status_instance = RpcStatus.from_json(json)
# print the JSON string representation of the object
print(RpcStatus.to_json())

# convert the object into a dict
rpc_status_dict = rpc_status_instance.to_dict()
# create an instance of RpcStatus from a dict
rpc_status_from_dict = RpcStatus.from_dict(rpc_status_dict)

↑ Back to Python SDK ↑ Back to Python SDK ↑ Back to Python SDK

On this page