.. py:class:: ApiElementProxy(pyro_api: Pyro5.api.Proxy, pool_id: str) Provides a proxy object for an API element. :Parameters: **pyro_api** : :obj:`Pyro5.api.Proxy` Pyro5 proxy object for interacting with the Rocky app. **pool_id** : :class:`python:int` ID of the API element. .. !! processed by numpydoc !! .. py:currentmodule:: ApiElementProxy Overview -------- .. tab-set:: .. tab-item:: Constructors .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~serialize` - Serialize a proxy object of the API element. .. tab-item:: Special methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~__getattr__` - Import detail ------------- .. code-block:: python from ansys.rocky.core.rocky_api_proxies import ApiElementProxy Method detail ------------- .. py:method:: __getattr__(attr_name: str) -> object .. py:method:: serialize(obj: ApiElementProxy) -> dict :classmethod: Serialize a proxy object of the API element. :Parameters: **obj** : :obj:`Any` Object to serialize. :Returns: :class:`python:dict` Dictionary of the serialized object. .. !! processed by numpydoc !!