graphiant-sdk 25.10.1__py3-none-any.whl → 25.10.2__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 +62 -1290
- graphiant_sdk/api/__init__.py +1 -16
- graphiant_sdk/api/default_api.py +6589 -7804
- graphiant_sdk/api_client.py +5 -5
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +31 -1246
- graphiant_sdk/models/v1_auth_login_temp_post_request.py +6 -4
- graphiant_sdk/models/v1_devices_device_id_config_put_request_core_core_vrf_bgp_neighbors_value_neighbor.py +6 -6
- graphiant_sdk/models/v1_devices_device_id_config_put_request_core_core_vrf_bgp_redistribution_value.py +3 -3
- graphiant_sdk/models/v1_devices_device_id_config_put_request_edge_site_to_site_vpn_value_site_to_site_vpn.py +3 -3
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response.py +166 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_ipsec_tunnel_config_inner.py +150 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_customer.py +94 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service_prefixes_inner.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_match_details_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post200_response.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py +140 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_global_object_ops_value.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_policy_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +117 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +97 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +115 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family.py +98 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +7 -5
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service.py +112 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request_service_service_prefixes_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response_info_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request_policy.py +19 -4
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy.py +33 -4
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy_global_object_device_summaries_value.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy_global_object_device_summaries_value_routing_policies_inner.py +114 -0
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner.py +3 -3
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_region.py +5 -3
- graphiant_sdk/models/v1_gateways_guest_consumer_match_id_get200_response.py +103 -0
- graphiant_sdk/models/v1_gateways_put_request_details.py +3 -3
- graphiant_sdk/models/v1_global_config_patch_request_snmps_value_config_notify_filter_profiles_value_notify_filter_profile.py +3 -3
- graphiant_sdk/models/v1_invitation_email_post_request.py +3 -1
- graphiant_sdk/models/v1_temp_password_put_request.py +4 -2
- graphiant_sdk/models/v2_assistant_conversation_interface_state_get200_response.py +87 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/METADATA +3 -4
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/RECORD +84 -24
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response.py +224 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_ipsec_tunnel_config_inner.py +82 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_customer.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service.py +57 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service_prefixes_inner.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_match_details_get200_response.py +77 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post200_response.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request.py +130 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_global_object_ops_value.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_policy_inner.py +54 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn.py +92 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +87 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +69 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +64 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family.py +55 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +51 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_match_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +54 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service.py +63 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post_request_service_service_prefixes_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_producer_id_matching_customers_summary_get200_response_info_inner.py +61 -0
- test/test_v1_extranets_b2b_post_request_policy_global_object_device_summaries_value.py +67 -0
- test/test_v1_extranets_b2b_post_request_policy_global_object_device_summaries_value_routing_policies_inner.py +64 -0
- test/test_v1_gateways_guest_consumer_match_id_get200_response.py +131 -0
- test/test_v2_assistant_conversation_interface_state_get200_response.py +51 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.10.1.dist-info → graphiant_sdk-25.10.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
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_customer_id_consumer_details_get200_response_match_details import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails 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) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails
|
|
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 `V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails(
|
|
38
|
+
consumer_prefixes = [
|
|
39
|
+
'example string'
|
|
40
|
+
],
|
|
41
|
+
customer = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_customer._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_customer(
|
|
42
|
+
company_name = 'example string',
|
|
43
|
+
emails = [
|
|
44
|
+
'example string'
|
|
45
|
+
],
|
|
46
|
+
id = 1234567891011,
|
|
47
|
+
num_sites = 123, ),
|
|
48
|
+
service = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_service._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_service(
|
|
49
|
+
company_name = 'example string',
|
|
50
|
+
contact_email = [
|
|
51
|
+
'example string'
|
|
52
|
+
],
|
|
53
|
+
description = 'example string',
|
|
54
|
+
id = 1234567891011,
|
|
55
|
+
service_name = 'example string', ),
|
|
56
|
+
service_prefixes = [
|
|
57
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_service_prefixes_inner._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_servicePrefixes_inner(
|
|
58
|
+
customer_translated_prefix = 'example string',
|
|
59
|
+
prefix = 'example string',
|
|
60
|
+
tag = 'example string', )
|
|
61
|
+
]
|
|
62
|
+
)
|
|
63
|
+
else:
|
|
64
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails(
|
|
65
|
+
)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def testV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails(self):
|
|
69
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetails"""
|
|
70
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
71
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
72
|
+
|
|
73
|
+
if __name__ == '__main__':
|
|
74
|
+
unittest.main()
|
|
@@ -0,0 +1,56 @@
|
|
|
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_customer_id_consumer_details_get200_response_match_details_customer import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer 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) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer
|
|
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 `V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer(
|
|
38
|
+
company_name = 'example string',
|
|
39
|
+
emails = [
|
|
40
|
+
'example string'
|
|
41
|
+
],
|
|
42
|
+
id = 1234567891011,
|
|
43
|
+
num_sites = 123
|
|
44
|
+
)
|
|
45
|
+
else:
|
|
46
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer(
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
def testV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer(self):
|
|
51
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsCustomer"""
|
|
52
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
53
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
54
|
+
|
|
55
|
+
if __name__ == '__main__':
|
|
56
|
+
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.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService 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) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService
|
|
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 `V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService(
|
|
38
|
+
company_name = 'example string',
|
|
39
|
+
contact_email = [
|
|
40
|
+
'example string'
|
|
41
|
+
],
|
|
42
|
+
description = 'example string',
|
|
43
|
+
id = 1234567891011,
|
|
44
|
+
service_name = 'example string'
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService(
|
|
48
|
+
)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def testV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService(self):
|
|
52
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsService"""
|
|
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,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_extranets_b2b_peering_consumer_customer_id_consumer_details_get200_response_match_details_service_prefixes_inner import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner 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) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner
|
|
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 `V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner(
|
|
38
|
+
customer_translated_prefix = 'example string',
|
|
39
|
+
prefix = 'example string',
|
|
40
|
+
tag = 'example string'
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner(self):
|
|
48
|
+
"""Test V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGet200ResponseMatchDetailsServicePrefixesInner"""
|
|
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,77 @@
|
|
|
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_match_id_match_details_get200_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response 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) -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response(
|
|
38
|
+
details = [
|
|
39
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails(
|
|
40
|
+
consumer_prefixes = [
|
|
41
|
+
'example string'
|
|
42
|
+
],
|
|
43
|
+
customer = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_customer._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_customer(
|
|
44
|
+
company_name = 'example string',
|
|
45
|
+
emails = [
|
|
46
|
+
'example string'
|
|
47
|
+
],
|
|
48
|
+
id = 1234567891011,
|
|
49
|
+
num_sites = 123, ),
|
|
50
|
+
service = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_service._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_service(
|
|
51
|
+
company_name = 'example string',
|
|
52
|
+
contact_email = [
|
|
53
|
+
'example string'
|
|
54
|
+
],
|
|
55
|
+
description = 'example string',
|
|
56
|
+
id = 1234567891011,
|
|
57
|
+
service_name = 'example string', ),
|
|
58
|
+
service_prefixes = [
|
|
59
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_consumer__customer_id__consumer_details_get_200_response_match_details_service_prefixes_inner._v1_extranets_b2b_peering_consumer__customerId__consumer_details_get_200_response_matchDetails_servicePrefixes_inner(
|
|
60
|
+
customer_translated_prefix = 'example string',
|
|
61
|
+
prefix = 'example string',
|
|
62
|
+
tag = 'example string', )
|
|
63
|
+
], )
|
|
64
|
+
]
|
|
65
|
+
)
|
|
66
|
+
else:
|
|
67
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response(
|
|
68
|
+
)
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response(self):
|
|
72
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGet200Response"""
|
|
73
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
74
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
75
|
+
|
|
76
|
+
if __name__ == '__main__':
|
|
77
|
+
unittest.main()
|
|
@@ -0,0 +1,74 @@
|
|
|
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_match_id_post200_response import V1ExtranetsB2bPeeringConsumerMatchIdPost200Response
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPost200Response(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPost200Response 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPost200Response:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPost200Response
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPost200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPost200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPost200Response(
|
|
38
|
+
id = 1234567891011,
|
|
39
|
+
lan_segment = 1234567891011,
|
|
40
|
+
nat = [
|
|
41
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner._v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner(
|
|
42
|
+
outside_nat_prefix = 'example string',
|
|
43
|
+
prefix = 'example string', )
|
|
44
|
+
],
|
|
45
|
+
site_information = [
|
|
46
|
+
graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner._v1_extranets_b2b_consumer_post_request_siteInformation_inner(
|
|
47
|
+
bw_allocation_site_lists = 123,
|
|
48
|
+
bw_allocation_sites = 123,
|
|
49
|
+
policer_site_lists = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
50
|
+
burst_size = 123,
|
|
51
|
+
bw = 123, ),
|
|
52
|
+
policer_sites = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
53
|
+
burst_size = 123,
|
|
54
|
+
bw = 123, ),
|
|
55
|
+
site_lists = [
|
|
56
|
+
1234567891011
|
|
57
|
+
],
|
|
58
|
+
sites = [
|
|
59
|
+
1234567891011
|
|
60
|
+
], )
|
|
61
|
+
]
|
|
62
|
+
)
|
|
63
|
+
else:
|
|
64
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPost200Response(
|
|
65
|
+
)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPost200Response(self):
|
|
69
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPost200Response"""
|
|
70
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
71
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
72
|
+
|
|
73
|
+
if __name__ == '__main__':
|
|
74
|
+
unittest.main()
|
|
@@ -0,0 +1,130 @@
|
|
|
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_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequest(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequest 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequest:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequest
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequest(
|
|
38
|
+
customer_id = 1234567891011,
|
|
39
|
+
global_object_ops = {
|
|
40
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_global_object_ops_value._v1_extranets_b2b_peering_consumer__matchId__post_request_globalObjectOps_value(
|
|
41
|
+
routing_policy_ops = {
|
|
42
|
+
'key' : 'ENUM_VALUE'
|
|
43
|
+
}, )
|
|
44
|
+
},
|
|
45
|
+
id = 1234567891011,
|
|
46
|
+
nat = [
|
|
47
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner._v1_extranets_b2b_peering_match_service_to_customer_post_request_service_nat_inner(
|
|
48
|
+
outside_nat_prefix = 'example string',
|
|
49
|
+
prefix = 'example string', )
|
|
50
|
+
],
|
|
51
|
+
policy = [
|
|
52
|
+
graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_policy_inner._v1_extranets_b2b_peering_consumer__matchId__post_request_policy_inner(
|
|
53
|
+
consumer_prefixes = [
|
|
54
|
+
'example string'
|
|
55
|
+
],
|
|
56
|
+
lan_segment = 1234567891011, )
|
|
57
|
+
],
|
|
58
|
+
site_information = [
|
|
59
|
+
graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner._v1_extranets_b2b_consumer_post_request_siteInformation_inner(
|
|
60
|
+
bw_allocation_site_lists = 123,
|
|
61
|
+
bw_allocation_sites = 123,
|
|
62
|
+
policer_site_lists = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
63
|
+
burst_size = 123,
|
|
64
|
+
bw = 123, ),
|
|
65
|
+
policer_sites = graphiant_sdk.models._v1_extranets_b2b_consumer_post_request_site_information_inner_policer_site_lists._v1_extranets_b2b_consumer_post_request_siteInformation_inner_policerSiteLists(
|
|
66
|
+
burst_size = 123,
|
|
67
|
+
bw = 123, ),
|
|
68
|
+
site_lists = [
|
|
69
|
+
1234567891011
|
|
70
|
+
],
|
|
71
|
+
sites = [
|
|
72
|
+
1234567891011
|
|
73
|
+
], )
|
|
74
|
+
],
|
|
75
|
+
site_to_site_vpn = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn(
|
|
76
|
+
emails = [
|
|
77
|
+
'example string'
|
|
78
|
+
],
|
|
79
|
+
ipsec_gateway_details = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails(
|
|
80
|
+
destination_address = 'example string',
|
|
81
|
+
ike_initiator = True,
|
|
82
|
+
mtu = 123,
|
|
83
|
+
name = 'example string',
|
|
84
|
+
remote_ike_peer_identity = 'example string',
|
|
85
|
+
routing = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing(
|
|
86
|
+
bgp = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp(
|
|
87
|
+
address_families = {
|
|
88
|
+
'key' : graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value(
|
|
89
|
+
family = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_address_families_value_family._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_addressFamilies_value_family(
|
|
90
|
+
address_family = 'ENUM_VALUE',
|
|
91
|
+
inbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
92
|
+
policy = 'example string', ),
|
|
93
|
+
outbound_policy = graphiant_sdk.models._v1_global_config_patch_request_routing_policies_value_policy_statements_value_statement_actions_value_action_call_policy._v1_global_config_patch_request_routingPolicies_value_policy_statements_value_statement_actions_value_action_callPolicy(
|
|
94
|
+
policy = 'example string', ), ), )
|
|
95
|
+
},
|
|
96
|
+
hold_timer = 123,
|
|
97
|
+
keepalive_timer = 123,
|
|
98
|
+
md5_password = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_bgp_md5Password(),
|
|
99
|
+
peer_asn = 123,
|
|
100
|
+
send_community = True, ),
|
|
101
|
+
static = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_routing_static._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_routing_static(
|
|
102
|
+
destination_prefix = [
|
|
103
|
+
'example string'
|
|
104
|
+
], ), ),
|
|
105
|
+
tcp_mss = 123,
|
|
106
|
+
tunnel1 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
107
|
+
inside_ipv4_cidr = 'example string',
|
|
108
|
+
inside_ipv6_cidr = 'example string',
|
|
109
|
+
local_ike_peer_identity = 'example string',
|
|
110
|
+
psk = 'example string', ),
|
|
111
|
+
tunnel2 = graphiant_sdk.models._v1_extranets_b2b_peering_consumer__match_id__post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1._v1_extranets_b2b_peering_consumer__matchId__post_request_siteToSiteVpn_ipsecGatewayDetails_tunnel1(
|
|
112
|
+
inside_ipv4_cidr = 'example string',
|
|
113
|
+
inside_ipv6_cidr = 'example string',
|
|
114
|
+
local_ike_peer_identity = 'example string',
|
|
115
|
+
psk = 'example string', ),
|
|
116
|
+
vpn_profile = 'example string', ),
|
|
117
|
+
region_id = 123, )
|
|
118
|
+
)
|
|
119
|
+
else:
|
|
120
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequest(
|
|
121
|
+
)
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequest(self):
|
|
125
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequest"""
|
|
126
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
127
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
128
|
+
|
|
129
|
+
if __name__ == '__main__':
|
|
130
|
+
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_extranets_b2b_peering_consumer_match_id_post_request_global_object_ops_value import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue(
|
|
38
|
+
routing_policy_ops = {
|
|
39
|
+
'key' : 'ENUM_VALUE'
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue(self):
|
|
48
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestGlobalObjectOpsValue"""
|
|
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,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_consumer_match_id_post_request_policy_inner import V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner 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) -> V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner:
|
|
29
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner
|
|
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 `V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner(
|
|
38
|
+
consumer_prefixes = [
|
|
39
|
+
'example string'
|
|
40
|
+
],
|
|
41
|
+
lan_segment = 1234567891011
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testV1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner(self):
|
|
49
|
+
"""Test V1ExtranetsB2bPeeringConsumerMatchIdPostRequestPolicyInner"""
|
|
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()
|