graphiant-sdk 25.7.1__py3-none-any.whl → 25.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphiant_sdk/__init__.py +3468 -1149
- graphiant_sdk/api/__init__.py +16 -1
- graphiant_sdk/api_client.py +9 -2
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +1153 -1
- graphiant_sdk/models/v1_auth_mfa_patch_request.py +87 -0
- graphiant_sdk/models/v1_bwtracker_region_site_gateway_summary_post200_response.py +91 -0
- graphiant_sdk/models/v1_bwtracker_region_site_gateway_summary_post200_response_bwusage_summary.py +102 -0
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version.py +91 -0
- graphiant_sdk/models/v1_global_site_lists_get200_response.py +97 -0
- graphiant_sdk/models/v1_global_site_lists_get200_response_entries_inner.py +103 -0
- graphiant_sdk/models/v1_global_site_lists_id_get200_response.py +97 -0
- graphiant_sdk/models/v1_global_site_lists_post_request.py +99 -0
- graphiant_sdk/models/v1_global_site_lists_post_request_entries_inner.py +93 -0
- graphiant_sdk/models/v1_global_site_lists_post_request_entries_inner_tag.py +91 -0
- graphiant_sdk/models/v1_groups_id_members_delete_post_request.py +87 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response.py +95 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner.py +105 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config.py +103 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner.py +100 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner_ipv4.py +91 -0
- graphiant_sdk/models/v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_token.py +98 -0
- graphiant_sdk/models/v1_software_auto_upgrade_default_get200_response_profile.py +97 -0
- graphiant_sdk/models/v1_software_auto_upgrade_default_get200_response_profile_occurrence.py +93 -0
- graphiant_sdk/models/v2_assistant_conversation_context_history_post_request.py +87 -0
- graphiant_sdk-25.9.1.dist-info/METADATA +373 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.9.1.dist-info}/RECORD +50 -10
- test/test_v1_auth_mfa_patch_request.py +53 -0
- test/test_v1_bwtracker_region_site_gateway_summary_post200_response.py +61 -0
- test/test_v1_bwtracker_region_site_gateway_summary_post200_response_bwusage_summary.py +60 -0
- test/test_v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version.py +53 -0
- test/test_v1_global_site_lists_get200_response.py +63 -0
- test/test_v1_global_site_lists_get200_response_entries_inner.py +59 -0
- test/test_v1_global_site_lists_id_get200_response.py +59 -0
- test/test_v1_global_site_lists_post_request.py +60 -0
- test/test_v1_global_site_lists_post_request_entries_inner.py +55 -0
- test/test_v1_global_site_lists_post_request_entries_inner_tag.py +53 -0
- test/test_v1_groups_id_members_delete_post_request.py +53 -0
- test/test_v1_onboarding_cloudinit_get200_response.py +82 -0
- test/test_v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner.py +79 -0
- test/test_v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config.py +67 -0
- test/test_v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner.py +60 -0
- test/test_v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner_ipv4.py +53 -0
- test/test_v1_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_token.py +57 -0
- test/test_v1_software_auto_upgrade_default_get200_response_profile.py +58 -0
- test/test_v1_software_auto_upgrade_default_get200_response_profile_occurrence.py +54 -0
- test/test_v2_assistant_conversation_context_history_post_request.py +51 -0
- graphiant_sdk-25.7.1.dist-info/METADATA +0 -119
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.9.1.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.9.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.9.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_bwtracker_region_site_gateway_summary_post200_response import V1BwtrackerRegionSiteGatewaySummaryPost200Response
|
|
18
|
+
|
|
19
|
+
class TestV1BwtrackerRegionSiteGatewaySummaryPost200Response(unittest.TestCase):
|
|
20
|
+
"""V1BwtrackerRegionSiteGatewaySummaryPost200Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1BwtrackerRegionSiteGatewaySummaryPost200Response:
|
|
29
|
+
"""Test V1BwtrackerRegionSiteGatewaySummaryPost200Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1BwtrackerRegionSiteGatewaySummaryPost200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1BwtrackerRegionSiteGatewaySummaryPost200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1BwtrackerRegionSiteGatewaySummaryPost200Response(
|
|
38
|
+
bwusage_summary = graphiant_sdk.models._v1_bwtracker_region_site_gateway_summary_post_200_response_bwusage_summary._v1_bwtracker_region_site_gateway_summary_post_200_response_bwusageSummary(
|
|
39
|
+
bwuage_region = [
|
|
40
|
+
graphiant_sdk.models._v1_bwtracker_enterprise_details_post_200_response_bwusage_details_bwusage_region_inner._v1_bwtracker_enterprise_details_post_200_response_bwusageDetails_bwusageRegion_inner(
|
|
41
|
+
region_id = 12345678910,
|
|
42
|
+
region_name = 'example string',
|
|
43
|
+
site_count = 12345678910,
|
|
44
|
+
usage_kbps = 123.45, )
|
|
45
|
+
],
|
|
46
|
+
edge_count = 12345678910,
|
|
47
|
+
provider_count = 12345678910,
|
|
48
|
+
usage_kbps = 123.45, )
|
|
49
|
+
)
|
|
50
|
+
else:
|
|
51
|
+
return V1BwtrackerRegionSiteGatewaySummaryPost200Response(
|
|
52
|
+
)
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
def testV1BwtrackerRegionSiteGatewaySummaryPost200Response(self):
|
|
56
|
+
"""Test V1BwtrackerRegionSiteGatewaySummaryPost200Response"""
|
|
57
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
58
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
59
|
+
|
|
60
|
+
if __name__ == '__main__':
|
|
61
|
+
unittest.main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_bwtracker_region_site_gateway_summary_post200_response_bwusage_summary import V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary
|
|
18
|
+
|
|
19
|
+
class TestV1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary(unittest.TestCase):
|
|
20
|
+
"""V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary:
|
|
29
|
+
"""Test V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary`
|
|
34
|
+
"""
|
|
35
|
+
model = V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary(
|
|
38
|
+
bwuage_region = [
|
|
39
|
+
graphiant_sdk.models._v1_bwtracker_enterprise_details_post_200_response_bwusage_details_bwusage_region_inner._v1_bwtracker_enterprise_details_post_200_response_bwusageDetails_bwusageRegion_inner(
|
|
40
|
+
region_id = 12345678910,
|
|
41
|
+
region_name = 'example string',
|
|
42
|
+
site_count = 12345678910,
|
|
43
|
+
usage_kbps = 123.45, )
|
|
44
|
+
],
|
|
45
|
+
edge_count = 12345678910,
|
|
46
|
+
provider_count = 12345678910,
|
|
47
|
+
usage_kbps = 123.45
|
|
48
|
+
)
|
|
49
|
+
else:
|
|
50
|
+
return V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary(
|
|
51
|
+
)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def testV1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary(self):
|
|
55
|
+
"""Test V1BwtrackerRegionSiteGatewaySummaryPost200ResponseBwusageSummary"""
|
|
56
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
57
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
58
|
+
|
|
59
|
+
if __name__ == '__main__':
|
|
60
|
+
unittest.main()
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion
|
|
18
|
+
|
|
19
|
+
class TestV1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion(unittest.TestCase):
|
|
20
|
+
"""V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion:
|
|
29
|
+
"""Test V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion`
|
|
34
|
+
"""
|
|
35
|
+
model = V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion(
|
|
38
|
+
name = 'example string',
|
|
39
|
+
release = 'ENUM_VALUE',
|
|
40
|
+
version = 'example string'
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion(self):
|
|
48
|
+
"""Test V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion"""
|
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
51
|
+
|
|
52
|
+
if __name__ == '__main__':
|
|
53
|
+
unittest.main()
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_get200_response import V1GlobalSiteListsGet200Response
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsGet200Response(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsGet200Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsGet200Response:
|
|
29
|
+
"""Test V1GlobalSiteListsGet200Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsGet200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsGet200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsGet200Response(
|
|
38
|
+
description = 'example string',
|
|
39
|
+
entries = [
|
|
40
|
+
graphiant_sdk.models._v1_global_site_lists_get_200_response_entries_inner._v1_global_site_lists_get_200_response_entries_inner(
|
|
41
|
+
created_at = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
42
|
+
nanos = 123,
|
|
43
|
+
seconds = 1234567891011, ),
|
|
44
|
+
description = 'example string',
|
|
45
|
+
edge_references = 123,
|
|
46
|
+
id = 1234567891011,
|
|
47
|
+
name = 'example string',
|
|
48
|
+
policy_references = 123,
|
|
49
|
+
site_list_references = 123, )
|
|
50
|
+
]
|
|
51
|
+
)
|
|
52
|
+
else:
|
|
53
|
+
return V1GlobalSiteListsGet200Response(
|
|
54
|
+
)
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
def testV1GlobalSiteListsGet200Response(self):
|
|
58
|
+
"""Test V1GlobalSiteListsGet200Response"""
|
|
59
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
60
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
61
|
+
|
|
62
|
+
if __name__ == '__main__':
|
|
63
|
+
unittest.main()
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_get200_response_entries_inner import V1GlobalSiteListsGet200ResponseEntriesInner
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsGet200ResponseEntriesInner(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsGet200ResponseEntriesInner unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsGet200ResponseEntriesInner:
|
|
29
|
+
"""Test V1GlobalSiteListsGet200ResponseEntriesInner
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsGet200ResponseEntriesInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsGet200ResponseEntriesInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsGet200ResponseEntriesInner(
|
|
38
|
+
created_at = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
39
|
+
nanos = 123,
|
|
40
|
+
seconds = 1234567891011, ),
|
|
41
|
+
description = 'example string',
|
|
42
|
+
edge_references = 123,
|
|
43
|
+
id = 1234567891011,
|
|
44
|
+
name = 'example string',
|
|
45
|
+
policy_references = 123,
|
|
46
|
+
site_list_references = 123
|
|
47
|
+
)
|
|
48
|
+
else:
|
|
49
|
+
return V1GlobalSiteListsGet200ResponseEntriesInner(
|
|
50
|
+
)
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
def testV1GlobalSiteListsGet200ResponseEntriesInner(self):
|
|
54
|
+
"""Test V1GlobalSiteListsGet200ResponseEntriesInner"""
|
|
55
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
56
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
57
|
+
|
|
58
|
+
if __name__ == '__main__':
|
|
59
|
+
unittest.main()
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_id_get200_response import V1GlobalSiteListsIdGet200Response
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsIdGet200Response(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsIdGet200Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsIdGet200Response:
|
|
29
|
+
"""Test V1GlobalSiteListsIdGet200Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsIdGet200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsIdGet200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsIdGet200Response(
|
|
38
|
+
description = 'example string',
|
|
39
|
+
entries = [
|
|
40
|
+
graphiant_sdk.models._v1_global_site_lists_post_request_entries_inner._v1_global_site_lists_post_request_entries_inner(
|
|
41
|
+
regular = 1234567891011,
|
|
42
|
+
tag = graphiant_sdk.models._v1_global_site_lists_post_request_entries_inner_tag._v1_global_site_lists_post_request_entries_inner_tag(
|
|
43
|
+
level_one = 1234567891011,
|
|
44
|
+
level_two = 1234567891011,
|
|
45
|
+
level_zero = 1234567891011, ), )
|
|
46
|
+
]
|
|
47
|
+
)
|
|
48
|
+
else:
|
|
49
|
+
return V1GlobalSiteListsIdGet200Response(
|
|
50
|
+
)
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
def testV1GlobalSiteListsIdGet200Response(self):
|
|
54
|
+
"""Test V1GlobalSiteListsIdGet200Response"""
|
|
55
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
56
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
57
|
+
|
|
58
|
+
if __name__ == '__main__':
|
|
59
|
+
unittest.main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_post_request import V1GlobalSiteListsPostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsPostRequest(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsPostRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsPostRequest:
|
|
29
|
+
"""Test V1GlobalSiteListsPostRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsPostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsPostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsPostRequest(
|
|
38
|
+
description = 'example string',
|
|
39
|
+
entries = [
|
|
40
|
+
graphiant_sdk.models._v1_global_site_lists_post_request_entries_inner._v1_global_site_lists_post_request_entries_inner(
|
|
41
|
+
regular = 1234567891011,
|
|
42
|
+
tag = graphiant_sdk.models._v1_global_site_lists_post_request_entries_inner_tag._v1_global_site_lists_post_request_entries_inner_tag(
|
|
43
|
+
level_one = 1234567891011,
|
|
44
|
+
level_two = 1234567891011,
|
|
45
|
+
level_zero = 1234567891011, ), )
|
|
46
|
+
],
|
|
47
|
+
name = 'example string'
|
|
48
|
+
)
|
|
49
|
+
else:
|
|
50
|
+
return V1GlobalSiteListsPostRequest(
|
|
51
|
+
)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def testV1GlobalSiteListsPostRequest(self):
|
|
55
|
+
"""Test V1GlobalSiteListsPostRequest"""
|
|
56
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
57
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
58
|
+
|
|
59
|
+
if __name__ == '__main__':
|
|
60
|
+
unittest.main()
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_post_request_entries_inner import V1GlobalSiteListsPostRequestEntriesInner
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsPostRequestEntriesInner(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsPostRequestEntriesInner unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsPostRequestEntriesInner:
|
|
29
|
+
"""Test V1GlobalSiteListsPostRequestEntriesInner
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsPostRequestEntriesInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsPostRequestEntriesInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsPostRequestEntriesInner(
|
|
38
|
+
regular = 1234567891011,
|
|
39
|
+
tag = graphiant_sdk.models._v1_global_site_lists_post_request_entries_inner_tag._v1_global_site_lists_post_request_entries_inner_tag(
|
|
40
|
+
level_one = 1234567891011,
|
|
41
|
+
level_two = 1234567891011,
|
|
42
|
+
level_zero = 1234567891011, )
|
|
43
|
+
)
|
|
44
|
+
else:
|
|
45
|
+
return V1GlobalSiteListsPostRequestEntriesInner(
|
|
46
|
+
)
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def testV1GlobalSiteListsPostRequestEntriesInner(self):
|
|
50
|
+
"""Test V1GlobalSiteListsPostRequestEntriesInner"""
|
|
51
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
52
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
53
|
+
|
|
54
|
+
if __name__ == '__main__':
|
|
55
|
+
unittest.main()
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_global_site_lists_post_request_entries_inner_tag import V1GlobalSiteListsPostRequestEntriesInnerTag
|
|
18
|
+
|
|
19
|
+
class TestV1GlobalSiteListsPostRequestEntriesInnerTag(unittest.TestCase):
|
|
20
|
+
"""V1GlobalSiteListsPostRequestEntriesInnerTag unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GlobalSiteListsPostRequestEntriesInnerTag:
|
|
29
|
+
"""Test V1GlobalSiteListsPostRequestEntriesInnerTag
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GlobalSiteListsPostRequestEntriesInnerTag`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GlobalSiteListsPostRequestEntriesInnerTag()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GlobalSiteListsPostRequestEntriesInnerTag(
|
|
38
|
+
level_one = 1234567891011,
|
|
39
|
+
level_two = 1234567891011,
|
|
40
|
+
level_zero = 1234567891011
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1GlobalSiteListsPostRequestEntriesInnerTag(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1GlobalSiteListsPostRequestEntriesInnerTag(self):
|
|
48
|
+
"""Test V1GlobalSiteListsPostRequestEntriesInnerTag"""
|
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
51
|
+
|
|
52
|
+
if __name__ == '__main__':
|
|
53
|
+
unittest.main()
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1GroupsIdMembersDeletePostRequest(unittest.TestCase):
|
|
20
|
+
"""V1GroupsIdMembersDeletePostRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1GroupsIdMembersDeletePostRequest:
|
|
29
|
+
"""Test V1GroupsIdMembersDeletePostRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1GroupsIdMembersDeletePostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1GroupsIdMembersDeletePostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1GroupsIdMembersDeletePostRequest(
|
|
38
|
+
member_ids = [
|
|
39
|
+
'example string'
|
|
40
|
+
]
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1GroupsIdMembersDeletePostRequest(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1GroupsIdMembersDeletePostRequest(self):
|
|
48
|
+
"""Test V1GroupsIdMembersDeletePostRequest"""
|
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
51
|
+
|
|
52
|
+
if __name__ == '__main__':
|
|
53
|
+
unittest.main()
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
Graphiant API documentation.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from graphiant_sdk.models.v1_onboarding_cloudinit_get200_response import V1OnboardingCloudinitGet200Response
|
|
18
|
+
|
|
19
|
+
class TestV1OnboardingCloudinitGet200Response(unittest.TestCase):
|
|
20
|
+
"""V1OnboardingCloudinitGet200Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> V1OnboardingCloudinitGet200Response:
|
|
29
|
+
"""Test V1OnboardingCloudinitGet200Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `V1OnboardingCloudinitGet200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1OnboardingCloudinitGet200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1OnboardingCloudinitGet200Response(
|
|
38
|
+
cloudinit_tokens = [
|
|
39
|
+
graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner(
|
|
40
|
+
cloudinit_config = graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_cloudinit_config._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_cloudinitConfig(
|
|
41
|
+
device_type = 'example string',
|
|
42
|
+
dns_servers = 'example string',
|
|
43
|
+
hostname = 'example string',
|
|
44
|
+
interfaces = [
|
|
45
|
+
graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_cloudinitConfig_interfaces_inner(
|
|
46
|
+
ipv4 = graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner_ipv4._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_cloudinitConfig_interfaces_inner_ipv4(
|
|
47
|
+
gateway_addr = 'example string',
|
|
48
|
+
ip_addr = 'example string',
|
|
49
|
+
type = 'example string', ),
|
|
50
|
+
ipv6 = graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner_ipv4._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_cloudinitConfig_interfaces_inner_ipv4(
|
|
51
|
+
gateway_addr = 'example string',
|
|
52
|
+
ip_addr = 'example string',
|
|
53
|
+
type = 'example string', ),
|
|
54
|
+
name = 'example string',
|
|
55
|
+
type = 'example string', )
|
|
56
|
+
],
|
|
57
|
+
local_web_password = 'example string', ),
|
|
58
|
+
device_id = 1234567891011,
|
|
59
|
+
device_serial = 'example string',
|
|
60
|
+
name = 'example string',
|
|
61
|
+
role = 'ENUM_VALUE',
|
|
62
|
+
token = graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_token._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_token(
|
|
63
|
+
created_by_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
64
|
+
nanos = 123,
|
|
65
|
+
seconds = 1234567891011, ),
|
|
66
|
+
expiry_by_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
67
|
+
nanos = 123,
|
|
68
|
+
seconds = 1234567891011, ), ), )
|
|
69
|
+
]
|
|
70
|
+
)
|
|
71
|
+
else:
|
|
72
|
+
return V1OnboardingCloudinitGet200Response(
|
|
73
|
+
)
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
def testV1OnboardingCloudinitGet200Response(self):
|
|
77
|
+
"""Test V1OnboardingCloudinitGet200Response"""
|
|
78
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
79
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
80
|
+
|
|
81
|
+
if __name__ == '__main__':
|
|
82
|
+
unittest.main()
|