Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/user/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ organizations
.. autoclass:: webexpythonsdk.api.organizations.OrganizationsAPI()


.. _org_contacts:
.. _organization_contacts:

organization_contacts
---------------------

.. autoclass:: webexpythonsdk.api.organization_contacts.OrganizationContactsAPI()


.. _people:

people
Expand Down Expand Up @@ -230,6 +239,15 @@ Organization
:inherited-members:


.. _OrganizationContact:

Organization Contact
--------------------

.. autoclass:: OrganizationContact()
:inherited-members:


.. _Person:

Person
Expand Down
7 changes: 7 additions & 0 deletions docs/user/api_structure_table.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
| | :ref:`organizations` | :meth:`list() <webexpythonsdk.api.organizations.OrganizationsAPI.list>` |
| | | :meth:`create() <webexpythonsdk.api.organizations.OrganizationsAPI.create>` |
+------------------------+---------------------------+---------------------------------------------------------------------------------+
| | :ref:`org_contacts` | :meth:`list() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.list>`|
| | | :meth:`search() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.search>`|
| | | :meth:`create() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.create>`|
| | | :meth:`get() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.get>`|
| | | :meth:`update() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.update>`|
| | | :meth:`delete() <webexpythonsdk.api.organization_contacts.OrganizationContactsAPI.delete>`|
+------------------------+---------------------------+---------------------------------------------------------------------------------+
| | :ref:`people` | :meth:`list() <webexpythonsdk.api.people.PeopleAPI.list>` |
| | | :meth:`create() <webexpythonsdk.api.people.PeopleAPI.create>` |
| | | :meth:`get() <webexpythonsdk.api.people.PeopleAPI.get>` |
Expand Down
1 change: 1 addition & 0 deletions src/webexpythonsdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
MeetingTemplate,
Membership,
Message,
OrganizationContact,
Organization,
Person,
Recording,
Expand Down
5 changes: 5 additions & 0 deletions src/webexpythonsdk/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
from .licenses import LicensesAPI
from .memberships import MembershipsAPI
from .messages import MessagesAPI
from .organization_contacts import OrganizationContactsAPI
from .organizations import OrganizationsAPI
from .people import PeopleAPI
from .roles import RolesAPI
Expand Down Expand Up @@ -219,6 +220,10 @@ def __init__(
self.licenses = LicensesAPI(self._session, object_factory)
self.memberships = MembershipsAPI(self._session, object_factory)
self.messages = MessagesAPI(self._session, object_factory)
self.organization_contacts = OrganizationContactsAPI(
self._session,
object_factory,
)
self.organizations = OrganizationsAPI(self._session, object_factory)
self.people = PeopleAPI(self._session, object_factory)
self.roles = RolesAPI(self._session, object_factory)
Expand Down
Loading