graphiant-sdk 25.12.1__py3-none-any.whl → 26.1.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.
Files changed (56) hide show
  1. graphiant_sdk/__init__.py +2982 -1471
  2. graphiant_sdk/api/default_api.py +1712 -23
  3. graphiant_sdk/api_client.py +16 -9
  4. graphiant_sdk/configuration.py +9 -3
  5. graphiant_sdk/exceptions.py +6 -3
  6. graphiant_sdk/models/__init__.py +19 -1
  7. graphiant_sdk/models/assurance_dns_proxy_entry.py +97 -0
  8. graphiant_sdk/models/iam_customer.py +6 -2
  9. graphiant_sdk/models/mana_v2_b2b_extranet_service_customer_match_details.py +15 -2
  10. graphiant_sdk/models/mana_v2_device.py +7 -1
  11. graphiant_sdk/models/mana_v2_edge_device_config.py +7 -1
  12. graphiant_sdk/models/mana_v2_interface.py +7 -1
  13. graphiant_sdk/models/mana_v2_interface_config.py +7 -1
  14. graphiant_sdk/models/mana_v2_interface_ma_csec.py +115 -0
  15. graphiant_sdk/models/mana_v2_lag_interface_config.py +7 -1
  16. graphiant_sdk/models/mana_v2_ma_csec_configuration.py +150 -0
  17. graphiant_sdk/models/mana_v2_nullable_ma_csec_configuration.py +91 -0
  18. graphiant_sdk/models/mana_v2_nullable_psk_configuration.py +91 -0
  19. graphiant_sdk/models/mana_v2_nullable_sak_configuration.py +91 -0
  20. graphiant_sdk/models/mana_v2_nullable_sla_conformance.py +91 -0
  21. graphiant_sdk/models/mana_v2_psk_configuration.py +99 -0
  22. graphiant_sdk/models/mana_v2_sak_configuration.py +93 -0
  23. graphiant_sdk/models/mana_v2_sla_conformance.py +91 -0
  24. graphiant_sdk/models/v1_auth_login_post_response.py +10 -2
  25. graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_prefixes_put_request.py +95 -0
  26. graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_prefixes_put_response.py +87 -0
  27. graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request.py +89 -0
  28. graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response.py +87 -0
  29. graphiant_sdk/models/v2_assurance_create_dnsproxy_entry_post_request.py +91 -0
  30. graphiant_sdk/models/v2_assurance_create_dnsproxy_entry_post_response.py +87 -0
  31. graphiant_sdk/models/v2_assurance_read_dnsproxy_list_get_response.py +95 -0
  32. graphiant_sdk/models/v2_assurance_update_dnsproxy_entry_post_request.py +91 -0
  33. graphiant_sdk/rest.py +7 -2
  34. {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/METADATA +5 -3
  35. {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/RECORD +56 -20
  36. {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/WHEEL +1 -1
  37. test/test_assurance_dns_proxy_entry.py +70 -0
  38. test/test_mana_v2_interface_ma_csec.py +72 -0
  39. test/test_mana_v2_ma_csec_configuration.py +124 -0
  40. test/test_mana_v2_nullable_ma_csec_configuration.py +90 -0
  41. test/test_mana_v2_nullable_psk_configuration.py +58 -0
  42. test/test_mana_v2_nullable_sak_configuration.py +55 -0
  43. test/test_mana_v2_nullable_sla_conformance.py +54 -0
  44. test/test_mana_v2_psk_configuration.py +57 -0
  45. test/test_mana_v2_sak_configuration.py +54 -0
  46. test/test_mana_v2_sla_conformance.py +53 -0
  47. test/test_v1_extranets_b2b_peering_consumer_id_prefixes_put_request.py +60 -0
  48. test/test_v1_extranets_b2b_peering_consumer_id_prefixes_put_response.py +51 -0
  49. test/test_v1_extranets_b2b_peering_match_service_to_customer_service_status_put_request.py +54 -0
  50. test/test_v1_extranets_b2b_peering_match_service_to_customer_service_status_put_response.py +51 -0
  51. test/test_v2_assurance_create_dnsproxy_entry_post_request.py +61 -0
  52. test/test_v2_assurance_create_dnsproxy_entry_post_response.py +51 -0
  53. test/test_v2_assurance_read_dnsproxy_list_get_response.py +63 -0
  54. test/test_v2_assurance_update_dnsproxy_entry_post_request.py +61 -0
  55. {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/licenses/LICENSE +0 -0
  56. {graphiant_sdk-25.12.1.dist-info → graphiant_sdk-26.1.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,90 @@
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.mana_v2_nullable_ma_csec_configuration import ManaV2NullableMaCsecConfiguration
18
+
19
+ class TestManaV2NullableMaCsecConfiguration(unittest.TestCase):
20
+ """ManaV2NullableMaCsecConfiguration 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) -> ManaV2NullableMaCsecConfiguration:
29
+ """Test ManaV2NullableMaCsecConfiguration
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 `ManaV2NullableMaCsecConfiguration`
34
+ """
35
+ model = ManaV2NullableMaCsecConfiguration()
36
+ if include_optional:
37
+ return ManaV2NullableMaCsecConfiguration(
38
+ macsec = graphiant_sdk.models.mana_v2_ma_csec_configuration.manaV2MaCsecConfiguration(
39
+ enabled = True,
40
+ encryption_enforcement_mode = 'MACSEC_ENFORCEMENT_MODE_SHOULD_ENCRYPT',
41
+ global_sak_configuration = graphiant_sdk.models.mana_v2_nullable_sak_configuration.manaV2NullableSakConfiguration(
42
+ sak = graphiant_sdk.models.mana_v2_sak_configuration.manaV2SakConfiguration(
43
+ cipher_suite = 'ENUM_VALUE',
44
+ lag_member_interface_id = 1,
45
+ rekey_interval = 1000,
46
+ replay_protection_window_size = 1000, ), ),
47
+ key_server_priority = 255,
48
+ psk_configurations = [
49
+ graphiant_sdk.models.mana_v2_psk_configuration.manaV2PskConfiguration(
50
+ cak = '1234567890abcdef1234567890abcdef',
51
+ cak_cryptographic_algorithm = 'AES_128_CMAC',
52
+ ckn = 'Corp-MACsec-CKN',
53
+ nickname = 'PSK1',
54
+ start_time = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp(
55
+ nanos = 123,
56
+ seconds = 1234567891011, ), )
57
+ ],
58
+ psk_configurations_by_nickname = {
59
+ 'key' : graphiant_sdk.models.mana_v2_nullable_psk_configuration.manaV2NullablePskConfiguration(
60
+ psk = graphiant_sdk.models.mana_v2_psk_configuration.manaV2PskConfiguration(
61
+ cak = '1234567890abcdef1234567890abcdef',
62
+ cak_cryptographic_algorithm = 'AES_128_CMAC',
63
+ ckn = 'Corp-MACsec-CKN',
64
+ nickname = 'PSK1', ), )
65
+ },
66
+ sak_configurations = [
67
+ graphiant_sdk.models.mana_v2_sak_configuration.manaV2SakConfiguration(
68
+ cipher_suite = 'ENUM_VALUE',
69
+ lag_member_interface_id = 1,
70
+ rekey_interval = 1000,
71
+ replay_protection_window_size = 1000, )
72
+ ],
73
+ sak_configurations_by_lag_member_interface_id = {
74
+ 'key' : graphiant_sdk.models.mana_v2_nullable_sak_configuration.manaV2NullableSakConfiguration()
75
+ },
76
+ split_sak_config_by_lag_member = True,
77
+ transparent_vlan = True, )
78
+ )
79
+ else:
80
+ return ManaV2NullableMaCsecConfiguration(
81
+ )
82
+ """
83
+
84
+ def testManaV2NullableMaCsecConfiguration(self):
85
+ """Test ManaV2NullableMaCsecConfiguration"""
86
+ # inst_req_only = self.make_instance(include_optional=False)
87
+ # inst_req_and_optional = self.make_instance(include_optional=True)
88
+
89
+ if __name__ == '__main__':
90
+ unittest.main()
@@ -0,0 +1,58 @@
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.mana_v2_nullable_psk_configuration import ManaV2NullablePskConfiguration
18
+
19
+ class TestManaV2NullablePskConfiguration(unittest.TestCase):
20
+ """ManaV2NullablePskConfiguration 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) -> ManaV2NullablePskConfiguration:
29
+ """Test ManaV2NullablePskConfiguration
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 `ManaV2NullablePskConfiguration`
34
+ """
35
+ model = ManaV2NullablePskConfiguration()
36
+ if include_optional:
37
+ return ManaV2NullablePskConfiguration(
38
+ psk = graphiant_sdk.models.mana_v2_psk_configuration.manaV2PskConfiguration(
39
+ cak = '1234567890abcdef1234567890abcdef',
40
+ cak_cryptographic_algorithm = 'AES_128_CMAC',
41
+ ckn = 'Corp-MACsec-CKN',
42
+ nickname = 'PSK1',
43
+ start_time = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp(
44
+ nanos = 123,
45
+ seconds = 1234567891011, ), )
46
+ )
47
+ else:
48
+ return ManaV2NullablePskConfiguration(
49
+ )
50
+ """
51
+
52
+ def testManaV2NullablePskConfiguration(self):
53
+ """Test ManaV2NullablePskConfiguration"""
54
+ # inst_req_only = self.make_instance(include_optional=False)
55
+ # inst_req_and_optional = self.make_instance(include_optional=True)
56
+
57
+ if __name__ == '__main__':
58
+ 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.mana_v2_nullable_sak_configuration import ManaV2NullableSakConfiguration
18
+
19
+ class TestManaV2NullableSakConfiguration(unittest.TestCase):
20
+ """ManaV2NullableSakConfiguration 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) -> ManaV2NullableSakConfiguration:
29
+ """Test ManaV2NullableSakConfiguration
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 `ManaV2NullableSakConfiguration`
34
+ """
35
+ model = ManaV2NullableSakConfiguration()
36
+ if include_optional:
37
+ return ManaV2NullableSakConfiguration(
38
+ sak = graphiant_sdk.models.mana_v2_sak_configuration.manaV2SakConfiguration(
39
+ cipher_suite = 'ENUM_VALUE',
40
+ lag_member_interface_id = 1,
41
+ rekey_interval = 1000,
42
+ replay_protection_window_size = 1000, )
43
+ )
44
+ else:
45
+ return ManaV2NullableSakConfiguration(
46
+ )
47
+ """
48
+
49
+ def testManaV2NullableSakConfiguration(self):
50
+ """Test ManaV2NullableSakConfiguration"""
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,54 @@
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.mana_v2_nullable_sla_conformance import ManaV2NullableSlaConformance
18
+
19
+ class TestManaV2NullableSlaConformance(unittest.TestCase):
20
+ """ManaV2NullableSlaConformance 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) -> ManaV2NullableSlaConformance:
29
+ """Test ManaV2NullableSlaConformance
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 `ManaV2NullableSlaConformance`
34
+ """
35
+ model = ManaV2NullableSlaConformance()
36
+ if include_optional:
37
+ return ManaV2NullableSlaConformance(
38
+ sla_conformance = graphiant_sdk.models.mana_v2_sla_conformance.manaV2SlaConformance(
39
+ dampening_factor = 1234567891011,
40
+ duration = 1234567891011,
41
+ interval = 1234567891011, )
42
+ )
43
+ else:
44
+ return ManaV2NullableSlaConformance(
45
+ )
46
+ """
47
+
48
+ def testManaV2NullableSlaConformance(self):
49
+ """Test ManaV2NullableSlaConformance"""
50
+ # inst_req_only = self.make_instance(include_optional=False)
51
+ # inst_req_and_optional = self.make_instance(include_optional=True)
52
+
53
+ if __name__ == '__main__':
54
+ unittest.main()
@@ -0,0 +1,57 @@
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.mana_v2_psk_configuration import ManaV2PskConfiguration
18
+
19
+ class TestManaV2PskConfiguration(unittest.TestCase):
20
+ """ManaV2PskConfiguration 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) -> ManaV2PskConfiguration:
29
+ """Test ManaV2PskConfiguration
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 `ManaV2PskConfiguration`
34
+ """
35
+ model = ManaV2PskConfiguration()
36
+ if include_optional:
37
+ return ManaV2PskConfiguration(
38
+ cak = '1234567890abcdef1234567890abcdef',
39
+ cak_cryptographic_algorithm = 'AES_128_CMAC',
40
+ ckn = 'Corp-MACsec-CKN',
41
+ nickname = 'PSK1',
42
+ start_time = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp(
43
+ nanos = 123,
44
+ seconds = 1234567891011, )
45
+ )
46
+ else:
47
+ return ManaV2PskConfiguration(
48
+ )
49
+ """
50
+
51
+ def testManaV2PskConfiguration(self):
52
+ """Test ManaV2PskConfiguration"""
53
+ # inst_req_only = self.make_instance(include_optional=False)
54
+ # inst_req_and_optional = self.make_instance(include_optional=True)
55
+
56
+ if __name__ == '__main__':
57
+ unittest.main()
@@ -0,0 +1,54 @@
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.mana_v2_sak_configuration import ManaV2SakConfiguration
18
+
19
+ class TestManaV2SakConfiguration(unittest.TestCase):
20
+ """ManaV2SakConfiguration 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) -> ManaV2SakConfiguration:
29
+ """Test ManaV2SakConfiguration
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 `ManaV2SakConfiguration`
34
+ """
35
+ model = ManaV2SakConfiguration()
36
+ if include_optional:
37
+ return ManaV2SakConfiguration(
38
+ cipher_suite = 'ENUM_VALUE',
39
+ lag_member_interface_id = 1,
40
+ rekey_interval = 1000,
41
+ replay_protection_window_size = 1000
42
+ )
43
+ else:
44
+ return ManaV2SakConfiguration(
45
+ )
46
+ """
47
+
48
+ def testManaV2SakConfiguration(self):
49
+ """Test ManaV2SakConfiguration"""
50
+ # inst_req_only = self.make_instance(include_optional=False)
51
+ # inst_req_and_optional = self.make_instance(include_optional=True)
52
+
53
+ if __name__ == '__main__':
54
+ 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.mana_v2_sla_conformance import ManaV2SlaConformance
18
+
19
+ class TestManaV2SlaConformance(unittest.TestCase):
20
+ """ManaV2SlaConformance 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) -> ManaV2SlaConformance:
29
+ """Test ManaV2SlaConformance
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 `ManaV2SlaConformance`
34
+ """
35
+ model = ManaV2SlaConformance()
36
+ if include_optional:
37
+ return ManaV2SlaConformance(
38
+ dampening_factor = 1234567891011,
39
+ duration = 1234567891011,
40
+ interval = 1234567891011
41
+ )
42
+ else:
43
+ return ManaV2SlaConformance(
44
+ )
45
+ """
46
+
47
+ def testManaV2SlaConformance(self):
48
+ """Test ManaV2SlaConformance"""
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,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_extranets_b2b_peering_consumer_id_prefixes_put_request import V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
18
+
19
+ class TestV1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest(unittest.TestCase):
20
+ """V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest 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) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest:
29
+ """Test V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest
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 `V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest`
34
+ """
35
+ model = V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest()
36
+ if include_optional:
37
+ return V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest(
38
+ service_prefixes = [
39
+ graphiant_sdk.models.mana_v2_b2b_nat.manaV2B2bNat(
40
+ outside_nat_prefix = '100.1.2.0/24',
41
+ prefix = '10.1.2.0/24', )
42
+ ]
43
+ )
44
+ else:
45
+ return V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest(
46
+ service_prefixes = [
47
+ graphiant_sdk.models.mana_v2_b2b_nat.manaV2B2bNat(
48
+ outside_nat_prefix = '100.1.2.0/24',
49
+ prefix = '10.1.2.0/24', )
50
+ ],
51
+ )
52
+ """
53
+
54
+ def testV1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest(self):
55
+ """Test V1ExtranetsB2bPeeringConsumerIdPrefixesPutRequest"""
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,51 @@
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_extranets_b2b_peering_consumer_id_prefixes_put_response import V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse
18
+
19
+ class TestV1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse(unittest.TestCase):
20
+ """V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse 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) -> V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse:
29
+ """Test V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse
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 `V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse`
34
+ """
35
+ model = V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse()
36
+ if include_optional:
37
+ return V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse(
38
+ consumer_activiy_id = 'example string'
39
+ )
40
+ else:
41
+ return V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse(
42
+ )
43
+ """
44
+
45
+ def testV1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse(self):
46
+ """Test V1ExtranetsB2bPeeringConsumerIdPrefixesPutResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,54 @@
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_extranets_b2b_peering_match_service_to_customer_service_status_put_request import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
18
+
19
+ class TestV1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest(unittest.TestCase):
20
+ """V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest 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) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest:
29
+ """Test V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest
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 `V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest`
34
+ """
35
+ model = V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest()
36
+ if include_optional:
37
+ return V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest(
38
+ id = 1234567891011,
39
+ status = 'B2B_PEERING_SERVICE_STATUS_PAUSED'
40
+ )
41
+ else:
42
+ return V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest(
43
+ id = 1234567891011,
44
+ status = 'B2B_PEERING_SERVICE_STATUS_PAUSED',
45
+ )
46
+ """
47
+
48
+ def testV1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest(self):
49
+ """Test V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutRequest"""
50
+ # inst_req_only = self.make_instance(include_optional=False)
51
+ # inst_req_and_optional = self.make_instance(include_optional=True)
52
+
53
+ if __name__ == '__main__':
54
+ unittest.main()
@@ -0,0 +1,51 @@
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_extranets_b2b_peering_match_service_to_customer_service_status_put_response import V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse
18
+
19
+ class TestV1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse(unittest.TestCase):
20
+ """V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse 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) -> V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse:
29
+ """Test V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse
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 `V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse`
34
+ """
35
+ model = V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse()
36
+ if include_optional:
37
+ return V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse(
38
+ status = 'ENUM_VALUE'
39
+ )
40
+ else:
41
+ return V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse(
42
+ )
43
+ """
44
+
45
+ def testV1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse(self):
46
+ """Test V1ExtranetsB2bPeeringMatchServiceToCustomerServiceStatusPutResponse"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()