mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
CP-2189 Update SDK names for admin and monitors modules (#9)
* CP-2189 Update SDK names for admin and monitors modules * CP-2189 Move client to core * CP-2189 Change client to core
This commit is contained in:
parent
4025dc7126
commit
745e74afc4
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_group import AccountGroup
|
|
||||||
|
|
||||||
class TestAccountGroup(unittest.TestCase):
|
|
||||||
"""AccountGroup unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroup:
|
|
||||||
"""Test AccountGroup
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroup`
|
|
||||||
"""
|
|
||||||
model = AccountGroup()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroup(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroup(self):
|
|
||||||
"""Test AccountGroup"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,79 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_group_detail import AccountGroupDetail
|
|
||||||
|
|
||||||
class TestAccountGroupDetail(unittest.TestCase):
|
|
||||||
"""AccountGroupDetail unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroupDetail:
|
|
||||||
"""Test AccountGroupDetail
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroupDetail`
|
|
||||||
"""
|
|
||||||
model = AccountGroupDetail()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroupDetail(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A',
|
|
||||||
is_current_account_group = True,
|
|
||||||
is_default_account_group = True,
|
|
||||||
organization_name = '',
|
|
||||||
users = [
|
|
||||||
thousandeyes_sdk.admin.models.user_account_group.UserAccountGroup(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '235',
|
|
||||||
last_login = '2022-07-17T22:00:54Z',
|
|
||||||
date_registered = '2022-07-17T22:00:54Z',
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
], )
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), ),
|
|
||||||
agents = [
|
|
||||||
null
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroupDetail(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroupDetail(self):
|
|
||||||
"""Test AccountGroupDetail"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_group_info import AccountGroupInfo
|
|
||||||
|
|
||||||
class TestAccountGroupInfo(unittest.TestCase):
|
|
||||||
"""AccountGroupInfo unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroupInfo:
|
|
||||||
"""Test AccountGroupInfo
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroupInfo`
|
|
||||||
"""
|
|
||||||
model = AccountGroupInfo()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroupInfo(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A',
|
|
||||||
is_current_account_group = True,
|
|
||||||
is_default_account_group = True,
|
|
||||||
organization_name = ''
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroupInfo(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroupInfo(self):
|
|
||||||
"""Test AccountGroupInfo"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_group_request import AccountGroupRequest
|
|
||||||
|
|
||||||
class TestAccountGroupRequest(unittest.TestCase):
|
|
||||||
"""AccountGroupRequest unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroupRequest:
|
|
||||||
"""Test AccountGroupRequest
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroupRequest`
|
|
||||||
"""
|
|
||||||
model = AccountGroupRequest()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroupRequest(
|
|
||||||
account_group_name = 'My testing account group',
|
|
||||||
agents = ["105","719"]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroupRequest(
|
|
||||||
account_group_name = 'My testing account group',
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroupRequest(self):
|
|
||||||
"""Test AccountGroupRequest"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,56 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_group_role import AccountGroupRole
|
|
||||||
|
|
||||||
class TestAccountGroupRole(unittest.TestCase):
|
|
||||||
"""AccountGroupRole unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroupRole:
|
|
||||||
"""Test AccountGroupRole
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroupRole`
|
|
||||||
"""
|
|
||||||
model = AccountGroupRole()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroupRole(
|
|
||||||
account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroupRole(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroupRole(self):
|
|
||||||
"""Test AccountGroupRole"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,63 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.account_groups import AccountGroups
|
|
||||||
|
|
||||||
class TestAccountGroups(unittest.TestCase):
|
|
||||||
"""AccountGroups unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AccountGroups:
|
|
||||||
"""Test AccountGroups
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AccountGroups`
|
|
||||||
"""
|
|
||||||
model = AccountGroups()
|
|
||||||
if include_optional:
|
|
||||||
return AccountGroups(
|
|
||||||
account_groups = [
|
|
||||||
null
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AccountGroups(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAccountGroups(self):
|
|
||||||
"""Test AccountGroups"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,62 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.agent import Agent
|
|
||||||
|
|
||||||
class TestAgent(unittest.TestCase):
|
|
||||||
"""Agent unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Agent:
|
|
||||||
"""Test Agent
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Agent`
|
|
||||||
"""
|
|
||||||
model = Agent()
|
|
||||||
if include_optional:
|
|
||||||
return Agent(
|
|
||||||
ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"],
|
|
||||||
public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"],
|
|
||||||
network = 'AT&T Services, Inc. (AS 7018)',
|
|
||||||
agent_id = '281474976710706',
|
|
||||||
agent_name = 'thousandeyes-stg-va-254',
|
|
||||||
location = 'San Francisco Bay Area',
|
|
||||||
country_id = 'US',
|
|
||||||
enabled = True,
|
|
||||||
prefix = '99.128.0.0/11',
|
|
||||||
verify_ssl_certificates = True,
|
|
||||||
agent_type = 'enterprise-cluster'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Agent(
|
|
||||||
agent_type = 'enterprise-cluster',
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAgent(self):
|
|
||||||
"""Test Agent"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.agent_base import AgentBase
|
|
||||||
|
|
||||||
class TestAgentBase(unittest.TestCase):
|
|
||||||
"""AgentBase unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AgentBase:
|
|
||||||
"""Test AgentBase
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AgentBase`
|
|
||||||
"""
|
|
||||||
model = AgentBase()
|
|
||||||
if include_optional:
|
|
||||||
return AgentBase(
|
|
||||||
ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"],
|
|
||||||
public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"],
|
|
||||||
network = 'AT&T Services, Inc. (AS 7018)'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AgentBase(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAgentBase(self):
|
|
||||||
"""Test AgentBase"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,73 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.audit_user_events import AuditUserEvents
|
|
||||||
|
|
||||||
class TestAuditUserEvents(unittest.TestCase):
|
|
||||||
"""AuditUserEvents unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> AuditUserEvents:
|
|
||||||
"""Test AuditUserEvents
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `AuditUserEvents`
|
|
||||||
"""
|
|
||||||
model = AuditUserEvents()
|
|
||||||
if include_optional:
|
|
||||||
return AuditUserEvents(
|
|
||||||
audit_events = [{"accountGroupName":"API Sandbox","aid":"1234","date":"2020-07-17T21:54:54Z","event":"Report created.","ipAddress":"99.128.0.0/11","uid":"1234","user":"API Sandbox User (noreply@thousandeyes.com)","resources":[{"name":"My New report","type":"reportTitle"},{"name":"Other Report","type":"testName"}]},{"accountGroupName":"API Sandbox","aid":"1234","date":"2020-07-17T22:00:54Z","event":"Login failed.","ipAddress":"99.128.0.0/11","uid":"1234","user":"API Sandbox User (noreply@thousandeyes.com)"}],
|
|
||||||
start_date = '2022-07-17T22:00:54Z',
|
|
||||||
end_date = '2022-07-18T22:00:54Z',
|
|
||||||
links = thousandeyes_sdk.admin.models.pagination_links.PaginationLinks(
|
|
||||||
previous = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ),
|
|
||||||
next = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ),
|
|
||||||
self = , )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return AuditUserEvents(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testAuditUserEvents(self):
|
|
||||||
"""Test AuditUserEvents"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.base_role import BaseRole
|
|
||||||
|
|
||||||
class TestBaseRole(unittest.TestCase):
|
|
||||||
"""BaseRole unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> BaseRole:
|
|
||||||
"""Test BaseRole
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `BaseRole`
|
|
||||||
"""
|
|
||||||
model = BaseRole()
|
|
||||||
if include_optional:
|
|
||||||
return BaseRole(
|
|
||||||
name = 'Organization Admin',
|
|
||||||
role_id = '35',
|
|
||||||
is_builtin = True
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return BaseRole(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testBaseRole(self):
|
|
||||||
"""Test BaseRole"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.cloud_enterprise_agent_type import CloudEnterpriseAgentType
|
|
||||||
|
|
||||||
class TestCloudEnterpriseAgentType(unittest.TestCase):
|
|
||||||
"""CloudEnterpriseAgentType unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def testCloudEnterpriseAgentType(self):
|
|
||||||
"""Test CloudEnterpriseAgentType"""
|
|
||||||
# inst = CloudEnterpriseAgentType()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.cluster_member import ClusterMember
|
|
||||||
|
|
||||||
class TestClusterMember(unittest.TestCase):
|
|
||||||
"""ClusterMember unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> ClusterMember:
|
|
||||||
"""Test ClusterMember
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `ClusterMember`
|
|
||||||
"""
|
|
||||||
model = ClusterMember()
|
|
||||||
if include_optional:
|
|
||||||
return ClusterMember(
|
|
||||||
ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"],
|
|
||||||
public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"],
|
|
||||||
network = 'AT&T Services, Inc. (AS 7018)',
|
|
||||||
member_id = '10',
|
|
||||||
name = 'Cluster member name',
|
|
||||||
error_details = [
|
|
||||||
thousandeyes_sdk.admin.models.error_detail.ErrorDetail(
|
|
||||||
code = 'agent-version-outdated',
|
|
||||||
description = 'Agent Version 0.1.1 (latest: 1.0.0)', )
|
|
||||||
],
|
|
||||||
last_seen = '2022-07-17T22:00:54Z',
|
|
||||||
agent_state = 'online',
|
|
||||||
target_for_tests = '1.1.1.1',
|
|
||||||
utilization = 25
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return ClusterMember(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testClusterMember(self):
|
|
||||||
"""Test ClusterMember"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,76 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.created_account_group import CreatedAccountGroup
|
|
||||||
|
|
||||||
class TestCreatedAccountGroup(unittest.TestCase):
|
|
||||||
"""CreatedAccountGroup unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> CreatedAccountGroup:
|
|
||||||
"""Test CreatedAccountGroup
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `CreatedAccountGroup`
|
|
||||||
"""
|
|
||||||
model = CreatedAccountGroup()
|
|
||||||
if include_optional:
|
|
||||||
return CreatedAccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A',
|
|
||||||
is_current_account_group = True,
|
|
||||||
is_default_account_group = True,
|
|
||||||
organization_name = '',
|
|
||||||
users = [
|
|
||||||
thousandeyes_sdk.admin.models.user_account_group.UserAccountGroup(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '235',
|
|
||||||
last_login = '2022-07-17T22:00:54Z',
|
|
||||||
date_registered = '2022-07-17T22:00:54Z',
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
], )
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return CreatedAccountGroup(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testCreatedAccountGroup(self):
|
|
||||||
"""Test CreatedAccountGroup"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,79 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.created_user import CreatedUser
|
|
||||||
|
|
||||||
class TestCreatedUser(unittest.TestCase):
|
|
||||||
"""CreatedUser unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> CreatedUser:
|
|
||||||
"""Test CreatedUser
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `CreatedUser`
|
|
||||||
"""
|
|
||||||
model = CreatedUser()
|
|
||||||
if include_optional:
|
|
||||||
return CreatedUser(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '245',
|
|
||||||
date_registered = '2020-07-17T22:00:54Z',
|
|
||||||
login_account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
account_group_roles = [
|
|
||||||
thousandeyes_sdk.admin.models.account_group_role.AccountGroupRole(
|
|
||||||
account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
], )
|
|
||||||
],
|
|
||||||
all_account_group_roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return CreatedUser(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testCreatedUser(self):
|
|
||||||
"""Test CreatedUser"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,91 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.enterprise_agent import EnterpriseAgent
|
|
||||||
|
|
||||||
class TestEnterpriseAgent(unittest.TestCase):
|
|
||||||
"""EnterpriseAgent unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> EnterpriseAgent:
|
|
||||||
"""Test EnterpriseAgent
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `EnterpriseAgent`
|
|
||||||
"""
|
|
||||||
model = EnterpriseAgent()
|
|
||||||
if include_optional:
|
|
||||||
return EnterpriseAgent(
|
|
||||||
agent_type = 'enterprise-cluster',
|
|
||||||
ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"],
|
|
||||||
public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"],
|
|
||||||
network = 'AT&T Services, Inc. (AS 7018)',
|
|
||||||
agent_id = '281474976710706',
|
|
||||||
agent_name = 'thousandeyes-stg-va-254',
|
|
||||||
location = 'San Francisco Bay Area',
|
|
||||||
country_id = 'US',
|
|
||||||
enabled = True,
|
|
||||||
prefix = '99.128.0.0/11',
|
|
||||||
verify_ssl_certificates = True,
|
|
||||||
cluster_members = [
|
|
||||||
null
|
|
||||||
],
|
|
||||||
utilization = 25,
|
|
||||||
account_groups = [
|
|
||||||
thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', )
|
|
||||||
],
|
|
||||||
ipv6_policy = 'force-ipv4',
|
|
||||||
error_details = [
|
|
||||||
thousandeyes_sdk.admin.models.error_detail.ErrorDetail(
|
|
||||||
code = 'agent-version-outdated',
|
|
||||||
description = 'Agent Version 0.1.1 (latest: 1.0.0)', )
|
|
||||||
],
|
|
||||||
hostname = 'thousandeyes.com',
|
|
||||||
last_seen = '2022-07-17T22:00:54Z',
|
|
||||||
agent_state = 'online',
|
|
||||||
keep_browser_cache = True,
|
|
||||||
created_date = '2022-07-17T22:00:54Z',
|
|
||||||
target_for_tests = '1.1.1.1',
|
|
||||||
local_resolution_prefixes = [
|
|
||||||
'10.2.3.3/24'
|
|
||||||
],
|
|
||||||
interface_ip_mappings = [
|
|
||||||
thousandeyes_sdk.admin.models.interface_ip_mapping.InterfaceIpMapping(
|
|
||||||
interface_name = 'wlp4s0',
|
|
||||||
ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], )
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return EnterpriseAgent(
|
|
||||||
agent_type = 'enterprise-cluster',
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testEnterpriseAgent(self):
|
|
||||||
"""Test EnterpriseAgent"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,79 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.enterprise_agent_data import EnterpriseAgentData
|
|
||||||
|
|
||||||
class TestEnterpriseAgentData(unittest.TestCase):
|
|
||||||
"""EnterpriseAgentData unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> EnterpriseAgentData:
|
|
||||||
"""Test EnterpriseAgentData
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `EnterpriseAgentData`
|
|
||||||
"""
|
|
||||||
model = EnterpriseAgentData()
|
|
||||||
if include_optional:
|
|
||||||
return EnterpriseAgentData(
|
|
||||||
cluster_members = [
|
|
||||||
null
|
|
||||||
],
|
|
||||||
utilization = 25,
|
|
||||||
account_groups = [
|
|
||||||
thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', )
|
|
||||||
],
|
|
||||||
ipv6_policy = 'force-ipv4',
|
|
||||||
error_details = [
|
|
||||||
thousandeyes_sdk.admin.models.error_detail.ErrorDetail(
|
|
||||||
code = 'agent-version-outdated',
|
|
||||||
description = 'Agent Version 0.1.1 (latest: 1.0.0)', )
|
|
||||||
],
|
|
||||||
hostname = 'thousandeyes.com',
|
|
||||||
last_seen = '2022-07-17T22:00:54Z',
|
|
||||||
agent_state = 'online',
|
|
||||||
keep_browser_cache = True,
|
|
||||||
created_date = '2022-07-17T22:00:54Z',
|
|
||||||
target_for_tests = '1.1.1.1',
|
|
||||||
local_resolution_prefixes = [
|
|
||||||
'10.2.3.3/24'
|
|
||||||
],
|
|
||||||
interface_ip_mappings = [
|
|
||||||
thousandeyes_sdk.admin.models.interface_ip_mapping.InterfaceIpMapping(
|
|
||||||
interface_name = 'wlp4s0',
|
|
||||||
ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"], )
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return EnterpriseAgentData(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testEnterpriseAgentData(self):
|
|
||||||
"""Test EnterpriseAgentData"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.enterprise_agent_ipv6_policy import EnterpriseAgentIpv6Policy
|
|
||||||
|
|
||||||
class TestEnterpriseAgentIpv6Policy(unittest.TestCase):
|
|
||||||
"""EnterpriseAgentIpv6Policy unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def testEnterpriseAgentIpv6Policy(self):
|
|
||||||
"""Test EnterpriseAgentIpv6Policy"""
|
|
||||||
# inst = EnterpriseAgentIpv6Policy()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.enterprise_agent_state import EnterpriseAgentState
|
|
||||||
|
|
||||||
class TestEnterpriseAgentState(unittest.TestCase):
|
|
||||||
"""EnterpriseAgentState unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def testEnterpriseAgentState(self):
|
|
||||||
"""Test EnterpriseAgentState"""
|
|
||||||
# inst = EnterpriseAgentState()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.error import Error
|
|
||||||
|
|
||||||
class TestError(unittest.TestCase):
|
|
||||||
"""Error unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Error:
|
|
||||||
"""Test Error
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Error`
|
|
||||||
"""
|
|
||||||
model = Error()
|
|
||||||
if include_optional:
|
|
||||||
return Error(
|
|
||||||
type = '',
|
|
||||||
title = '',
|
|
||||||
status = 56,
|
|
||||||
detail = '',
|
|
||||||
instance = ''
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Error(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testError(self):
|
|
||||||
"""Test Error"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.error_detail import ErrorDetail
|
|
||||||
|
|
||||||
class TestErrorDetail(unittest.TestCase):
|
|
||||||
"""ErrorDetail unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> ErrorDetail:
|
|
||||||
"""Test ErrorDetail
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `ErrorDetail`
|
|
||||||
"""
|
|
||||||
model = ErrorDetail()
|
|
||||||
if include_optional:
|
|
||||||
return ErrorDetail(
|
|
||||||
code = 'agent-version-outdated',
|
|
||||||
description = 'Agent Version 0.1.1 (latest: 1.0.0)'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return ErrorDetail(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testErrorDetail(self):
|
|
||||||
"""Test ErrorDetail"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.error_detail_code import ErrorDetailCode
|
|
||||||
|
|
||||||
class TestErrorDetailCode(unittest.TestCase):
|
|
||||||
"""ErrorDetailCode unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def testErrorDetailCode(self):
|
|
||||||
"""Test ErrorDetailCode"""
|
|
||||||
# inst = ErrorDetailCode()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.expand import Expand
|
|
||||||
|
|
||||||
class TestExpand(unittest.TestCase):
|
|
||||||
"""Expand unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def testExpand(self):
|
|
||||||
"""Test Expand"""
|
|
||||||
# inst = Expand()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,58 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.extended_user import ExtendedUser
|
|
||||||
|
|
||||||
class TestExtendedUser(unittest.TestCase):
|
|
||||||
"""ExtendedUser unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> ExtendedUser:
|
|
||||||
"""Test ExtendedUser
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `ExtendedUser`
|
|
||||||
"""
|
|
||||||
model = ExtendedUser()
|
|
||||||
if include_optional:
|
|
||||||
return ExtendedUser(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '245',
|
|
||||||
date_registered = '2020-07-17T22:00:54Z',
|
|
||||||
login_account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
last_login = '2022-07-17T22:00:54Z'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return ExtendedUser(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testExtendedUser(self):
|
|
||||||
"""Test ExtendedUser"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.interface_ip_mapping import InterfaceIpMapping
|
|
||||||
|
|
||||||
class TestInterfaceIpMapping(unittest.TestCase):
|
|
||||||
"""InterfaceIpMapping unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> InterfaceIpMapping:
|
|
||||||
"""Test InterfaceIpMapping
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `InterfaceIpMapping`
|
|
||||||
"""
|
|
||||||
model = InterfaceIpMapping()
|
|
||||||
if include_optional:
|
|
||||||
return InterfaceIpMapping(
|
|
||||||
interface_name = 'wlp4s0',
|
|
||||||
ip_addresses = ["73.252.207.219","2601:646:300:3ae0::b977"]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return InterfaceIpMapping(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testInterfaceIpMapping(self):
|
|
||||||
"""Test InterfaceIpMapping"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.link import Link
|
|
||||||
|
|
||||||
class TestLink(unittest.TestCase):
|
|
||||||
"""Link unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Link:
|
|
||||||
"""Test Link
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Link`
|
|
||||||
"""
|
|
||||||
model = Link()
|
|
||||||
if include_optional:
|
|
||||||
return Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = ''
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testLink(self):
|
|
||||||
"""Test Link"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.pagination_links import PaginationLinks
|
|
||||||
|
|
||||||
class TestPaginationLinks(unittest.TestCase):
|
|
||||||
"""PaginationLinks unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> PaginationLinks:
|
|
||||||
"""Test PaginationLinks
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `PaginationLinks`
|
|
||||||
"""
|
|
||||||
model = PaginationLinks()
|
|
||||||
if include_optional:
|
|
||||||
return PaginationLinks(
|
|
||||||
previous = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ),
|
|
||||||
next = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ),
|
|
||||||
var_self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return PaginationLinks(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testPaginationLinks(self):
|
|
||||||
"""Test PaginationLinks"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,54 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.permission import Permission
|
|
||||||
|
|
||||||
class TestPermission(unittest.TestCase):
|
|
||||||
"""Permission unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Permission:
|
|
||||||
"""Test Permission
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Permission`
|
|
||||||
"""
|
|
||||||
model = Permission()
|
|
||||||
if include_optional:
|
|
||||||
return Permission(
|
|
||||||
label = 'View reports',
|
|
||||||
permission_id = '56',
|
|
||||||
is_management_permission = True,
|
|
||||||
permission = 'REPORT_SNAPSHOTS_READ'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Permission(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testPermission(self):
|
|
||||||
"""Test Permission"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,61 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.permissions import Permissions
|
|
||||||
|
|
||||||
class TestPermissions(unittest.TestCase):
|
|
||||||
"""Permissions unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Permissions:
|
|
||||||
"""Test Permissions
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Permissions`
|
|
||||||
"""
|
|
||||||
model = Permissions()
|
|
||||||
if include_optional:
|
|
||||||
return Permissions(
|
|
||||||
permissions = [{"label":"View reports","permissionId":1,"isManagementPermission":true,"permission":"REPORT_READ"},{"label":"View snapshots","permissionId":51,"isManagementPermission":false,"permission":"REPORT_SNAPSHOTS_READ"}],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Permissions(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testPermissions(self):
|
|
||||||
"""Test Permissions"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.resource import Resource
|
|
||||||
|
|
||||||
class TestResource(unittest.TestCase):
|
|
||||||
"""Resource unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Resource:
|
|
||||||
"""Test Resource
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Resource`
|
|
||||||
"""
|
|
||||||
model = Resource()
|
|
||||||
if include_optional:
|
|
||||||
return Resource(
|
|
||||||
type = '',
|
|
||||||
name = ''
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Resource(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testResource(self):
|
|
||||||
"""Test Resource"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,54 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.role import Role
|
|
||||||
|
|
||||||
class TestRole(unittest.TestCase):
|
|
||||||
"""Role unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Role:
|
|
||||||
"""Test Role
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Role`
|
|
||||||
"""
|
|
||||||
model = Role()
|
|
||||||
if include_optional:
|
|
||||||
return Role(
|
|
||||||
name = 'Organization Admin',
|
|
||||||
role_id = '35',
|
|
||||||
is_builtin = True,
|
|
||||||
has_management_permissions = True
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Role(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testRole(self):
|
|
||||||
"""Test Role"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,64 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.role_detail import RoleDetail
|
|
||||||
|
|
||||||
class TestRoleDetail(unittest.TestCase):
|
|
||||||
"""RoleDetail unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> RoleDetail:
|
|
||||||
"""Test RoleDetail
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `RoleDetail`
|
|
||||||
"""
|
|
||||||
model = RoleDetail()
|
|
||||||
if include_optional:
|
|
||||||
return RoleDetail(
|
|
||||||
name = 'Organization Admin',
|
|
||||||
role_id = '35',
|
|
||||||
is_builtin = True,
|
|
||||||
permissions = [{"label":"View reports","permissionId":1,"isManagementPermission":true,"permission":"REPORT_READ"},{"label":"View snapshots","permissionId":51,"isManagementPermission":false,"permission":"REPORT_SNAPSHOTS_READ"}],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return RoleDetail(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testRoleDetail(self):
|
|
||||||
"""Test RoleDetail"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.role_request_body import RoleRequestBody
|
|
||||||
|
|
||||||
class TestRoleRequestBody(unittest.TestCase):
|
|
||||||
"""RoleRequestBody unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> RoleRequestBody:
|
|
||||||
"""Test RoleRequestBody
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `RoleRequestBody`
|
|
||||||
"""
|
|
||||||
model = RoleRequestBody()
|
|
||||||
if include_optional:
|
|
||||||
return RoleRequestBody(
|
|
||||||
name = 'Organization Admin',
|
|
||||||
permissions = ["56","315"]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return RoleRequestBody(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testRoleRequestBody(self):
|
|
||||||
"""Test RoleRequestBody"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,63 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.roles import Roles
|
|
||||||
|
|
||||||
class TestRoles(unittest.TestCase):
|
|
||||||
"""Roles unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Roles:
|
|
||||||
"""Test Roles
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Roles`
|
|
||||||
"""
|
|
||||||
model = Roles()
|
|
||||||
if include_optional:
|
|
||||||
return Roles(
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Roles(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testRoles(self):
|
|
||||||
"""Test Roles"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.self_links import SelfLinks
|
|
||||||
|
|
||||||
class TestSelfLinks(unittest.TestCase):
|
|
||||||
"""SelfLinks unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> SelfLinks:
|
|
||||||
"""Test SelfLinks
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `SelfLinks`
|
|
||||||
"""
|
|
||||||
model = SelfLinks()
|
|
||||||
if include_optional:
|
|
||||||
return SelfLinks(
|
|
||||||
var_self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return SelfLinks(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testSelfLinks(self):
|
|
||||||
"""Test SelfLinks"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,60 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.simple_agent import SimpleAgent
|
|
||||||
|
|
||||||
class TestSimpleAgent(unittest.TestCase):
|
|
||||||
"""SimpleAgent unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> SimpleAgent:
|
|
||||||
"""Test SimpleAgent
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `SimpleAgent`
|
|
||||||
"""
|
|
||||||
model = SimpleAgent()
|
|
||||||
if include_optional:
|
|
||||||
return SimpleAgent(
|
|
||||||
ip_addresses = ["99.139.65.220","9bbd:8a0a:a257:5876:288b:6cb2:3f36:64ce"],
|
|
||||||
public_ip_addresses = ["192.168.1.78","f9b2:3a21:f25c:d300:03f4:586d:f8d6:4e1c"],
|
|
||||||
network = 'AT&T Services, Inc. (AS 7018)',
|
|
||||||
agent_id = '281474976710706',
|
|
||||||
agent_name = 'thousandeyes-stg-va-254',
|
|
||||||
location = 'San Francisco Bay Area',
|
|
||||||
country_id = 'US',
|
|
||||||
enabled = True,
|
|
||||||
prefix = '99.128.0.0/11',
|
|
||||||
verify_ssl_certificates = True
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return SimpleAgent(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testSimpleAgent(self):
|
|
||||||
"""Test SimpleAgent"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.unauthorized_error import UnauthorizedError
|
|
||||||
|
|
||||||
class TestUnauthorizedError(unittest.TestCase):
|
|
||||||
"""UnauthorizedError unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UnauthorizedError:
|
|
||||||
"""Test UnauthorizedError
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UnauthorizedError`
|
|
||||||
"""
|
|
||||||
model = UnauthorizedError()
|
|
||||||
if include_optional:
|
|
||||||
return UnauthorizedError(
|
|
||||||
error = 'invalid_token',
|
|
||||||
error_description = 'Invalid access token'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UnauthorizedError(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUnauthorizedError(self):
|
|
||||||
"""Test UnauthorizedError"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user import User
|
|
||||||
|
|
||||||
class TestUser(unittest.TestCase):
|
|
||||||
"""User unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> User:
|
|
||||||
"""Test User
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `User`
|
|
||||||
"""
|
|
||||||
model = User()
|
|
||||||
if include_optional:
|
|
||||||
return User(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '245',
|
|
||||||
date_registered = '2020-07-17T22:00:54Z',
|
|
||||||
login_account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return User(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUser(self):
|
|
||||||
"""Test User"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,58 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user_account_group import UserAccountGroup
|
|
||||||
|
|
||||||
class TestUserAccountGroup(unittest.TestCase):
|
|
||||||
"""UserAccountGroup unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UserAccountGroup:
|
|
||||||
"""Test UserAccountGroup
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UserAccountGroup`
|
|
||||||
"""
|
|
||||||
model = UserAccountGroup()
|
|
||||||
if include_optional:
|
|
||||||
return UserAccountGroup(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '235',
|
|
||||||
last_login = '2022-07-17T22:00:54Z',
|
|
||||||
date_registered = '2022-07-17T22:00:54Z',
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UserAccountGroup(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUserAccountGroup(self):
|
|
||||||
"""Test UserAccountGroup"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,52 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user_account_group_role import UserAccountGroupRole
|
|
||||||
|
|
||||||
class TestUserAccountGroupRole(unittest.TestCase):
|
|
||||||
"""UserAccountGroupRole unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UserAccountGroupRole:
|
|
||||||
"""Test UserAccountGroupRole
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UserAccountGroupRole`
|
|
||||||
"""
|
|
||||||
model = UserAccountGroupRole()
|
|
||||||
if include_optional:
|
|
||||||
return UserAccountGroupRole(
|
|
||||||
account_group_id = '315',
|
|
||||||
role_ids = ["57","1140"]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UserAccountGroupRole(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUserAccountGroupRole(self):
|
|
||||||
"""Test UserAccountGroupRole"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,80 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user_detail import UserDetail
|
|
||||||
|
|
||||||
class TestUserDetail(unittest.TestCase):
|
|
||||||
"""UserDetail unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UserDetail:
|
|
||||||
"""Test UserDetail
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UserDetail`
|
|
||||||
"""
|
|
||||||
model = UserDetail()
|
|
||||||
if include_optional:
|
|
||||||
return UserDetail(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
uid = '245',
|
|
||||||
date_registered = '2020-07-17T22:00:54Z',
|
|
||||||
login_account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
last_login = '2022-07-17T22:00:54Z',
|
|
||||||
account_group_roles = [
|
|
||||||
thousandeyes_sdk.admin.models.account_group_role.AccountGroupRole(
|
|
||||||
account_group = thousandeyes_sdk.admin.models.account_group.AccountGroup(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A', ),
|
|
||||||
roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
], )
|
|
||||||
],
|
|
||||||
all_account_group_roles = [
|
|
||||||
thousandeyes_sdk.admin.models.role.Role()
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UserDetail(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUserDetail(self):
|
|
||||||
"""Test UserDetail"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,62 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user_event import UserEvent
|
|
||||||
|
|
||||||
class TestUserEvent(unittest.TestCase):
|
|
||||||
"""UserEvent unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UserEvent:
|
|
||||||
"""Test UserEvent
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UserEvent`
|
|
||||||
"""
|
|
||||||
model = UserEvent()
|
|
||||||
if include_optional:
|
|
||||||
return UserEvent(
|
|
||||||
aid = '1234',
|
|
||||||
account_group_name = 'Account A',
|
|
||||||
var_date = '2020-07-17T22:00:54Z',
|
|
||||||
event = 'Login failed.',
|
|
||||||
ip_address = '99.128.0.0/11',
|
|
||||||
uid = '245',
|
|
||||||
user = 'API Sandbox User (noreply@thousandeyes.com)',
|
|
||||||
resources = [
|
|
||||||
thousandeyes_sdk.admin.models.resource.Resource(
|
|
||||||
type = '',
|
|
||||||
name = '', )
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UserEvent(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUserEvent(self):
|
|
||||||
"""Test UserEvent"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,59 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.user_request import UserRequest
|
|
||||||
|
|
||||||
class TestUserRequest(unittest.TestCase):
|
|
||||||
"""UserRequest unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> UserRequest:
|
|
||||||
"""Test UserRequest
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `UserRequest`
|
|
||||||
"""
|
|
||||||
model = UserRequest()
|
|
||||||
if include_optional:
|
|
||||||
return UserRequest(
|
|
||||||
name = 'User X',
|
|
||||||
email = 'userx@thousandeyes.com',
|
|
||||||
login_account_group_id = '691',
|
|
||||||
account_group_roles = [
|
|
||||||
thousandeyes_sdk.admin.models.user_account_group_role.UserAccountGroupRole(
|
|
||||||
account_group_id = '315',
|
|
||||||
role_ids = ["57","1140"], )
|
|
||||||
],
|
|
||||||
all_account_group_role_ids = ["57","1140"]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return UserRequest(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUserRequest(self):
|
|
||||||
"""Test UserRequest"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,63 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.users import Users
|
|
||||||
|
|
||||||
class TestUsers(unittest.TestCase):
|
|
||||||
"""Users unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> Users:
|
|
||||||
"""Test Users
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `Users`
|
|
||||||
"""
|
|
||||||
model = Users()
|
|
||||||
if include_optional:
|
|
||||||
return Users(
|
|
||||||
users = [
|
|
||||||
null
|
|
||||||
],
|
|
||||||
links = thousandeyes_sdk.admin.models.self_links.SelfLinks(
|
|
||||||
self = thousandeyes_sdk.admin.models.link.Link(
|
|
||||||
href = 'https://api.thousandeyes.com/v7/link/to/resource/id',
|
|
||||||
templated = True,
|
|
||||||
type = '',
|
|
||||||
deprecation = '',
|
|
||||||
name = '',
|
|
||||||
profile = '',
|
|
||||||
title = '',
|
|
||||||
hreflang = '', ), )
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return Users(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testUsers(self):
|
|
||||||
"""Test Users"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,61 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.validation_error import ValidationError
|
|
||||||
|
|
||||||
class TestValidationError(unittest.TestCase):
|
|
||||||
"""ValidationError unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> ValidationError:
|
|
||||||
"""Test ValidationError
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `ValidationError`
|
|
||||||
"""
|
|
||||||
model = ValidationError()
|
|
||||||
if include_optional:
|
|
||||||
return ValidationError(
|
|
||||||
type = '',
|
|
||||||
title = '',
|
|
||||||
status = 56,
|
|
||||||
detail = '',
|
|
||||||
instance = '',
|
|
||||||
errors = [
|
|
||||||
thousandeyes_sdk.admin.models.validation_error_item.ValidationErrorItem(
|
|
||||||
code = '',
|
|
||||||
field = 56,
|
|
||||||
message = '', )
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return ValidationError(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testValidationError(self):
|
|
||||||
"""Test ValidationError"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
# coding: utf-8
|
|
||||||
|
|
||||||
"""
|
|
||||||
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.4
|
|
||||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
""" # noqa: E501
|
|
||||||
|
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from thousandeyes_sdk.admin.models.validation_error_item import ValidationErrorItem
|
|
||||||
|
|
||||||
class TestValidationErrorItem(unittest.TestCase):
|
|
||||||
"""ValidationErrorItem unit test stubs"""
|
|
||||||
|
|
||||||
def setUp(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def tearDown(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def make_instance(self, include_optional) -> ValidationErrorItem:
|
|
||||||
"""Test ValidationErrorItem
|
|
||||||
include_option is a boolean, when False only required
|
|
||||||
params are included, when True both required and
|
|
||||||
optional params are included """
|
|
||||||
# uncomment below to create an instance of `ValidationErrorItem`
|
|
||||||
"""
|
|
||||||
model = ValidationErrorItem()
|
|
||||||
if include_optional:
|
|
||||||
return ValidationErrorItem(
|
|
||||||
code = '',
|
|
||||||
var_field = 56,
|
|
||||||
message = ''
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
return ValidationErrorItem(
|
|
||||||
)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def testValidationErrorItem(self):
|
|
||||||
"""Test ValidationErrorItem"""
|
|
||||||
# inst_req_only = self.make_instance(include_optional=False)
|
|
||||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.main()
|
|
||||||
@ -107,48 +107,9 @@ src/thousandeyes_sdk/admin/models/validation_error.py
|
|||||||
src/thousandeyes_sdk/admin/models/validation_error_item.py
|
src/thousandeyes_sdk/admin/models/validation_error_item.py
|
||||||
src/thousandeyes_sdk/admin/py.typed
|
src/thousandeyes_sdk/admin/py.typed
|
||||||
test/__init__.py
|
test/__init__.py
|
||||||
test/test_account_group.py
|
test/test_account_groups_api.py
|
||||||
test/test_account_group_detail.py
|
test/test_permissions_api.py
|
||||||
test/test_account_group_info.py
|
test/test_roles_api.py
|
||||||
test/test_account_group_request.py
|
test/test_user_events_api.py
|
||||||
test/test_account_group_role.py
|
test/test_users_api.py
|
||||||
test/test_account_groups.py
|
test/test_utils.py
|
||||||
test/test_agent.py
|
|
||||||
test/test_agent_base.py
|
|
||||||
test/test_audit_user_events.py
|
|
||||||
test/test_base_role.py
|
|
||||||
test/test_cloud_enterprise_agent_type.py
|
|
||||||
test/test_cluster_member.py
|
|
||||||
test/test_created_account_group.py
|
|
||||||
test/test_created_user.py
|
|
||||||
test/test_enterprise_agent.py
|
|
||||||
test/test_enterprise_agent_data.py
|
|
||||||
test/test_enterprise_agent_ipv6_policy.py
|
|
||||||
test/test_enterprise_agent_state.py
|
|
||||||
test/test_error.py
|
|
||||||
test/test_error_detail.py
|
|
||||||
test/test_error_detail_code.py
|
|
||||||
test/test_expand.py
|
|
||||||
test/test_extended_user.py
|
|
||||||
test/test_interface_ip_mapping.py
|
|
||||||
test/test_link.py
|
|
||||||
test/test_pagination_links.py
|
|
||||||
test/test_permission.py
|
|
||||||
test/test_permissions.py
|
|
||||||
test/test_resource.py
|
|
||||||
test/test_role.py
|
|
||||||
test/test_role_detail.py
|
|
||||||
test/test_role_request_body.py
|
|
||||||
test/test_roles.py
|
|
||||||
test/test_self_links.py
|
|
||||||
test/test_simple_agent.py
|
|
||||||
test/test_unauthorized_error.py
|
|
||||||
test/test_user.py
|
|
||||||
test/test_user_account_group.py
|
|
||||||
test/test_user_account_group_role.py
|
|
||||||
test/test_user_detail.py
|
|
||||||
test/test_user_event.py
|
|
||||||
test/test_user_request.py
|
|
||||||
test/test_users.py
|
|
||||||
test/test_validation_error.py
|
|
||||||
test/test_validation_error_item.py
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
# thousandeyes-sdk-admin
|
# thousandeyes-sdk-administrative
|
||||||
## Overview
|
## Overview
|
||||||
Manage users, accounts, and account groups in the ThousandEyes platform using the Administrative API.
|
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:
|
This API provides the following endpoints that define the operations to manage your organization:
|
||||||
@ -13,8 +13,7 @@ This API provides the following endpoints that define the operations to manage y
|
|||||||
|
|
||||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||||
|
|
||||||
- API version: 7.0.4
|
- API version: 7.0.6
|
||||||
- Package version: 1.0.0
|
|
||||||
- Generator version: 7.6.0
|
- Generator version: 7.6.0
|
||||||
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
- Build package: com.thousandeyes.api.codegen.ThousandeyesPythonGenerator
|
||||||
|
|
||||||
@ -28,9 +27,9 @@ Python 3.7+
|
|||||||
If the python package is hosted on a repository, you can install directly using:
|
If the python package is hosted on a repository, you can install directly using:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
pip install -e git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git#egg=thousandeyes-sdk-administrative\&subdirectory=thousandeyes-sdk-administrative
|
||||||
```
|
```
|
||||||
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
(you may need to run `pip` with root permission: `sudo pip install -e git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git#egg=thousandeyes-sdk-administrative\&subdirectory=thousandeyes-sdk-administrative`)
|
||||||
|
|
||||||
Then import the package:
|
Then import the package:
|
||||||
```python
|
```python
|
||||||
@ -61,14 +60,14 @@ Please follow the [installation procedure](#installation--usage) and then run th
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
import thousandeyes_sdk.client
|
import thousandeyes_sdk.core
|
||||||
import thousandeyes_sdk.admin
|
import thousandeyes_sdk.admin
|
||||||
from thousandeyes_sdk.client.exceptions import ApiException
|
from thousandeyes_sdk.core.exceptions import ApiException
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -78,13 +77,13 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
# Enter a context with an instance of the API client
|
||||||
with thousandeyes_sdk.client.ApiClient(configuration) as api_client:
|
with thousandeyes_sdk.core.ApiClient(configuration) as api_client:
|
||||||
# Create an instance of the API class
|
# Create an instance of the API class
|
||||||
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
|
api_instance = thousandeyes_sdk.admin.AccountGroupsApi(api_client)
|
||||||
account_group_request = thousandeyes_sdk.admin.AccountGroupRequest() # AccountGroupRequest |
|
account_group_request = thousandeyes_sdk.admin.AccountGroupRequest() # AccountGroupRequest |
|
||||||
@ -32,7 +32,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -164,7 +164,7 @@ void (empty response body)
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/problem+json
|
- **Accept**: application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -382,7 +382,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -425,7 +425,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ void (empty response body)
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/problem+json
|
- **Accept**: application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -424,7 +424,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ void (empty response body)
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/problem+json
|
- **Accept**: application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -200,7 +200,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -286,7 +286,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -296,7 +296,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: Not defined
|
- **Content-Type**: Not defined
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -371,7 +371,7 @@ from pprint import pprint
|
|||||||
|
|
||||||
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
# Defining the host is optional and defaults to https://api.thousandeyes.com
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
# See configuration.py for a list of all supported configuration parameters.
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
host = "https://api.thousandeyes.com"
|
host = "https://api.thousandeyes.com"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ configuration = thousandeyes_sdk.client.Configuration(
|
|||||||
# satisfies your auth use case.
|
# satisfies your auth use case.
|
||||||
|
|
||||||
# Configure Bearer authorization: BearerAuth
|
# Configure Bearer authorization: BearerAuth
|
||||||
configuration = thousandeyes_sdk.client.Configuration(
|
configuration = thousandeyes_sdk.core.Configuration(
|
||||||
access_token = os.environ["BEARER_TOKEN"]
|
access_token = os.environ["BEARER_TOKEN"]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -424,7 +424,7 @@ Name | Type | Description | Notes
|
|||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
- **Content-Type**: application/json
|
- **Content-Type**: application/json
|
||||||
- **Accept**: application/hal+json, application/problem+json
|
- **Accept**: application/hal+json, application/json, application/problem+json
|
||||||
|
|
||||||
### HTTP response details
|
### HTTP response details
|
||||||
|
|
||||||
@ -6,7 +6,7 @@
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**code** | **str** | (Optional) A unique error type/code that can be referenced in the documentation for further details. | [optional]
|
**code** | **str** | (Optional) A unique error type/code that can be referenced in the documentation for further details. | [optional]
|
||||||
**var_field** | **int** | Identifies the field that triggered this particular error. | [optional]
|
**var_field** | **str** | Identifies the field that triggered this particular error. | [optional]
|
||||||
**message** | **str** | A short, human-readable summary of the error. | [optional]
|
**message** | **str** | A short, human-readable summary of the error. | [optional]
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "thousandeyes-sdk-admin"
|
name = "thousandeyes-sdk-administrative"
|
||||||
version = "1.0.0"
|
dynamic = ["version"]
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||||
]
|
]
|
||||||
@ -11,9 +11,12 @@ dependencies = [
|
|||||||
"python-dateutil >=2.8.2",
|
"python-dateutil >=2.8.2",
|
||||||
"pydantic >=2",
|
"pydantic >=2",
|
||||||
"typing-extensions >=4.7.1",
|
"typing-extensions >=4.7.1",
|
||||||
"thousandeyes-sdk-client==1.0.0",
|
"thousandeyes-sdk-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.dynamic]
|
||||||
|
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
test = [
|
test = [
|
||||||
"pytest~=7.1.3",
|
"pytest~=7.1.3",
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user