graphiant-sdk 25.7.1__py3-none-any.whl → 25.8.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 +21 -6
- graphiant_sdk/api/default_api.py +15423 -9804
- graphiant_sdk/api_client.py +1 -1
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +20 -5
- graphiant_sdk/models/v1_auth_mfa_patch_request.py +87 -0
- graphiant_sdk/models/v1_backbone_health_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v1_bwtracker_enterprise_details_post200_response_bwusage_details.py +11 -2
- 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_devices_device_id_config_put_request_edge_interfaces_value_interface.py +6 -2
- graphiant_sdk/models/v1_devices_running_version_post200_response_versions_inner.py +3 -3
- graphiant_sdk/models/v1_devices_upgrade_schedule_put_request.py +14 -4
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary.py +17 -5
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version.py +91 -0
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_schedule.py +3 -3
- 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_id_sites_get200_response_entries_inner.py +3 -3
- 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_groups_id_members_get200_response_users_inner.py +7 -1
- graphiant_sdk/models/v1_groups_id_members_post_request.py +5 -3
- 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.py +7 -7
- 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/v1_software_releases_summary_get200_response_summaries_inner.py +6 -1
- graphiant_sdk/models/v1_troubleshooting_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v2_assistant_add_to_conversation_post200_response.py +4 -2
- graphiant_sdk/models/v2_assistant_conversation_context_history_post_request.py +87 -0
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response.py +5 -3
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response_conversation_list_inner.py +5 -3
- graphiant_sdk-25.8.1.dist-info/METADATA +384 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.8.1.dist-info}/RECORD +66 -26
- 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.8.1.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.8.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.7.1.dist-info → graphiant_sdk-25.8.1.dist-info}/top_level.txt +0 -0
|
@@ -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()
|
|
@@ -0,0 +1,79 @@
|
|
|
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_cloudinit_tokens_inner import V1OnboardingCloudinitGet200ResponseCloudinitTokensInner
|
|
18
|
+
|
|
19
|
+
class TestV1OnboardingCloudinitGet200ResponseCloudinitTokensInner(unittest.TestCase):
|
|
20
|
+
"""V1OnboardingCloudinitGet200ResponseCloudinitTokensInner 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) -> V1OnboardingCloudinitGet200ResponseCloudinitTokensInner:
|
|
29
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInner
|
|
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 `V1OnboardingCloudinitGet200ResponseCloudinitTokensInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1OnboardingCloudinitGet200ResponseCloudinitTokensInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInner(
|
|
38
|
+
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(
|
|
39
|
+
device_type = 'example string',
|
|
40
|
+
dns_servers = 'example string',
|
|
41
|
+
hostname = 'example string',
|
|
42
|
+
interfaces = [
|
|
43
|
+
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(
|
|
44
|
+
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(
|
|
45
|
+
gateway_addr = 'example string',
|
|
46
|
+
ip_addr = 'example string',
|
|
47
|
+
type = 'example string', ),
|
|
48
|
+
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(
|
|
49
|
+
gateway_addr = 'example string',
|
|
50
|
+
ip_addr = 'example string',
|
|
51
|
+
type = 'example string', ),
|
|
52
|
+
name = 'example string',
|
|
53
|
+
type = 'example string', )
|
|
54
|
+
],
|
|
55
|
+
local_web_password = 'example string', ),
|
|
56
|
+
device_id = 1234567891011,
|
|
57
|
+
device_serial = 'example string',
|
|
58
|
+
name = 'example string',
|
|
59
|
+
role = 'ENUM_VALUE',
|
|
60
|
+
token = graphiant_sdk.models._v1_onboarding_cloudinit_get_200_response_cloudinit_tokens_inner_token._v1_onboarding_cloudinit_get_200_response_cloudinitTokens_inner_token(
|
|
61
|
+
created_by_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
62
|
+
nanos = 123,
|
|
63
|
+
seconds = 1234567891011, ),
|
|
64
|
+
expiry_by_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
65
|
+
nanos = 123,
|
|
66
|
+
seconds = 1234567891011, ), )
|
|
67
|
+
)
|
|
68
|
+
else:
|
|
69
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInner(
|
|
70
|
+
)
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
def testV1OnboardingCloudinitGet200ResponseCloudinitTokensInner(self):
|
|
74
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInner"""
|
|
75
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
76
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
77
|
+
|
|
78
|
+
if __name__ == '__main__':
|
|
79
|
+
unittest.main()
|
|
@@ -0,0 +1,67 @@
|
|
|
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_cloudinit_tokens_inner_cloudinit_config import V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig
|
|
18
|
+
|
|
19
|
+
class TestV1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig(unittest.TestCase):
|
|
20
|
+
"""V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig 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) -> V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig:
|
|
29
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig
|
|
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 `V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig`
|
|
34
|
+
"""
|
|
35
|
+
model = V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig(
|
|
38
|
+
device_type = 'example string',
|
|
39
|
+
dns_servers = 'example string',
|
|
40
|
+
hostname = 'example string',
|
|
41
|
+
interfaces = [
|
|
42
|
+
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(
|
|
43
|
+
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(
|
|
44
|
+
gateway_addr = 'example string',
|
|
45
|
+
ip_addr = 'example string',
|
|
46
|
+
type = 'example string', ),
|
|
47
|
+
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(
|
|
48
|
+
gateway_addr = 'example string',
|
|
49
|
+
ip_addr = 'example string',
|
|
50
|
+
type = 'example string', ),
|
|
51
|
+
name = 'example string',
|
|
52
|
+
type = 'example string', )
|
|
53
|
+
],
|
|
54
|
+
local_web_password = 'example string'
|
|
55
|
+
)
|
|
56
|
+
else:
|
|
57
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig(
|
|
58
|
+
)
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
def testV1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig(self):
|
|
62
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfig"""
|
|
63
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
64
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
65
|
+
|
|
66
|
+
if __name__ == '__main__':
|
|
67
|
+
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_onboarding_cloudinit_get200_response_cloudinit_tokens_inner_cloudinit_config_interfaces_inner import V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner
|
|
18
|
+
|
|
19
|
+
class TestV1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner(unittest.TestCase):
|
|
20
|
+
"""V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner 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) -> V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner:
|
|
29
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner
|
|
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 `V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner(
|
|
38
|
+
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(
|
|
39
|
+
gateway_addr = 'example string',
|
|
40
|
+
ip_addr = 'example string',
|
|
41
|
+
type = 'example string', ),
|
|
42
|
+
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(
|
|
43
|
+
gateway_addr = 'example string',
|
|
44
|
+
ip_addr = 'example string',
|
|
45
|
+
type = 'example string', ),
|
|
46
|
+
name = 'example string',
|
|
47
|
+
type = 'example string'
|
|
48
|
+
)
|
|
49
|
+
else:
|
|
50
|
+
return V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner(
|
|
51
|
+
)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def testV1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner(self):
|
|
55
|
+
"""Test V1OnboardingCloudinitGet200ResponseCloudinitTokensInnerCloudinitConfigInterfacesInner"""
|
|
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()
|