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

Bases: ApiElementProxy

Provides a proxy object for API elements that implement the sequence interface.

Overview#

serialize

Serialize a proxy object of the API element.

Import detail#

from ansys.rocky.core.rocky_api_proxies import ApiListProxy

Method detail#

ApiListProxy.__len__() int#
ApiListProxy.__getitem__(index: int) ApiElementProxy#
ApiListProxy.__iter__() collections.abc.Generator[ApiElementProxy, None, None]#
ApiListProxy.__delitem__(index: int) None#
ApiListProxy.__getattr__(attr_name: str) object#
classmethod ApiListProxy.serialize(obj: ApiElementProxy) dict#

Serialize a proxy object of the API element.

Parameters:
objAny

Object to serialize.

Returns:
dict

Dictionary of the serialized object.