graphiant-sdk 25.9.1__py3-none-any.whl → 25.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphiant_sdk/__init__.py +271 -76
- graphiant_sdk/api/default_api.py +25113 -10436
- graphiant_sdk/api_client.py +1 -1
- graphiant_sdk/configuration.py +1 -1
- graphiant_sdk/models/__init__.py +180 -50
- graphiant_sdk/models/v1_auth_login_temp_post200_response.py +91 -0
- graphiant_sdk/models/v1_auth_login_temp_post_request.py +89 -0
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post200_response.py +91 -0
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post200_response_filters.py +104 -0
- graphiant_sdk/models/{v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_running_version.py → v1_b2b_extranet_monitoring_filter_post200_response_filters_customers_inner.py} +12 -10
- graphiant_sdk/models/v1_b2b_extranet_monitoring_filter_post_request.py +91 -0
- graphiant_sdk/models/v1_backbone_health_device_device_id_post200_response.py +3 -3
- graphiant_sdk/models/v1_bwtracker_enterprise_details_post200_response_bwusage_details.py +11 -2
- graphiant_sdk/models/v1_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_edge_interfaces_value_interface.py +6 -2
- 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_devices_running_version_post200_response_versions_inner.py +3 -3
- graphiant_sdk/models/v1_devices_upgrade_schedule_put_request.py +14 -4
- graphiant_sdk/models/{v1_devices_device_id_staged_config_compare_get200_response.py → v1_diagnostic_reboot_device_id_put_request.py} +8 -8
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary.py +17 -5
- graphiant_sdk/models/v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_schedule.py +3 -3
- graphiant_sdk/models/v1_enterprise_allocation_get200_response_consumption_summary_global_summary.py +5 -1
- graphiant_sdk/models/v1_enterprises_get200_response_enterprises_inner.py +3 -1
- graphiant_sdk/models/v1_enterprises_patch_request.py +3 -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/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +105 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post200_response.py +87 -0
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post_request.py → v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py} +7 -7
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response.py +95 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner.py +100 -0
- graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post200_response_service_health_inner_customer_prefix_health.py +89 -0
- 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/v1_extranets_b2b_general_customers_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_general_customers_summary_get200_response_customers_inner.py +104 -0
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response.py → v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response.py} +8 -8
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_customer.py +94 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_service.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post200_response.py +109 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request.py +123 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_policy_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +117 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +97 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +115 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_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_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_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_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +93 -0
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response_details_inner_onboarding_status.py → v1_extranets_b2b_peering_customer_id_get200_response.py} +17 -10
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_id_put_request.py +87 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_post200_response.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py +95 -0
- graphiant_sdk/models/{v1_global_site_lists_id_sites_get200_response_entries_inner_tag_inner.py → v1_extranets_b2b_peering_customer_post_request_invite.py} +11 -12
- graphiant_sdk/models/v1_extranets_b2b_peering_match_customers_post200_response.py +95 -0
- graphiant_sdk/models/{v2_extranet_consumers_usage_top_post200_response.py → v1_extranets_b2b_peering_match_customers_post_request.py} +17 -15
- graphiant_sdk/models/v1_extranets_b2b_peering_match_customers_post_request_info_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put200_response.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service.py +112 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_put_request_service_service_prefixes_inner.py +89 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_services_summary_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_match_services_summary_get200_response_services_inner.py +104 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_get200_response.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_id_put_request.py +91 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post200_response.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post200_response_policy.py +93 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py +95 -0
- graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request_policy.py +111 -0
- graphiant_sdk/models/v1_extranets_b2b_post_request_policy.py +19 -2
- graphiant_sdk/models/v1_extranets_b2b_producers_summary_get200_response_info_inner.py +16 -3
- graphiant_sdk/models/v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner.py +3 -3
- graphiant_sdk/models/{v1_bwtracker_region_site_summary_post200_response.py → v1_gateways_guest_consumer_get200_response.py} +11 -11
- graphiant_sdk/models/v1_gateways_put_request_details.py +3 -3
- graphiant_sdk/models/v1_global_site_lists_id_sites_get200_response_entries_inner.py +3 -3
- graphiant_sdk/models/v1_groups_get200_response_groups_inner_permissions.py +3 -1
- graphiant_sdk/models/v1_groups_id_members_get200_response_users_inner.py +7 -1
- graphiant_sdk/models/v1_groups_id_members_post_request.py +5 -3
- graphiant_sdk/models/{v1_healthcheck_devices_get200_response_details_inner_odp_status.py → v1_invitation_email_post_request.py} +17 -11
- graphiant_sdk/models/v1_software_auto_upgrade_default_get200_response.py +7 -7
- graphiant_sdk/models/v1_software_releases_summary_get200_response_summaries_inner.py +6 -1
- graphiant_sdk/models/v1_temp_password_put_request.py +91 -0
- graphiant_sdk/models/v1_troubleshooting_device_device_id_post200_response.py +3 -3
- 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_assistant_add_to_conversation_post200_response.py +4 -2
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response.py +5 -3
- graphiant_sdk/models/v2_assistant_get_conversations_post200_response_conversation_list_inner.py +5 -3
- graphiant_sdk/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_assurance_bucket_services_post200_response.py +95 -0
- 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.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/METADATA +3 -3
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/RECORD +185 -65
- test/test_v1_auth_login_temp_post200_response.py +53 -0
- test/test_v1_auth_login_temp_post_request.py +52 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response.py +65 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response_filters.py +64 -0
- test/test_v1_b2b_extranet_monitoring_filter_post200_response_filters_customers_inner.py +54 -0
- test/test_v1_b2b_extranet_monitoring_filter_post_request.py +53 -0
- 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_customer_list_post200_response.py +53 -0
- test/test_v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py +60 -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_v1_extranets_b2b_general_customers_summary_get200_response.py +64 -0
- test/test_v1_extranets_b2b_general_customers_summary_get200_response_customers_inner.py +61 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response.py +75 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner.py +72 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_customer.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_customer_id_match_details_get200_response_details_inner_service.py +56 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post200_response.py +74 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request.py +123 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_policy_inner.py +54 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn.py +92 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details.py +87 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing.py +69 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp.py +64 -0
- test/test_v1_extranets_b2b_peering_consumer_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_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_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_bgp_md5_password.py +51 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static.py +53 -0
- test/test_v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_tunnel1.py +54 -0
- test/test_v1_extranets_b2b_peering_customer_id_get200_response.py +57 -0
- test/test_v1_extranets_b2b_peering_customer_id_put_request.py +51 -0
- test/test_v1_extranets_b2b_peering_customer_post200_response.py +56 -0
- test/test_v1_extranets_b2b_peering_customer_post_request.py +57 -0
- test/test_v1_extranets_b2b_peering_customer_post_request_invite.py +54 -0
- test/test_v1_extranets_b2b_peering_match_customers_post200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_match_customers_post_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_customers_post_request_info_inner.py +61 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_post200_response.py +66 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put200_response.py +64 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request.py +65 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service.py +63 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service_nat_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_service_to_customer_put_request_service_service_prefixes_inner.py +52 -0
- test/test_v1_extranets_b2b_peering_match_services_summary_get200_response.py +62 -0
- test/test_v1_extranets_b2b_peering_match_services_summary_get200_response_services_inner.py +59 -0
- test/test_v1_extranets_b2b_peering_producer_id_get200_response.py +80 -0
- test/test_v1_extranets_b2b_peering_producer_id_put_request.py +76 -0
- test/test_v1_extranets_b2b_peering_producer_post200_response.py +79 -0
- test/test_v1_extranets_b2b_peering_producer_post200_response_policy.py +77 -0
- test/test_v1_extranets_b2b_peering_producer_post_request.py +78 -0
- test/test_v1_extranets_b2b_peering_producer_post_request_policy.py +75 -0
- test/test_v1_gateways_guest_consumer_get200_response.py +93 -0
- test/test_v1_invitation_email_post_request.py +55 -0
- test/test_v1_temp_password_put_request.py +55 -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_healthcheck_devices_get200_response_details_inner.py +0 -124
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/WHEEL +0 -0
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/licenses/LICENSE +0 -0
- {graphiant_sdk-25.9.1.dist-info → graphiant_sdk-25.10.1.dist-info}/top_level.txt +0 -0
|
@@ -19,7 +19,9 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
22
23
|
from graphiant_sdk.models.v1_extranets_b2b_consumer_post_request_site_information_inner import V1ExtranetsB2bConsumerPostRequestSiteInformationInner
|
|
24
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_put_request_service_service_prefixes_inner import V1ExtranetsB2bPeeringMatchServiceToCustomerPutRequestServiceServicePrefixesInner
|
|
23
25
|
from graphiant_sdk.models.v1_extranets_b2b_post_request_policy_profiles_inner import V1ExtranetsB2bPostRequestPolicyProfilesInner
|
|
24
26
|
from graphiant_sdk.models.v1_extranets_b2b_post_request_policy_sla import V1ExtranetsB2bPostRequestPolicySla
|
|
25
27
|
from typing import Optional, Set
|
|
@@ -29,14 +31,18 @@ class V1ExtranetsB2bPostRequestPolicy(BaseModel):
|
|
|
29
31
|
"""
|
|
30
32
|
V1ExtranetsB2bPostRequestPolicy
|
|
31
33
|
""" # noqa: E501
|
|
34
|
+
description: Optional[StrictStr] = None
|
|
32
35
|
nat_pools: Optional[List[StrictStr]] = Field(default=None, alias="natPools")
|
|
36
|
+
prefix_tags: Optional[List[V1ExtranetsB2bPeeringMatchServiceToCustomerPutRequestServiceServicePrefixesInner]] = Field(default=None, alias="prefixTags")
|
|
33
37
|
profiles: Optional[List[V1ExtranetsB2bPostRequestPolicyProfilesInner]] = None
|
|
34
38
|
service_lan_segment: Optional[StrictInt] = Field(default=None, alias="serviceLanSegment")
|
|
35
39
|
service_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="servicePrefixes")
|
|
36
40
|
sites: Optional[List[V1ExtranetsB2bConsumerPostRequestSiteInformationInner]] = None
|
|
37
41
|
sla: Optional[V1ExtranetsB2bPostRequestPolicySla] = None
|
|
42
|
+
status: Optional[StrictStr] = None
|
|
38
43
|
type: Optional[StrictStr] = None
|
|
39
|
-
|
|
44
|
+
unmatched_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="unmatchedCustomers")
|
|
45
|
+
__properties: ClassVar[List[str]] = ["description", "natPools", "prefixTags", "profiles", "serviceLanSegment", "servicePrefixes", "sites", "sla", "status", "type", "unmatchedCustomers"]
|
|
40
46
|
|
|
41
47
|
model_config = ConfigDict(
|
|
42
48
|
populate_by_name=True,
|
|
@@ -77,6 +83,13 @@ class V1ExtranetsB2bPostRequestPolicy(BaseModel):
|
|
|
77
83
|
exclude=excluded_fields,
|
|
78
84
|
exclude_none=True,
|
|
79
85
|
)
|
|
86
|
+
# override the default output from pydantic by calling `to_dict()` of each item in prefix_tags (list)
|
|
87
|
+
_items = []
|
|
88
|
+
if self.prefix_tags:
|
|
89
|
+
for _item_prefix_tags in self.prefix_tags:
|
|
90
|
+
if _item_prefix_tags:
|
|
91
|
+
_items.append(_item_prefix_tags.to_dict())
|
|
92
|
+
_dict['prefixTags'] = _items
|
|
80
93
|
# override the default output from pydantic by calling `to_dict()` of each item in profiles (list)
|
|
81
94
|
_items = []
|
|
82
95
|
if self.profiles:
|
|
@@ -106,13 +119,17 @@ class V1ExtranetsB2bPostRequestPolicy(BaseModel):
|
|
|
106
119
|
return cls.model_validate(obj)
|
|
107
120
|
|
|
108
121
|
_obj = cls.model_validate({
|
|
122
|
+
"description": obj.get("description"),
|
|
109
123
|
"natPools": obj.get("natPools"),
|
|
124
|
+
"prefixTags": [V1ExtranetsB2bPeeringMatchServiceToCustomerPutRequestServiceServicePrefixesInner.from_dict(_item) for _item in obj["prefixTags"]] if obj.get("prefixTags") is not None else None,
|
|
110
125
|
"profiles": [V1ExtranetsB2bPostRequestPolicyProfilesInner.from_dict(_item) for _item in obj["profiles"]] if obj.get("profiles") is not None else None,
|
|
111
126
|
"serviceLanSegment": obj.get("serviceLanSegment"),
|
|
112
127
|
"servicePrefixes": obj.get("servicePrefixes"),
|
|
113
128
|
"sites": [V1ExtranetsB2bConsumerPostRequestSiteInformationInner.from_dict(_item) for _item in obj["sites"]] if obj.get("sites") is not None else None,
|
|
114
129
|
"sla": V1ExtranetsB2bPostRequestPolicySla.from_dict(obj["sla"]) if obj.get("sla") is not None else None,
|
|
115
|
-
"
|
|
130
|
+
"status": obj.get("status"),
|
|
131
|
+
"type": obj.get("type"),
|
|
132
|
+
"unmatchedCustomers": obj.get("unmatchedCustomers")
|
|
116
133
|
})
|
|
117
134
|
return _obj
|
|
118
135
|
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
@@ -30,12 +30,17 @@ class V1ExtranetsB2bProducersSummaryGet200ResponseInfoInner(BaseModel):
|
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
created_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="createdAt")
|
|
32
32
|
id: Optional[StrictInt] = None
|
|
33
|
+
is_publisher: Optional[StrictBool] = Field(default=None, alias="isPublisher")
|
|
34
|
+
lan_segment: Optional[StrictInt] = Field(default=None, alias="lanSegment")
|
|
35
|
+
matched_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="matchedCustomers")
|
|
33
36
|
name: Optional[StrictStr] = None
|
|
34
37
|
server_ip_address: Optional[List[StrictStr]] = Field(default=None, alias="serverIpAddress")
|
|
35
38
|
status: Optional[StrictStr] = None
|
|
36
39
|
total_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="totalCustomers")
|
|
37
40
|
total_sites: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="totalSites")
|
|
38
|
-
|
|
41
|
+
type: Optional[StrictStr] = None
|
|
42
|
+
updated_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="updatedAt")
|
|
43
|
+
__properties: ClassVar[List[str]] = ["createdAt", "id", "isPublisher", "lanSegment", "matchedCustomers", "name", "serverIpAddress", "status", "totalCustomers", "totalSites", "type", "updatedAt"]
|
|
39
44
|
|
|
40
45
|
model_config = ConfigDict(
|
|
41
46
|
populate_by_name=True,
|
|
@@ -79,6 +84,9 @@ class V1ExtranetsB2bProducersSummaryGet200ResponseInfoInner(BaseModel):
|
|
|
79
84
|
# override the default output from pydantic by calling `to_dict()` of created_at
|
|
80
85
|
if self.created_at:
|
|
81
86
|
_dict['createdAt'] = self.created_at.to_dict()
|
|
87
|
+
# override the default output from pydantic by calling `to_dict()` of updated_at
|
|
88
|
+
if self.updated_at:
|
|
89
|
+
_dict['updatedAt'] = self.updated_at.to_dict()
|
|
82
90
|
return _dict
|
|
83
91
|
|
|
84
92
|
@classmethod
|
|
@@ -93,11 +101,16 @@ class V1ExtranetsB2bProducersSummaryGet200ResponseInfoInner(BaseModel):
|
|
|
93
101
|
_obj = cls.model_validate({
|
|
94
102
|
"createdAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["createdAt"]) if obj.get("createdAt") is not None else None,
|
|
95
103
|
"id": obj.get("id"),
|
|
104
|
+
"isPublisher": obj.get("isPublisher"),
|
|
105
|
+
"lanSegment": obj.get("lanSegment"),
|
|
106
|
+
"matchedCustomers": obj.get("matchedCustomers"),
|
|
96
107
|
"name": obj.get("name"),
|
|
97
108
|
"serverIpAddress": obj.get("serverIpAddress"),
|
|
98
109
|
"status": obj.get("status"),
|
|
99
110
|
"totalCustomers": obj.get("totalCustomers"),
|
|
100
|
-
"totalSites": obj.get("totalSites")
|
|
111
|
+
"totalSites": obj.get("totalSites"),
|
|
112
|
+
"type": obj.get("type"),
|
|
113
|
+
"updatedAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["updatedAt"]) if obj.get("updatedAt") is not None else None
|
|
101
114
|
})
|
|
102
115
|
return _obj
|
|
103
116
|
|
|
@@ -20,8 +20,8 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details_routing_static import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic
|
|
23
24
|
from graphiant_sdk.models.v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner_bgp import V1ExtranetsGet200ResponsePoliciesInnerBranchesExcludedDevicesInnerIpsecTunnelsInnerBgp
|
|
24
|
-
from graphiant_sdk.models.v1_extranets_get200_response_policies_inner_branches_excluded_devices_inner_ipsec_tunnels_inner_static import V1ExtranetsGet200ResponsePoliciesInnerBranchesExcludedDevicesInnerIpsecTunnelsInnerStatic
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
@@ -44,7 +44,7 @@ class V1ExtranetsGet200ResponsePoliciesInnerBranchesExcludedDevicesInnerIpsecTun
|
|
|
44
44
|
remote_address_v4: Optional[StrictStr] = Field(default=None, alias="remoteAddressV4")
|
|
45
45
|
remote_address_v6: Optional[StrictStr] = Field(default=None, alias="remoteAddressV6")
|
|
46
46
|
remote_ike_peer_identity: Optional[StrictStr] = Field(default=None, alias="remoteIkePeerIdentity")
|
|
47
|
-
static: Optional[
|
|
47
|
+
static: Optional[V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic] = None
|
|
48
48
|
tcp_mss: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="tcpMss")
|
|
49
49
|
vpn_profile: Optional[StrictStr] = Field(default=None, alias="vpnProfile")
|
|
50
50
|
__properties: ClassVar[List[str]] = ["bgp", "destinationAddress", "ikeInitiator", "ipsecLabel", "lan", "localAddressV4", "localAddressV6", "localCircuit", "localIkePeerIdentity", "mtu", "name", "presharedKey", "remoteAddressV4", "remoteAddressV6", "remoteIkePeerIdentity", "static", "tcpMss", "vpnProfile"]
|
|
@@ -121,7 +121,7 @@ class V1ExtranetsGet200ResponsePoliciesInnerBranchesExcludedDevicesInnerIpsecTun
|
|
|
121
121
|
"remoteAddressV4": obj.get("remoteAddressV4"),
|
|
122
122
|
"remoteAddressV6": obj.get("remoteAddressV6"),
|
|
123
123
|
"remoteIkePeerIdentity": obj.get("remoteIkePeerIdentity"),
|
|
124
|
-
"static":
|
|
124
|
+
"static": V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetailsRoutingStatic.from_dict(obj["static"]) if obj.get("static") is not None else None,
|
|
125
125
|
"tcpMss": obj.get("tcpMss"),
|
|
126
126
|
"vpnProfile": obj.get("vpnProfile")
|
|
127
127
|
})
|
|
@@ -19,16 +19,16 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from graphiant_sdk.models.
|
|
22
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
class
|
|
26
|
+
class V1GatewaysGuestConsumerGet200Response(BaseModel):
|
|
27
27
|
"""
|
|
28
|
-
|
|
28
|
+
V1GatewaysGuestConsumerGet200Response
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
|
|
31
|
-
__properties: ClassVar[List[str]] = ["
|
|
30
|
+
site_to_site_vpn: Optional[V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn] = Field(default=None, alias="siteToSiteVpn")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["siteToSiteVpn"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
34
34
|
populate_by_name=True,
|
|
@@ -48,7 +48,7 @@ class V1BwtrackerRegionSiteSummaryPost200Response(BaseModel):
|
|
|
48
48
|
|
|
49
49
|
@classmethod
|
|
50
50
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
-
"""Create an instance of
|
|
51
|
+
"""Create an instance of V1GatewaysGuestConsumerGet200Response from a JSON string"""
|
|
52
52
|
return cls.from_dict(json.loads(json_str))
|
|
53
53
|
|
|
54
54
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -69,14 +69,14 @@ class V1BwtrackerRegionSiteSummaryPost200Response(BaseModel):
|
|
|
69
69
|
exclude=excluded_fields,
|
|
70
70
|
exclude_none=True,
|
|
71
71
|
)
|
|
72
|
-
# override the default output from pydantic by calling `to_dict()` of
|
|
73
|
-
if self.
|
|
74
|
-
_dict['
|
|
72
|
+
# override the default output from pydantic by calling `to_dict()` of site_to_site_vpn
|
|
73
|
+
if self.site_to_site_vpn:
|
|
74
|
+
_dict['siteToSiteVpn'] = self.site_to_site_vpn.to_dict()
|
|
75
75
|
return _dict
|
|
76
76
|
|
|
77
77
|
@classmethod
|
|
78
78
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
-
"""Create an instance of
|
|
79
|
+
"""Create an instance of V1GatewaysGuestConsumerGet200Response from a dict"""
|
|
80
80
|
if obj is None:
|
|
81
81
|
return None
|
|
82
82
|
|
|
@@ -84,7 +84,7 @@ class V1BwtrackerRegionSiteSummaryPost200Response(BaseModel):
|
|
|
84
84
|
return cls.model_validate(obj)
|
|
85
85
|
|
|
86
86
|
_obj = cls.model_validate({
|
|
87
|
-
"
|
|
87
|
+
"siteToSiteVpn": V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpn.from_dict(obj["siteToSiteVpn"]) if obj.get("siteToSiteVpn") is not None else None
|
|
88
88
|
})
|
|
89
89
|
return _obj
|
|
90
90
|
|
|
@@ -19,10 +19,10 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_id_post_request_site_to_site_vpn_ipsec_gateway_details import V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails
|
|
22
23
|
from graphiant_sdk.models.v1_gateways_put_request_details_aws import V1GatewaysPutRequestDetailsAws
|
|
23
24
|
from graphiant_sdk.models.v1_gateways_put_request_details_azure import V1GatewaysPutRequestDetailsAzure
|
|
24
25
|
from graphiant_sdk.models.v1_gateways_put_request_details_gcp import V1GatewaysPutRequestDetailsGcp
|
|
25
|
-
from graphiant_sdk.models.v1_gateways_put_request_details_ipsec_gateway import V1GatewaysPutRequestDetailsIpsecGateway
|
|
26
26
|
from graphiant_sdk.models.v1_gateways_put_request_details_oci import V1GatewaysPutRequestDetailsOci
|
|
27
27
|
from typing import Optional, Set
|
|
28
28
|
from typing_extensions import Self
|
|
@@ -35,7 +35,7 @@ class V1GatewaysPutRequestDetails(BaseModel):
|
|
|
35
35
|
azure: Optional[V1GatewaysPutRequestDetailsAzure] = None
|
|
36
36
|
description: Optional[StrictStr] = None
|
|
37
37
|
gcp: Optional[V1GatewaysPutRequestDetailsGcp] = None
|
|
38
|
-
ipsec_gateway: Optional[
|
|
38
|
+
ipsec_gateway: Optional[V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails] = Field(default=None, alias="ipsecGateway")
|
|
39
39
|
oci: Optional[V1GatewaysPutRequestDetailsOci] = None
|
|
40
40
|
region_id: Optional[StrictInt] = Field(default=None, alias="regionId")
|
|
41
41
|
speed: Optional[StrictStr] = None
|
|
@@ -112,7 +112,7 @@ class V1GatewaysPutRequestDetails(BaseModel):
|
|
|
112
112
|
"azure": V1GatewaysPutRequestDetailsAzure.from_dict(obj["azure"]) if obj.get("azure") is not None else None,
|
|
113
113
|
"description": obj.get("description"),
|
|
114
114
|
"gcp": V1GatewaysPutRequestDetailsGcp.from_dict(obj["gcp"]) if obj.get("gcp") is not None else None,
|
|
115
|
-
"ipsecGateway":
|
|
115
|
+
"ipsecGateway": V1ExtranetsB2bPeeringConsumerIdPostRequestSiteToSiteVpnIpsecGatewayDetails.from_dict(obj["ipsecGateway"]) if obj.get("ipsecGateway") is not None else None,
|
|
116
116
|
"oci": V1GatewaysPutRequestDetailsOci.from_dict(obj["oci"]) if obj.get("oci") is not None else None,
|
|
117
117
|
"regionId": obj.get("regionId"),
|
|
118
118
|
"speed": obj.get("speed"),
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
|
-
from graphiant_sdk.models.
|
|
23
|
+
from graphiant_sdk.models.v1_global_site_lists_post_request_entries_inner_tag import V1GlobalSiteListsPostRequestEntriesInnerTag
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ class V1GlobalSiteListsIdSitesGet200ResponseEntriesInner(BaseModel):
|
|
|
31
31
|
created_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="createdAt")
|
|
32
32
|
edge_references: Optional[StrictInt] = Field(default=None, alias="edgeReferences")
|
|
33
33
|
site_name: Optional[StrictStr] = Field(default=None, alias="siteName")
|
|
34
|
-
tag: Optional[List[
|
|
34
|
+
tag: Optional[List[V1GlobalSiteListsPostRequestEntriesInnerTag]] = None
|
|
35
35
|
__properties: ClassVar[List[str]] = ["createdAt", "edgeReferences", "siteName", "tag"]
|
|
36
36
|
|
|
37
37
|
model_config = ConfigDict(
|
|
@@ -98,7 +98,7 @@ class V1GlobalSiteListsIdSitesGet200ResponseEntriesInner(BaseModel):
|
|
|
98
98
|
"createdAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["createdAt"]) if obj.get("createdAt") is not None else None,
|
|
99
99
|
"edgeReferences": obj.get("edgeReferences"),
|
|
100
100
|
"siteName": obj.get("siteName"),
|
|
101
|
-
"tag": [
|
|
101
|
+
"tag": [V1GlobalSiteListsPostRequestEntriesInnerTag.from_dict(_item) for _item in obj["tag"]] if obj.get("tag") is not None else None
|
|
102
102
|
})
|
|
103
103
|
return _obj
|
|
104
104
|
|
|
@@ -28,6 +28,7 @@ class V1GroupsGet200ResponseGroupsInnerPermissions(BaseModel):
|
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
asset_manager: Optional[StrictStr] = Field(default=None, alias="assetManager")
|
|
30
30
|
b2b: Optional[StrictStr] = None
|
|
31
|
+
b2b_security_profile_external: Optional[StrictStr] = Field(default=None, alias="b2bSecurityProfileExternal")
|
|
31
32
|
billing_and_invoicing: Optional[StrictStr] = Field(default=None, alias="billingAndInvoicing")
|
|
32
33
|
compliance: Optional[StrictStr] = None
|
|
33
34
|
developer_tools: Optional[StrictStr] = Field(default=None, alias="developerTools")
|
|
@@ -44,7 +45,7 @@ class V1GroupsGet200ResponseGroupsInnerPermissions(BaseModel):
|
|
|
44
45
|
service_policies: Optional[StrictStr] = Field(default=None, alias="servicePolicies")
|
|
45
46
|
support: Optional[StrictStr] = None
|
|
46
47
|
user_and_tenant_management: Optional[StrictStr] = Field(default=None, alias="userAndTenantManagement")
|
|
47
|
-
__properties: ClassVar[List[str]] = ["assetManager", "b2b", "billingAndInvoicing", "compliance", "developerTools", "gateway", "globalServices", "insights", "licensing", "logs", "monitoringAndTroubleshooting", "networkConfiguration", "orderStatus", "reports", "safetyAndSecurity", "servicePolicies", "support", "userAndTenantManagement"]
|
|
48
|
+
__properties: ClassVar[List[str]] = ["assetManager", "b2b", "b2bSecurityProfileExternal", "billingAndInvoicing", "compliance", "developerTools", "gateway", "globalServices", "insights", "licensing", "logs", "monitoringAndTroubleshooting", "networkConfiguration", "orderStatus", "reports", "safetyAndSecurity", "servicePolicies", "support", "userAndTenantManagement"]
|
|
48
49
|
|
|
49
50
|
model_config = ConfigDict(
|
|
50
51
|
populate_by_name=True,
|
|
@@ -99,6 +100,7 @@ class V1GroupsGet200ResponseGroupsInnerPermissions(BaseModel):
|
|
|
99
100
|
_obj = cls.model_validate({
|
|
100
101
|
"assetManager": obj.get("assetManager"),
|
|
101
102
|
"b2b": obj.get("b2b"),
|
|
103
|
+
"b2bSecurityProfileExternal": obj.get("b2bSecurityProfileExternal"),
|
|
102
104
|
"billingAndInvoicing": obj.get("billingAndInvoicing"),
|
|
103
105
|
"compliance": obj.get("compliance"),
|
|
104
106
|
"developerTools": obj.get("developerTools"),
|
|
@@ -19,6 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -29,13 +30,14 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
29
30
|
email: Optional[StrictStr] = None
|
|
30
31
|
enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId")
|
|
31
32
|
first_name: Optional[StrictStr] = Field(default=None, alias="firstName")
|
|
33
|
+
last_active_at: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="lastActiveAt")
|
|
32
34
|
last_name: Optional[StrictStr] = Field(default=None, alias="lastName")
|
|
33
35
|
mfa_factor: Optional[StrictStr] = Field(default=None, alias="mfaFactor")
|
|
34
36
|
phone_number: Optional[StrictStr] = Field(default=None, alias="phoneNumber")
|
|
35
37
|
time_zone: Optional[StrictStr] = Field(default=None, alias="timeZone")
|
|
36
38
|
user_id: Optional[StrictStr] = Field(default=None, alias="userId")
|
|
37
39
|
verified: Optional[StrictBool] = None
|
|
38
|
-
__properties: ClassVar[List[str]] = ["email", "enterpriseId", "firstName", "lastName", "mfaFactor", "phoneNumber", "timeZone", "userId", "verified"]
|
|
40
|
+
__properties: ClassVar[List[str]] = ["email", "enterpriseId", "firstName", "lastActiveAt", "lastName", "mfaFactor", "phoneNumber", "timeZone", "userId", "verified"]
|
|
39
41
|
|
|
40
42
|
model_config = ConfigDict(
|
|
41
43
|
populate_by_name=True,
|
|
@@ -76,6 +78,9 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
76
78
|
exclude=excluded_fields,
|
|
77
79
|
exclude_none=True,
|
|
78
80
|
)
|
|
81
|
+
# override the default output from pydantic by calling `to_dict()` of last_active_at
|
|
82
|
+
if self.last_active_at:
|
|
83
|
+
_dict['lastActiveAt'] = self.last_active_at.to_dict()
|
|
79
84
|
return _dict
|
|
80
85
|
|
|
81
86
|
@classmethod
|
|
@@ -91,6 +96,7 @@ class V1GroupsIdMembersGet200ResponseUsersInner(BaseModel):
|
|
|
91
96
|
"email": obj.get("email"),
|
|
92
97
|
"enterpriseId": obj.get("enterpriseId"),
|
|
93
98
|
"firstName": obj.get("firstName"),
|
|
99
|
+
"lastActiveAt": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["lastActiveAt"]) if obj.get("lastActiveAt") is not None else None,
|
|
94
100
|
"lastName": obj.get("lastName"),
|
|
95
101
|
"mfaFactor": obj.get("mfaFactor"),
|
|
96
102
|
"phoneNumber": obj.get("phoneNumber"),
|
|
@@ -17,7 +17,7 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
@@ -27,7 +27,8 @@ class V1GroupsIdMembersPostRequest(BaseModel):
|
|
|
27
27
|
V1GroupsIdMembersPostRequest
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
member_ids: Optional[List[StrictStr]] = Field(default=None, alias="memberIds")
|
|
30
|
-
|
|
30
|
+
replace_existing: Optional[StrictBool] = Field(default=None, alias="replaceExisting")
|
|
31
|
+
__properties: ClassVar[List[str]] = ["memberIds", "replaceExisting"]
|
|
31
32
|
|
|
32
33
|
model_config = ConfigDict(
|
|
33
34
|
populate_by_name=True,
|
|
@@ -80,7 +81,8 @@ class V1GroupsIdMembersPostRequest(BaseModel):
|
|
|
80
81
|
return cls.model_validate(obj)
|
|
81
82
|
|
|
82
83
|
_obj = cls.model_validate({
|
|
83
|
-
"memberIds": obj.get("memberIds")
|
|
84
|
+
"memberIds": obj.get("memberIds"),
|
|
85
|
+
"replaceExisting": obj.get("replaceExisting")
|
|
84
86
|
})
|
|
85
87
|
return _obj
|
|
86
88
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Graphiant APIs
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Graphiant API documentation.
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 1.0.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -17,18 +17,21 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
25
|
-
class
|
|
25
|
+
class V1InvitationEmailPostRequest(BaseModel):
|
|
26
26
|
"""
|
|
27
|
-
|
|
27
|
+
V1InvitationEmailPostRequest
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
customer_id: Optional[StrictInt] = Field(default=None, alias="customerId")
|
|
30
|
+
customer_name: Optional[StrictStr] = Field(default=None, alias="customerName")
|
|
31
|
+
is_graphiant: Optional[StrictBool] = Field(default=None, alias="isGraphiant")
|
|
32
|
+
service_id: Optional[StrictInt] = Field(default=None, alias="serviceId")
|
|
33
|
+
service_name: Optional[StrictStr] = Field(default=None, alias="serviceName")
|
|
34
|
+
__properties: ClassVar[List[str]] = ["customerId", "customerName", "isGraphiant", "serviceId", "serviceName"]
|
|
32
35
|
|
|
33
36
|
model_config = ConfigDict(
|
|
34
37
|
populate_by_name=True,
|
|
@@ -48,7 +51,7 @@ class V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus(BaseModel):
|
|
|
48
51
|
|
|
49
52
|
@classmethod
|
|
50
53
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
-
"""Create an instance of
|
|
54
|
+
"""Create an instance of V1InvitationEmailPostRequest from a JSON string"""
|
|
52
55
|
return cls.from_dict(json.loads(json_str))
|
|
53
56
|
|
|
54
57
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -73,7 +76,7 @@ class V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus(BaseModel):
|
|
|
73
76
|
|
|
74
77
|
@classmethod
|
|
75
78
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
76
|
-
"""Create an instance of
|
|
79
|
+
"""Create an instance of V1InvitationEmailPostRequest from a dict"""
|
|
77
80
|
if obj is None:
|
|
78
81
|
return None
|
|
79
82
|
|
|
@@ -81,8 +84,11 @@ class V1HealthcheckDevicesGet200ResponseDetailsInnerOdpStatus(BaseModel):
|
|
|
81
84
|
return cls.model_validate(obj)
|
|
82
85
|
|
|
83
86
|
_obj = cls.model_validate({
|
|
84
|
-
"
|
|
85
|
-
"
|
|
87
|
+
"customerId": obj.get("customerId"),
|
|
88
|
+
"customerName": obj.get("customerName"),
|
|
89
|
+
"isGraphiant": obj.get("isGraphiant"),
|
|
90
|
+
"serviceId": obj.get("serviceId"),
|
|
91
|
+
"serviceName": obj.get("serviceName")
|
|
86
92
|
})
|
|
87
93
|
return _obj
|
|
88
94
|
|
|
@@ -19,7 +19,7 @@ import json
|
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
-
from graphiant_sdk.models.
|
|
22
|
+
from graphiant_sdk.models.v1_software_auto_upgrade_default_get200_response_profile import V1SoftwareAutoUpgradeDefaultGet200ResponseProfile
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
@@ -27,9 +27,9 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
V1SoftwareAutoUpgradeDefaultGet200Response
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
|
|
30
|
+
profile: Optional[V1SoftwareAutoUpgradeDefaultGet200ResponseProfile] = None
|
|
31
31
|
release: Optional[StrictStr] = None
|
|
32
|
-
__properties: ClassVar[List[str]] = ["
|
|
32
|
+
__properties: ClassVar[List[str]] = ["profile", "release"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
35
35
|
populate_by_name=True,
|
|
@@ -70,9 +70,9 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
70
70
|
exclude=excluded_fields,
|
|
71
71
|
exclude_none=True,
|
|
72
72
|
)
|
|
73
|
-
# override the default output from pydantic by calling `to_dict()` of
|
|
74
|
-
if self.
|
|
75
|
-
_dict['
|
|
73
|
+
# override the default output from pydantic by calling `to_dict()` of profile
|
|
74
|
+
if self.profile:
|
|
75
|
+
_dict['profile'] = self.profile.to_dict()
|
|
76
76
|
return _dict
|
|
77
77
|
|
|
78
78
|
@classmethod
|
|
@@ -85,7 +85,7 @@ class V1SoftwareAutoUpgradeDefaultGet200Response(BaseModel):
|
|
|
85
85
|
return cls.model_validate(obj)
|
|
86
86
|
|
|
87
87
|
_obj = cls.model_validate({
|
|
88
|
-
"
|
|
88
|
+
"profile": V1SoftwareAutoUpgradeDefaultGet200ResponseProfile.from_dict(obj["profile"]) if obj.get("profile") is not None else None,
|
|
89
89
|
"release": obj.get("release")
|
|
90
90
|
})
|
|
91
91
|
return _obj
|
|
@@ -28,11 +28,12 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
V1SoftwareReleasesSummaryGet200ResponseSummariesInner
|
|
30
30
|
""" # noqa: E501
|
|
31
|
+
eos_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="eosTs")
|
|
31
32
|
key: Optional[V1SoftwareReleasesSummaryGet200ResponseSummariesInnerKey] = None
|
|
32
33
|
name: Optional[StrictStr] = None
|
|
33
34
|
release: Optional[StrictStr] = None
|
|
34
35
|
release_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="releaseTs")
|
|
35
|
-
__properties: ClassVar[List[str]] = ["key", "name", "release", "releaseTs"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["eosTs", "key", "name", "release", "releaseTs"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
39
|
populate_by_name=True,
|
|
@@ -73,6 +74,9 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
73
74
|
exclude=excluded_fields,
|
|
74
75
|
exclude_none=True,
|
|
75
76
|
)
|
|
77
|
+
# override the default output from pydantic by calling `to_dict()` of eos_ts
|
|
78
|
+
if self.eos_ts:
|
|
79
|
+
_dict['eosTs'] = self.eos_ts.to_dict()
|
|
76
80
|
# override the default output from pydantic by calling `to_dict()` of key
|
|
77
81
|
if self.key:
|
|
78
82
|
_dict['key'] = self.key.to_dict()
|
|
@@ -91,6 +95,7 @@ class V1SoftwareReleasesSummaryGet200ResponseSummariesInner(BaseModel):
|
|
|
91
95
|
return cls.model_validate(obj)
|
|
92
96
|
|
|
93
97
|
_obj = cls.model_validate({
|
|
98
|
+
"eosTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["eosTs"]) if obj.get("eosTs") is not None else None,
|
|
94
99
|
"key": V1SoftwareReleasesSummaryGet200ResponseSummariesInnerKey.from_dict(obj["key"]) if obj.get("key") is not None else None,
|
|
95
100
|
"name": obj.get("name"),
|
|
96
101
|
"release": obj.get("release"),
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class V1TempPasswordPutRequest(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
V1TempPasswordPutRequest
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
customer_name: Optional[StrictStr] = Field(default=None, alias="customerName")
|
|
30
|
+
emails: Optional[List[StrictStr]] = None
|
|
31
|
+
service_name: Optional[StrictStr] = Field(default=None, alias="serviceName")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["customerName", "emails", "serviceName"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def to_str(self) -> str:
|
|
42
|
+
"""Returns the string representation of the model using alias"""
|
|
43
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
44
|
+
|
|
45
|
+
def to_json(self) -> str:
|
|
46
|
+
"""Returns the JSON representation of the model using alias"""
|
|
47
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
48
|
+
return json.dumps(self.to_dict())
|
|
49
|
+
|
|
50
|
+
@classmethod
|
|
51
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
+
"""Create an instance of V1TempPasswordPutRequest from a JSON string"""
|
|
53
|
+
return cls.from_dict(json.loads(json_str))
|
|
54
|
+
|
|
55
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
+
"""Return the dictionary representation of the model using alias.
|
|
57
|
+
|
|
58
|
+
This has the following differences from calling pydantic's
|
|
59
|
+
`self.model_dump(by_alias=True)`:
|
|
60
|
+
|
|
61
|
+
* `None` is only added to the output dict for nullable fields that
|
|
62
|
+
were set at model initialization. Other fields with value `None`
|
|
63
|
+
are ignored.
|
|
64
|
+
"""
|
|
65
|
+
excluded_fields: Set[str] = set([
|
|
66
|
+
])
|
|
67
|
+
|
|
68
|
+
_dict = self.model_dump(
|
|
69
|
+
by_alias=True,
|
|
70
|
+
exclude=excluded_fields,
|
|
71
|
+
exclude_none=True,
|
|
72
|
+
)
|
|
73
|
+
return _dict
|
|
74
|
+
|
|
75
|
+
@classmethod
|
|
76
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
77
|
+
"""Create an instance of V1TempPasswordPutRequest from a dict"""
|
|
78
|
+
if obj is None:
|
|
79
|
+
return None
|
|
80
|
+
|
|
81
|
+
if not isinstance(obj, dict):
|
|
82
|
+
return cls.model_validate(obj)
|
|
83
|
+
|
|
84
|
+
_obj = cls.model_validate({
|
|
85
|
+
"customerName": obj.get("customerName"),
|
|
86
|
+
"emails": obj.get("emails"),
|
|
87
|
+
"serviceName": obj.get("serviceName")
|
|
88
|
+
})
|
|
89
|
+
return _obj
|
|
90
|
+
|
|
91
|
+
|
|
@@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
22
22
|
from graphiant_sdk.models.v1_alarm_history_get200_response_history_inner_time import V1AlarmHistoryGet200ResponseHistoryInnerTime
|
|
23
23
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_data_plane import V1BackboneHealthDeviceDeviceIdPost200ResponseDataPlane
|
|
24
24
|
from graphiant_sdk.models.v1_backbone_health_device_device_id_post200_response_issues_inner import V1BackboneHealthDeviceDeviceIdPost200ResponseIssuesInner
|
|
25
|
-
from graphiant_sdk.models.
|
|
25
|
+
from graphiant_sdk.models.v1_edges_hardware_assigned_get200_response_edges_summary_inner_upgrade_summary_last_running_version import V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion
|
|
26
26
|
from graphiant_sdk.models.v1_troubleshooting_device_device_id_post200_response_control_plane import V1TroubleshootingDeviceDeviceIdPost200ResponseControlPlane
|
|
27
27
|
from graphiant_sdk.models.v1_troubleshooting_device_device_id_post200_response_system_plane import V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane
|
|
28
28
|
from typing import Optional, Set
|
|
@@ -40,7 +40,7 @@ class V1TroubleshootingDeviceDeviceIdPost200Response(BaseModel):
|
|
|
40
40
|
lifecycle_status: Optional[StrictStr] = Field(default=None, alias="lifecycleStatus")
|
|
41
41
|
status: Optional[StrictStr] = None
|
|
42
42
|
sw_version: Optional[StrictStr] = Field(default=None, alias="swVersion")
|
|
43
|
-
sw_version_v2: Optional[
|
|
43
|
+
sw_version_v2: Optional[V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion] = Field(default=None, alias="swVersionV2")
|
|
44
44
|
system_plane: Optional[V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane] = Field(default=None, alias="systemPlane")
|
|
45
45
|
up_since_ts: Optional[V1AlarmHistoryGet200ResponseHistoryInnerTime] = Field(default=None, alias="upSinceTs")
|
|
46
46
|
__properties: ClassVar[List[str]] = ["MaintenanceMode", "colrActive", "controlPlane", "dataPlane", "issues", "lifecycleStatus", "status", "swVersion", "swVersionV2", "systemPlane", "upSinceTs"]
|
|
@@ -126,7 +126,7 @@ class V1TroubleshootingDeviceDeviceIdPost200Response(BaseModel):
|
|
|
126
126
|
"lifecycleStatus": obj.get("lifecycleStatus"),
|
|
127
127
|
"status": obj.get("status"),
|
|
128
128
|
"swVersion": obj.get("swVersion"),
|
|
129
|
-
"swVersionV2":
|
|
129
|
+
"swVersionV2": V1EdgesHardwareAssignedGet200ResponseEdgesSummaryInnerUpgradeSummaryLastRunningVersion.from_dict(obj["swVersionV2"]) if obj.get("swVersionV2") is not None else None,
|
|
130
130
|
"systemPlane": V1TroubleshootingDeviceDeviceIdPost200ResponseSystemPlane.from_dict(obj["systemPlane"]) if obj.get("systemPlane") is not None else None,
|
|
131
131
|
"upSinceTs": V1AlarmHistoryGet200ResponseHistoryInnerTime.from_dict(obj["upSinceTs"]) if obj.get("upSinceTs") is not None else None
|
|
132
132
|
})
|