graphiant-sdk 25.8.1__py3-none-any.whl → 25.9.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 +3537 -1164
- graphiant_sdk/api/__init__.py +16 -1
- graphiant_sdk/api/default_api.py +8500 -6220
- graphiant_sdk/api_client.py +9 -2
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +1196 -13
- graphiant_sdk/models/{v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version.py → v1_diagnostic_reboot_device_id_put_request.py} +7 -11
- graphiant_sdk/models/v1_enterprise_allocation_get200_response_consumption_summary_global_summary.py +5 -1
- graphiant_sdk/models/{v1_extranet_sites_usage_post200_response.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py} +9 -9
- graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response_dl_agg_stats_inner.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py} +4 -4
- graphiant_sdk/models/{v1_extranet_sites_usage_post_request.py → v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py} +4 -4
- graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response_bwusage_summary.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py} +18 -21
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response_top_consumers_inner.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py} +4 -4
- graphiant_sdk/models/{v2_extranet_lan_segments_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py} +4 -4
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +115 -0
- graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post200_response_lan_segments_inner.py → v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py} +4 -4
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py} +17 -7
- graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response.py → v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py} +15 -11
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +100 -0
- graphiant_sdk/models/{v1_global_site_lists_id_sites_get200_response_entries_inner_tag_inner.py → v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py} +10 -12
- graphiant_sdk/models/{v2_extranet_service_overtime_consumption_post200_response.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py} +9 -9
- graphiant_sdk/models/{v2_extranet_sites_consumption_overview_post_request.py → v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py} +4 -4
- graphiant_sdk/models/{v2_assistant_conversation_context_history_post_request.py → v2_aggregated_notification_enable_disable_post_request.py} +4 -4
- graphiant_sdk/models/v2_aggregated_notification_get_state_get200_response.py +87 -0
- graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_id_record.py +13 -1
- graphiant_sdk/models/{v1_software_auto_upgrade_default_get200_response_details.py → v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py} +9 -15
- graphiant_sdk/models/v2_assurance_applicationdetailsbyname_post200_response_app_name_record.py +11 -1
- graphiant_sdk/models/v2_assurance_bucket_app_servers_post_request.py +3 -1
- graphiant_sdk/models/v2_assurance_bucket_apps_post200_response_apps_inner.py +7 -1
- graphiant_sdk/models/v2_assurance_bucket_apps_post_request.py +3 -1
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response.py → v2_assurance_bucket_services_post200_response.py} +15 -15
- graphiant_sdk/models/{v2_assurance_bucket_topologies_post_request.py → v2_assurance_bucket_services_post_request.py} +4 -4
- graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post200_response.py +3 -3
- graphiant_sdk/models/v2_extranet_sites_consumption_overview_post200_response.py +7 -7
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/METADATA +9 -20
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/RECORD +59 -41
- test/test_v1_diagnostic_reboot_device_id_put_request.py +51 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response.py +67 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner.py +55 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py +64 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response.py +58 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner.py +53 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py +61 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response.py +81 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner.py +57 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +65 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py +62 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +62 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py +54 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post200_response.py +66 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py +63 -0
- test/test_v2_aggregated_notification_enable_disable_post_request.py +51 -0
- test/test_v2_aggregated_notification_get_state_get200_response.py +51 -0
- test/test_v2_assurance_applicationdetailsbyname_post200_response_app_id_record_exchange_service_inner.py +52 -0
- test/test_v2_assurance_bucket_services_post200_response.py +55 -0
- test/test_v2_assurance_bucket_services_post_request.py +51 -0
- graphiant_sdk/models/v1_devices_device_id_staged_config_compare_get200_response.py +0 -87
- graphiant_sdk/models/v1_healthcheck_devices_get200_response.py +0 -95
- graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner.py +0 -124
- graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner_odp_status.py +0 -89
- graphiant_sdk/models/v1_healthcheck_devices_get200_response_details_inner_onboarding_status.py +0 -89
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.8.1.dist-info → graphiant_sdk-25.9.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post200_response_dl_stats_inner import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner 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) -> V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner(
|
|
38
|
+
avg_usage = 123.45,
|
|
39
|
+
peak_usage = 123.45,
|
|
40
|
+
ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
41
|
+
nanos = 123,
|
|
42
|
+
seconds = 1234567891011, )
|
|
43
|
+
)
|
|
44
|
+
else:
|
|
45
|
+
return V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner(
|
|
46
|
+
)
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def testV1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner(self):
|
|
50
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePost200ResponseDlStatsInner"""
|
|
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,64 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request import V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest 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) -> V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest(
|
|
38
|
+
id = 1234567891011,
|
|
39
|
+
is_b2_b = True,
|
|
40
|
+
is_provider = True,
|
|
41
|
+
service_id = 1234567891011,
|
|
42
|
+
site_id = 1234567891011,
|
|
43
|
+
time_window = graphiant_sdk.models._v2_notificationlist_post_request_time_window._v2_notificationlist_post_request_timeWindow(
|
|
44
|
+
bucket_size_sec = 123,
|
|
45
|
+
old_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
46
|
+
nanos = 123,
|
|
47
|
+
seconds = 1234567891011, ),
|
|
48
|
+
recent_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
49
|
+
nanos = 123,
|
|
50
|
+
seconds = 1234567891011, ), ),
|
|
51
|
+
vrf_id = 1234567891011
|
|
52
|
+
)
|
|
53
|
+
else:
|
|
54
|
+
return V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest(
|
|
55
|
+
)
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
def testV1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest(self):
|
|
59
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest"""
|
|
60
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
61
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
62
|
+
|
|
63
|
+
if __name__ == '__main__':
|
|
64
|
+
unittest.main()
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response(
|
|
38
|
+
top_consumers = [
|
|
39
|
+
graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_200_response_top_consumers_inner._v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_200_response_topConsumers_inner(
|
|
40
|
+
id = 1234567891011,
|
|
41
|
+
name = 'example string',
|
|
42
|
+
usage = 123.45, )
|
|
43
|
+
],
|
|
44
|
+
total_customers = 1234567891011,
|
|
45
|
+
total_usage = 123.45
|
|
46
|
+
)
|
|
47
|
+
else:
|
|
48
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response(
|
|
49
|
+
)
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response(self):
|
|
53
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200Response"""
|
|
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,53 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post200_response_top_consumers_inner import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner(
|
|
38
|
+
id = 1234567891011,
|
|
39
|
+
name = 'example string',
|
|
40
|
+
usage = 123.45
|
|
41
|
+
)
|
|
42
|
+
else:
|
|
43
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner(
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner(self):
|
|
48
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPost200ResponseTopConsumersInner"""
|
|
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,61 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest(
|
|
38
|
+
id = 1234567891011,
|
|
39
|
+
is_b2_b = True,
|
|
40
|
+
is_provider = True,
|
|
41
|
+
time_window = graphiant_sdk.models._v2_notificationlist_post_request_time_window._v2_notificationlist_post_request_timeWindow(
|
|
42
|
+
bucket_size_sec = 123,
|
|
43
|
+
old_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
44
|
+
nanos = 123,
|
|
45
|
+
seconds = 1234567891011, ),
|
|
46
|
+
recent_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
47
|
+
nanos = 123,
|
|
48
|
+
seconds = 1234567891011, ), )
|
|
49
|
+
)
|
|
50
|
+
else:
|
|
51
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest(
|
|
52
|
+
)
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest(self):
|
|
56
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest"""
|
|
57
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
58
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
59
|
+
|
|
60
|
+
if __name__ == '__main__':
|
|
61
|
+
unittest.main()
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response(
|
|
38
|
+
first_level = [
|
|
39
|
+
graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_first_level_inner._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_firstLevel_inner(
|
|
40
|
+
connections = {
|
|
41
|
+
'key' : 12345678910
|
|
42
|
+
},
|
|
43
|
+
connections_v2 = {
|
|
44
|
+
'key' : 123.45
|
|
45
|
+
},
|
|
46
|
+
name = 'example string', )
|
|
47
|
+
],
|
|
48
|
+
second_level = [
|
|
49
|
+
graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_first_level_inner._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_firstLevel_inner(
|
|
50
|
+
connections = {
|
|
51
|
+
'key' : 12345678910
|
|
52
|
+
},
|
|
53
|
+
connections_v2 = {
|
|
54
|
+
'key' : 123.45
|
|
55
|
+
},
|
|
56
|
+
name = 'example string', )
|
|
57
|
+
],
|
|
58
|
+
third_level = [
|
|
59
|
+
graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_first_level_inner._v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_200_response_firstLevel_inner(
|
|
60
|
+
connections = {
|
|
61
|
+
'key' : 12345678910
|
|
62
|
+
},
|
|
63
|
+
connections_v2 = {
|
|
64
|
+
'key' : 123.45
|
|
65
|
+
},
|
|
66
|
+
name = 'example string', )
|
|
67
|
+
],
|
|
68
|
+
total_usage = 123.45
|
|
69
|
+
)
|
|
70
|
+
else:
|
|
71
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response(
|
|
72
|
+
)
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response(self):
|
|
76
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200Response"""
|
|
77
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
78
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
79
|
+
|
|
80
|
+
if __name__ == '__main__':
|
|
81
|
+
unittest.main()
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumption_overview_post200_response_first_level_inner import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner(
|
|
38
|
+
connections = {
|
|
39
|
+
'key' : 12345678910
|
|
40
|
+
},
|
|
41
|
+
connections_v2 = {
|
|
42
|
+
'key' : 123.45
|
|
43
|
+
},
|
|
44
|
+
name = 'example string'
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner(
|
|
48
|
+
)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner(self):
|
|
52
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPost200ResponseFirstLevelInner"""
|
|
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,65 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_consumption_overview_post_request import V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest 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) -> V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest(
|
|
38
|
+
customer_name = 'example string',
|
|
39
|
+
flipped_view = True,
|
|
40
|
+
id = 1234567891011,
|
|
41
|
+
is_b2_b = True,
|
|
42
|
+
is_provider = True,
|
|
43
|
+
site_id = 1234567891011,
|
|
44
|
+
time_window = graphiant_sdk.models._v2_notificationlist_post_request_time_window._v2_notificationlist_post_request_timeWindow(
|
|
45
|
+
bucket_size_sec = 123,
|
|
46
|
+
old_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
47
|
+
nanos = 123,
|
|
48
|
+
seconds = 1234567891011, ),
|
|
49
|
+
recent_ts = graphiant_sdk.models._v1_alarm_history_get_200_response_history_inner_time._v1_alarm_history_get_200_response_history_inner_time(
|
|
50
|
+
nanos = 123,
|
|
51
|
+
seconds = 1234567891011, ), ),
|
|
52
|
+
vrf_id = 1234567891011
|
|
53
|
+
)
|
|
54
|
+
else:
|
|
55
|
+
return V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest(
|
|
56
|
+
)
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
def testV1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest(self):
|
|
60
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest"""
|
|
61
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
62
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
63
|
+
|
|
64
|
+
if __name__ == '__main__':
|
|
65
|
+
unittest.main()
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_service_health_post200_response import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response 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) -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response(
|
|
38
|
+
service_health = [
|
|
39
|
+
graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_service_health_inner._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_serviceHealth_inner(
|
|
40
|
+
customer_name = 'example string',
|
|
41
|
+
customer_prefix_health = graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_service_health_inner_customer_prefix_health._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_serviceHealth_inner_customerPrefixHealth(
|
|
42
|
+
health = 'ENUM_VALUE',
|
|
43
|
+
missing_prefixes = [
|
|
44
|
+
'example string'
|
|
45
|
+
], ),
|
|
46
|
+
overall_health = 'ENUM_VALUE',
|
|
47
|
+
producer_prefix_health = graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_service_health_inner_customer_prefix_health._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_serviceHealth_inner_customerPrefixHealth(
|
|
48
|
+
health = 'ENUM_VALUE', ), )
|
|
49
|
+
]
|
|
50
|
+
)
|
|
51
|
+
else:
|
|
52
|
+
return V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response(
|
|
53
|
+
)
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
def testV1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response(self):
|
|
57
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200Response"""
|
|
58
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
59
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
60
|
+
|
|
61
|
+
if __name__ == '__main__':
|
|
62
|
+
unittest.main()
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Graphiant APIs
|
|
5
|
+
|
|
6
|
+
**To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Token valid for 2 hours. If expired:** - Login again, click \"Authorize\", paste new token.
|
|
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_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner import V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner
|
|
18
|
+
|
|
19
|
+
class TestV1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner(unittest.TestCase):
|
|
20
|
+
"""V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner 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) -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner:
|
|
29
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner
|
|
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 `V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner`
|
|
34
|
+
"""
|
|
35
|
+
model = V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner(
|
|
38
|
+
customer_name = 'example string',
|
|
39
|
+
customer_prefix_health = graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_service_health_inner_customer_prefix_health._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_serviceHealth_inner_customerPrefixHealth(
|
|
40
|
+
health = 'ENUM_VALUE',
|
|
41
|
+
missing_prefixes = [
|
|
42
|
+
'example string'
|
|
43
|
+
], ),
|
|
44
|
+
overall_health = 'ENUM_VALUE',
|
|
45
|
+
producer_prefix_health = graphiant_sdk.models._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_service_health_inner_customer_prefix_health._v1_extranet_b2b_monitoring_peering_service_service_health_post_200_response_serviceHealth_inner_customerPrefixHealth(
|
|
46
|
+
health = 'ENUM_VALUE',
|
|
47
|
+
missing_prefixes = [
|
|
48
|
+
'example string'
|
|
49
|
+
], )
|
|
50
|
+
)
|
|
51
|
+
else:
|
|
52
|
+
return V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner(
|
|
53
|
+
)
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
def testV1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner(self):
|
|
57
|
+
"""Test V1ExtranetB2bMonitoringPeeringServiceServiceHealthPost200ResponseServiceHealthInner"""
|
|
58
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
59
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
60
|
+
|
|
61
|
+
if __name__ == '__main__':
|
|
62
|
+
unittest.main()
|