CP-2189 Change admin to administrative (#16)

This commit is contained in:
Shahid Hussain Khan 2024-06-05 15:42:37 +01:00 committed by GitHub
parent 14917092c0
commit f079bff20b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
109 changed files with 480 additions and 480 deletions

View File

@ -52,60 +52,60 @@ docs/ValidationError.md
docs/ValidationErrorItem.md
pyproject.toml
setup.cfg
src/thousandeyes_sdk/admin/__init__.py
src/thousandeyes_sdk/admin/api/__init__.py
src/thousandeyes_sdk/admin/api/account_groups_api.py
src/thousandeyes_sdk/admin/api/permissions_api.py
src/thousandeyes_sdk/admin/api/roles_api.py
src/thousandeyes_sdk/admin/api/user_events_api.py
src/thousandeyes_sdk/admin/api/users_api.py
src/thousandeyes_sdk/admin/models/__init__.py
src/thousandeyes_sdk/admin/models/account_group.py
src/thousandeyes_sdk/admin/models/account_group_detail.py
src/thousandeyes_sdk/admin/models/account_group_info.py
src/thousandeyes_sdk/admin/models/account_group_request.py
src/thousandeyes_sdk/admin/models/account_group_role.py
src/thousandeyes_sdk/admin/models/account_groups.py
src/thousandeyes_sdk/admin/models/agent.py
src/thousandeyes_sdk/admin/models/agent_base.py
src/thousandeyes_sdk/admin/models/audit_user_events.py
src/thousandeyes_sdk/admin/models/base_role.py
src/thousandeyes_sdk/admin/models/cloud_enterprise_agent_type.py
src/thousandeyes_sdk/admin/models/cluster_member.py
src/thousandeyes_sdk/admin/models/created_account_group.py
src/thousandeyes_sdk/admin/models/created_user.py
src/thousandeyes_sdk/admin/models/enterprise_agent.py
src/thousandeyes_sdk/admin/models/enterprise_agent_data.py
src/thousandeyes_sdk/admin/models/enterprise_agent_ipv6_policy.py
src/thousandeyes_sdk/admin/models/enterprise_agent_state.py
src/thousandeyes_sdk/admin/models/error.py
src/thousandeyes_sdk/admin/models/error_detail.py
src/thousandeyes_sdk/admin/models/error_detail_code.py
src/thousandeyes_sdk/admin/models/expand.py
src/thousandeyes_sdk/admin/models/extended_user.py
src/thousandeyes_sdk/admin/models/interface_ip_mapping.py
src/thousandeyes_sdk/admin/models/link.py
src/thousandeyes_sdk/admin/models/pagination_links.py
src/thousandeyes_sdk/admin/models/permission.py
src/thousandeyes_sdk/admin/models/permissions.py
src/thousandeyes_sdk/admin/models/resource.py
src/thousandeyes_sdk/admin/models/role.py
src/thousandeyes_sdk/admin/models/role_detail.py
src/thousandeyes_sdk/admin/models/role_request_body.py
src/thousandeyes_sdk/admin/models/roles.py
src/thousandeyes_sdk/admin/models/self_links.py
src/thousandeyes_sdk/admin/models/simple_agent.py
src/thousandeyes_sdk/admin/models/unauthorized_error.py
src/thousandeyes_sdk/admin/models/user.py
src/thousandeyes_sdk/admin/models/user_account_group.py
src/thousandeyes_sdk/admin/models/user_account_group_role.py
src/thousandeyes_sdk/admin/models/user_detail.py
src/thousandeyes_sdk/admin/models/user_event.py
src/thousandeyes_sdk/admin/models/user_request.py
src/thousandeyes_sdk/admin/models/users.py
src/thousandeyes_sdk/admin/models/validation_error.py
src/thousandeyes_sdk/admin/models/validation_error_item.py
src/thousandeyes_sdk/admin/py.typed
src/thousandeyes_sdk/administrative/__init__.py
src/thousandeyes_sdk/administrative/api/__init__.py
src/thousandeyes_sdk/administrative/api/account_groups_api.py
src/thousandeyes_sdk/administrative/api/permissions_api.py
src/thousandeyes_sdk/administrative/api/roles_api.py
src/thousandeyes_sdk/administrative/api/user_events_api.py
src/thousandeyes_sdk/administrative/api/users_api.py
src/thousandeyes_sdk/administrative/models/__init__.py
src/thousandeyes_sdk/administrative/models/account_group.py
src/thousandeyes_sdk/administrative/models/account_group_detail.py
src/thousandeyes_sdk/administrative/models/account_group_info.py
src/thousandeyes_sdk/administrative/models/account_group_request.py
src/thousandeyes_sdk/administrative/models/account_group_role.py
src/thousandeyes_sdk/administrative/models/account_groups.py
src/thousandeyes_sdk/administrative/models/agent.py
src/thousandeyes_sdk/administrative/models/agent_base.py
src/thousandeyes_sdk/administrative/models/audit_user_events.py
src/thousandeyes_sdk/administrative/models/base_role.py
src/thousandeyes_sdk/administrative/models/cloud_enterprise_agent_type.py
src/thousandeyes_sdk/administrative/models/cluster_member.py
src/thousandeyes_sdk/administrative/models/created_account_group.py
src/thousandeyes_sdk/administrative/models/created_user.py
src/thousandeyes_sdk/administrative/models/enterprise_agent.py
src/thousandeyes_sdk/administrative/models/enterprise_agent_data.py
src/thousandeyes_sdk/administrative/models/enterprise_agent_ipv6_policy.py
src/thousandeyes_sdk/administrative/models/enterprise_agent_state.py
src/thousandeyes_sdk/administrative/models/error.py
src/thousandeyes_sdk/administrative/models/error_detail.py
src/thousandeyes_sdk/administrative/models/error_detail_code.py
src/thousandeyes_sdk/administrative/models/expand.py
src/thousandeyes_sdk/administrative/models/extended_user.py
src/thousandeyes_sdk/administrative/models/interface_ip_mapping.py
src/thousandeyes_sdk/administrative/models/link.py
src/thousandeyes_sdk/administrative/models/pagination_links.py
src/thousandeyes_sdk/administrative/models/permission.py
src/thousandeyes_sdk/administrative/models/permissions.py
src/thousandeyes_sdk/administrative/models/resource.py
src/thousandeyes_sdk/administrative/models/role.py
src/thousandeyes_sdk/administrative/models/role_detail.py
src/thousandeyes_sdk/administrative/models/role_request_body.py
src/thousandeyes_sdk/administrative/models/roles.py
src/thousandeyes_sdk/administrative/models/self_links.py
src/thousandeyes_sdk/administrative/models/simple_agent.py
src/thousandeyes_sdk/administrative/models/unauthorized_error.py
src/thousandeyes_sdk/administrative/models/user.py
src/thousandeyes_sdk/administrative/models/user_account_group.py
src/thousandeyes_sdk/administrative/models/user_account_group_role.py
src/thousandeyes_sdk/administrative/models/user_detail.py
src/thousandeyes_sdk/administrative/models/user_event.py
src/thousandeyes_sdk/administrative/models/user_request.py
src/thousandeyes_sdk/administrative/models/users.py
src/thousandeyes_sdk/administrative/models/validation_error.py
src/thousandeyes_sdk/administrative/models/validation_error_item.py
src/thousandeyes_sdk/administrative/py.typed
test/__init__.py
test/test_account_groups_api.py
test/test_permissions_api.py

View File

@ -33,7 +33,7 @@ pip install -e git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git#egg=thousandey
Then import the package:
```python
import thousandeyes_sdk.admin
import thousandeyes_sdk.administrative
```
### Setuptools
@ -47,7 +47,7 @@ python setup.py install --user
Then import the package:
```python
import thousandeyes_sdk.admin
import thousandeyes_sdk.administrative
```
### Tests
@ -61,7 +61,7 @@ Please follow the [installation procedure](#installation--usage) and then run th
```python
import thousandeyes_sdk.core
import thousandeyes_sdk.admin
import thousandeyes_sdk.administrative
from thousandeyes_sdk.core.exceptions import ApiException
from pprint import pprint
@ -85,9 +85,9 @@ configuration = thousandeyes_sdk.core.Configuration(
# Enter a context with an instance of the API client
with thousandeyes_sdk.core.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
account_group_request = thousandeyes_sdk.admin.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.admin.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
account_group_request = thousandeyes_sdk.administrative.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.administrative.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
try:
# Create account group

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
# TODO update the JSON string below
json = "{}"

View File

@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
# TODO update the JSON string below
json = "{}"

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.administrative.models.account_group_info import AccountGroupInfo
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.administrative.models.account_group_role import AccountGroupRole
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
from thousandeyes_sdk.administrative.models.account_groups import AccountGroups
# TODO update the JSON string below
json = "{}"

View File

@ -1,4 +1,4 @@
# thousandeyes_sdk.admin.AccountGroupsApi
# thousandeyes_sdk.administrative.AccountGroupsApi
All URIs are relative to *https://api.thousandeyes.com*
@ -23,11 +23,11 @@ Creates a new account group. This operation requires the `Edit all account group
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -47,11 +47,11 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
account_group_request = thousandeyes_sdk.admin.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.admin.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
account_group_request = thousandeyes_sdk.administrative.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.administrative.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
try:
# Create account group
@ -111,8 +111,8 @@ Deletes an account group using its ID. This operation requires the following per
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -132,9 +132,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
id = '1234' # str | Identifier for the account group.
try:
@ -192,10 +192,10 @@ Retrieves detailed information about an account group using its ID. This operat
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -215,11 +215,11 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
id = '1234' # str | Identifier for the account group.
expand = [thousandeyes_sdk.admin.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
expand = [thousandeyes_sdk.administrative.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
try:
# Retrieve account group
@ -279,9 +279,9 @@ Retrieves a list of account groups available to the current user.
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.account_groups import AccountGroups
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -301,9 +301,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:
@ -363,11 +363,11 @@ Updates an account group using its ID. You can modify the account groups name
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -387,12 +387,12 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
api_instance = thousandeyes_sdk.administrative.AccountGroupsApi(api_client)
id = '1234' # str | Identifier for the account group.
account_group_request = thousandeyes_sdk.admin.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.admin.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
account_group_request = thousandeyes_sdk.administrative.AccountGroupRequest() # AccountGroupRequest |
expand = [thousandeyes_sdk.administrative.Expand()] # List[Expand] | Optional parameter that specifies whether or not account group related resources should be expanded. By default, no expansion takes place if the query parameter is not passed. For example, to expand the `users` resource, pass the `?expand=user` query. (optional)
try:
# Update account group

View File

@ -20,7 +20,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.agent import Agent
from thousandeyes_sdk.administrative.models.agent import Agent
# TODO update the JSON string below
json = "{}"

View File

@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.agent_base import AgentBase
from thousandeyes_sdk.administrative.models.agent_base import AgentBase
# TODO update the JSON string below
json = "{}"

View File

@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEvents
# TODO update the JSON string below
json = "{}"

View File

@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.base_role import BaseRole
from thousandeyes_sdk.administrative.models.base_role import BaseRole
# TODO update the JSON string below
json = "{}"

View File

@ -19,7 +19,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
from thousandeyes_sdk.administrative.models.cluster_member import ClusterMember
# TODO update the JSON string below
json = "{}"

View File

@ -16,7 +16,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.administrative.models.created_account_group import CreatedAccountGroup
# TODO update the JSON string below
json = "{}"

View File

@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.created_user import CreatedUser
from thousandeyes_sdk.administrative.models.created_user import CreatedUser
# TODO update the JSON string below
json = "{}"

View File

@ -33,7 +33,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.administrative.models.enterprise_agent import EnterpriseAgent
# TODO update the JSON string below
json = "{}"

View File

@ -22,7 +22,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.enterprise_agent_data import EnterpriseAgentData
from thousandeyes_sdk.administrative.models.enterprise_agent_data import EnterpriseAgentData
# TODO update the JSON string below
json = "{}"

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.error import Error
from thousandeyes_sdk.administrative.models.error import Error
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
# TODO update the JSON string below
json = "{}"

View File

@ -15,7 +15,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.extended_user import ExtendedUser
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
# TODO update the JSON string below
json = "{}"

View File

@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.link import Link
from thousandeyes_sdk.administrative.models.link import Link
# TODO update the JSON string below
json = "{}"

View File

@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.pagination_links import PaginationLinks
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
# TODO update the JSON string below
json = "{}"

View File

@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.permission import Permission
from thousandeyes_sdk.administrative.models.permission import Permission
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.permissions import Permissions
from thousandeyes_sdk.administrative.models.permissions import Permissions
# TODO update the JSON string below
json = "{}"

View File

@ -1,4 +1,4 @@
# thousandeyes_sdk.admin.PermissionsApi
# thousandeyes_sdk.administrative.PermissionsApi
All URIs are relative to *https://api.thousandeyes.com*
@ -19,9 +19,9 @@ Users must be in a role assigned management permissions to access this endpoint.
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.permissions import Permissions
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.permissions import Permissions
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -41,9 +41,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.PermissionsApi(api_client)
api_instance = thousandeyes_sdk.administrative.PermissionsApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.resource import Resource
from thousandeyes_sdk.administrative.models.resource import Resource
# TODO update the JSON string below
json = "{}"

View File

@ -13,7 +13,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.administrative.models.role import Role
# TODO update the JSON string below
json = "{}"

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.roles import Roles
from thousandeyes_sdk.administrative.models.roles import Roles
# TODO update the JSON string below
json = "{}"

View File

@ -1,4 +1,4 @@
# thousandeyes_sdk.admin.RolesApi
# thousandeyes_sdk.administrative.RolesApi
All URIs are relative to *https://api.thousandeyes.com*
@ -23,10 +23,10 @@ Creates a new role.
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -46,10 +46,10 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.RolesApi(api_client)
role_request_body = thousandeyes_sdk.admin.RoleRequestBody() # RoleRequestBody |
api_instance = thousandeyes_sdk.administrative.RolesApi(api_client)
role_request_body = thousandeyes_sdk.administrative.RoleRequestBody() # RoleRequestBody |
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:
@ -110,8 +110,8 @@ Deletes a role using its ID. The user needs appropriate permissions to successfu
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -131,9 +131,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.RolesApi(api_client)
api_instance = thousandeyes_sdk.administrative.RolesApi(api_client)
id = '23' # str | The ID of the desired role.
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
@ -193,9 +193,9 @@ Returns detailed information about a role using its ID.
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -215,9 +215,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.RolesApi(api_client)
api_instance = thousandeyes_sdk.administrative.RolesApi(api_client)
id = '23' # str | The ID of the desired role.
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
@ -279,9 +279,9 @@ Retrieves a list of defined roles visible to the current user.
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.roles import Roles
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.roles import Roles
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -301,9 +301,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.RolesApi(api_client)
api_instance = thousandeyes_sdk.administrative.RolesApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:
@ -363,10 +363,10 @@ Updates a user-defined role using its ID. When updating a role, the following a
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -386,11 +386,11 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.RolesApi(api_client)
api_instance = thousandeyes_sdk.administrative.RolesApi(api_client)
id = '23' # str | The ID of the desired role.
role_request_body = thousandeyes_sdk.admin.RoleRequestBody() # RoleRequestBody |
role_request_body = thousandeyes_sdk.administrative.RoleRequestBody() # RoleRequestBody |
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
# TODO update the JSON string below
json = "{}"

View File

@ -19,7 +19,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.simple_agent import SimpleAgent
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.unauthorized_error import UnauthorizedError
from thousandeyes_sdk.administrative.models.unauthorized_error import UnauthorizedError
# TODO update the JSON string below
json = "{}"

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user import User
from thousandeyes_sdk.administrative.models.user import User
# TODO update the JSON string below
json = "{}"

View File

@ -15,7 +15,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.administrative.models.user_account_group import UserAccountGroup
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.administrative.models.user_account_group_role import UserAccountGroupRole
# TODO update the JSON string below
json = "{}"

View File

@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
# TODO update the JSON string below
json = "{}"

View File

@ -17,7 +17,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user_event import UserEvent
from thousandeyes_sdk.administrative.models.user_event import UserEvent
# TODO update the JSON string below
json = "{}"

View File

@ -1,4 +1,4 @@
# thousandeyes_sdk.admin.UserEventsApi
# thousandeyes_sdk.administrative.UserEventsApi
All URIs are relative to *https://api.thousandeyes.com*
@ -19,9 +19,9 @@ Returns a list of activity log events in the current account group. If `useAll
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -41,9 +41,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UserEventsApi(api_client)
api_instance = thousandeyes_sdk.administrative.UserEventsApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
use_all_permitted_aids = False # bool | Set to `true` to load data from all accounts the user has access to. (optional) (default to False)
window = '12h' # str | A dynamic time interval up to the current time of the request. Specify the interval as a number followed by an optional type: `s` for seconds (default if no type is specified), `m` for minutes, `h` for hours, `d` for days, and `w` for weeks. For a precise date range, use `startDate` and `endDate`. (optional)

View File

@ -14,7 +14,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.administrative.models.user_request import UserRequest
# TODO update the JSON string below
json = "{}"

View File

@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.users import Users
from thousandeyes_sdk.administrative.models.users import Users
# TODO update the JSON string below
json = "{}"

View File

@ -1,4 +1,4 @@
# thousandeyes_sdk.admin.UsersApi
# thousandeyes_sdk.administrative.UsersApi
All URIs are relative to *https://api.thousandeyes.com*
@ -23,10 +23,10 @@ Creates a new user. The following applies when creating a user: * If the user
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.created_user import CreatedUser
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.created_user import CreatedUser
from thousandeyes_sdk.administrative.models.user_request import UserRequest
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -46,10 +46,10 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UsersApi(api_client)
user_request = thousandeyes_sdk.admin.UserRequest() # UserRequest |
api_instance = thousandeyes_sdk.administrative.UsersApi(api_client)
user_request = thousandeyes_sdk.administrative.UserRequest() # UserRequest |
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:
@ -110,8 +110,8 @@ Deletes a user using the user ID. This endpoint requires the `Edit users in all
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -131,9 +131,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UsersApi(api_client)
api_instance = thousandeyes_sdk.administrative.UsersApi(api_client)
id = '1234' # str | Identifier for the user.
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
@ -193,9 +193,9 @@ Retrieves detailed information about a user. This operation requires the `API Ac
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -215,9 +215,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UsersApi(api_client)
api_instance = thousandeyes_sdk.administrative.UsersApi(api_client)
id = '1234' # str | Identifier for the user.
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
@ -279,9 +279,9 @@ Retrieves a list of users in the organization the account group ID belongs to. T
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.users import Users
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.users import Users
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -301,9 +301,9 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UsersApi(api_client)
api_instance = thousandeyes_sdk.administrative.UsersApi(api_client)
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:
@ -363,10 +363,10 @@ Updates a user using the user ID. You can update the user name, email address, a
* Bearer Authentication (BearerAuth):
```python
import thousandeyes_sdk.admin
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.admin.rest import ApiException
import thousandeyes_sdk.administrative
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.models.user_request import UserRequest
from thousandeyes_sdk.administrative.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.thousandeyes.com
@ -386,11 +386,11 @@ configuration = thousandeyes_sdk.core.Configuration(
)
# Enter a context with an instance of the API client
with thousandeyes_sdk.admin.ApiClient(configuration) as api_client:
with thousandeyes_sdk.administrative.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = thousandeyes_sdk.admin.UsersApi(api_client)
api_instance = thousandeyes_sdk.administrative.UsersApi(api_client)
id = '1234' # str | Identifier for the user.
user_request = thousandeyes_sdk.admin.UserRequest() # UserRequest |
user_request = thousandeyes_sdk.administrative.UserRequest() # UserRequest |
aid = '1234' # str | A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. (optional)
try:

View File

@ -15,7 +15,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.validation_error import ValidationError
from thousandeyes_sdk.administrative.models.validation_error import ValidationError
# TODO update the JSON string below
json = "{}"

View File

@ -12,7 +12,7 @@ Name | Type | Description | Notes
## Example
```python
from thousandeyes_sdk.admin.models.validation_error_item import ValidationErrorItem
from thousandeyes_sdk.administrative.models.validation_error_item import ValidationErrorItem
# TODO update the JSON string below
json = "{}"

View File

@ -1,70 +0,0 @@
# coding: utf-8
# flake8: noqa
"""
Administrative API
## Overview Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following endpoints that define the operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These endpoints can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
The version of the OpenAPI document: 7.0.6
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
# import apis into sdk package
from thousandeyes_sdk.admin.api.account_groups_api import AccountGroupsApi
from thousandeyes_sdk.admin.api.permissions_api import PermissionsApi
from thousandeyes_sdk.admin.api.roles_api import RolesApi
from thousandeyes_sdk.admin.api.user_events_api import UserEventsApi
from thousandeyes_sdk.admin.api.users_api import UsersApi
# import models into sdk package
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.admin.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
from thousandeyes_sdk.admin.models.agent import Agent
from thousandeyes_sdk.admin.models.agent_base import AgentBase
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.admin.models.base_role import BaseRole
from thousandeyes_sdk.admin.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.admin.models.created_user import CreatedUser
from thousandeyes_sdk.admin.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.admin.models.enterprise_agent_data import EnterpriseAgentData
from thousandeyes_sdk.admin.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.admin.models.error import Error
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.admin.models.error_detail_code import ErrorDetailCode
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.admin.models.extended_user import ExtendedUser
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.admin.models.link import Link
from thousandeyes_sdk.admin.models.pagination_links import PaginationLinks
from thousandeyes_sdk.admin.models.permission import Permission
from thousandeyes_sdk.admin.models.permissions import Permissions
from thousandeyes_sdk.admin.models.resource import Resource
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.admin.models.roles import Roles
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.admin.models.simple_agent import SimpleAgent
from thousandeyes_sdk.admin.models.unauthorized_error import UnauthorizedError
from thousandeyes_sdk.admin.models.user import User
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.admin.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.admin.models.user_event import UserEvent
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.admin.models.users import Users
from thousandeyes_sdk.admin.models.validation_error import ValidationError
from thousandeyes_sdk.admin.models.validation_error_item import ValidationErrorItem

View File

@ -1,9 +0,0 @@
# flake8: noqa
# import apis into api package
from thousandeyes_sdk.admin.api.account_groups_api import AccountGroupsApi
from thousandeyes_sdk.admin.api.permissions_api import PermissionsApi
from thousandeyes_sdk.admin.api.roles_api import RolesApi
from thousandeyes_sdk.admin.api.user_events_api import UserEventsApi
from thousandeyes_sdk.admin.api.users_api import UsersApi

View File

@ -1,61 +0,0 @@
# coding: utf-8
# flake8: noqa
"""
Administrative API
## Overview Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following endpoints that define the operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These endpoints can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
The version of the OpenAPI document: 7.0.6
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
# import models into model package
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.admin.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
from thousandeyes_sdk.admin.models.agent import Agent
from thousandeyes_sdk.admin.models.agent_base import AgentBase
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.admin.models.base_role import BaseRole
from thousandeyes_sdk.admin.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.admin.models.created_user import CreatedUser
from thousandeyes_sdk.admin.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.admin.models.enterprise_agent_data import EnterpriseAgentData
from thousandeyes_sdk.admin.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.admin.models.error import Error
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.admin.models.error_detail_code import ErrorDetailCode
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.admin.models.extended_user import ExtendedUser
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.admin.models.link import Link
from thousandeyes_sdk.admin.models.pagination_links import PaginationLinks
from thousandeyes_sdk.admin.models.permission import Permission
from thousandeyes_sdk.admin.models.permissions import Permissions
from thousandeyes_sdk.admin.models.resource import Resource
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.admin.models.roles import Roles
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.admin.models.simple_agent import SimpleAgent
from thousandeyes_sdk.admin.models.unauthorized_error import UnauthorizedError
from thousandeyes_sdk.admin.models.user import User
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.admin.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.admin.models.user_event import UserEvent
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.admin.models.users import Users
from thousandeyes_sdk.admin.models.validation_error import ValidationError
from thousandeyes_sdk.admin.models.validation_error_item import ValidationErrorItem

View File

@ -0,0 +1,70 @@
# coding: utf-8
# flake8: noqa
"""
Administrative API
## Overview Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following endpoints that define the operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These endpoints can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
The version of the OpenAPI document: 7.0.6
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
# import apis into sdk package
from thousandeyes_sdk.administrative.api.account_groups_api import AccountGroupsApi
from thousandeyes_sdk.administrative.api.permissions_api import PermissionsApi
from thousandeyes_sdk.administrative.api.roles_api import RolesApi
from thousandeyes_sdk.administrative.api.user_events_api import UserEventsApi
from thousandeyes_sdk.administrative.api.users_api import UsersApi
# import models into sdk package
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.administrative.models.account_groups import AccountGroups
from thousandeyes_sdk.administrative.models.agent import Agent
from thousandeyes_sdk.administrative.models.agent_base import AgentBase
from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.administrative.models.base_role import BaseRole
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.administrative.models.cluster_member import ClusterMember
from thousandeyes_sdk.administrative.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.administrative.models.created_user import CreatedUser
from thousandeyes_sdk.administrative.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.administrative.models.enterprise_agent_data import EnterpriseAgentData
from thousandeyes_sdk.administrative.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.administrative.models.error import Error
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.error_detail_code import ErrorDetailCode
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.administrative.models.link import Link
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
from thousandeyes_sdk.administrative.models.permission import Permission
from thousandeyes_sdk.administrative.models.permissions import Permissions
from thousandeyes_sdk.administrative.models.resource import Resource
from thousandeyes_sdk.administrative.models.role import Role
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.models.roles import Roles
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
from thousandeyes_sdk.administrative.models.unauthorized_error import UnauthorizedError
from thousandeyes_sdk.administrative.models.user import User
from thousandeyes_sdk.administrative.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.administrative.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.models.user_event import UserEvent
from thousandeyes_sdk.administrative.models.user_request import UserRequest
from thousandeyes_sdk.administrative.models.users import Users
from thousandeyes_sdk.administrative.models.validation_error import ValidationError
from thousandeyes_sdk.administrative.models.validation_error_item import ValidationErrorItem

View File

@ -0,0 +1,9 @@
# flake8: noqa
# import apis into api package
from thousandeyes_sdk.administrative.api.account_groups_api import AccountGroupsApi
from thousandeyes_sdk.administrative.api.permissions_api import PermissionsApi
from thousandeyes_sdk.administrative.api.roles_api import RolesApi
from thousandeyes_sdk.administrative.api.user_events_api import UserEventsApi
from thousandeyes_sdk.administrative.api.users_api import UsersApi

View File

@ -16,16 +16,16 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
import thousandeyes_sdk.admin.models
import thousandeyes_sdk.administrative.models
from pydantic import Field, StrictStr
from typing import List, Optional
from typing_extensions import Annotated
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.admin.models.expand import Expand
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.account_groups import AccountGroups
from thousandeyes_sdk.administrative.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
@ -121,7 +121,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -199,7 +199,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -428,7 +428,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -502,7 +502,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -711,7 +711,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -789,7 +789,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1005,7 +1005,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1079,7 +1079,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1295,7 +1295,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1377,7 +1377,7 @@ class AccountGroupsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)

View File

@ -16,12 +16,12 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
import thousandeyes_sdk.admin.models
import thousandeyes_sdk.administrative.models
from pydantic import Field, StrictStr
from typing import Optional
from typing_extensions import Annotated
from thousandeyes_sdk.admin.models.permissions import Permissions
from thousandeyes_sdk.administrative.models.permissions import Permissions
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
@ -113,7 +113,7 @@ class PermissionsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -187,7 +187,7 @@ class PermissionsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)

View File

@ -16,14 +16,14 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
import thousandeyes_sdk.admin.models
import thousandeyes_sdk.administrative.models
from pydantic import Field, StrictStr
from typing import Optional
from typing_extensions import Annotated
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.admin.models.roles import Roles
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.models.roles import Roles
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
@ -119,7 +119,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -197,7 +197,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -429,7 +429,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -507,7 +507,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -725,7 +725,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -803,7 +803,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1018,7 +1018,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1092,7 +1092,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1308,7 +1308,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1390,7 +1390,7 @@ class RolesApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)

View File

@ -16,13 +16,13 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
import thousandeyes_sdk.admin.models
import thousandeyes_sdk.administrative.models
from datetime import datetime
from pydantic import Field, StrictBool, StrictStr, field_validator
from typing import Optional
from typing_extensions import Annotated
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
@ -134,7 +134,7 @@ class UserEventsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -228,7 +228,7 @@ class UserEventsApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)

View File

@ -16,15 +16,15 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
import thousandeyes_sdk.admin.models
import thousandeyes_sdk.administrative.models
from pydantic import Field, StrictStr
from typing import Optional
from typing_extensions import Annotated
from thousandeyes_sdk.admin.models.created_user import CreatedUser
from thousandeyes_sdk.admin.models.user_detail import UserDetail
from thousandeyes_sdk.admin.models.user_request import UserRequest
from thousandeyes_sdk.admin.models.users import Users
from thousandeyes_sdk.administrative.models.created_user import CreatedUser
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.models.user_request import UserRequest
from thousandeyes_sdk.administrative.models.users import Users
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
@ -120,7 +120,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -198,7 +198,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -430,7 +430,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -508,7 +508,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -726,7 +726,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -804,7 +804,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1019,7 +1019,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1093,7 +1093,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)
@ -1309,7 +1309,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
).data
@ -1391,7 +1391,7 @@ class UsersApi:
return self.api_client.response_deserialize(
response_data=response_data,
response_types_map=_response_types_map,
models=thousandeyes_sdk.admin.models,
models=thousandeyes_sdk.administrative.models,
)

View File

@ -0,0 +1,61 @@
# coding: utf-8
# flake8: noqa
"""
Administrative API
## Overview Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API. This API provides the following endpoints that define the operations to manage your organization: * `/account-groups`: Account groups are used to divide an organization into different sections. These endpoints can be used to create, retrieve, update and delete account groups. * `/users`: Create, retrieve, update and delete users within an organization. * `/roles`: Create, retrieve and update roles for the current user. * `/permissions`: Retrieve all assignable permissions. Used in the context of modifying roles. * `/audit-user-events`: Retrieve all activity log events. For more information about the administrative models, see [Account Management](https://docs.thousandeyes.com/product-documentation/user-management).
The version of the OpenAPI document: 7.0.6
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
# import models into model package
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group_detail import AccountGroupDetail
from thousandeyes_sdk.administrative.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.administrative.models.account_group_request import AccountGroupRequest
from thousandeyes_sdk.administrative.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.administrative.models.account_groups import AccountGroups
from thousandeyes_sdk.administrative.models.agent import Agent
from thousandeyes_sdk.administrative.models.agent_base import AgentBase
from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEvents
from thousandeyes_sdk.administrative.models.base_role import BaseRole
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.administrative.models.cluster_member import ClusterMember
from thousandeyes_sdk.administrative.models.created_account_group import CreatedAccountGroup
from thousandeyes_sdk.administrative.models.created_user import CreatedUser
from thousandeyes_sdk.administrative.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.administrative.models.enterprise_agent_data import EnterpriseAgentData
from thousandeyes_sdk.administrative.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.administrative.models.error import Error
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.error_detail_code import ErrorDetailCode
from thousandeyes_sdk.administrative.models.expand import Expand
from thousandeyes_sdk.administrative.models.extended_user import ExtendedUser
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.administrative.models.link import Link
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
from thousandeyes_sdk.administrative.models.permission import Permission
from thousandeyes_sdk.administrative.models.permissions import Permissions
from thousandeyes_sdk.administrative.models.resource import Resource
from thousandeyes_sdk.administrative.models.role import Role
from thousandeyes_sdk.administrative.models.role_detail import RoleDetail
from thousandeyes_sdk.administrative.models.role_request_body import RoleRequestBody
from thousandeyes_sdk.administrative.models.roles import Roles
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.simple_agent import SimpleAgent
from thousandeyes_sdk.administrative.models.unauthorized_error import UnauthorizedError
from thousandeyes_sdk.administrative.models.user import User
from thousandeyes_sdk.administrative.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.administrative.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.administrative.models.user_detail import UserDetail
from thousandeyes_sdk.administrative.models.user_event import UserEvent
from thousandeyes_sdk.administrative.models.user_request import UserRequest
from thousandeyes_sdk.administrative.models.users import Users
from thousandeyes_sdk.administrative.models.validation_error import ValidationError
from thousandeyes_sdk.administrative.models.validation_error_item import ValidationErrorItem

View File

@ -19,9 +19,9 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.administrative.models.enterprise_agent import EnterpriseAgent
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.user_account_group import UserAccountGroup
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.role import Role
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.account_group_info import AccountGroupInfo
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,7 +19,7 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,8 +20,8 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.pagination_links import PaginationLinks
from thousandeyes_sdk.admin.models.user_event import UserEvent
from thousandeyes_sdk.administrative.models.pagination_links import PaginationLinks
from thousandeyes_sdk.administrative.models.user_event import UserEvent
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,8 +20,8 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.user_account_group import UserAccountGroup
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,10 +20,10 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.administrative.models.role import Role
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,13 +20,13 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
from thousandeyes_sdk.admin.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
from thousandeyes_sdk.administrative.models.cluster_member import ClusterMember
from thousandeyes_sdk.administrative.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,12 +20,12 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
from thousandeyes_sdk.admin.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.cluster_member import ClusterMember
from thousandeyes_sdk.administrative.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
from thousandeyes_sdk.administrative.models.enterprise_agent_state import EnterpriseAgentState
from thousandeyes_sdk.administrative.models.error_detail import ErrorDetail
from thousandeyes_sdk.administrative.models.interface_ip_mapping import InterfaceIpMapping
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,7 +19,7 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.error_detail_code import ErrorDetailCode
from thousandeyes_sdk.administrative.models.error_detail_code import ErrorDetailCode
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,7 +20,7 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,7 +19,7 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.link import Link
from thousandeyes_sdk.administrative.models.link import Link
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.permission import Permission
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.permission import Permission
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.permission import Permission
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.permission import Permission
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,8 +19,8 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.role import Role
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,7 +19,7 @@ import json
from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.link import Link
from thousandeyes_sdk.administrative.models.link import Link
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,7 +20,7 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,7 +20,7 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.administrative.models.role import Role
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,10 +20,10 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.account_group import AccountGroup
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.admin.models.role import Role
from thousandeyes_sdk.admin.models.self_links import SelfLinks
from thousandeyes_sdk.administrative.models.account_group import AccountGroup
from thousandeyes_sdk.administrative.models.account_group_role import AccountGroupRole
from thousandeyes_sdk.administrative.models.role import Role
from thousandeyes_sdk.administrative.models.self_links import SelfLinks
from typing import Optional, Set
from typing_extensions import Self

View File

@ -20,7 +20,7 @@ import json
from datetime import datetime
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.resource import Resource
from thousandeyes_sdk.administrative.models.resource import Resource
from typing import Optional, Set
from typing_extensions import Self

View File

@ -19,7 +19,7 @@ import json
from pydantic import BaseModel, ConfigDict, Field, StrictStr
from typing import Any, ClassVar, Dict, List, Optional
from thousandeyes_sdk.admin.models.user_account_group_role import UserAccountGroupRole
from thousandeyes_sdk.administrative.models.user_account_group_role import UserAccountGroupRole
from typing import Optional, Set
from typing_extensions import Self

Some files were not shown because too many files have changed in this diff Show More