class ApiElementProxy(pyro_api: Pyro5.api.Proxy, pool_id: str)#

Provides a proxy object for an API element.

Parameters:
pyro_apiPyro5.api.Proxy

Pyro5 proxy object for interacting with the Rocky app.

pool_idint

ID of the API element.

Overview#

serialize

Serialize a proxy object of the API element.

Import detail#

from ansys.rocky.core.rocky_api_proxies import ApiElementProxy

Method detail#

ApiElementProxy.__getattr__(attr_name: str) object#
classmethod ApiElementProxy.serialize(obj: ApiElementProxy) dict#

Serialize a proxy object of the API element.

Parameters:
objAny

Object to serialize.

Returns:
dict

Dictionary of the serialized object.