diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 1b22a87f..3affb2cc 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -190,6 +190,7 @@ Method | HTTP request | Description [**v1_edges_hardware_assigned_get**](DefaultApi.md#v1_edges_hardware_assigned_get) | **GET** /v1/edges-hardware/assigned | [**v1_edges_hardware_unassigned_get**](DefaultApi.md#v1_edges_hardware_unassigned_get) | **GET** /v1/edges-hardware/unassigned | [**v1_edges_summary_get**](DefaultApi.md#v1_edges_summary_get) | **GET** /v1/edges-summary | +[**v1_edges_summary_post**](DefaultApi.md#v1_edges_summary_post) | **POST** /v1/edges-summary | [**v1_enterprise_allocation_get**](DefaultApi.md#v1_enterprise_allocation_get) | **GET** /v1/enterprise/allocation | [**v1_enterprise_configuration_get**](DefaultApi.md#v1_enterprise_configuration_get) | **GET** /v1/enterprise/configuration | [**v1_enterprise_configuration_put**](DefaultApi.md#v1_enterprise_configuration_put) | **PUT** /v1/enterprise/configuration | @@ -300,6 +301,9 @@ Method | HTTP request | Description [**v1_global_lan_segments_id_delete**](DefaultApi.md#v1_global_lan_segments_id_delete) | **DELETE** /v1/global/lan-segments/{id} | [**v1_global_lan_segments_post**](DefaultApi.md#v1_global_lan_segments_post) | **POST** /v1/global/lan-segments | [**v1_global_lan_segments_vrf_id_devices_get**](DefaultApi.md#v1_global_lan_segments_vrf_id_devices_get) | **GET** /v1/global/lan-segments/{vrfId}/devices | +[**v1_global_ntps_device_get**](DefaultApi.md#v1_global_ntps_device_get) | **GET** /v1/global/ntps/device | +[**v1_global_ntps_post**](DefaultApi.md#v1_global_ntps_post) | **POST** /v1/global/ntps | +[**v1_global_ntps_site_get**](DefaultApi.md#v1_global_ntps_site_get) | **GET** /v1/global/ntps/site | [**v1_global_prefix_sets_device_get**](DefaultApi.md#v1_global_prefix_sets_device_get) | **GET** /v1/global/prefix-sets/device | [**v1_global_prefix_sets_post**](DefaultApi.md#v1_global_prefix_sets_post) | **POST** /v1/global/prefix-sets | [**v1_global_prefix_sets_site_get**](DefaultApi.md#v1_global_prefix_sets_site_get) | **GET** /v1/global/prefix-sets/site | @@ -524,7 +528,7 @@ Method | HTTP request | Description # **v1_account_email_patch** -> object v1_account_email_patch(authorization, v1_account_email_patch_request) +> v1_account_email_patch(authorization, v1_account_email_patch_request) Update user's email address with verification. @@ -563,9 +567,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_account_email_patch_request = graphiant_sdk.V1AccountEmailPatchRequest() # V1AccountEmailPatchRequest | try: - api_response = api_instance.v1_account_email_patch(authorization, v1_account_email_patch_request) - print("The response of DefaultApi->v1_account_email_patch:\n") - pprint(api_response) + api_instance.v1_account_email_patch(authorization, v1_account_email_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_account_email_patch: %s\n" % e) ``` @@ -582,7 +584,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -591,7 +593,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -602,7 +604,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_account_info_patch** -> object v1_account_info_patch(authorization, v1_account_info_patch_request) +> v1_account_info_patch(authorization, v1_account_info_patch_request) Update current user's profile information. @@ -641,9 +643,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_account_info_patch_request = graphiant_sdk.V1AccountInfoPatchRequest() # V1AccountInfoPatchRequest | try: - api_response = api_instance.v1_account_info_patch(authorization, v1_account_info_patch_request) - print("The response of DefaultApi->v1_account_info_patch:\n") - pprint(api_response) + api_instance.v1_account_info_patch(authorization, v1_account_info_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_account_info_patch: %s\n" % e) ``` @@ -660,7 +660,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -669,7 +669,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -759,7 +759,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_account_mfa_delete** -> object v1_account_mfa_delete(authorization) +> v1_account_mfa_delete(authorization) Remove user's MFA enrollment. @@ -796,9 +796,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_account_mfa_delete(authorization) - print("The response of DefaultApi->v1_account_mfa_delete:\n") - pprint(api_response) + api_instance.v1_account_mfa_delete(authorization) except Exception as e: print("Exception when calling DefaultApi->v1_account_mfa_delete: %s\n" % e) ``` @@ -814,7 +812,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -823,7 +821,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -989,7 +987,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_account_password_patch** -> object v1_account_password_patch(authorization, v1_account_password_patch_request) +> v1_account_password_patch(authorization, v1_account_password_patch_request) Change user password with current password verification (Graphiant cloud only). @@ -1028,9 +1026,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_account_password_patch_request = graphiant_sdk.V1AccountPasswordPatchRequest() # V1AccountPasswordPatchRequest | try: - api_response = api_instance.v1_account_password_patch(authorization, v1_account_password_patch_request) - print("The response of DefaultApi->v1_account_password_patch:\n") - pprint(api_response) + api_instance.v1_account_password_patch(authorization, v1_account_password_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_account_password_patch: %s\n" % e) ``` @@ -1047,7 +1043,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -1056,7 +1052,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -1218,7 +1214,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_alarm_mute_alarm_id_put** -> object v1_alarm_mute_alarm_id_put(authorization, alarm_id, v1_alarm_mute_alarm_id_put_request) +> v1_alarm_mute_alarm_id_put(authorization, alarm_id, v1_alarm_mute_alarm_id_put_request) ### Example @@ -1256,9 +1252,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_alarm_mute_alarm_id_put_request = graphiant_sdk.V1AlarmMuteAlarmIdPutRequest() # V1AlarmMuteAlarmIdPutRequest | try: - api_response = api_instance.v1_alarm_mute_alarm_id_put(authorization, alarm_id, v1_alarm_mute_alarm_id_put_request) - print("The response of DefaultApi->v1_alarm_mute_alarm_id_put:\n") - pprint(api_response) + api_instance.v1_alarm_mute_alarm_id_put(authorization, alarm_id, v1_alarm_mute_alarm_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_alarm_mute_alarm_id_put: %s\n" % e) ``` @@ -1276,7 +1270,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -1285,7 +1279,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -1918,7 +1912,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_delete** -> V1AuthDeleteResponse v1_auth_delete(authorization) +> v1_auth_delete(authorization) Remove Identity Provider configuration and revert to default authentication. @@ -1928,7 +1922,6 @@ Remove Identity Provider configuration and revert to default authentication. ```python import graphiant_sdk -from graphiant_sdk.models.v1_auth_delete_response import V1AuthDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -1956,9 +1949,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_auth_delete(authorization) - print("The response of DefaultApi->v1_auth_delete:\n") - pprint(api_response) + api_instance.v1_auth_delete(authorization) except Exception as e: print("Exception when calling DefaultApi->v1_auth_delete: %s\n" % e) ``` @@ -1974,7 +1965,7 @@ Name | Type | Description | Notes ### Return type -[**V1AuthDeleteResponse**](V1AuthDeleteResponse.md) +void (empty response body) ### Authorization @@ -1983,7 +1974,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -2527,7 +2518,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_mfa_delete** -> object v1_auth_mfa_delete(authorization) +> v1_auth_mfa_delete(authorization) Remove Multi-Factor Authentication enrollment for the tenant. @@ -2564,9 +2555,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_auth_mfa_delete(authorization) - print("The response of DefaultApi->v1_auth_mfa_delete:\n") - pprint(api_response) + api_instance.v1_auth_mfa_delete(authorization) except Exception as e: print("Exception when calling DefaultApi->v1_auth_mfa_delete: %s\n" % e) ``` @@ -2582,7 +2571,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -2591,7 +2580,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -2602,7 +2591,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_mfa_patch** -> object v1_auth_mfa_patch(authorization, v1_auth_mfa_patch_request) +> v1_auth_mfa_patch(authorization, v1_auth_mfa_patch_request) Enroll tenant in Multi-Factor Authentication (SMS, GoogleAuth). @@ -2641,9 +2630,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_auth_mfa_patch_request = graphiant_sdk.V1AuthMfaPatchRequest() # V1AuthMfaPatchRequest | try: - api_response = api_instance.v1_auth_mfa_patch(authorization, v1_auth_mfa_patch_request) - print("The response of DefaultApi->v1_auth_mfa_patch:\n") - pprint(api_response) + api_instance.v1_auth_mfa_patch(authorization, v1_auth_mfa_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_auth_mfa_patch: %s\n" % e) ``` @@ -2660,7 +2647,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -2669,7 +2656,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -2833,7 +2820,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_mfa_types_put** -> object v1_auth_mfa_types_put(authorization, v1_auth_mfa_types_put_request) +> v1_auth_mfa_types_put(authorization, v1_auth_mfa_types_put_request) Update enterprise MFA policy to allow/disallow specific MFA types. @@ -2872,9 +2859,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_auth_mfa_types_put_request = graphiant_sdk.V1AuthMfaTypesPutRequest() # V1AuthMfaTypesPutRequest | try: - api_response = api_instance.v1_auth_mfa_types_put(authorization, v1_auth_mfa_types_put_request) - print("The response of DefaultApi->v1_auth_mfa_types_put:\n") - pprint(api_response) + api_instance.v1_auth_mfa_types_put(authorization, v1_auth_mfa_types_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_auth_mfa_types_put: %s\n" % e) ``` @@ -2891,7 +2876,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -2900,7 +2885,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -2911,7 +2896,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_patch** -> V1AuthPatchResponse v1_auth_patch(authorization, v1_auth_patch_request) +> v1_auth_patch(authorization, v1_auth_patch_request) Update Identity Provider configuration (certificates, endpoints, etc.). @@ -2922,7 +2907,6 @@ Update Identity Provider configuration (certificates, endpoints, etc.). ```python import graphiant_sdk from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest -from graphiant_sdk.models.v1_auth_patch_response import V1AuthPatchResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -2951,9 +2935,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_auth_patch_request = graphiant_sdk.V1AuthPatchRequest() # V1AuthPatchRequest | try: - api_response = api_instance.v1_auth_patch(authorization, v1_auth_patch_request) - print("The response of DefaultApi->v1_auth_patch:\n") - pprint(api_response) + api_instance.v1_auth_patch(authorization, v1_auth_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_auth_patch: %s\n" % e) ``` @@ -2970,7 +2952,7 @@ Name | Type | Description | Notes ### Return type -[**V1AuthPatchResponse**](V1AuthPatchResponse.md) +void (empty response body) ### Authorization @@ -2979,7 +2961,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -2990,7 +2972,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_auth_put** -> V1AuthPutResponse v1_auth_put(authorization, v1_auth_put_request) +> v1_auth_put(authorization, v1_auth_put_request) Configure Identity Provider (SAML) for enterprise. Creates IDP configuration affecting all users in the enterprise. @@ -3001,7 +2983,6 @@ Configure Identity Provider (SAML) for enterprise. Creates IDP configuration aff ```python import graphiant_sdk from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest -from graphiant_sdk.models.v1_auth_put_response import V1AuthPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -3030,9 +3011,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_auth_put_request = graphiant_sdk.V1AuthPutRequest() # V1AuthPutRequest | try: - api_response = api_instance.v1_auth_put(authorization, v1_auth_put_request) - print("The response of DefaultApi->v1_auth_put:\n") - pprint(api_response) + api_instance.v1_auth_put(authorization, v1_auth_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_auth_put: %s\n" % e) ``` @@ -3049,7 +3028,7 @@ Name | Type | Description | Notes ### Return type -[**V1AuthPutResponse**](V1AuthPutResponse.md) +void (empty response body) ### Authorization @@ -3058,7 +3037,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -8769,7 +8748,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_device_snapshot_snapshot_id_delete** -> object v1_device_snapshot_snapshot_id_delete(authorization, snapshot_id) +> v1_device_snapshot_snapshot_id_delete(authorization, snapshot_id) Delete specified device snapshot @@ -8807,9 +8786,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: snapshot_id = 1234567891011 # int | try: - api_response = api_instance.v1_device_snapshot_snapshot_id_delete(authorization, snapshot_id) - print("The response of DefaultApi->v1_device_snapshot_snapshot_id_delete:\n") - pprint(api_response) + api_instance.v1_device_snapshot_snapshot_id_delete(authorization, snapshot_id) except Exception as e: print("Exception when calling DefaultApi->v1_device_snapshot_snapshot_id_delete: %s\n" % e) ``` @@ -8826,7 +8803,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -8835,7 +8812,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -9077,7 +9054,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_bringup_put** -> object v1_devices_bringup_put(authorization, v1_devices_bringup_put_request) +> v1_devices_bringup_put(authorization, v1_devices_bringup_put_request) ### Example @@ -9114,9 +9091,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_devices_bringup_put_request = graphiant_sdk.V1DevicesBringupPutRequest() # V1DevicesBringupPutRequest | try: - api_response = api_instance.v1_devices_bringup_put(authorization, v1_devices_bringup_put_request) - print("The response of DefaultApi->v1_devices_bringup_put:\n") - pprint(api_response) + api_instance.v1_devices_bringup_put(authorization, v1_devices_bringup_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_devices_bringup_put: %s\n" % e) ``` @@ -9133,7 +9108,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -9142,7 +9117,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -9858,7 +9833,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_device_id_draft_delete** -> object v1_devices_device_id_draft_delete(authorization, device_id) +> v1_devices_device_id_draft_delete(authorization, device_id) Delete draft configuration @@ -9896,9 +9871,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: device_id = 1234567891011 # int | try: - api_response = api_instance.v1_devices_device_id_draft_delete(authorization, device_id) - print("The response of DefaultApi->v1_devices_device_id_draft_delete:\n") - pprint(api_response) + api_instance.v1_devices_device_id_draft_delete(authorization, device_id) except Exception as e: print("Exception when calling DefaultApi->v1_devices_device_id_draft_delete: %s\n" % e) ``` @@ -9915,7 +9888,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -9924,7 +9897,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -11795,7 +11768,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_inventory_enterprise_put** -> object v1_devices_inventory_enterprise_put(authorization, v1_devices_inventory_enterprise_put_request) +> v1_devices_inventory_enterprise_put(authorization, v1_devices_inventory_enterprise_put_request) ### Example @@ -11832,9 +11805,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_devices_inventory_enterprise_put_request = graphiant_sdk.V1DevicesInventoryEnterprisePutRequest() # V1DevicesInventoryEnterprisePutRequest | try: - api_response = api_instance.v1_devices_inventory_enterprise_put(authorization, v1_devices_inventory_enterprise_put_request) - print("The response of DefaultApi->v1_devices_inventory_enterprise_put:\n") - pprint(api_response) + api_instance.v1_devices_inventory_enterprise_put(authorization, v1_devices_inventory_enterprise_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_devices_inventory_enterprise_put: %s\n" % e) ``` @@ -11851,7 +11822,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -11860,7 +11831,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -12098,7 +12069,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_inventory_serial_num_delete** -> object v1_devices_inventory_serial_num_delete(authorization, device_serials=device_serials) +> v1_devices_inventory_serial_num_delete(authorization, device_serials=device_serials) ### Example @@ -12134,9 +12105,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: device_serials = ['device_serials_example'] # List[str] | (optional) try: - api_response = api_instance.v1_devices_inventory_serial_num_delete(authorization, device_serials=device_serials) - print("The response of DefaultApi->v1_devices_inventory_serial_num_delete:\n") - pprint(api_response) + api_instance.v1_devices_inventory_serial_num_delete(authorization, device_serials=device_serials) except Exception as e: print("Exception when calling DefaultApi->v1_devices_inventory_serial_num_delete: %s\n" % e) ``` @@ -12153,7 +12122,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -12162,7 +12131,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -12957,7 +12926,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_upgrade_cancel_put** -> object v1_devices_upgrade_cancel_put(authorization, v1_devices_upgrade_cancel_put_request) +> v1_devices_upgrade_cancel_put(authorization, v1_devices_upgrade_cancel_put_request) ### Example @@ -12994,9 +12963,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_devices_upgrade_cancel_put_request = graphiant_sdk.V1DevicesUpgradeCancelPutRequest() # V1DevicesUpgradeCancelPutRequest | try: - api_response = api_instance.v1_devices_upgrade_cancel_put(authorization, v1_devices_upgrade_cancel_put_request) - print("The response of DefaultApi->v1_devices_upgrade_cancel_put:\n") - pprint(api_response) + api_instance.v1_devices_upgrade_cancel_put(authorization, v1_devices_upgrade_cancel_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_devices_upgrade_cancel_put: %s\n" % e) ``` @@ -13013,7 +12980,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13022,7 +12989,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13033,7 +13000,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_devices_upgrade_schedule_put** -> object v1_devices_upgrade_schedule_put(authorization, v1_devices_upgrade_schedule_put_request) +> v1_devices_upgrade_schedule_put(authorization, v1_devices_upgrade_schedule_put_request) ### Example @@ -13070,9 +13037,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_devices_upgrade_schedule_put_request = graphiant_sdk.V1DevicesUpgradeSchedulePutRequest() # V1DevicesUpgradeSchedulePutRequest | try: - api_response = api_instance.v1_devices_upgrade_schedule_put(authorization, v1_devices_upgrade_schedule_put_request) - print("The response of DefaultApi->v1_devices_upgrade_schedule_put:\n") - pprint(api_response) + api_instance.v1_devices_upgrade_schedule_put(authorization, v1_devices_upgrade_schedule_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_devices_upgrade_schedule_put: %s\n" % e) ``` @@ -13089,7 +13054,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13098,7 +13063,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13190,7 +13155,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_archive_delete_archive_id_delete** -> object v1_diagnostic_archive_delete_archive_id_delete(authorization, archive_id) +> v1_diagnostic_archive_delete_archive_id_delete(authorization, archive_id) Delete a device debug archive @@ -13228,9 +13193,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: archive_id = 1000000 # int | Unique identifier for a specific archive try: - api_response = api_instance.v1_diagnostic_archive_delete_archive_id_delete(authorization, archive_id) - print("The response of DefaultApi->v1_diagnostic_archive_delete_archive_id_delete:\n") - pprint(api_response) + api_instance.v1_diagnostic_archive_delete_archive_id_delete(authorization, archive_id) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_archive_delete_archive_id_delete: %s\n" % e) ``` @@ -13247,7 +13210,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13256,7 +13219,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13267,7 +13230,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_archive_edit_archive_id_put** -> object v1_diagnostic_archive_edit_archive_id_put(authorization, archive_id, v1_diagnostic_archive_edit_archive_id_put_request) +> v1_diagnostic_archive_edit_archive_id_put(authorization, archive_id, v1_diagnostic_archive_edit_archive_id_put_request) Edit metadata for a previously generated device debug archive @@ -13307,9 +13270,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_archive_edit_archive_id_put_request = graphiant_sdk.V1DiagnosticArchiveEditArchiveIdPutRequest() # V1DiagnosticArchiveEditArchiveIdPutRequest | try: - api_response = api_instance.v1_diagnostic_archive_edit_archive_id_put(authorization, archive_id, v1_diagnostic_archive_edit_archive_id_put_request) - print("The response of DefaultApi->v1_diagnostic_archive_edit_archive_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_archive_edit_archive_id_put(authorization, archive_id, v1_diagnostic_archive_edit_archive_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_archive_edit_archive_id_put: %s\n" % e) ``` @@ -13327,7 +13288,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13336,7 +13297,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13425,7 +13386,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_bgp_reset_device_id_put** -> object v1_diagnostic_bgp_reset_device_id_put(authorization, device_id, v1_diagnostic_bgp_reset_device_id_put_request) +> v1_diagnostic_bgp_reset_device_id_put(authorization, device_id, v1_diagnostic_bgp_reset_device_id_put_request) Reset a BGP neighbor @@ -13465,9 +13426,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_bgp_reset_device_id_put_request = graphiant_sdk.V1DiagnosticBgpResetDeviceIdPutRequest() # V1DiagnosticBgpResetDeviceIdPutRequest | try: - api_response = api_instance.v1_diagnostic_bgp_reset_device_id_put(authorization, device_id, v1_diagnostic_bgp_reset_device_id_put_request) - print("The response of DefaultApi->v1_diagnostic_bgp_reset_device_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_bgp_reset_device_id_put(authorization, device_id, v1_diagnostic_bgp_reset_device_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_bgp_reset_device_id_put: %s\n" % e) ``` @@ -13485,7 +13444,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13494,7 +13453,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13505,7 +13464,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_clear_arp_device_id_put** -> object v1_diagnostic_clear_arp_device_id_put(authorization, device_id, v1_diagnostic_clear_arp_device_id_put_request) +> v1_diagnostic_clear_arp_device_id_put(authorization, device_id, v1_diagnostic_clear_arp_device_id_put_request) Clear arp entries @@ -13545,9 +13504,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_clear_arp_device_id_put_request = graphiant_sdk.V1DiagnosticClearArpDeviceIdPutRequest() # V1DiagnosticClearArpDeviceIdPutRequest | try: - api_response = api_instance.v1_diagnostic_clear_arp_device_id_put(authorization, device_id, v1_diagnostic_clear_arp_device_id_put_request) - print("The response of DefaultApi->v1_diagnostic_clear_arp_device_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_clear_arp_device_id_put(authorization, device_id, v1_diagnostic_clear_arp_device_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_clear_arp_device_id_put: %s\n" % e) ``` @@ -13565,7 +13522,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13574,7 +13531,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13661,7 +13618,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_interface_reset_device_id_put** -> object v1_diagnostic_interface_reset_device_id_put(authorization, device_id, v1_diagnostic_interface_reset_device_id_put_request) +> v1_diagnostic_interface_reset_device_id_put(authorization, device_id, v1_diagnostic_interface_reset_device_id_put_request) Reset an interface @@ -13701,9 +13658,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_interface_reset_device_id_put_request = graphiant_sdk.V1DiagnosticInterfaceResetDeviceIdPutRequest() # V1DiagnosticInterfaceResetDeviceIdPutRequest | try: - api_response = api_instance.v1_diagnostic_interface_reset_device_id_put(authorization, device_id, v1_diagnostic_interface_reset_device_id_put_request) - print("The response of DefaultApi->v1_diagnostic_interface_reset_device_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_interface_reset_device_id_put(authorization, device_id, v1_diagnostic_interface_reset_device_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_interface_reset_device_id_put: %s\n" % e) ``` @@ -13721,7 +13676,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -13730,7 +13685,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -13976,7 +13931,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_packetcapture_stop_post** -> object v1_diagnostic_packetcapture_stop_post(authorization, v1_diagnostic_packetcapture_stop_post_request) +> v1_diagnostic_packetcapture_stop_post(authorization, v1_diagnostic_packetcapture_stop_post_request) Stop packet capture @@ -14015,9 +13970,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_packetcapture_stop_post_request = graphiant_sdk.V1DiagnosticPacketcaptureStopPostRequest() # V1DiagnosticPacketcaptureStopPostRequest | try: - api_response = api_instance.v1_diagnostic_packetcapture_stop_post(authorization, v1_diagnostic_packetcapture_stop_post_request) - print("The response of DefaultApi->v1_diagnostic_packetcapture_stop_post:\n") - pprint(api_response) + api_instance.v1_diagnostic_packetcapture_stop_post(authorization, v1_diagnostic_packetcapture_stop_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_packetcapture_stop_post: %s\n" % e) ``` @@ -14034,7 +13987,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -14043,7 +13996,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -14054,7 +14007,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_ping_pause_resume_post** -> V1DiagnosticPingPauseResumePostResponse v1_diagnostic_ping_pause_resume_post(authorization, v1_diagnostic_ping_pause_resume_post_request) +> v1_diagnostic_ping_pause_resume_post(authorization, v1_diagnostic_ping_pause_resume_post_request) Pause and/or Resume a ping session @@ -14065,7 +14018,6 @@ Pause and/or Resume a ping session ```python import graphiant_sdk from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_request import V1DiagnosticPingPauseResumePostRequest -from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_response import V1DiagnosticPingPauseResumePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -14094,9 +14046,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_ping_pause_resume_post_request = graphiant_sdk.V1DiagnosticPingPauseResumePostRequest() # V1DiagnosticPingPauseResumePostRequest | try: - api_response = api_instance.v1_diagnostic_ping_pause_resume_post(authorization, v1_diagnostic_ping_pause_resume_post_request) - print("The response of DefaultApi->v1_diagnostic_ping_pause_resume_post:\n") - pprint(api_response) + api_instance.v1_diagnostic_ping_pause_resume_post(authorization, v1_diagnostic_ping_pause_resume_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_ping_pause_resume_post: %s\n" % e) ``` @@ -14113,7 +14063,7 @@ Name | Type | Description | Notes ### Return type -[**V1DiagnosticPingPauseResumePostResponse**](V1DiagnosticPingPauseResumePostResponse.md) +void (empty response body) ### Authorization @@ -14122,7 +14072,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -14212,7 +14162,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_ping_stop_token_post** -> object v1_diagnostic_ping_stop_token_post(authorization, token, body) +> v1_diagnostic_ping_stop_token_post(authorization, token, body) Stop ping session @@ -14251,9 +14201,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: body = None # object | try: - api_response = api_instance.v1_diagnostic_ping_stop_token_post(authorization, token, body) - print("The response of DefaultApi->v1_diagnostic_ping_stop_token_post:\n") - pprint(api_response) + api_instance.v1_diagnostic_ping_stop_token_post(authorization, token, body) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_ping_stop_token_post: %s\n" % e) ``` @@ -14271,7 +14219,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -14280,7 +14228,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -14291,7 +14239,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_reboot_device_id_put** -> object v1_diagnostic_reboot_device_id_put(authorization, device_id, v1_diagnostic_reboot_device_id_put_request) +> v1_diagnostic_reboot_device_id_put(authorization, device_id, v1_diagnostic_reboot_device_id_put_request) Trigger a device reboot @@ -14331,9 +14279,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_reboot_device_id_put_request = graphiant_sdk.V1DiagnosticRebootDeviceIdPutRequest() # V1DiagnosticRebootDeviceIdPutRequest | try: - api_response = api_instance.v1_diagnostic_reboot_device_id_put(authorization, device_id, v1_diagnostic_reboot_device_id_put_request) - print("The response of DefaultApi->v1_diagnostic_reboot_device_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_reboot_device_id_put(authorization, device_id, v1_diagnostic_reboot_device_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_reboot_device_id_put: %s\n" % e) ``` @@ -14351,7 +14297,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -14360,7 +14306,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -14371,7 +14317,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_diagnostic_reset_ipsec_session_device_id_put** -> object v1_diagnostic_reset_ipsec_session_device_id_put(authorization, device_id, v1_diagnostic_reset_ipsec_session_device_id_put_request) +> v1_diagnostic_reset_ipsec_session_device_id_put(authorization, device_id, v1_diagnostic_reset_ipsec_session_device_id_put_request) Reset IPSec sessions @@ -14411,9 +14357,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_diagnostic_reset_ipsec_session_device_id_put_request = graphiant_sdk.V1DiagnosticResetIpsecSessionDeviceIdPutRequest() # V1DiagnosticResetIpsecSessionDeviceIdPutRequest | try: - api_response = api_instance.v1_diagnostic_reset_ipsec_session_device_id_put(authorization, device_id, v1_diagnostic_reset_ipsec_session_device_id_put_request) - print("The response of DefaultApi->v1_diagnostic_reset_ipsec_session_device_id_put:\n") - pprint(api_response) + api_instance.v1_diagnostic_reset_ipsec_session_device_id_put(authorization, device_id, v1_diagnostic_reset_ipsec_session_device_id_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_diagnostic_reset_ipsec_session_device_id_put: %s\n" % e) ``` @@ -14431,7 +14375,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -14440,7 +14384,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -15061,6 +15005,83 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **v1_edges_summary_post** +> V1EdgesSummaryPostResponse v1_edges_summary_post(authorization, v1_edges_summary_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_edges_summary_post_request = graphiant_sdk.V1EdgesSummaryPostRequest() # V1EdgesSummaryPostRequest | + + try: + api_response = api_instance.v1_edges_summary_post(authorization, v1_edges_summary_post_request) + print("The response of DefaultApi->v1_edges_summary_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_edges_summary_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_edges_summary_post_request** | [**V1EdgesSummaryPostRequest**](V1EdgesSummaryPostRequest.md)| | + +### Return type + +[**V1EdgesSummaryPostResponse**](V1EdgesSummaryPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **v1_enterprise_allocation_get** > V1EnterpriseAllocationGetResponse v1_enterprise_allocation_get(authorization) @@ -15524,7 +15545,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_enterprises_enterprise_id_delete** -> V1EnterprisesEnterpriseIdDeleteResponse v1_enterprises_enterprise_id_delete(authorization, enterprise_id) +> v1_enterprises_enterprise_id_delete(authorization, enterprise_id) Delete a specific enterprise by ID (you must manage this tenant). @@ -15534,7 +15555,6 @@ Delete a specific enterprise by ID (you must manage this tenant). ```python import graphiant_sdk -from graphiant_sdk.models.v1_enterprises_enterprise_id_delete_response import V1EnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -15563,9 +15583,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: enterprise_id = 1234567891011 # int | try: - api_response = api_instance.v1_enterprises_enterprise_id_delete(authorization, enterprise_id) - print("The response of DefaultApi->v1_enterprises_enterprise_id_delete:\n") - pprint(api_response) + api_instance.v1_enterprises_enterprise_id_delete(authorization, enterprise_id) except Exception as e: print("Exception when calling DefaultApi->v1_enterprises_enterprise_id_delete: %s\n" % e) ``` @@ -15582,7 +15600,7 @@ Name | Type | Description | Notes ### Return type -[**V1EnterprisesEnterpriseIdDeleteResponse**](V1EnterprisesEnterpriseIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -15591,7 +15609,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -15678,7 +15696,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_enterprises_eula_post** -> object v1_enterprises_eula_post(authorization, body) +> v1_enterprises_eula_post(authorization, body) Accept End User License Agreement for the enterprise. @@ -15716,9 +15734,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: body = None # object | try: - api_response = api_instance.v1_enterprises_eula_post(authorization, body) - print("The response of DefaultApi->v1_enterprises_eula_post:\n") - pprint(api_response) + api_instance.v1_enterprises_eula_post(authorization, body) except Exception as e: print("Exception when calling DefaultApi->v1_enterprises_eula_post: %s\n" % e) ``` @@ -15735,7 +15751,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -15744,7 +15760,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -15911,7 +15927,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_enterprises_patch** -> object v1_enterprises_patch(authorization, v1_enterprises_patch_request) +> v1_enterprises_patch(authorization, v1_enterprises_patch_request) Updates all relevent enterprise information. @@ -15950,9 +15966,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_enterprises_patch_request = graphiant_sdk.V1EnterprisesPatchRequest() # V1EnterprisesPatchRequest | try: - api_response = api_instance.v1_enterprises_patch(authorization, v1_enterprises_patch_request) - print("The response of DefaultApi->v1_enterprises_patch:\n") - pprint(api_response) + api_instance.v1_enterprises_patch(authorization, v1_enterprises_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_enterprises_patch: %s\n" % e) ``` @@ -15969,7 +15983,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -15978,7 +15992,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -15989,7 +16003,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_enterprises_put** -> object v1_enterprises_put(authorization, v1_enterprises_put_request) +> v1_enterprises_put(authorization, v1_enterprises_put_request) Create a new enterprise with company details, account type, and admin user. @@ -16028,9 +16042,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_enterprises_put_request = graphiant_sdk.V1EnterprisesPutRequest() # V1EnterprisesPutRequest | try: - api_response = api_instance.v1_enterprises_put(authorization, v1_enterprises_put_request) - print("The response of DefaultApi->v1_enterprises_put:\n") - pprint(api_response) + api_instance.v1_enterprises_put(authorization, v1_enterprises_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_enterprises_put: %s\n" % e) ``` @@ -16047,7 +16059,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -16056,7 +16068,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -16067,7 +16079,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_enterprises_self_delete** -> V1EnterprisesSelfDeleteResponse v1_enterprises_self_delete(authorization) +> v1_enterprises_self_delete(authorization) Delete the current user's enterprise (self-deletion). @@ -16077,7 +16089,6 @@ Delete the current user's enterprise (self-deletion). ```python import graphiant_sdk -from graphiant_sdk.models.v1_enterprises_self_delete_response import V1EnterprisesSelfDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -16105,9 +16116,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_enterprises_self_delete(authorization) - print("The response of DefaultApi->v1_enterprises_self_delete:\n") - pprint(api_response) + api_instance.v1_enterprises_self_delete(authorization) except Exception as e: print("Exception when calling DefaultApi->v1_enterprises_self_delete: %s\n" % e) ``` @@ -16123,7 +16132,7 @@ Name | Type | Description | Notes ### Return type -[**V1EnterprisesSelfDeleteResponse**](V1EnterprisesSelfDeleteResponse.md) +void (empty response body) ### Authorization @@ -16132,7 +16141,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -16767,6 +16776,8 @@ Name | Type | Description | Notes # **v1_extranet_b2b_monitoring_peering_service_service_health_post** > V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse v1_extranet_b2b_monitoring_peering_service_service_health_post(authorization, v1_extranet_b2b_monitoring_peering_service_service_health_post_request) +Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. + ### Example * Api Key Authentication (jwtAuth): @@ -17081,6 +17092,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_consumer_device_status_id_get** > V1ExtranetsB2bConsumerDeviceStatusIdGetResponse v1_extranets_b2b_consumer_device_status_id_get(authorization, id) +Get B2B extranet consumer status + ### Example * Api Key Authentication (jwtAuth): @@ -17157,6 +17170,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_consumer_id_delete** > object v1_extranets_b2b_consumer_id_delete(authorization, id) +Delete a B2B extranet consumer + ### Example * Api Key Authentication (jwtAuth): @@ -17232,6 +17247,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_consumer_id_get** > V1ExtranetsB2bConsumerIdGetResponse v1_extranets_b2b_consumer_id_get(authorization, id) +Get a B2B extranet consumer + ### Example * Api Key Authentication (jwtAuth): @@ -17308,6 +17325,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_consumer_post** > V1ExtranetsB2bConsumerPostResponse v1_extranets_b2b_consumer_post(authorization, v1_extranets_b2b_consumer_post_request) +Create a new B2B extranet consumer + ### Example * Api Key Authentication (jwtAuth): @@ -17385,6 +17404,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_consumer_summary_get** > V1ExtranetsB2bConsumerSummaryGetResponse v1_extranets_b2b_consumer_summary_get(authorization) +Get B2B extranet consumers summary + ### Example * Api Key Authentication (jwtAuth): @@ -17459,6 +17480,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_customer_id_delete** > object v1_extranets_b2b_customer_id_delete(authorization, id) +Delete a B2B extranet customer + ### Example * Api Key Authentication (jwtAuth): @@ -17534,6 +17557,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_customer_info_id_get** > V1ExtranetsB2bCustomerInfoIdGetResponse v1_extranets_b2b_customer_info_id_get(authorization, id) +Get B2B extranet application customer + ### Example * Api Key Authentication (jwtAuth): @@ -17610,6 +17635,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_general_customers_summary_get** > V1ExtranetsB2bGeneralCustomersSummaryGetResponse v1_extranets_b2b_general_customers_summary_get(authorization) +Get summary for a B2B extranet peering services customers + ### Example * Api Key Authentication (jwtAuth): @@ -17684,6 +17711,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_general_services_summary_get** > V1ExtranetsB2bGeneralServicesSummaryGetResponse v1_extranets_b2b_general_services_summary_get(authorization) +Get a summary for all the B2B extranet services + ### Example * Api Key Authentication (jwtAuth): @@ -17758,6 +17787,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_id_customer_post** > V1ExtranetsB2bIdCustomerPostResponse v1_extranets_b2b_id_customer_post(authorization, id, v1_extranets_b2b_id_customer_post_request) +Create B2B extranet application customer invite + ### Example * Api Key Authentication (jwtAuth): @@ -17791,7 +17822,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | Service ID of the application customer is invited to v1_extranets_b2b_id_customer_post_request = graphiant_sdk.V1ExtranetsB2bIdCustomerPostRequest() # V1ExtranetsB2bIdCustomerPostRequest | try: @@ -17810,7 +17841,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| Service ID of the application customer is invited to | **v1_extranets_b2b_id_customer_post_request** | [**V1ExtranetsB2bIdCustomerPostRequest**](V1ExtranetsB2bIdCustomerPostRequest.md)| | ### Return type @@ -17837,6 +17868,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_id_customer_summary_get** > V1ExtranetsB2bIdCustomerSummaryGetResponse v1_extranets_b2b_id_customer_summary_get(authorization, id) +Get B2B extranet application customers summary + ### Example * Api Key Authentication (jwtAuth): @@ -17913,6 +17946,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_id_delete** > object v1_extranets_b2b_id_delete(authorization, id) +Delete a B2B extranet producer + ### Example * Api Key Authentication (jwtAuth): @@ -17944,7 +17979,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the producer service to be deleted try: api_response = api_instance.v1_extranets_b2b_id_delete(authorization, id) @@ -17962,7 +17997,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the producer service to be deleted | ### Return type @@ -17988,6 +18023,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_id_producer_get** > V1ExtranetsB2bIdProducerGetResponse v1_extranets_b2b_id_producer_get(authorization, id, type=type) +Get a B2B extranet producer + ### Example * Api Key Authentication (jwtAuth): @@ -18066,6 +18103,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_id_put** > V1ExtranetsB2bIdPutResponse v1_extranets_b2b_id_put(authorization, id, v1_extranets_b2b_id_put_request) +Update a B2B extranet producer + ### Example * Api Key Authentication (jwtAuth): @@ -18099,7 +18138,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the B2B Application service v1_extranets_b2b_id_put_request = graphiant_sdk.V1ExtranetsB2bIdPutRequest() # V1ExtranetsB2bIdPutRequest | try: @@ -18118,7 +18157,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the B2B Application service | **v1_extranets_b2b_id_put_request** | [**V1ExtranetsB2bIdPutRequest**](V1ExtranetsB2bIdPutRequest.md)| | ### Return type @@ -18145,6 +18184,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get** > V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get(authorization, customer_id) +Get details of a service subscription for a customer + ### Example * Api Key Authentication (jwtAuth): @@ -18221,6 +18262,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_consumer_match_id_match_details_get** > V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse v1_extranets_b2b_peering_consumer_match_id_match_details_get(authorization, match_id) +Get details of a service match for a customer + ### Example * Api Key Authentication (jwtAuth): @@ -18297,6 +18340,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_consumer_match_id_post** > V1ExtranetsB2bPeeringConsumerMatchIdPostResponse v1_extranets_b2b_peering_consumer_match_id_post(authorization, match_id, v1_extranets_b2b_peering_consumer_match_id_post_request) +Create B2B extranet peering service consumer + ### Example * Api Key Authentication (jwtAuth): @@ -18330,7 +18375,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - match_id = 1234567891011 # int | + match_id = 1234567891011 # int | ID of the match for the customer subscription of the service v1_extranets_b2b_peering_consumer_match_id_post_request = graphiant_sdk.V1ExtranetsB2bPeeringConsumerMatchIdPostRequest() # V1ExtranetsB2bPeeringConsumerMatchIdPostRequest | try: @@ -18349,7 +18394,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **match_id** | **int**| | + **match_id** | **int**| ID of the match for the customer subscription of the service | **v1_extranets_b2b_peering_consumer_match_id_post_request** | [**V1ExtranetsB2bPeeringConsumerMatchIdPostRequest**](V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md)| | ### Return type @@ -18376,6 +18421,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_customer_id_delete** > V1ExtranetsB2bPeeringCustomerIdDeleteResponse v1_extranets_b2b_peering_customer_id_delete(authorization, id) +Delete a B2B extranet peering service customer + ### Example * Api Key Authentication (jwtAuth): @@ -18408,7 +18455,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the peering service customer try: api_response = api_instance.v1_extranets_b2b_peering_customer_id_delete(authorization, id) @@ -18426,7 +18473,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the peering service customer | ### Return type @@ -18452,6 +18499,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_customer_id_get** > V1ExtranetsB2bPeeringCustomerIdGetResponse v1_extranets_b2b_peering_customer_id_get(authorization, id) +Get a B2B extranet peering service customer + ### Example * Api Key Authentication (jwtAuth): @@ -18484,7 +18533,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the peering service customer try: api_response = api_instance.v1_extranets_b2b_peering_customer_id_get(authorization, id) @@ -18502,7 +18551,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the peering service customer | ### Return type @@ -18528,6 +18577,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_customer_post** > V1ExtranetsB2bPeeringCustomerPostResponse v1_extranets_b2b_peering_customer_post(authorization, v1_extranets_b2b_peering_customer_post_request) +Create a new B2B extranet peering service customer + ### Example * Api Key Authentication (jwtAuth): @@ -18603,7 +18654,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_extranets_b2b_peering_match_service_to_customer_id_delete** -> object v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) +> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) Unsubscribe a customer from a service @@ -18613,6 +18664,7 @@ Unsubscribe a customer from a service ```python import graphiant_sdk +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -18638,7 +18690,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | id for service to customer match + id = 1234567891011 # int | ID for the service to customer match to be deleted try: api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_delete(authorization, id) @@ -18656,11 +18708,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| id for service to customer match | + **id** | **int**| ID for the service to customer match to be deleted | ### Return type -**object** +[**V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse**](V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md) ### Authorization @@ -18716,7 +18768,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | service id + id = 1234567891011 # int | Service id for which match details are requested try: api_response = api_instance.v1_extranets_b2b_peering_match_service_to_customer_id_get(authorization, id) @@ -18734,7 +18786,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| service id | + **id** | **int**| Service id for which match details are requested | ### Return type @@ -18760,6 +18812,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_match_service_to_customer_post** > V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse v1_extranets_b2b_peering_match_service_to_customer_post(authorization, v1_extranets_b2b_peering_match_service_to_customer_post_request) +Create B2B extranet configuration for matching a service to a customer + ### Example * Api Key Authentication (jwtAuth): @@ -18837,6 +18891,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_match_services_summary_id_get** > V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) +Get B2B extranet services matching customers summary + ### Example * Api Key Authentication (jwtAuth): @@ -18869,7 +18925,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the customer try: api_response = api_instance.v1_extranets_b2b_peering_match_services_summary_id_get(authorization, id) @@ -18887,7 +18943,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the customer | ### Return type @@ -18913,6 +18969,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_producer_id_get** > V1ExtranetsB2bPeeringProducerIdGetResponse v1_extranets_b2b_peering_producer_id_get(authorization, id) +Get B2B extranet peering service producer + ### Example * Api Key Authentication (jwtAuth): @@ -18945,7 +19003,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the service try: api_response = api_instance.v1_extranets_b2b_peering_producer_id_get(authorization, id) @@ -18963,7 +19021,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the service | ### Return type @@ -18989,6 +19047,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_producer_id_matching_customers_summary_get** > V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) +Get B2B extranet customers summary + ### Example * Api Key Authentication (jwtAuth): @@ -19021,7 +19081,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + id = 1234567891011 # int | ID of the customer try: api_response = api_instance.v1_extranets_b2b_peering_producer_id_matching_customers_summary_get(authorization, id) @@ -19039,7 +19099,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **id** | **int**| ID of the customer | ### Return type @@ -19065,6 +19125,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_peering_producer_post** > V1ExtranetsB2bPeeringProducerPostResponse v1_extranets_b2b_peering_producer_post(authorization, v1_extranets_b2b_peering_producer_post_request) +Create a new B2B extranet peering service producer + ### Example * Api Key Authentication (jwtAuth): @@ -19142,6 +19204,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_post** > V1ExtranetsB2bPostResponse v1_extranets_b2b_post(authorization, v1_extranets_b2b_post_request) +Create a new B2B extranet producer + ### Example * Api Key Authentication (jwtAuth): @@ -19219,6 +19283,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_producer_device_status_id_get** > V1ExtranetsB2bProducerDeviceStatusIdGetResponse v1_extranets_b2b_producer_device_status_id_get(authorization, id) +Get B2B extranet producer status + ### Example * Api Key Authentication (jwtAuth): @@ -19295,6 +19361,8 @@ Name | Type | Description | Notes # **v1_extranets_b2b_producers_summary_get** > V1ExtranetsB2bProducersSummaryGetResponse v1_extranets_b2b_producers_summary_get(authorization) +Get B2B extranet producers summary + ### Example * Api Key Authentication (jwtAuth): @@ -23302,7 +23370,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_global_lan_segments_id_delete** -> V1GlobalLanSegmentsIdDeleteResponse v1_global_lan_segments_id_delete(authorization, id) +> v1_global_lan_segments_id_delete(authorization, id) Delete a lan-segment @@ -23312,7 +23380,6 @@ Delete a lan-segment ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_lan_segments_id_delete_response import V1GlobalLanSegmentsIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -23341,9 +23408,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_global_lan_segments_id_delete(authorization, id) - print("The response of DefaultApi->v1_global_lan_segments_id_delete:\n") - pprint(api_response) + api_instance.v1_global_lan_segments_id_delete(authorization, id) except Exception as e: print("Exception when calling DefaultApi->v1_global_lan_segments_id_delete: %s\n" % e) ``` @@ -23360,7 +23425,7 @@ Name | Type | Description | Notes ### Return type -[**V1GlobalLanSegmentsIdDeleteResponse**](V1GlobalLanSegmentsIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -23369,7 +23434,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -23536,6 +23601,237 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **v1_global_ntps_device_get** +> V1GlobalNtpsDeviceGetResponse v1_global_ntps_device_get(authorization) + +Get global ntp objects that failed to attach for a device + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v1_global_ntps_device_get(authorization) + print("The response of DefaultApi->v1_global_ntps_device_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_global_ntps_device_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V1GlobalNtpsDeviceGetResponse**](V1GlobalNtpsDeviceGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_global_ntps_post** +> V1GlobalNtpsPostResponse v1_global_ntps_post(authorization, v1_global_ntps_post_request) + +Get configured global ntps + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_global_ntps_post_request = graphiant_sdk.V1GlobalNtpsPostRequest() # V1GlobalNtpsPostRequest | + + try: + api_response = api_instance.v1_global_ntps_post(authorization, v1_global_ntps_post_request) + print("The response of DefaultApi->v1_global_ntps_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_global_ntps_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_global_ntps_post_request** | [**V1GlobalNtpsPostRequest**](V1GlobalNtpsPostRequest.md)| | + +### Return type + +[**V1GlobalNtpsPostResponse**](V1GlobalNtpsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **v1_global_ntps_site_get** +> V1GlobalNtpsSiteGetResponse v1_global_ntps_site_get(authorization) + +Get configured global ntps + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v1_global_ntps_site_get(authorization) + print("The response of DefaultApi->v1_global_ntps_site_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_global_ntps_site_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V1GlobalNtpsSiteGetResponse**](V1GlobalNtpsSiteGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **v1_global_prefix_sets_device_get** > V1GlobalPrefixSetsDeviceGetResponse v1_global_prefix_sets_device_get(authorization) @@ -24075,7 +24371,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_global_site_lists_id_delete** -> V1GlobalSiteListsIdDeleteResponse v1_global_site_lists_id_delete(authorization, id) +> v1_global_site_lists_id_delete(authorization, id) Delete a site list @@ -24085,7 +24381,6 @@ Delete a site list ```python import graphiant_sdk -from graphiant_sdk.models.v1_global_site_lists_id_delete_response import V1GlobalSiteListsIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -24114,9 +24409,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_global_site_lists_id_delete(authorization, id) - print("The response of DefaultApi->v1_global_site_lists_id_delete:\n") - pprint(api_response) + api_instance.v1_global_site_lists_id_delete(authorization, id) except Exception as e: print("Exception when calling DefaultApi->v1_global_site_lists_id_delete: %s\n" % e) ``` @@ -24133,7 +24426,7 @@ Name | Type | Description | Notes ### Return type -[**V1GlobalSiteListsIdDeleteResponse**](V1GlobalSiteListsIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -24142,7 +24435,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -25547,7 +25840,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_delete** -> V1GroupsIdDeleteResponse v1_groups_id_delete(authorization, id) +> v1_groups_id_delete(authorization, id) Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. @@ -25557,7 +25850,6 @@ Delete a group and remove all member associations and enterprise relationships. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_delete_response import V1GroupsIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -25586,9 +25878,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 'example string' # str | try: - api_response = api_instance.v1_groups_id_delete(authorization, id) - print("The response of DefaultApi->v1_groups_id_delete:\n") - pprint(api_response) + api_instance.v1_groups_id_delete(authorization, id) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_delete: %s\n" % e) ``` @@ -25605,7 +25895,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdDeleteResponse**](V1GroupsIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -25614,7 +25904,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -25625,7 +25915,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_enterprises_enterprise_id_delete** -> V1GroupsIdEnterprisesEnterpriseIdDeleteResponse v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) +> v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) Remove group's association with a specific enterprise, revoking cross-enterprise access. @@ -25635,7 +25925,6 @@ Remove group's association with a specific enterprise, revoking cross-enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_enterprises_enterprise_id_delete_response import V1GroupsIdEnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -25665,9 +25954,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 'example string' # str | try: - api_response = api_instance.v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) - print("The response of DefaultApi->v1_groups_id_enterprises_enterprise_id_delete:\n") - pprint(api_response) + api_instance.v1_groups_id_enterprises_enterprise_id_delete(authorization, enterprise_id, id) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_enterprises_enterprise_id_delete: %s\n" % e) ``` @@ -25685,7 +25972,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdEnterprisesEnterpriseIdDeleteResponse**](V1GroupsIdEnterprisesEnterpriseIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -25694,7 +25981,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -25705,7 +25992,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_enterprises_post** -> object v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) +> v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) Associate group with additional enterprises to enable cross-enterprise access and management. @@ -25745,9 +26032,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_groups_id_enterprises_post_request = graphiant_sdk.V1GroupsIdEnterprisesPostRequest() # V1GroupsIdEnterprisesPostRequest | try: - api_response = api_instance.v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) - print("The response of DefaultApi->v1_groups_id_enterprises_post:\n") - pprint(api_response) + api_instance.v1_groups_id_enterprises_post(authorization, id, v1_groups_id_enterprises_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_enterprises_post: %s\n" % e) ``` @@ -25765,7 +26050,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -25774,7 +26059,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -25863,7 +26148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_members_delete_post** -> V1GroupsIdMembersDeletePostResponse v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) +> v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) Remove multiple users from a group by their member IDs. @@ -25874,7 +26159,6 @@ Remove multiple users from a group by their member IDs. ```python import graphiant_sdk from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest -from graphiant_sdk.models.v1_groups_id_members_delete_post_response import V1GroupsIdMembersDeletePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -25904,9 +26188,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_groups_id_members_delete_post_request = graphiant_sdk.V1GroupsIdMembersDeletePostRequest() # V1GroupsIdMembersDeletePostRequest | try: - api_response = api_instance.v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) - print("The response of DefaultApi->v1_groups_id_members_delete_post:\n") - pprint(api_response) + api_instance.v1_groups_id_members_delete_post(authorization, id, v1_groups_id_members_delete_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_members_delete_post: %s\n" % e) ``` @@ -25924,7 +26206,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdMembersDeletePostResponse**](V1GroupsIdMembersDeletePostResponse.md) +void (empty response body) ### Authorization @@ -25933,7 +26215,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -26022,7 +26304,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_members_member_id_delete** -> V1GroupsIdMembersMemberIdDeleteResponse v1_groups_id_members_member_id_delete(authorization, id, member_id) +> v1_groups_id_members_member_id_delete(authorization, id, member_id) Remove a specific user from a group by member ID. @@ -26032,7 +26314,6 @@ Remove a specific user from a group by member ID. ```python import graphiant_sdk -from graphiant_sdk.models.v1_groups_id_members_member_id_delete_response import V1GroupsIdMembersMemberIdDeleteResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26062,9 +26343,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: member_id = 'example string' # str | try: - api_response = api_instance.v1_groups_id_members_member_id_delete(authorization, id, member_id) - print("The response of DefaultApi->v1_groups_id_members_member_id_delete:\n") - pprint(api_response) + api_instance.v1_groups_id_members_member_id_delete(authorization, id, member_id) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_members_member_id_delete: %s\n" % e) ``` @@ -26082,7 +26361,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdMembersMemberIdDeleteResponse**](V1GroupsIdMembersMemberIdDeleteResponse.md) +void (empty response body) ### Authorization @@ -26091,7 +26370,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -26102,7 +26381,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_members_post** -> V1GroupsIdMembersPostResponse v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) +> v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) Add multiple users to a group by their global IDs. @@ -26113,7 +26392,6 @@ Add multiple users to a group by their global IDs. ```python import graphiant_sdk from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest -from graphiant_sdk.models.v1_groups_id_members_post_response import V1GroupsIdMembersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26143,9 +26421,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_groups_id_members_post_request = graphiant_sdk.V1GroupsIdMembersPostRequest() # V1GroupsIdMembersPostRequest | try: - api_response = api_instance.v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) - print("The response of DefaultApi->v1_groups_id_members_post:\n") - pprint(api_response) + api_instance.v1_groups_id_members_post(authorization, id, v1_groups_id_members_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_members_post: %s\n" % e) ``` @@ -26163,7 +26439,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdMembersPostResponse**](V1GroupsIdMembersPostResponse.md) +void (empty response body) ### Authorization @@ -26172,7 +26448,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -26183,7 +26459,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_id_patch** -> V1GroupsIdPatchResponse v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) +> v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) Update group information. @@ -26194,7 +26470,6 @@ Update group information. ```python import graphiant_sdk from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest -from graphiant_sdk.models.v1_groups_id_patch_response import V1GroupsIdPatchResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -26224,9 +26499,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_groups_id_patch_request = graphiant_sdk.V1GroupsIdPatchRequest() # V1GroupsIdPatchRequest | try: - api_response = api_instance.v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) - print("The response of DefaultApi->v1_groups_id_patch:\n") - pprint(api_response) + api_instance.v1_groups_id_patch(authorization, id, v1_groups_id_patch_request) except Exception as e: print("Exception when calling DefaultApi->v1_groups_id_patch: %s\n" % e) ``` @@ -26244,7 +26517,7 @@ Name | Type | Description | Notes ### Return type -[**V1GroupsIdPatchResponse**](V1GroupsIdPatchResponse.md) +void (empty response body) ### Authorization @@ -26253,7 +26526,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -26264,7 +26537,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_groups_put** -> object v1_groups_put(authorization, v1_groups_put_request) +> v1_groups_put(authorization, v1_groups_put_request) Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). @@ -26303,9 +26576,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_groups_put_request = graphiant_sdk.V1GroupsPutRequest() # V1GroupsPutRequest | try: - api_response = api_instance.v1_groups_put(authorization, v1_groups_put_request) - print("The response of DefaultApi->v1_groups_put:\n") - pprint(api_response) + api_instance.v1_groups_put(authorization, v1_groups_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_groups_put: %s\n" % e) ``` @@ -26322,7 +26593,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -26331,7 +26602,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -26418,7 +26689,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_id_password_recover_patch** -> object v1_id_password_recover_patch(authorization, id, body) +> v1_id_password_recover_patch(authorization, id, body) Initiate password recovery for specific user (Graphiant cloud only). @@ -26457,9 +26728,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: body = None # object | try: - api_response = api_instance.v1_id_password_recover_patch(authorization, id, body) - print("The response of DefaultApi->v1_id_password_recover_patch:\n") - pprint(api_response) + api_instance.v1_id_password_recover_patch(authorization, id, body) except Exception as e: print("Exception when calling DefaultApi->v1_id_password_recover_patch: %s\n" % e) ``` @@ -26477,7 +26746,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -26486,7 +26755,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -27503,7 +27772,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_onboarding_cloudinit_delete** -> object v1_onboarding_cloudinit_delete(authorization) +> v1_onboarding_cloudinit_delete(authorization) Delete the onboarding token @@ -27540,9 +27809,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_onboarding_cloudinit_delete(authorization) - print("The response of DefaultApi->v1_onboarding_cloudinit_delete:\n") - pprint(api_response) + api_instance.v1_onboarding_cloudinit_delete(authorization) except Exception as e: print("Exception when calling DefaultApi->v1_onboarding_cloudinit_delete: %s\n" % e) ``` @@ -27558,7 +27825,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -27567,7 +27834,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -27808,7 +28075,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_policy_prefix_sets_id_delete** -> object v1_policy_prefix_sets_id_delete(authorization, id) +> v1_policy_prefix_sets_id_delete(authorization, id) Delete a prefix-set @@ -27846,9 +28113,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 1234567891011 # int | try: - api_response = api_instance.v1_policy_prefix_sets_id_delete(authorization, id) - print("The response of DefaultApi->v1_policy_prefix_sets_id_delete:\n") - pprint(api_response) + api_instance.v1_policy_prefix_sets_id_delete(authorization, id) except Exception as e: print("Exception when calling DefaultApi->v1_policy_prefix_sets_id_delete: %s\n" % e) ``` @@ -27865,7 +28130,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -27874,7 +28139,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -28812,7 +29077,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_portal_private_post** -> object v1_portal_private_post(authorization, v1_portal_private_post_request) +> v1_portal_private_post(authorization, v1_portal_private_post_request) ### Example @@ -28849,9 +29114,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_portal_private_post_request = graphiant_sdk.V1PortalPrivatePostRequest() # V1PortalPrivatePostRequest | try: - api_response = api_instance.v1_portal_private_post(authorization, v1_portal_private_post_request) - print("The response of DefaultApi->v1_portal_private_post:\n") - pprint(api_response) + api_instance.v1_portal_private_post(authorization, v1_portal_private_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_portal_private_post: %s\n" % e) ``` @@ -28868,7 +29131,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -28877,7 +29140,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -28888,7 +29151,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_portal_private_register_post** -> object v1_portal_private_register_post(authorization, v1_portal_private_register_post_request) +> v1_portal_private_register_post(authorization, v1_portal_private_register_post_request) ### Example @@ -28925,9 +29188,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_portal_private_register_post_request = graphiant_sdk.V1PortalPrivateRegisterPostRequest() # V1PortalPrivateRegisterPostRequest | try: - api_response = api_instance.v1_portal_private_register_post(authorization, v1_portal_private_register_post_request) - print("The response of DefaultApi->v1_portal_private_register_post:\n") - pprint(api_response) + api_instance.v1_portal_private_register_post(authorization, v1_portal_private_register_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_portal_private_register_post: %s\n" % e) ``` @@ -28944,7 +29205,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -28953,7 +29214,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -28964,7 +29225,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_portal_private_sync_post** -> object v1_portal_private_sync_post(authorization, v1_portal_private_sync_post_request) +> v1_portal_private_sync_post(authorization, v1_portal_private_sync_post_request) ### Example @@ -29001,9 +29262,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_portal_private_sync_post_request = graphiant_sdk.V1PortalPrivateSyncPostRequest() # V1PortalPrivateSyncPostRequest | try: - api_response = api_instance.v1_portal_private_sync_post(authorization, v1_portal_private_sync_post_request) - print("The response of DefaultApi->v1_portal_private_sync_post:\n") - pprint(api_response) + api_instance.v1_portal_private_sync_post(authorization, v1_portal_private_sync_post_request) except Exception as e: print("Exception when calling DefaultApi->v1_portal_private_sync_post: %s\n" % e) ``` @@ -29020,7 +29279,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -29029,7 +29288,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -29812,7 +30071,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_sites_site_id_delete** -> object v1_sites_site_id_delete(authorization, site_id) +> v1_sites_site_id_delete(authorization, site_id) Delete a site @@ -29850,9 +30109,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: site_id = 1234567891011 # int | try: - api_response = api_instance.v1_sites_site_id_delete(authorization, site_id) - print("The response of DefaultApi->v1_sites_site_id_delete:\n") - pprint(api_response) + api_instance.v1_sites_site_id_delete(authorization, site_id) except Exception as e: print("Exception when calling DefaultApi->v1_sites_site_id_delete: %s\n" % e) ``` @@ -29869,7 +30126,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -29878,7 +30135,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -30122,7 +30379,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_software_auto_upgrade_default_put** -> object v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) +> v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) ### Example @@ -30159,9 +30416,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_software_auto_upgrade_default_put_request = graphiant_sdk.V1SoftwareAutoUpgradeDefaultPutRequest() # V1SoftwareAutoUpgradeDefaultPutRequest | try: - api_response = api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) - print("The response of DefaultApi->v1_software_auto_upgrade_default_put:\n") - pprint(api_response) + api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_put: %s\n" % e) ``` @@ -30178,7 +30433,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -30187,7 +30442,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -31729,7 +31984,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_users_id_delete** -> object v1_users_id_delete(authorization, id) +> v1_users_id_delete(authorization, id) Delete user account. @@ -31767,9 +32022,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: id = 'example string' # str | try: - api_response = api_instance.v1_users_id_delete(authorization, id) - print("The response of DefaultApi->v1_users_id_delete:\n") - pprint(api_response) + api_instance.v1_users_id_delete(authorization, id) except Exception as e: print("Exception when calling DefaultApi->v1_users_id_delete: %s\n" % e) ``` @@ -31786,7 +32039,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -31795,7 +32048,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -32118,7 +32371,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_users_id_verify_patch** -> object v1_users_id_verify_patch(authorization, id, body) +> v1_users_id_verify_patch(authorization, id, body) Resend account verification email to user. @@ -32157,9 +32410,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: body = None # object | try: - api_response = api_instance.v1_users_id_verify_patch(authorization, id, body) - print("The response of DefaultApi->v1_users_id_verify_patch:\n") - pprint(api_response) + api_instance.v1_users_id_verify_patch(authorization, id, body) except Exception as e: print("Exception when calling DefaultApi->v1_users_id_verify_patch: %s\n" % e) ``` @@ -32177,7 +32428,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -32186,7 +32437,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -32197,7 +32448,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v1_users_put** -> object v1_users_put(authorization, v1_users_put_request) +> v1_users_put(authorization, v1_users_put_request) Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. @@ -32236,9 +32487,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: v1_users_put_request = graphiant_sdk.V1UsersPutRequest() # V1UsersPutRequest | try: - api_response = api_instance.v1_users_put(authorization, v1_users_put_request) - print("The response of DefaultApi->v1_users_put:\n") - pprint(api_response) + api_instance.v1_users_put(authorization, v1_users_put_request) except Exception as e: print("Exception when calling DefaultApi->v1_users_put: %s\n" % e) ``` @@ -32255,7 +32504,7 @@ Name | Type | Description | Notes ### Return type -**object** +void (empty response body) ### Authorization @@ -32264,7 +32513,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details @@ -37874,7 +38123,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v2_monitoring_extranet_edge_status_get** -> V2MonitoringExtranetEdgeStatusGetResponse v2_monitoring_extranet_edge_status_get(authorization) +> V2MonitoringExtranetEdgeStatusGetResponse v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) + +Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. ### Example @@ -37908,9 +38159,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer try: - api_response = api_instance.v2_monitoring_extranet_edge_status_get(authorization) + api_response = api_instance.v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) print("The response of DefaultApi->v2_monitoring_extranet_edge_status_get:\n") pprint(api_response) except Exception as e: @@ -37925,6 +38178,8 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | ### Return type @@ -37950,6 +38205,8 @@ Name | Type | Description | Notes # **v2_monitoring_extranet_log_details_post** > V2MonitoringExtranetLogDetailsPostResponse v2_monitoring_extranet_log_details_post(authorization, v2_monitoring_extranet_log_details_post_request) +Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. + ### Example * Api Key Authentication (jwtAuth): @@ -38025,7 +38282,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v2_monitoring_extranet_service_status_details_get** -> V2MonitoringExtranetServiceStatusDetailsGetResponse v2_monitoring_extranet_service_status_details_get(authorization) +> V2MonitoringExtranetServiceStatusDetailsGetResponse v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) + +Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. ### Example @@ -38059,9 +38318,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer try: - api_response = api_instance.v2_monitoring_extranet_service_status_details_get(authorization) + api_response = api_instance.v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) print("The response of DefaultApi->v2_monitoring_extranet_service_status_details_get:\n") pprint(api_response) except Exception as e: @@ -38076,6 +38337,8 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | ### Return type @@ -38099,7 +38362,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v2_monitoring_extranet_service_status_get** -> V2MonitoringExtranetServiceStatusGetResponse v2_monitoring_extranet_service_status_get(authorization) +> V2MonitoringExtranetServiceStatusGetResponse v2_monitoring_extranet_service_status_get(authorization, id, is_provider) + +Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. ### Example @@ -38133,9 +38398,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer try: - api_response = api_instance.v2_monitoring_extranet_service_status_get(authorization) + api_response = api_instance.v2_monitoring_extranet_service_status_get(authorization, id, is_provider) print("The response of DefaultApi->v2_monitoring_extranet_service_status_get:\n") pprint(api_response) except Exception as e: @@ -38150,6 +38417,8 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | ### Return type @@ -38173,7 +38442,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v2_monitoring_extranet_site_status_get** -> V2MonitoringExtranetSiteStatusGetResponse v2_monitoring_extranet_site_status_get(authorization) +> V2MonitoringExtranetSiteStatusGetResponse v2_monitoring_extranet_site_status_get(authorization, id, is_provider) + +Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. ### Example @@ -38207,9 +38478,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer try: - api_response = api_instance.v2_monitoring_extranet_site_status_get(authorization) + api_response = api_instance.v2_monitoring_extranet_site_status_get(authorization, id, is_provider) print("The response of DefaultApi->v2_monitoring_extranet_site_status_get:\n") pprint(api_response) except Exception as e: @@ -38224,6 +38497,8 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | ### Return type @@ -38247,7 +38522,9 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **v2_monitoring_extranet_status_details_get** -> V2MonitoringExtranetStatusDetailsGetResponse v2_monitoring_extranet_status_details_get(authorization) +> V2MonitoringExtranetStatusDetailsGetResponse v2_monitoring_extranet_status_details_get(authorization, id, is_provider, server_address, site_id) + +Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. ### Example @@ -38281,9 +38558,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer + server_address = '192.168.1.1' # str | the address of the server + site_id = 1 # int | the id of the site try: - api_response = api_instance.v2_monitoring_extranet_status_details_get(authorization) + api_response = api_instance.v2_monitoring_extranet_status_details_get(authorization, id, is_provider, server_address, site_id) print("The response of DefaultApi->v2_monitoring_extranet_status_details_get:\n") pprint(api_response) except Exception as e: @@ -38298,6 +38579,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | + **server_address** | **str**| the address of the server | + **site_id** | **int**| the id of the site | ### Return type diff --git a/docs/IamEnterprise.md b/docs/IamEnterprise.md index 3caf5e1f..3e7e91c5 100644 --- a/docs/IamEnterprise.md +++ b/docs/IamEnterprise.md @@ -13,10 +13,12 @@ Name | Type | Description | Notes **counts** | [**IamCounts**](IamCounts.md) | | [optional] **credit_limit** | **int** | | [optional] **customers** | [**Dict[str, IamCustomer]**](IamCustomer.md) | | [optional] +**description** | **str** | | [optional] **enterprise_id** | **int** | | [optional] **eula_agreement_date** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] **impersonation_enabled** | **bool** | | [optional] **logo** | **str** | | [optional] +**marketplace_id** | **str** | | [optional] **parent_company_name** | **str** | | [optional] **parent_enterprise_id** | **int** | | [optional] **portal_banner** | **str** | | [optional] diff --git a/docs/IamEnterprisePermissions.md b/docs/IamEnterprisePermissions.md new file mode 100644 index 00000000..7b767528 --- /dev/null +++ b/docs/IamEnterprisePermissions.md @@ -0,0 +1,30 @@ +# IamEnterprisePermissions + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group_type** | **str** | (required) | [optional] +**permissions** | [**CommonPermissions**](CommonPermissions.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.iam_enterprise_permissions import IamEnterprisePermissions + +# TODO update the JSON string below +json = "{}" +# create an instance of IamEnterprisePermissions from a JSON string +iam_enterprise_permissions_instance = IamEnterprisePermissions.from_json(json) +# print the JSON string representation of the object +print(IamEnterprisePermissions.to_json()) + +# convert the object into a dict +iam_enterprise_permissions_dict = iam_enterprise_permissions_instance.to_dict() +# create an instance of IamEnterprisePermissions from a dict +iam_enterprise_permissions_from_dict = IamEnterprisePermissions.from_dict(iam_enterprise_permissions_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IamGroup.md b/docs/IamGroup.md index 57f1e35d..dc9d5a4b 100644 --- a/docs/IamGroup.md +++ b/docs/IamGroup.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **str** | | [optional] **enterprise_ids** | **List[int]** | | [optional] +**enterprise_permissions** | [**Dict[str, IamEnterprisePermissions]**](IamEnterprisePermissions.md) | | [optional] **group_type** | **str** | | [optional] **id** | **str** | | [optional] **name** | **str** | | [optional] diff --git a/docs/IpfixConnectionMap.md b/docs/IpfixConnectionMap.md index 02e080da..c9b0f7f4 100644 --- a/docs/IpfixConnectionMap.md +++ b/docs/IpfixConnectionMap.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **connections** | **Dict[str, int]** | | [optional] **connections_v2** | **Dict[str, float]** | | [optional] -**name** | **str** | | [optional] +**name** | **str** | the name of the connection | [optional] ## Example diff --git a/docs/IpfixEntityUsage.md b/docs/IpfixEntityUsage.md index 1bc37702..31a32dd9 100644 --- a/docs/IpfixEntityUsage.md +++ b/docs/IpfixEntityUsage.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | id of consumer or lan segment | [optional] -**name** | **str** | | [optional] +**id** | **int** | id of the entity | [optional] +**name** | **str** | name of the entity | [optional] **usage** | **float** | usage in kbps | [optional] ## Example diff --git a/docs/ManaV2ApplicationProfile.md b/docs/ManaV2ApplicationProfile.md index 494d2af9..4feaa666 100644 --- a/docs/ManaV2ApplicationProfile.md +++ b/docs/ManaV2ApplicationProfile.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ports** | **List[int]** | | [optional] -**protocol** | **int** | | [optional] +**ports** | **List[int]** | | +**protocol** | **int** | Protocol for the application profile (required) | ## Example diff --git a/docs/ManaV2B2bExtranetApplicationInvite.md b/docs/ManaV2B2bExtranetApplicationInvite.md index a118b580..3bbb5b49 100644 --- a/docs/ManaV2B2bExtranetApplicationInvite.md +++ b/docs/ManaV2B2bExtranetApplicationInvite.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**admin_email** | **str** | | [optional] -**consumer_burst_size** | **int** | | [optional] -**consumer_bw_site** | **int** | | [optional] -**enterprise_id** | **int** | | [optional] -**maximum_site_count** | **int** | | [optional] +**admin_email** | **str** | Admin email of the customer (required) | +**consumer_burst_size** | **int** | Maximum Burst size per site for the customer (required) | +**consumer_bw_site** | **int** | Maximum Bandwidth allocation per site for the customer (required) | +**enterprise_id** | **int** | Enterprise ID of the customer (required) | +**maximum_site_count** | **int** | Maximum number of sites for the customer (required) | **service_prefixes** | **List[str]** | | [optional] ## Example diff --git a/docs/ManaV2B2bExtranetMatchServiceToCustomer.md b/docs/ManaV2B2bExtranetMatchServiceToCustomer.md index 46acde22..910df871 100644 --- a/docs/ManaV2B2bExtranetMatchServiceToCustomer.md +++ b/docs/ManaV2B2bExtranetMatchServiceToCustomer.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] +**id** | **int** | ID of the service being subscribed by the customer (required) | **lan_segment** | **int** | | [optional] -**nat** | [**List[ManaV2B2bNat]**](ManaV2B2bNat.md) | | [optional] -**num_customers** | **int** | | [optional] -**service_prefixes** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | [optional] +**nat** | [**List[ManaV2B2bNat]**](ManaV2B2bNat.md) | | +**num_customers** | **int** | Number of customers subscribed to the service | [optional] +**service_prefixes** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | ## Example diff --git a/docs/ManaV2B2bExtranetPeeringServiceCustomerInvite.md b/docs/ManaV2B2bExtranetPeeringServiceCustomerInvite.md index 38edab37..3b3c14ab 100644 --- a/docs/ManaV2B2bExtranetPeeringServiceCustomerInvite.md +++ b/docs/ManaV2B2bExtranetPeeringServiceCustomerInvite.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**admin_email** | **List[str]** | | [optional] -**maximum_number_of_sites** | **int** | | [optional] +**admin_email** | **List[str]** | | +**maximum_number_of_sites** | **int** | Maximum number of sites for the peering service customer (required) | ## Example diff --git a/docs/ManaV2B2bExtranetPeeringServiceProducerPolicy.md b/docs/ManaV2B2bExtranetPeeringServiceProducerPolicy.md index be0e674c..72b7d247 100644 --- a/docs/ManaV2B2bExtranetPeeringServiceProducerPolicy.md +++ b/docs/ManaV2B2bExtranetPeeringServiceProducerPolicy.md @@ -5,12 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**description** | **str** | | [optional] +**description** | **str** | Description for the service | [optional] **global_object_ops** | [**Dict[str, ManaV2GlobalObjectServiceOps]**](ManaV2GlobalObjectServiceOps.md) | | [optional] -**prefix_tags** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | [optional] -**service_lan_segment** | **int** | | [optional] -**site** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | [optional] -**type** | **str** | | [optional] +**prefix_tags** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | +**service_lan_segment** | **int** | LAN segment ID for the service (required) | +**site** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | +**type** | **str** | Type of the service whether it is application or peering (required) | ## Example diff --git a/docs/ManaV2B2bExtranetPrefixTag.md b/docs/ManaV2B2bExtranetPrefixTag.md index fd9a7d9a..db4ceade 100644 --- a/docs/ManaV2B2bExtranetPrefixTag.md +++ b/docs/ManaV2B2bExtranetPrefixTag.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**prefix** | **str** | | [optional] -**tag** | **str** | | [optional] +**prefix** | **str** | Prefix advertised by the service (required) | +**tag** | **str** | Tag for the prefix | [optional] ## Example diff --git a/docs/ManaV2B2bExtranetProducerPolicy.md b/docs/ManaV2B2bExtranetProducerPolicy.md index 6f0bdf16..b5cbd34f 100644 --- a/docs/ManaV2B2bExtranetProducerPolicy.md +++ b/docs/ManaV2B2bExtranetProducerPolicy.md @@ -5,18 +5,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**description** | **str** | | [optional] +**description** | **str** | Description for the service | [optional] **global_object_device_summaries** | [**Dict[str, ManaV2GlobalObjectServiceSummaries]**](ManaV2GlobalObjectServiceSummaries.md) | | [optional] **global_object_summaries** | [**Dict[str, ManaV2GlobalObjectServiceSummaries]**](ManaV2GlobalObjectServiceSummaries.md) | | [optional] -**nat_pools** | **List[str]** | | [optional] +**nat_pools** | **List[str]** | | **prefix_tags** | [**List[ManaV2B2bExtranetPrefixTag]**](ManaV2B2bExtranetPrefixTag.md) | | [optional] **profiles** | [**List[ManaV2ApplicationProfile]**](ManaV2ApplicationProfile.md) | | [optional] -**service_lan_segment** | **int** | | [optional] -**service_prefixes** | **List[str]** | | [optional] -**sites** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | [optional] +**service_lan_segment** | **int** | LAN segment for the service (required) | +**service_prefixes** | **List[str]** | | +**sites** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | **sla** | [**ManaV2SlaInformation**](ManaV2SlaInformation.md) | | [optional] **status** | **str** | | [optional] -**type** | **str** | | [optional] +**type** | **str** | Type of the service whether it is application or peering (required) | **unmatched_customers** | **int** | | [optional] ## Example diff --git a/docs/ManaV2B2bNat.md b/docs/ManaV2B2bNat.md index eeba1632..07354a58 100644 --- a/docs/ManaV2B2bNat.md +++ b/docs/ManaV2B2bNat.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**outside_nat_prefix** | **str** | | [optional] -**prefix** | **str** | | [optional] +**outside_nat_prefix** | **str** | Outside NAT prefix for the customer prefix | [optional] +**prefix** | **str** | Prefix imported into the service (required) | ## Example diff --git a/docs/ManaV2B2bSiteInformation.md b/docs/ManaV2B2bSiteInformation.md index e20fc893..c4493e30 100644 --- a/docs/ManaV2B2bSiteInformation.md +++ b/docs/ManaV2B2bSiteInformation.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bw_allocation_site_lists** | **int** | | [optional] -**bw_allocation_sites** | **int** | | [optional] +**bw_allocation_site_lists** | **int** | Total Bandwidth allocation for the service on these site lists | [optional] +**bw_allocation_sites** | **int** | Total Bandwidth allocation for the service on these sites | [optional] **policer_site_lists** | [**ManaV2Policer**](ManaV2Policer.md) | | [optional] **policer_sites** | [**ManaV2Policer**](ManaV2Policer.md) | | [optional] **site_lists** | **List[int]** | | [optional] diff --git a/docs/ManaV2Device.md b/docs/ManaV2Device.md index 80f3bd1b..3e565b34 100644 --- a/docs/ManaV2Device.md +++ b/docs/ManaV2Device.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes **maintenance_mode** | **bool** | | [optional] **nat_policy** | [**ManaV2NatPolicy**](ManaV2NatPolicy.md) | | [optional] **notes** | **str** | | [optional] +**ntp** | [**ManaV2Ntp**](ManaV2Ntp.md) | | [optional] **oper_staled** | **bool** | | [optional] **oper_staled_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] **oper_updated_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] diff --git a/docs/ManaV2EdgeDeviceConfig.md b/docs/ManaV2EdgeDeviceConfig.md index ab0b7423..a0abaed2 100644 --- a/docs/ManaV2EdgeDeviceConfig.md +++ b/docs/ManaV2EdgeDeviceConfig.md @@ -21,6 +21,7 @@ Name | Type | Description | Notes **maintenance_mode** | **bool** | | [optional] **name** | **str** | | [optional] **nat_policy** | [**ManaV2NatPolicyConfig**](ManaV2NatPolicyConfig.md) | | [optional] +**ntp_global_object** | [**Dict[str, ManaV2NullableNtpConfig]**](ManaV2NullableNtpConfig.md) | | [optional] **ospfv2_enabled** | **bool** | | [optional] **ospfv3_enabled** | **bool** | | [optional] **prefix_sets** | [**Dict[str, ManaV2NullablePrefixSetConfig]**](ManaV2NullablePrefixSetConfig.md) | | [optional] diff --git a/docs/ManaV2ExtranetConsumerNatRule.md b/docs/ManaV2ExtranetConsumerNatRule.md index 42221fca..83c8e55c 100644 --- a/docs/ManaV2ExtranetConsumerNatRule.md +++ b/docs/ManaV2ExtranetConsumerNatRule.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **outside_nat_prefix** | **str** | Optional nat prefix associated with a service prefix with an empty string indicating no NATing | [optional] -**service_prefix** | **str** | | [optional] +**service_prefix** | **str** | Service prefix for the NAT rule (required) | ## Example diff --git a/docs/ManaV2NewSite.md b/docs/ManaV2NewSite.md index a9cbad3b..ce6e1895 100644 --- a/docs/ManaV2NewSite.md +++ b/docs/ManaV2NewSite.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **location** | [**ManaV2Location**](ManaV2Location.md) | | [optional] **name** | **str** | | [optional] **notes** | **str** | | [optional] +**ntp_ops** | **Dict[str, str]** | | [optional] **prefix_set_ops** | **Dict[str, str]** | | [optional] **route_tag** | [**ManaV2RouteTag**](ManaV2RouteTag.md) | | [optional] **routing_policy_ops** | **Dict[str, str]** | | [optional] diff --git a/docs/ManaV2Ntp.md b/docs/ManaV2Ntp.md new file mode 100644 index 00000000..fa7a3b89 --- /dev/null +++ b/docs/ManaV2Ntp.md @@ -0,0 +1,34 @@ +# ManaV2Ntp + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**domains** | **List[str]** | | [optional] +**error_message** | **str** | | [optional] +**global_id** | **int** | | [optional] +**id** | **int** | | [optional] +**name** | **str** | | [optional] +**status** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2Ntp from a JSON string +mana_v2_ntp_instance = ManaV2Ntp.from_json(json) +# print the JSON string representation of the object +print(ManaV2Ntp.to_json()) + +# convert the object into a dict +mana_v2_ntp_dict = mana_v2_ntp_instance.to_dict() +# create an instance of ManaV2Ntp from a dict +mana_v2_ntp_from_dict = ManaV2Ntp.from_dict(mana_v2_ntp_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2NtpConfig.md b/docs/ManaV2NtpConfig.md new file mode 100644 index 00000000..69a32ddb --- /dev/null +++ b/docs/ManaV2NtpConfig.md @@ -0,0 +1,32 @@ +# ManaV2NtpConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**domains** | **List[str]** | | [optional] +**global_id** | **int** | | [optional] +**is_global_sync** | **bool** | | [optional] +**name** | **str** | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_ntp_config import ManaV2NtpConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2NtpConfig from a JSON string +mana_v2_ntp_config_instance = ManaV2NtpConfig.from_json(json) +# print the JSON string representation of the object +print(ManaV2NtpConfig.to_json()) + +# convert the object into a dict +mana_v2_ntp_config_dict = mana_v2_ntp_config_instance.to_dict() +# create an instance of ManaV2NtpConfig from a dict +mana_v2_ntp_config_from_dict = ManaV2NtpConfig.from_dict(mana_v2_ntp_config_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2NullableNtpConfig.md b/docs/ManaV2NullableNtpConfig.md new file mode 100644 index 00000000..95d9af1c --- /dev/null +++ b/docs/ManaV2NullableNtpConfig.md @@ -0,0 +1,29 @@ +# ManaV2NullableNtpConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**ManaV2NtpConfig**](ManaV2NtpConfig.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of ManaV2NullableNtpConfig from a JSON string +mana_v2_nullable_ntp_config_instance = ManaV2NullableNtpConfig.from_json(json) +# print the JSON string representation of the object +print(ManaV2NullableNtpConfig.to_json()) + +# convert the object into a dict +mana_v2_nullable_ntp_config_dict = mana_v2_nullable_ntp_config_instance.to_dict() +# create an instance of ManaV2NullableNtpConfig from a dict +mana_v2_nullable_ntp_config_from_dict = ManaV2NullableNtpConfig.from_dict(mana_v2_nullable_ntp_config_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ManaV2Policer.md b/docs/ManaV2Policer.md index a216eb56..1a054cc6 100644 --- a/docs/ManaV2Policer.md +++ b/docs/ManaV2Policer.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**burst_size** | **int** | | [optional] -**bw** | **int** | | [optional] +**burst_size** | **int** | Burst size for the policer (required) | +**bw** | **int** | Bandwidth for the policer (required) | ## Example diff --git a/docs/ManaV2SlaInformation.md b/docs/ManaV2SlaInformation.md index 677cb229..63598d23 100644 --- a/docs/ManaV2SlaInformation.md +++ b/docs/ManaV2SlaInformation.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backup_circuit** | **str** | | [optional] -**var_class** | **str** | | [optional] -**primary_circuit** | **str** | | [optional] +**backup_circuit** | **str** | Backup circuit for the SLA information | [optional] +**var_class** | **str** | Class for the SLA information | [optional] +**primary_circuit** | **str** | Primary circuit for the SLA information | [optional] ## Example diff --git a/docs/ManaV2TrafficPolicyAction.md b/docs/ManaV2TrafficPolicyAction.md index b3af0776..32e07651 100644 --- a/docs/ManaV2TrafficPolicyAction.md +++ b/docs/ManaV2TrafficPolicyAction.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backup** | **str** | | [optional] -**var_class** | **str** | | [optional] -**primary** | **str** | | [optional] -**result** | **str** | | [optional] +**backup** | **str** | Backup circuit for the traffic policy action | [optional] +**var_class** | **str** | Class for the traffic policy action | [optional] +**primary** | **str** | Primary circuit for the traffic policy action | [optional] +**result** | **str** | Result for the traffic policy action | [optional] ## Example diff --git a/docs/StatsmonExtranetEdgeStatus.md b/docs/StatsmonExtranetEdgeStatus.md index bb834ded..d209fea4 100644 --- a/docs/StatsmonExtranetEdgeStatus.md +++ b/docs/StatsmonExtranetEdgeStatus.md @@ -6,11 +6,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] -**disconnected_reason** | **str** | | [optional] -**hostname** | **str** | | [optional] -**id** | **int** | | [optional] -**site_name** | **str** | | [optional] -**status** | **str** | | [optional] +**disconnected_reason** | **str** | the reason for the edge being disconnected | [optional] +**hostname** | **str** | the hostname of the edge | [optional] +**id** | **int** | the id of the edge/device | [optional] +**site_name** | **str** | the name of the site | [optional] +**status** | **str** | the health status of the edge (Healthy, Impaired, Down) | [optional] ## Example diff --git a/docs/StatsmonExtranetPrefixHealth.md b/docs/StatsmonExtranetPrefixHealth.md index defff335..6d20475d 100644 --- a/docs/StatsmonExtranetPrefixHealth.md +++ b/docs/StatsmonExtranetPrefixHealth.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**health** | **str** | | [optional] +**health** | **str** | the health status of the prefix (Healthy, Impaired, Down) | [optional] **missing_prefixes** | **List[str]** | | [optional] ## Example diff --git a/docs/StatsmonExtranetServerStatus.md b/docs/StatsmonExtranetServerStatus.md index adc04486..9918c6b0 100644 --- a/docs/StatsmonExtranetServerStatus.md +++ b/docs/StatsmonExtranetServerStatus.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**address** | **str** | | [optional] -**status** | **str** | | [optional] +**address** | **str** | the IP address of the server | [optional] +**status** | **str** | the health status of the server (Healthy, Impaired, Down) | [optional] ## Example diff --git a/docs/StatsmonExtranetServiceHealth.md b/docs/StatsmonExtranetServiceHealth.md index cd6e4d4e..cd6017b9 100644 --- a/docs/StatsmonExtranetServiceHealth.md +++ b/docs/StatsmonExtranetServiceHealth.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_name** | **str** | | [optional] +**customer_name** | **str** | the name of the customer | [optional] **customer_prefix_health** | [**StatsmonExtranetPrefixHealth**](StatsmonExtranetPrefixHealth.md) | | [optional] -**overall_health** | **str** | | [optional] +**overall_health** | **str** | the overall connectivity status of the service (Healthy, Impaired, Down) | [optional] **producer_prefix_health** | [**StatsmonExtranetPrefixHealth**](StatsmonExtranetPrefixHealth.md) | | [optional] ## Example diff --git a/docs/StatsmonExtranetSiteStatus.md b/docs/StatsmonExtranetSiteStatus.md index b28ca060..bcb3a6ea 100644 --- a/docs/StatsmonExtranetSiteStatus.md +++ b/docs/StatsmonExtranetSiteStatus.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**name** | **str** | | [optional] -**status** | **str** | | [optional] +**id** | **int** | the id of the site | [optional] +**name** | **str** | the name of the site | [optional] +**status** | **str** | the status of the site (Healthy, Impaired, Down) | [optional] **statuses** | [**List[StatsmonExtranetServerStatus]**](StatsmonExtranetServerStatus.md) | | [optional] ## Example diff --git a/docs/StatsmonTimeWindow.md b/docs/StatsmonTimeWindow.md index 85476091..1a85912f 100644 --- a/docs/StatsmonTimeWindow.md +++ b/docs/StatsmonTimeWindow.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bucket_size_sec** | **int** | | [optional] +**bucket_size_sec** | **int** | the size of the time window in seconds (required) | **old_ts** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] **recent_ts** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] diff --git a/docs/V1EdgesSummaryPostRequest.md b/docs/V1EdgesSummaryPostRequest.md new file mode 100644 index 00000000..88481e3c --- /dev/null +++ b/docs/V1EdgesSummaryPostRequest.md @@ -0,0 +1,29 @@ +# V1EdgesSummaryPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filter** | [**V1EdgesSummaryPostRequestFilter**](V1EdgesSummaryPostRequestFilter.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1EdgesSummaryPostRequest from a JSON string +v1_edges_summary_post_request_instance = V1EdgesSummaryPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1EdgesSummaryPostRequest.to_json()) + +# convert the object into a dict +v1_edges_summary_post_request_dict = v1_edges_summary_post_request_instance.to_dict() +# create an instance of V1EdgesSummaryPostRequest from a dict +v1_edges_summary_post_request_from_dict = V1EdgesSummaryPostRequest.from_dict(v1_edges_summary_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1EdgesSummaryPostRequestFilter.md b/docs/V1EdgesSummaryPostRequestFilter.md new file mode 100644 index 00000000..6639fc9b --- /dev/null +++ b/docs/V1EdgesSummaryPostRequestFilter.md @@ -0,0 +1,31 @@ +# V1EdgesSummaryPostRequestFilter + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**device_ids** | **List[int]** | | [optional] +**roles** | **List[str]** | | [optional] +**statuses** | **List[str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter + +# TODO update the JSON string below +json = "{}" +# create an instance of V1EdgesSummaryPostRequestFilter from a JSON string +v1_edges_summary_post_request_filter_instance = V1EdgesSummaryPostRequestFilter.from_json(json) +# print the JSON string representation of the object +print(V1EdgesSummaryPostRequestFilter.to_json()) + +# convert the object into a dict +v1_edges_summary_post_request_filter_dict = v1_edges_summary_post_request_filter_instance.to_dict() +# create an instance of V1EdgesSummaryPostRequestFilter from a dict +v1_edges_summary_post_request_filter_from_dict = V1EdgesSummaryPostRequestFilter.from_dict(v1_edges_summary_post_request_filter_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1EdgesSummaryPostResponse.md b/docs/V1EdgesSummaryPostResponse.md new file mode 100644 index 00000000..7ed2a3cf --- /dev/null +++ b/docs/V1EdgesSummaryPostResponse.md @@ -0,0 +1,29 @@ +# V1EdgesSummaryPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**edges_summary** | [**List[SearchEdgeSummary]**](SearchEdgeSummary.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1EdgesSummaryPostResponse from a JSON string +v1_edges_summary_post_response_instance = V1EdgesSummaryPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1EdgesSummaryPostResponse.to_json()) + +# convert the object into a dict +v1_edges_summary_post_response_dict = v1_edges_summary_post_response_instance.to_dict() +# create an instance of V1EdgesSummaryPostResponse from a dict +v1_edges_summary_post_response_from_dict = V1EdgesSummaryPostResponse.from_dict(v1_edges_summary_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1EnterprisesPatchRequest.md b/docs/V1EnterprisesPatchRequest.md index b5918cb8..b6bac3bf 100644 --- a/docs/V1EnterprisesPatchRequest.md +++ b/docs/V1EnterprisesPatchRequest.md @@ -9,9 +9,11 @@ Name | Type | Description | Notes **cloud_provider** | **str** | | [optional] **company_name** | **str** | | [optional] **credit_limit** | **int** | | [optional] +**description** | **str** | | [optional] **enterprise_id** | **int** | (required) | **impersonation_enabled** | **bool** | | [optional] **logo** | **str** | | [optional] +**marketplace_id** | **str** | | [optional] **portal_banner** | **str** | | [optional] **proxy_tenant_id** | **int** | | [optional] **small_logo** | **str** | | [optional] diff --git a/docs/V1EnterprisesPutRequest.md b/docs/V1EnterprisesPutRequest.md index d4b4b9c1..c2e9f800 100644 --- a/docs/V1EnterprisesPutRequest.md +++ b/docs/V1EnterprisesPutRequest.md @@ -13,7 +13,9 @@ Name | Type | Description | Notes **cloud_provider** | **str** | | [optional] **company_name** | **str** | (required) | **credit_limit** | **int** | | [optional] +**description** | **str** | | [optional] **logo** | **str** | | [optional] +**marketplace_id** | **str** | | [optional] **small_logo** | **str** | | [optional] ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md index 9245a746..79ed767a 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | **service_id** | **int** | | [optional] -**site_id** | **int** | | [optional] +**site_id** | **int** | a filter to get usage for a specific site (id of the site) | [optional] **subscription_name** | **str** | Optional subscription name for filter | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific lan segment (id of the lan segment) | [optional] ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.md b/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.md index 4ff1d273..a7b4258b 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bw_allocation** | **int** | | [optional] +**bw_allocation** | **int** | the bandwidth allocation for the entity in kbps | [optional] **dl_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] **ul_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md index 89ed43fa..54118e20 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id of a producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**id** | **int** | the id of a producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.md b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.md index 7d158746..a86f38d0 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **top_consumers** | [**List[IpfixEntityUsage]**](IpfixEntityUsage.md) | | [optional] -**total_customers** | **int** | | [optional] -**total_usage** | **float** | | [optional] +**total_customers** | **int** | total number of customers | [optional] +**total_usage** | **float** | total service usage in kilo bytes | [optional] ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md index 408ef7f5..afce7405 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_name** | **str** | | [optional] -**flipped_view** | **bool** | | [optional] -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**site_id** | **int** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**customer_name** | **str** | a filter to get usage for a specific customer | [optional] +**flipped_view** | **bool** | whether to view the data from the consumer's perspective (true) or the provider's perspective (false) (required) | +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**site_id** | **int** | a filter to get usage for a specific site | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific vrf | [optional] ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.md b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.md index d803e30c..4bcd892e 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **first_level** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] **second_level** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] **third_level** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] -**total_usage** | **float** | | [optional] +**total_usage** | **float** | total service usage in kilo bytes | [optional] ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md index 8ca4a07b..1ff81d4e 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | service id | [optional] -**is_provider** | **bool** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**id** | **int** | service id (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md index c2e7d36f..03bf6b87 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id of the service (required) | +**is_provider** | **bool** | whether the entity is a provider/producer or consumer (required) | ## Example diff --git a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md index bf019980..c7d4178e 100644 --- a/docs/V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md +++ b/docs/V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**site_id** | **int** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**site_id** | **int** | a filter to get usage for a specific site | [optional] **subscription_name** | **str** | Optional subscription name for filter | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific vrf | [optional] ## Example diff --git a/docs/V1ExtranetSitesUsagePostRequest.md b/docs/V1ExtranetSitesUsagePostRequest.md index 7f03c78e..8304275e 100644 --- a/docs/V1ExtranetSitesUsagePostRequest.md +++ b/docs/V1ExtranetSitesUsagePostRequest.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | **service_id** | **int** | | [optional] -**site_id** | **int** | | [optional] +**site_id** | **int** | a filter to get usage for a specific site (id of the site) | [optional] **subscription_name** | **str** | Optional subscription name for filter | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific lan segment (id of the lan segment) | [optional] ## Example diff --git a/docs/V1ExtranetSitesUsagePostResponse.md b/docs/V1ExtranetSitesUsagePostResponse.md index 7cfba370..a02696b8 100644 --- a/docs/V1ExtranetSitesUsagePostResponse.md +++ b/docs/V1ExtranetSitesUsagePostResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bw_allocation** | **int** | | [optional] +**bw_allocation** | **int** | the bandwidth allocation for the entity in kbps | [optional] **dl_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] **ul_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] diff --git a/docs/V1ExtranetSitesUsageTopPostRequest.md b/docs/V1ExtranetSitesUsageTopPostRequest.md index 69ff369a..27bdf782 100644 --- a/docs/V1ExtranetSitesUsageTopPostRequest.md +++ b/docs/V1ExtranetSitesUsageTopPostRequest.md @@ -5,11 +5,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | **service_id** | **int** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V1ExtranetSitesUsageTopPostResponseSiteUsage.md b/docs/V1ExtranetSitesUsageTopPostResponseSiteUsage.md index a4af00b3..bbc960d5 100644 --- a/docs/V1ExtranetSitesUsageTopPostResponseSiteUsage.md +++ b/docs/V1ExtranetSitesUsageTopPostResponseSiteUsage.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**site_id** | **int** | | [optional] -**site_name** | **str** | | [optional] -**usage** | **float** | service usage in kilo bytes | [optional] +**site_id** | **int** | the id of the site | [optional] +**site_name** | **str** | the name of the site | [optional] +**usage** | **float** | usage/consumption of the service on the site in kilo bytes | [optional] ## Example diff --git a/docs/V1ExtranetsB2bIdCustomerPostRequest.md b/docs/V1ExtranetsB2bIdCustomerPostRequest.md index f3c95c99..83cb4a12 100644 --- a/docs/V1ExtranetsB2bIdCustomerPostRequest.md +++ b/docs/V1ExtranetsB2bIdCustomerPostRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**invites** | [**List[ManaV2B2bExtranetApplicationInvite]**](ManaV2B2bExtranetApplicationInvite.md) | | [optional] +**invites** | [**List[ManaV2B2bExtranetApplicationInvite]**](ManaV2B2bExtranetApplicationInvite.md) | | ## Example diff --git a/docs/V1ExtranetsB2bIdPutRequest.md b/docs/V1ExtranetsB2bIdPutRequest.md index a3355b03..b3f5640f 100644 --- a/docs/V1ExtranetsB2bIdPutRequest.md +++ b/docs/V1ExtranetsB2bIdPutRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**policy** | [**ManaV2B2bExtranetProducerPolicy**](ManaV2B2bExtranetProducerPolicy.md) | | [optional] +**policy** | [**ManaV2B2bExtranetProducerPolicy**](ManaV2B2bExtranetProducerPolicy.md) | | ## Example diff --git a/docs/V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md b/docs/V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md index 3d069d4c..e1d2346c 100644 --- a/docs/V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md +++ b/docs/V1ExtranetsB2bPeeringConsumerMatchIdPostRequest.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **customer_id** | **int** | | [optional] **global_object_ops** | [**Dict[str, ManaV2GlobalObjectServiceOps]**](ManaV2GlobalObjectServiceOps.md) | | [optional] -**id** | **int** | ID of the service. | [optional] -**nat** | [**List[ManaV2B2bNat]**](ManaV2B2bNat.md) | | [optional] -**policy** | [**List[ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy]**](ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy.md) | | [optional] -**site_information** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | [optional] +**id** | **int** | ID of the service which is being consumed by the customer (required) | +**nat** | [**List[ManaV2B2bNat]**](ManaV2B2bNat.md) | | +**policy** | [**List[ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy]**](ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy.md) | | +**site_information** | [**List[ManaV2B2bSiteInformation]**](ManaV2B2bSiteInformation.md) | | **site_to_site_vpn** | [**ManaV2GuestConsumerSiteToSiteVpnConfig**](ManaV2GuestConsumerSiteToSiteVpnConfig.md) | | [optional] ## Example diff --git a/docs/V1ExtranetsB2bPeeringCustomerPostRequest.md b/docs/V1ExtranetsB2bPeeringCustomerPostRequest.md index 5fe7e6eb..0554a75f 100644 --- a/docs/V1ExtranetsB2bPeeringCustomerPostRequest.md +++ b/docs/V1ExtranetsB2bPeeringCustomerPostRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**invite** | [**ManaV2B2bExtranetPeeringServiceCustomerInvite**](ManaV2B2bExtranetPeeringServiceCustomerInvite.md) | | [optional] -**name** | **str** | | [optional] -**type** | **str** | | [optional] +**invite** | [**ManaV2B2bExtranetPeeringServiceCustomerInvite**](ManaV2B2bExtranetPeeringServiceCustomerInvite.md) | | +**name** | **str** | Name of the peering service customer (required) | +**type** | **str** | Type of the peerings servicecustomer whether it is a graphiant or non-graphiant (required) | ## Example diff --git a/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md b/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md new file mode 100644 index 00000000..e109d5f4 --- /dev/null +++ b/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.md @@ -0,0 +1,30 @@ +# V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**activity_id** | **str** | activity id for the delete operation (required) | [optional] +**consumer_activity_id** | **str** | activity id for the consumer delete operation (required) | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from a JSON string +v1_extranets_b2b_peering_match_service_to_customer_id_delete_response_instance = V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.from_json(json) +# print the JSON string representation of the object +print(V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.to_json()) + +# convert the object into a dict +v1_extranets_b2b_peering_match_service_to_customer_id_delete_response_dict = v1_extranets_b2b_peering_match_service_to_customer_id_delete_response_instance.to_dict() +# create an instance of V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from a dict +v1_extranets_b2b_peering_match_service_to_customer_id_delete_response_from_dict = V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse.from_dict(v1_extranets_b2b_peering_match_service_to_customer_id_delete_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md b/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md index 99287c02..456e4751 100644 --- a/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md +++ b/docs/V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**service** | [**ManaV2B2bExtranetMatchServiceToCustomer**](ManaV2B2bExtranetMatchServiceToCustomer.md) | | [optional] +**id** | **int** | ID of the customer (required) | +**service** | [**ManaV2B2bExtranetMatchServiceToCustomer**](ManaV2B2bExtranetMatchServiceToCustomer.md) | | ## Example diff --git a/docs/V1ExtranetsB2bPeeringProducerPostRequest.md b/docs/V1ExtranetsB2bPeeringProducerPostRequest.md index 2f069c4c..b607bf1f 100644 --- a/docs/V1ExtranetsB2bPeeringProducerPostRequest.md +++ b/docs/V1ExtranetsB2bPeeringProducerPostRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**policy** | [**ManaV2B2bExtranetPeeringServiceProducerPolicy**](ManaV2B2bExtranetPeeringServiceProducerPolicy.md) | | [optional] +**policy** | [**ManaV2B2bExtranetPeeringServiceProducerPolicy**](ManaV2B2bExtranetPeeringServiceProducerPolicy.md) | | **service_name** | **str** | | [optional] -**type** | **str** | | [optional] +**type** | **str** | Type of the service whether it is application or peering (required) | ## Example diff --git a/docs/V1ExtranetsB2bPostRequest.md b/docs/V1ExtranetsB2bPostRequest.md index 8d2b5d1a..f8ab0789 100644 --- a/docs/V1ExtranetsB2bPostRequest.md +++ b/docs/V1ExtranetsB2bPostRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**policy** | [**ManaV2B2bExtranetProducerPolicy**](ManaV2B2bExtranetProducerPolicy.md) | | [optional] -**service_name** | **str** | | [optional] -**type** | **str** | | [optional] +**policy** | [**ManaV2B2bExtranetProducerPolicy**](ManaV2B2bExtranetProducerPolicy.md) | | +**service_name** | **str** | Name of the service (required) | +**type** | **str** | Type of the service whether it is application or peering (required) | ## Example diff --git a/docs/V1GlobalAttachedEdgesPostRequest.md b/docs/V1GlobalAttachedEdgesPostRequest.md index dd6886a3..4145c648 100644 --- a/docs/V1GlobalAttachedEdgesPostRequest.md +++ b/docs/V1GlobalAttachedEdgesPostRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ipfix_exported_ids** | **List[int]** | | [optional] +**ntp_ids** | **List[int]** | | [optional] **prefix_set_ids** | **List[int]** | | [optional] **routing_policy_ids** | **List[int]** | | [optional] **snmp_ids** | **List[int]** | | [optional] diff --git a/docs/V1GlobalConfigPatchRequest.md b/docs/V1GlobalConfigPatchRequest.md index dd49728d..59e972cc 100644 --- a/docs/V1GlobalConfigPatchRequest.md +++ b/docs/V1GlobalConfigPatchRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **global_prefix_sets** | [**Dict[str, ManaV2NullablePrefixSetConfig]**](ManaV2NullablePrefixSetConfig.md) | | [optional] **ipfix_exporters** | [**Dict[str, ManaV2NullableIpfixExporterConfig]**](ManaV2NullableIpfixExporterConfig.md) | | [optional] +**ntps** | [**Dict[str, ManaV2NullableNtpConfig]**](ManaV2NullableNtpConfig.md) | | [optional] **prefix_sets** | [**Dict[str, ManaV2NullableEnterprisePrefixSetConfig]**](ManaV2NullableEnterprisePrefixSetConfig.md) | | [optional] **routing_policies** | [**Dict[str, ManaV2NullableRoutingPolicyConfig]**](ManaV2NullableRoutingPolicyConfig.md) | | [optional] **snmps** | [**Dict[str, ManaV2NullableSnmpConfig]**](ManaV2NullableSnmpConfig.md) | | [optional] diff --git a/docs/V1GlobalConfigPatchResponse.md b/docs/V1GlobalConfigPatchResponse.md index c39cbaaf..904bc761 100644 --- a/docs/V1GlobalConfigPatchResponse.md +++ b/docs/V1GlobalConfigPatchResponse.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **global_prefix_sets** | **Dict[str, int]** | | [optional] **ipfix_exporters** | **Dict[str, int]** | | [optional] +**ntps** | **Dict[str, int]** | | [optional] **prefix_sets** | **Dict[str, int]** | | [optional] **routing_policies** | **Dict[str, int]** | | [optional] **snmps** | **Dict[str, int]** | | [optional] diff --git a/docs/V1GlobalConfigSitePostRequest.md b/docs/V1GlobalConfigSitePostRequest.md index 8231a575..18fe3786 100644 --- a/docs/V1GlobalConfigSitePostRequest.md +++ b/docs/V1GlobalConfigSitePostRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **global_prefix_set_ops** | **Dict[str, str]** | | [optional] **ipfix_exporter_ops** | **Dict[str, str]** | | [optional] **ipfix_exporter_ops_v2** | [**Dict[str, ManaV2GlobalObjectOperationConfig]**](ManaV2GlobalObjectOperationConfig.md) | | [optional] +**ntp_ops** | **Dict[str, str]** | | [optional] **prefix_set_ops** | **Dict[str, str]** | | [optional] **routing_policy_ops** | **Dict[str, str]** | | [optional] **site_id** | **int** | | [optional] diff --git a/docs/V1GlobalNtpsDeviceGetResponse.md b/docs/V1GlobalNtpsDeviceGetResponse.md new file mode 100644 index 00000000..dbf1188d --- /dev/null +++ b/docs/V1GlobalNtpsDeviceGetResponse.md @@ -0,0 +1,29 @@ +# V1GlobalNtpsDeviceGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ntps** | [**List[ManaV2Ntp]**](ManaV2Ntp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1GlobalNtpsDeviceGetResponse from a JSON string +v1_global_ntps_device_get_response_instance = V1GlobalNtpsDeviceGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1GlobalNtpsDeviceGetResponse.to_json()) + +# convert the object into a dict +v1_global_ntps_device_get_response_dict = v1_global_ntps_device_get_response_instance.to_dict() +# create an instance of V1GlobalNtpsDeviceGetResponse from a dict +v1_global_ntps_device_get_response_from_dict = V1GlobalNtpsDeviceGetResponse.from_dict(v1_global_ntps_device_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1GlobalNtpsPostRequest.md b/docs/V1GlobalNtpsPostRequest.md new file mode 100644 index 00000000..30990db3 --- /dev/null +++ b/docs/V1GlobalNtpsPostRequest.md @@ -0,0 +1,29 @@ +# V1GlobalNtpsPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ids** | **List[int]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1GlobalNtpsPostRequest from a JSON string +v1_global_ntps_post_request_instance = V1GlobalNtpsPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1GlobalNtpsPostRequest.to_json()) + +# convert the object into a dict +v1_global_ntps_post_request_dict = v1_global_ntps_post_request_instance.to_dict() +# create an instance of V1GlobalNtpsPostRequest from a dict +v1_global_ntps_post_request_from_dict = V1GlobalNtpsPostRequest.from_dict(v1_global_ntps_post_request_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1GlobalNtpsPostResponse.md b/docs/V1GlobalNtpsPostResponse.md new file mode 100644 index 00000000..9b18787a --- /dev/null +++ b/docs/V1GlobalNtpsPostResponse.md @@ -0,0 +1,29 @@ +# V1GlobalNtpsPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ntps** | [**List[ManaV2Ntp]**](ManaV2Ntp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1GlobalNtpsPostResponse from a JSON string +v1_global_ntps_post_response_instance = V1GlobalNtpsPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1GlobalNtpsPostResponse.to_json()) + +# convert the object into a dict +v1_global_ntps_post_response_dict = v1_global_ntps_post_response_instance.to_dict() +# create an instance of V1GlobalNtpsPostResponse from a dict +v1_global_ntps_post_response_from_dict = V1GlobalNtpsPostResponse.from_dict(v1_global_ntps_post_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1GlobalNtpsSiteGetResponse.md b/docs/V1GlobalNtpsSiteGetResponse.md new file mode 100644 index 00000000..afb90a4b --- /dev/null +++ b/docs/V1GlobalNtpsSiteGetResponse.md @@ -0,0 +1,29 @@ +# V1GlobalNtpsSiteGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ntps** | [**List[ManaV2Ntp]**](ManaV2Ntp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1GlobalNtpsSiteGetResponse from a JSON string +v1_global_ntps_site_get_response_instance = V1GlobalNtpsSiteGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1GlobalNtpsSiteGetResponse.to_json()) + +# convert the object into a dict +v1_global_ntps_site_get_response_dict = v1_global_ntps_site_get_response_instance.to_dict() +# create an instance of V1GlobalNtpsSiteGetResponse from a dict +v1_global_ntps_site_get_response_from_dict = V1GlobalNtpsSiteGetResponse.from_dict(v1_global_ntps_site_get_response_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/V1GlobalSummaryPostRequest.md b/docs/V1GlobalSummaryPostRequest.md index 3eec93dc..8f8cbca0 100644 --- a/docs/V1GlobalSummaryPostRequest.md +++ b/docs/V1GlobalSummaryPostRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ipfix_exported_type** | **bool** | | [optional] +**ntp_type** | **bool** | | [optional] **prefix_set_type** | **bool** | | [optional] **routing_policy_type** | **bool** | | [optional] **snmp_type** | **bool** | | [optional] diff --git a/docs/V1GlobalSyncPostRequest.md b/docs/V1GlobalSyncPostRequest.md index 758cd0f9..7ee9ac1e 100644 --- a/docs/V1GlobalSyncPostRequest.md +++ b/docs/V1GlobalSyncPostRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **device_ids** | **List[int]** | | [optional] **ipfix_exported_id** | **int** | | [optional] +**ntp_id** | **int** | | [optional] **prefix_set_id** | **int** | | [optional] **routing_policy_id** | **int** | | [optional] **snmp_id** | **int** | | [optional] diff --git a/docs/V2ExtranetConsumersUsageTopPostRequest.md b/docs/V2ExtranetConsumersUsageTopPostRequest.md index 7380774d..09d76e06 100644 --- a/docs/V2ExtranetConsumersUsageTopPostRequest.md +++ b/docs/V2ExtranetConsumersUsageTopPostRequest.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id of a producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**id** | **int** | the id of a producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V2ExtranetConsumersUsageTopPostResponse.md b/docs/V2ExtranetConsumersUsageTopPostResponse.md index 526c22b0..7a3092ad 100644 --- a/docs/V2ExtranetConsumersUsageTopPostResponse.md +++ b/docs/V2ExtranetConsumersUsageTopPostResponse.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **top_consumers** | [**List[IpfixEntityUsage]**](IpfixEntityUsage.md) | | [optional] -**total_customers** | **int** | | [optional] -**total_usage** | **float** | | [optional] +**total_customers** | **int** | total number of customers | [optional] +**total_usage** | **float** | total service usage in kilo bytes | [optional] ## Example diff --git a/docs/V2ExtranetLanSegmentsUsageTopPostRequest.md b/docs/V2ExtranetLanSegmentsUsageTopPostRequest.md index 424e7ce0..ec4da91f 100644 --- a/docs/V2ExtranetLanSegmentsUsageTopPostRequest.md +++ b/docs/V2ExtranetLanSegmentsUsageTopPostRequest.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V2ExtranetServiceOvertimeConsumptionPostRequest.md b/docs/V2ExtranetServiceOvertimeConsumptionPostRequest.md index fd519e55..03447216 100644 --- a/docs/V2ExtranetServiceOvertimeConsumptionPostRequest.md +++ b/docs/V2ExtranetServiceOvertimeConsumptionPostRequest.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**site_id** | **int** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**site_id** | **int** | a filter to get usage for a specific site | [optional] **subscription_name** | **str** | Optional subscription name for filter | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific vrf | [optional] ## Example diff --git a/docs/V2ExtranetSitesConsumptionOverviewPostRequest.md b/docs/V2ExtranetSitesConsumptionOverviewPostRequest.md index 537a5b28..661c1e26 100644 --- a/docs/V2ExtranetSitesConsumptionOverviewPostRequest.md +++ b/docs/V2ExtranetSitesConsumptionOverviewPostRequest.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_name** | **str** | | [optional] -**flipped_view** | **bool** | | [optional] -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**site_id** | **int** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**customer_name** | **str** | a filter to get usage for a specific customer | [optional] +**flipped_view** | **bool** | whether to view the data from the consumer's perspective (true) or the provider's perspective (false) (required) | +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**site_id** | **int** | a filter to get usage for a specific site | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific vrf | [optional] ## Example diff --git a/docs/V2ExtranetSitesConsumptionOverviewPostResponse.md b/docs/V2ExtranetSitesConsumptionOverviewPostResponse.md index d1078a85..bf869de2 100644 --- a/docs/V2ExtranetSitesConsumptionOverviewPostResponse.md +++ b/docs/V2ExtranetSitesConsumptionOverviewPostResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **lan_segments** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] **regions** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] **sites** | [**List[IpfixConnectionMap]**](IpfixConnectionMap.md) | | [optional] -**total_usage** | **float** | | [optional] +**total_usage** | **float** | total service usage in kilo bytes | [optional] ## Example diff --git a/docs/V2ExtranetSitesUsagePostRequest.md b/docs/V2ExtranetSitesUsagePostRequest.md index ff4906ca..38715e8b 100644 --- a/docs/V2ExtranetSitesUsagePostRequest.md +++ b/docs/V2ExtranetSitesUsagePostRequest.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | **service_id** | **int** | | [optional] -**site_id** | **int** | | [optional] +**site_id** | **int** | a filter to get usage for a specific site (id of the site) | [optional] **subscription_name** | **str** | Optional subscription name for filter | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] -**vrf_id** | **int** | | [optional] +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | +**vrf_id** | **int** | a filter to get usage for a specific lan segment (id of the lan segment) | [optional] ## Example diff --git a/docs/V2ExtranetSitesUsagePostResponse.md b/docs/V2ExtranetSitesUsagePostResponse.md index 879cd3dd..2e042bca 100644 --- a/docs/V2ExtranetSitesUsagePostResponse.md +++ b/docs/V2ExtranetSitesUsagePostResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bw_allocation** | **int** | | [optional] +**bw_allocation** | **int** | the bandwidth allocation for the entity in kbps | [optional] **dl_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] **ul_stats** | [**List[IpfixStats]**](IpfixStats.md) | | [optional] diff --git a/docs/V2ExtranetTotalUsagePostRequest.md b/docs/V2ExtranetTotalUsagePostRequest.md index 05624cbc..d3bfb641 100644 --- a/docs/V2ExtranetTotalUsagePostRequest.md +++ b/docs/V2ExtranetTotalUsagePostRequest.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | the ID associated with an entity - consumer_id for consumer, and service_id for the producer/service | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] -**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | [optional] +**id** | **int** | the ID associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | +**time_window** | [**StatsmonTimeWindow**](StatsmonTimeWindow.md) | | ## Example diff --git a/docs/V2MonitoringExtranetLogDetailsPostRequest.md b/docs/V2MonitoringExtranetLogDetailsPostRequest.md index b3139cf9..5a3cd6b5 100644 --- a/docs/V2MonitoringExtranetLogDetailsPostRequest.md +++ b/docs/V2MonitoringExtranetLogDetailsPostRequest.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | | [optional] -**is_b2_b** | **bool** | | [optional] -**is_provider** | **bool** | | [optional] +**id** | **int** | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) | +**is_b2_b** | **bool** | whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required) | +**is_provider** | **bool** | whether the entity is a provider or consumer (required) | ## Example diff --git a/docs/V2MonitoringExtranetLogDetailsPostResponseLogDetails.md b/docs/V2MonitoringExtranetLogDetailsPostResponseLogDetails.md index 0854df5a..bc8a05e8 100644 --- a/docs/V2MonitoringExtranetLogDetailsPostResponseLogDetails.md +++ b/docs/V2MonitoringExtranetLogDetailsPostResponseLogDetails.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hostname** | **str** | | [optional] -**reason** | **str** | | [optional] -**server_address** | **str** | | [optional] -**site_name** | **str** | | [optional] +**hostname** | **str** | the hostname of the log | [optional] +**reason** | **str** | the reason for the log | [optional] +**server_address** | **str** | the address of the server | [optional] +**site_name** | **str** | the name of the site | [optional] **ts** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] ## Example diff --git a/docs/V2MonitoringExtranetStatusDetailsGetResponse.md b/docs/V2MonitoringExtranetStatusDetailsGetResponse.md index 2d54a789..a29db3e3 100644 --- a/docs/V2MonitoringExtranetStatusDetailsGetResponse.md +++ b/docs/V2MonitoringExtranetStatusDetailsGetResponse.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **edge_statuses** | [**List[StatsmonExtranetEdgeStatus]**](StatsmonExtranetEdgeStatus.md) | | [optional] -**location** | **str** | | [optional] -**region** | **str** | | [optional] +**location** | **str** | the location of the site | [optional] +**region** | **str** | the region of the site | [optional] **site_status** | [**StatsmonExtranetSiteStatus**](StatsmonExtranetSiteStatus.md) | | [optional] ## Example diff --git a/graphiant_sdk/__init__.py b/graphiant_sdk/__init__.py index 03baf5ba..ca9f333d 100644 --- a/graphiant_sdk/__init__.py +++ b/graphiant_sdk/__init__.py @@ -138,6 +138,7 @@ from graphiant_sdk.models.iam_counts import IamCounts from graphiant_sdk.models.iam_customer import IamCustomer from graphiant_sdk.models.iam_enterprise import IamEnterprise +from graphiant_sdk.models.iam_enterprise_permissions import IamEnterprisePermissions from graphiant_sdk.models.iam_group import IamGroup from graphiant_sdk.models.ipfix_app_bandwidth_stats import IpfixAppBandwidthStats from graphiant_sdk.models.ipfix_app_flow_table import IpfixAppFlowTable @@ -352,6 +353,8 @@ from graphiant_sdk.models.mana_v2_new_site import ManaV2NewSite from graphiant_sdk.models.mana_v2_notify_filter_profile_include import ManaV2NotifyFilterProfileInclude from graphiant_sdk.models.mana_v2_notify_filter_profile_include_config import ManaV2NotifyFilterProfileIncludeConfig +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp +from graphiant_sdk.models.mana_v2_ntp_config import ManaV2NtpConfig from graphiant_sdk.models.mana_v2_nullable_address import ManaV2NullableAddress from graphiant_sdk.models.mana_v2_nullable_administrative_distance import ManaV2NullableAdministrativeDistance from graphiant_sdk.models.mana_v2_nullable_allow_as_in import ManaV2NullableAllowAsIn @@ -406,6 +409,7 @@ from graphiant_sdk.models.mana_v2_nullable_metric import ManaV2NullableMetric from graphiant_sdk.models.mana_v2_nullable_nat_policy_ruleset_config import ManaV2NullableNatPolicyRulesetConfig from graphiant_sdk.models.mana_v2_nullable_nat_policy_ruleset_name import ManaV2NullableNatPolicyRulesetName +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_ospf_admin_distance_value import ManaV2NullableOspfAdminDistanceValue from graphiant_sdk.models.mana_v2_nullable_ospf_area_config import ManaV2NullableOspfAreaConfig from graphiant_sdk.models.mana_v2_nullable_ospf_dead_interval_value import ManaV2NullableOspfDeadIntervalValue @@ -740,7 +744,6 @@ from graphiant_sdk.models.v1_account_info_patch_request import V1AccountInfoPatchRequest from graphiant_sdk.models.v1_account_mfa_confirmation_post_request import V1AccountMfaConfirmationPostRequest from graphiant_sdk.models.v1_account_mfa_confirmation_post_response import V1AccountMfaConfirmationPostResponse -from graphiant_sdk.models.v1_account_mfa_delete_request import V1AccountMfaDeleteRequest from graphiant_sdk.models.v1_account_mfa_get_response import V1AccountMfaGetResponse from graphiant_sdk.models.v1_account_mfa_put_request import V1AccountMfaPutRequest from graphiant_sdk.models.v1_account_mfa_put_response import V1AccountMfaPutResponse @@ -748,10 +751,8 @@ from graphiant_sdk.models.v1_activity_logs_post_request import V1ActivityLogsPostRequest from graphiant_sdk.models.v1_activity_logs_post_response import V1ActivityLogsPostResponse from graphiant_sdk.models.v1_activity_logs_post_response_activity_items import V1ActivityLogsPostResponseActivityItems -from graphiant_sdk.models.v1_alarm_history_get_request import V1AlarmHistoryGetRequest from graphiant_sdk.models.v1_alarm_history_get_response import V1AlarmHistoryGetResponse from graphiant_sdk.models.v1_alarm_mute_alarm_id_put_request import V1AlarmMuteAlarmIdPutRequest -from graphiant_sdk.models.v1_alarms_events_get_request import V1AlarmsEventsGetRequest from graphiant_sdk.models.v1_alarms_events_get_response import V1AlarmsEventsGetResponse from graphiant_sdk.models.v1_alarms_list_get_response import V1AlarmsListGetResponse from graphiant_sdk.models.v1_apps_app_summary_post_request import V1AppsAppSummaryPostRequest @@ -766,7 +767,6 @@ from graphiant_sdk.models.v1_apps_visualization_post_response import V1AppsVisualizationPostResponse from graphiant_sdk.models.v1_audit_logs_post_request import V1AuditLogsPostRequest from graphiant_sdk.models.v1_audit_logs_post_response import V1AuditLogsPostResponse -from graphiant_sdk.models.v1_auth_delete_response import V1AuthDeleteResponse from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse @@ -783,9 +783,7 @@ from graphiant_sdk.models.v1_auth_mfa_types_get_response import V1AuthMfaTypesGetResponse from graphiant_sdk.models.v1_auth_mfa_types_put_request import V1AuthMfaTypesPutRequest from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest -from graphiant_sdk.models.v1_auth_patch_response import V1AuthPatchResponse from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest -from graphiant_sdk.models.v1_auth_put_response import V1AuthPutResponse from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response @@ -871,48 +869,28 @@ from graphiant_sdk.models.v1_data_assurance_assurances_global_post_response import V1DataAssuranceAssurancesGlobalPostResponse from graphiant_sdk.models.v1_data_assurance_flex_algos_get_response import V1DataAssuranceFlexAlgosGetResponse from graphiant_sdk.models.v1_data_assurance_flex_algos_get_response_entry import V1DataAssuranceFlexAlgosGetResponseEntry -from graphiant_sdk.models.v1_device_routing_bgp_nbr_stats_get_request import V1DeviceRoutingBgpNbrStatsGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbr_stats_get_response import V1DeviceRoutingBgpNbrStatsGetResponse -from graphiant_sdk.models.v1_device_routing_bgp_nbrid_get_request import V1DeviceRoutingBgpNbridGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbrid_get_response import V1DeviceRoutingBgpNbridGetResponse -from graphiant_sdk.models.v1_device_routing_bgp_nbrs_counters_get_request import V1DeviceRoutingBgpNbrsCountersGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbrs_counters_get_response import V1DeviceRoutingBgpNbrsCountersGetResponse from graphiant_sdk.models.v1_device_routing_bgp_nbrs_details_get_response import V1DeviceRoutingBgpNbrsDetailsGetResponse from graphiant_sdk.models.v1_device_routing_bgp_nbrs_per_afi_prefix_get_response import V1DeviceRoutingBgpNbrsPerAfiPrefixGetResponse -from graphiant_sdk.models.v1_device_routing_odp_nbrid_get_request import V1DeviceRoutingOdpNbridGetRequest from graphiant_sdk.models.v1_device_routing_odp_nbrid_get_response import V1DeviceRoutingOdpNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_get_request import V1DeviceRoutingOspfv2AreaInterfaceGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_get_response import V1DeviceRoutingOspfv2AreaInterfaceGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_nbrid_get_request import V1DeviceRoutingOspfv2AreaInterfaceNbridGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_nbrid_get_response import V1DeviceRoutingOspfv2AreaInterfaceNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interfaceid_get_request import V1DeviceRoutingOspfv2AreaInterfaceidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interfaceid_get_response import V1DeviceRoutingOspfv2AreaInterfaceidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_lsdb_get_request import V1DeviceRoutingOspfv2AreaLsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_lsdb_get_response import V1DeviceRoutingOspfv2AreaLsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_nbr_get_request import V1DeviceRoutingOspfv2AreaNbrGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_nbr_get_response import V1DeviceRoutingOspfv2AreaNbrGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_areaid_get_request import V1DeviceRoutingOspfv2AreaidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_areaid_get_response import V1DeviceRoutingOspfv2AreaidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_lsdb_get_request import V1DeviceRoutingOspfv2LsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_lsdb_get_response import V1DeviceRoutingOspfv2LsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_rib_get_request import V1DeviceRoutingOspfv2RibGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_rib_get_response import V1DeviceRoutingOspfv2RibGetResponse from graphiant_sdk.models.v1_device_routing_ospfv2_statistics_get_response import V1DeviceRoutingOspfv2StatisticsGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_get_request import V1DeviceRoutingOspfv3AreaInterfaceGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_get_response import V1DeviceRoutingOspfv3AreaInterfaceGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_nbrid_get_request import V1DeviceRoutingOspfv3AreaInterfaceNbridGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_nbrid_get_response import V1DeviceRoutingOspfv3AreaInterfaceNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interfaceid_get_request import V1DeviceRoutingOspfv3AreaInterfaceidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interfaceid_get_response import V1DeviceRoutingOspfv3AreaInterfaceidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_lsdb_get_request import V1DeviceRoutingOspfv3AreaLsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_lsdb_get_response import V1DeviceRoutingOspfv3AreaLsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_nbr_get_request import V1DeviceRoutingOspfv3AreaNbrGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_nbr_get_response import V1DeviceRoutingOspfv3AreaNbrGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_areaid_get_request import V1DeviceRoutingOspfv3AreaidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_areaid_get_response import V1DeviceRoutingOspfv3AreaidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_lsdb_get_request import V1DeviceRoutingOspfv3LsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_lsdb_get_response import V1DeviceRoutingOspfv3LsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_rib_get_request import V1DeviceRoutingOspfv3RibGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_rib_get_response import V1DeviceRoutingOspfv3RibGetResponse from graphiant_sdk.models.v1_device_routing_ospfv3_statistics_get_response import V1DeviceRoutingOspfv3StatisticsGetResponse from graphiant_sdk.models.v1_device_routing_rib_route_count_post_response import V1DeviceRoutingRibRouteCountPostResponse @@ -923,7 +901,6 @@ from graphiant_sdk.models.v1_device_routing_vrf_bgp_route_count_post_response import V1DeviceRoutingVrfBgpRouteCountPostResponse from graphiant_sdk.models.v1_device_routing_vrf_bgp_route_count_post_response_route_count import V1DeviceRoutingVrfBgpRouteCountPostResponseRouteCount from graphiant_sdk.models.v1_device_snapshot_device_id_get_response import V1DeviceSnapshotDeviceIdGetResponse -from graphiant_sdk.models.v1_device_snapshot_get_request import V1DeviceSnapshotGetRequest from graphiant_sdk.models.v1_device_snapshot_get_response import V1DeviceSnapshotGetResponse from graphiant_sdk.models.v1_device_snapshot_post_request import V1DeviceSnapshotPostRequest from graphiant_sdk.models.v1_device_snapshot_put_request import V1DeviceSnapshotPutRequest @@ -939,7 +916,6 @@ from graphiant_sdk.models.v1_devices_device_id_arp_get_response import V1DevicesDeviceIdArpGetResponse from graphiant_sdk.models.v1_devices_device_id_candidate_circuits_get_response import V1DevicesDeviceIdCandidateCircuitsGetResponse from graphiant_sdk.models.v1_devices_device_id_candidate_circuits_get_response_circuit_info import V1DevicesDeviceIdCandidateCircuitsGetResponseCircuitInfo -from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_request import V1DevicesDeviceIdCircuitsVrfAssociationsGetRequest from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_response import V1DevicesDeviceIdCircuitsVrfAssociationsGetResponse from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_response_vrf_associations import V1DevicesDeviceIdCircuitsVrfAssociationsGetResponseVrfAssociations from graphiant_sdk.models.v1_devices_device_id_config_put_request import V1DevicesDeviceIdConfigPutRequest @@ -950,43 +926,31 @@ from graphiant_sdk.models.v1_devices_device_id_draft_get_response import V1DevicesDeviceIdDraftGetResponse from graphiant_sdk.models.v1_devices_device_id_draft_post_request import V1DevicesDeviceIdDraftPostRequest from graphiant_sdk.models.v1_devices_device_id_draft_post_response import V1DevicesDeviceIdDraftPostResponse -from graphiant_sdk.models.v1_devices_device_id_edges_get_request import V1DevicesDeviceIdEdgesGetRequest from graphiant_sdk.models.v1_devices_device_id_edges_get_response import V1DevicesDeviceIdEdgesGetResponse from graphiant_sdk.models.v1_devices_device_id_get_response import V1DevicesDeviceIdGetResponse -from graphiant_sdk.models.v1_devices_device_id_interfaces_get_request import V1DevicesDeviceIdInterfacesGetRequest from graphiant_sdk.models.v1_devices_device_id_interfaces_get_response import V1DevicesDeviceIdInterfacesGetResponse from graphiant_sdk.models.v1_devices_device_id_jobs_job_id_get_response import V1DevicesDeviceIdJobsJobIdGetResponse from graphiant_sdk.models.v1_devices_device_id_ndcache_get_response import V1DevicesDeviceIdNdcacheGetResponse -from graphiant_sdk.models.v1_devices_device_id_ospfv2_default_originate_get_request import V1DevicesDeviceIdOspfv2DefaultOriginateGetRequest from graphiant_sdk.models.v1_devices_device_id_ospfv2_default_originate_get_response import V1DevicesDeviceIdOspfv2DefaultOriginateGetResponse -from graphiant_sdk.models.v1_devices_device_id_ospfv3_default_originate_get_request import V1DevicesDeviceIdOspfv3DefaultOriginateGetRequest from graphiant_sdk.models.v1_devices_device_id_ospfv3_default_originate_get_response import V1DevicesDeviceIdOspfv3DefaultOriginateGetResponse -from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_request import V1DevicesDeviceIdPolicyApplicationsGetRequest from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_response import V1DevicesDeviceIdPolicyApplicationsGetResponse from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_response_application import V1DevicesDeviceIdPolicyApplicationsGetResponseApplication -from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_request import V1DevicesDeviceIdPolicyCustomapplicationsGetRequest from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_response import V1DevicesDeviceIdPolicyCustomapplicationsGetResponse from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_response_application import V1DevicesDeviceIdPolicyCustomapplicationsGetResponseApplication from graphiant_sdk.models.v1_devices_device_id_policy_zonepairs_get_response import V1DevicesDeviceIdPolicyZonepairsGetResponse from graphiant_sdk.models.v1_devices_device_id_slice_peers_get_response import V1DevicesDeviceIdSlicePeersGetResponse from graphiant_sdk.models.v1_devices_device_id_staged_config_compare_get_response import V1DevicesDeviceIdStagedConfigCompareGetResponse from graphiant_sdk.models.v1_devices_device_id_twamp_core_get_response import V1DevicesDeviceIdTwampCoreGetResponse -from graphiant_sdk.models.v1_devices_device_id_versions_compare_get_request import V1DevicesDeviceIdVersionsCompareGetRequest from graphiant_sdk.models.v1_devices_device_id_versions_compare_get_response import V1DevicesDeviceIdVersionsCompareGetResponse from graphiant_sdk.models.v1_devices_device_id_versions_get_response import V1DevicesDeviceIdVersionsGetResponse from graphiant_sdk.models.v1_devices_device_id_versions_version_get_response import V1DevicesDeviceIdVersionsVersionGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrf_bgp_as_get_request import V1DevicesDeviceIdVrfBgpAsGetRequest from graphiant_sdk.models.v1_devices_device_id_vrf_bgp_as_get_response import V1DevicesDeviceIdVrfBgpAsGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrf_protocols_get_request import V1DevicesDeviceIdVrfProtocolsGetRequest from graphiant_sdk.models.v1_devices_device_id_vrf_protocols_get_response import V1DevicesDeviceIdVrfProtocolsGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrrp_get_request import V1DevicesDeviceIdVrrpGetRequest from graphiant_sdk.models.v1_devices_device_id_vrrp_get_response import V1DevicesDeviceIdVrrpGetResponse -from graphiant_sdk.models.v1_devices_get_request import V1DevicesGetRequest from graphiant_sdk.models.v1_devices_get_response import V1DevicesGetResponse from graphiant_sdk.models.v1_devices_inventory_approve_return_post_request import V1DevicesInventoryApproveReturnPostRequest from graphiant_sdk.models.v1_devices_inventory_clear_return_post_request import V1DevicesInventoryClearReturnPostRequest from graphiant_sdk.models.v1_devices_inventory_enterprise_put_request import V1DevicesInventoryEnterprisePutRequest -from graphiant_sdk.models.v1_devices_inventory_get_request import V1DevicesInventoryGetRequest from graphiant_sdk.models.v1_devices_inventory_get_response import V1DevicesInventoryGetResponse from graphiant_sdk.models.v1_devices_inventory_post_request import V1DevicesInventoryPostRequest from graphiant_sdk.models.v1_devices_inventory_post_response import V1DevicesInventoryPostResponse @@ -997,7 +961,6 @@ from graphiant_sdk.models.v1_devices_oauth_authorization_get_response import V1DevicesOauthAuthorizationGetResponse from graphiant_sdk.models.v1_devices_oauth_post_request import V1DevicesOauthPostRequest from graphiant_sdk.models.v1_devices_oauth_post_response import V1DevicesOauthPostResponse -from graphiant_sdk.models.v1_devices_oauth_redirect_get_request import V1DevicesOauthRedirectGetRequest from graphiant_sdk.models.v1_devices_oauth_redirect_get_response import V1DevicesOauthRedirectGetResponse from graphiant_sdk.models.v1_devices_rma_post_request import V1DevicesRmaPostRequest from graphiant_sdk.models.v1_devices_routing_vrf_protocol_route_count_get_response import V1DevicesRoutingVrfProtocolRouteCountGetResponse @@ -1007,7 +970,6 @@ from graphiant_sdk.models.v1_devices_session_status_post_request import V1DevicesSessionStatusPostRequest from graphiant_sdk.models.v1_devices_session_status_post_response import V1DevicesSessionStatusPostResponse from graphiant_sdk.models.v1_devices_session_status_post_response_data import V1DevicesSessionStatusPostResponseData -from graphiant_sdk.models.v1_devices_summary_get_request import V1DevicesSummaryGetRequest from graphiant_sdk.models.v1_devices_summary_get_response import V1DevicesSummaryGetResponse from graphiant_sdk.models.v1_devices_summary_get_response_site_summary import V1DevicesSummaryGetResponseSiteSummary from graphiant_sdk.models.v1_devices_summary_get_response_site_summary_device_summary import V1DevicesSummaryGetResponseSiteSummaryDeviceSummary @@ -1020,7 +982,6 @@ from graphiant_sdk.models.v1_diagnostic_archives_device_id_get_response import V1DiagnosticArchivesDeviceIdGetResponse from graphiant_sdk.models.v1_diagnostic_bgp_reset_device_id_put_request import V1DiagnosticBgpResetDeviceIdPutRequest from graphiant_sdk.models.v1_diagnostic_clear_arp_device_id_put_request import V1DiagnosticClearArpDeviceIdPutRequest -from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_request import V1DiagnosticGnmiPingGetRequest from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_response import V1DiagnosticGnmiPingGetResponse from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_response_result import V1DiagnosticGnmiPingGetResponseResult from graphiant_sdk.models.v1_diagnostic_interface_reset_device_id_put_request import V1DiagnosticInterfaceResetDeviceIdPutRequest @@ -1030,7 +991,6 @@ from graphiant_sdk.models.v1_diagnostic_packetcapture_start_post_response import V1DiagnosticPacketcaptureStartPostResponse from graphiant_sdk.models.v1_diagnostic_packetcapture_stop_post_request import V1DiagnosticPacketcaptureStopPostRequest from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_request import V1DiagnosticPingPauseResumePostRequest -from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_response import V1DiagnosticPingPauseResumePostResponse from graphiant_sdk.models.v1_diagnostic_ping_post_request import V1DiagnosticPingPostRequest from graphiant_sdk.models.v1_diagnostic_ping_post_response import V1DiagnosticPingPostResponse from graphiant_sdk.models.v1_diagnostic_reboot_device_id_put_request import V1DiagnosticRebootDeviceIdPutRequest @@ -1040,34 +1000,28 @@ from graphiant_sdk.models.v1_diagnostic_speedtest_providers_get_response import V1DiagnosticSpeedtestProvidersGetResponse from graphiant_sdk.models.v1_diagnostic_speedtest_report_put_request import V1DiagnosticSpeedtestReportPutRequest from graphiant_sdk.models.v1_diagnostic_speedtest_report_put_response import V1DiagnosticSpeedtestReportPutResponse -from graphiant_sdk.models.v1_diagnostic_speedtest_servers_get_request import V1DiagnosticSpeedtestServersGetRequest from graphiant_sdk.models.v1_diagnostic_speedtest_servers_get_response import V1DiagnosticSpeedtestServersGetResponse from graphiant_sdk.models.v1_diagnostic_traceroute_post_request import V1DiagnosticTraceroutePostRequest from graphiant_sdk.models.v1_diagnostic_traceroute_post_response import V1DiagnosticTraceroutePostResponse -from graphiant_sdk.models.v1_edges_hardware_assigned_get_request import V1EdgesHardwareAssignedGetRequest from graphiant_sdk.models.v1_edges_hardware_assigned_get_response import V1EdgesHardwareAssignedGetResponse from graphiant_sdk.models.v1_edges_hardware_unassigned_get_response import V1EdgesHardwareUnassignedGetResponse -from graphiant_sdk.models.v1_edges_summary_get_request import V1EdgesSummaryGetRequest from graphiant_sdk.models.v1_edges_summary_get_response import V1EdgesSummaryGetResponse -from graphiant_sdk.models.v1_enterprise_allocation_get_request import V1EnterpriseAllocationGetRequest +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest +from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse from graphiant_sdk.models.v1_enterprise_allocation_get_response import V1EnterpriseAllocationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_get_response import V1EnterpriseConfigurationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_put_request import V1EnterpriseConfigurationPutRequest from graphiant_sdk.models.v1_enterprise_contract_put_request import V1EnterpriseContractPutRequest from graphiant_sdk.models.v1_enterprise_snapshot_get_response import V1EnterpriseSnapshotGetResponse from graphiant_sdk.models.v1_enterprises_enterprise_id_admin_get_response import V1EnterprisesEnterpriseIdAdminGetResponse -from graphiant_sdk.models.v1_enterprises_enterprise_id_delete_response import V1EnterprisesEnterpriseIdDeleteResponse -from graphiant_sdk.models.v1_enterprises_enterprise_id_device_status_get_request import V1EnterprisesEnterpriseIdDeviceStatusGetRequest from graphiant_sdk.models.v1_enterprises_enterprise_id_device_status_get_response import V1EnterprisesEnterpriseIdDeviceStatusGetResponse from graphiant_sdk.models.v1_enterprises_get_response import V1EnterprisesGetResponse from graphiant_sdk.models.v1_enterprises_managed_get_response import V1EnterprisesManagedGetResponse from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_patch_request_token_expiry import V1EnterprisesPatchRequestTokenExpiry from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest -from graphiant_sdk.models.v1_enterprises_self_delete_response import V1EnterprisesSelfDeleteResponse -from graphiant_sdk.models.v1_event_device_get_request import V1EventDeviceGetRequest from graphiant_sdk.models.v1_event_device_get_response import V1EventDeviceGetResponse -from graphiant_sdk.models.v1_event_enterprise_get_request import V1EventEnterpriseGetRequest from graphiant_sdk.models.v1_event_enterprise_get_response import V1EventEnterpriseGetResponse from graphiant_sdk.models.v1_event_system_ack_post_request import V1EventSystemAckPostRequest from graphiant_sdk.models.v1_event_system_get_response import V1EventSystemGetResponse @@ -1099,14 +1053,11 @@ from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_request import V1ExtranetsB2bIdCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_response import V1ExtranetsB2bIdCustomerPostResponse from graphiant_sdk.models.v1_extranets_b2b_id_customer_summary_get_response import V1ExtranetsB2bIdCustomerSummaryGetResponse -from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_request import V1ExtranetsB2bIdProducerGetRequest from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_response import V1ExtranetsB2bIdProducerGetResponse from graphiant_sdk.models.v1_extranets_b2b_id_put_request import V1ExtranetsB2bIdPutRequest from graphiant_sdk.models.v1_extranets_b2b_id_put_response import V1ExtranetsB2bIdPutResponse -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_request import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response_ipsec_vpn_tunnel_config import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponseIpsecVpnTunnelConfig -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_request import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_response import V1ExtranetsB2bPeeringConsumerMatchIdPostResponse @@ -1114,7 +1065,7 @@ from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_get_response import V1ExtranetsB2bPeeringCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_request import V1ExtranetsB2bPeeringCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_response import V1ExtranetsB2bPeeringCustomerPostResponse -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_request import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse @@ -1126,9 +1077,7 @@ from graphiant_sdk.models.v1_extranets_b2b_post_request import V1ExtranetsB2bPostRequest from graphiant_sdk.models.v1_extranets_b2b_post_response import V1ExtranetsB2bPostResponse from graphiant_sdk.models.v1_extranets_b2b_producer_device_status_id_get_response import V1ExtranetsB2bProducerDeviceStatusIdGetResponse -from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_request import V1ExtranetsB2bProducersSummaryGetRequest from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_response import V1ExtranetsB2bProducersSummaryGetResponse -from graphiant_sdk.models.v1_extranets_get_request import V1ExtranetsGetRequest from graphiant_sdk.models.v1_extranets_get_response import V1ExtranetsGetResponse from graphiant_sdk.models.v1_extranets_id_apply_post_request import V1ExtranetsIdApplyPostRequest from graphiant_sdk.models.v1_extranets_id_apply_post_response import V1ExtranetsIdApplyPostResponse @@ -1137,10 +1086,8 @@ from graphiant_sdk.models.v1_extranets_id_put_request import V1ExtranetsIdPutRequest from graphiant_sdk.models.v1_extranets_id_put_response import V1ExtranetsIdPutResponse from graphiant_sdk.models.v1_extranets_id_status_get_response import V1ExtranetsIdStatusGetResponse -from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_request import V1ExtranetsMonitoringLanSegmentsGetRequest from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response import V1ExtranetsMonitoringLanSegmentsGetResponse from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response_vrf import V1ExtranetsMonitoringLanSegmentsGetResponseVrf -from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_request import V1ExtranetsMonitoringNatUsageGetRequest from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response import V1ExtranetsMonitoringNatUsageGetResponse from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response_allocation import V1ExtranetsMonitoringNatUsageGetResponseAllocation from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_request import V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest @@ -1162,7 +1109,6 @@ from graphiant_sdk.models.v1_gateways_post_request import V1GatewaysPostRequest from graphiant_sdk.models.v1_gateways_post_response import V1GatewaysPostResponse from graphiant_sdk.models.v1_gateways_put_request import V1GatewaysPutRequest -from graphiant_sdk.models.v1_gateways_reference_consumer_get_request import V1GatewaysReferenceConsumerGetRequest from graphiant_sdk.models.v1_gateways_reference_consumer_get_response import V1GatewaysReferenceConsumerGetResponse from graphiant_sdk.models.v1_gateways_regions_get_response import V1GatewaysRegionsGetResponse from graphiant_sdk.models.v1_gateways_status_post_request import V1GatewaysStatusPostRequest @@ -1193,13 +1139,10 @@ from graphiant_sdk.models.v1_global_config_patch_request import V1GlobalConfigPatchRequest from graphiant_sdk.models.v1_global_config_patch_response import V1GlobalConfigPatchResponse from graphiant_sdk.models.v1_global_config_site_post_request import V1GlobalConfigSitePostRequest -from graphiant_sdk.models.v1_global_device_status_get_request import V1GlobalDeviceStatusGetRequest from graphiant_sdk.models.v1_global_device_status_get_response import V1GlobalDeviceStatusGetResponse -from graphiant_sdk.models.v1_global_ipfix_device_get_request import V1GlobalIpfixDeviceGetRequest from graphiant_sdk.models.v1_global_ipfix_device_get_response import V1GlobalIpfixDeviceGetResponse from graphiant_sdk.models.v1_global_ipfix_post_request import V1GlobalIpfixPostRequest from graphiant_sdk.models.v1_global_ipfix_post_response import V1GlobalIpfixPostResponse -from graphiant_sdk.models.v1_global_ipfix_site_get_request import V1GlobalIpfixSiteGetRequest from graphiant_sdk.models.v1_global_ipfix_site_get_response import V1GlobalIpfixSiteGetResponse from graphiant_sdk.models.v1_global_ipsec_profile_get_response import V1GlobalIpsecProfileGetResponse from graphiant_sdk.models.v1_global_ipsec_profile_get_response_i_psec_profile_count import V1GlobalIpsecProfileGetResponseIPsecProfileCount @@ -1208,78 +1151,59 @@ from graphiant_sdk.models.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_response_site_to_site_vpn import V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponseSiteToSiteVpn from graphiant_sdk.models.v1_global_lan_segments_get_response import V1GlobalLanSegmentsGetResponse from graphiant_sdk.models.v1_global_lan_segments_get_response_entry import V1GlobalLanSegmentsGetResponseEntry -from graphiant_sdk.models.v1_global_lan_segments_id_delete_response import V1GlobalLanSegmentsIdDeleteResponse from graphiant_sdk.models.v1_global_lan_segments_post_request import V1GlobalLanSegmentsPostRequest from graphiant_sdk.models.v1_global_lan_segments_post_response import V1GlobalLanSegmentsPostResponse from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response import V1GlobalLanSegmentsVrfIdDevicesGetResponse from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response_entry import V1GlobalLanSegmentsVrfIdDevicesGetResponseEntry -from graphiant_sdk.models.v1_global_prefix_sets_device_get_request import V1GlobalPrefixSetsDeviceGetRequest +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse from graphiant_sdk.models.v1_global_prefix_sets_device_get_response import V1GlobalPrefixSetsDeviceGetResponse from graphiant_sdk.models.v1_global_prefix_sets_post_request import V1GlobalPrefixSetsPostRequest from graphiant_sdk.models.v1_global_prefix_sets_post_response import V1GlobalPrefixSetsPostResponse -from graphiant_sdk.models.v1_global_prefix_sets_site_get_request import V1GlobalPrefixSetsSiteGetRequest from graphiant_sdk.models.v1_global_prefix_sets_site_get_response import V1GlobalPrefixSetsSiteGetResponse -from graphiant_sdk.models.v1_global_routing_policies_device_get_request import V1GlobalRoutingPoliciesDeviceGetRequest from graphiant_sdk.models.v1_global_routing_policies_device_get_response import V1GlobalRoutingPoliciesDeviceGetResponse from graphiant_sdk.models.v1_global_routing_policies_post_request import V1GlobalRoutingPoliciesPostRequest from graphiant_sdk.models.v1_global_routing_policies_post_response import V1GlobalRoutingPoliciesPostResponse -from graphiant_sdk.models.v1_global_routing_policies_site_get_request import V1GlobalRoutingPoliciesSiteGetRequest from graphiant_sdk.models.v1_global_routing_policies_site_get_response import V1GlobalRoutingPoliciesSiteGetResponse from graphiant_sdk.models.v1_global_site_lists_get_response import V1GlobalSiteListsGetResponse from graphiant_sdk.models.v1_global_site_lists_get_response_entry import V1GlobalSiteListsGetResponseEntry -from graphiant_sdk.models.v1_global_site_lists_id_delete_response import V1GlobalSiteListsIdDeleteResponse from graphiant_sdk.models.v1_global_site_lists_id_get_response import V1GlobalSiteListsIdGetResponse from graphiant_sdk.models.v1_global_site_lists_id_put_request import V1GlobalSiteListsIdPutRequest from graphiant_sdk.models.v1_global_site_lists_id_put_response import V1GlobalSiteListsIdPutResponse from graphiant_sdk.models.v1_global_site_lists_id_sites_get_response import V1GlobalSiteListsIdSitesGetResponse from graphiant_sdk.models.v1_global_site_lists_post_request import V1GlobalSiteListsPostRequest from graphiant_sdk.models.v1_global_site_lists_post_response import V1GlobalSiteListsPostResponse -from graphiant_sdk.models.v1_global_site_status_get_request import V1GlobalSiteStatusGetRequest from graphiant_sdk.models.v1_global_site_status_get_response import V1GlobalSiteStatusGetResponse -from graphiant_sdk.models.v1_global_snmps_device_get_request import V1GlobalSnmpsDeviceGetRequest from graphiant_sdk.models.v1_global_snmps_device_get_response import V1GlobalSnmpsDeviceGetResponse from graphiant_sdk.models.v1_global_snmps_post_request import V1GlobalSnmpsPostRequest from graphiant_sdk.models.v1_global_snmps_post_response import V1GlobalSnmpsPostResponse -from graphiant_sdk.models.v1_global_snmps_site_get_request import V1GlobalSnmpsSiteGetRequest from graphiant_sdk.models.v1_global_snmps_site_get_response import V1GlobalSnmpsSiteGetResponse from graphiant_sdk.models.v1_global_summary_post_request import V1GlobalSummaryPostRequest from graphiant_sdk.models.v1_global_summary_post_response import V1GlobalSummaryPostResponse from graphiant_sdk.models.v1_global_sync_post_request import V1GlobalSyncPostRequest -from graphiant_sdk.models.v1_global_syslogs_device_get_request import V1GlobalSyslogsDeviceGetRequest from graphiant_sdk.models.v1_global_syslogs_device_get_response import V1GlobalSyslogsDeviceGetResponse from graphiant_sdk.models.v1_global_syslogs_post_request import V1GlobalSyslogsPostRequest from graphiant_sdk.models.v1_global_syslogs_post_response import V1GlobalSyslogsPostResponse -from graphiant_sdk.models.v1_global_syslogs_site_get_request import V1GlobalSyslogsSiteGetRequest from graphiant_sdk.models.v1_global_syslogs_site_get_response import V1GlobalSyslogsSiteGetResponse -from graphiant_sdk.models.v1_global_traffic_policies_device_get_request import V1GlobalTrafficPoliciesDeviceGetRequest from graphiant_sdk.models.v1_global_traffic_policies_device_get_response import V1GlobalTrafficPoliciesDeviceGetResponse from graphiant_sdk.models.v1_global_traffic_policies_post_request import V1GlobalTrafficPoliciesPostRequest from graphiant_sdk.models.v1_global_traffic_policies_post_response import V1GlobalTrafficPoliciesPostResponse -from graphiant_sdk.models.v1_global_traffic_policies_site_get_request import V1GlobalTrafficPoliciesSiteGetRequest from graphiant_sdk.models.v1_global_traffic_policies_site_get_response import V1GlobalTrafficPoliciesSiteGetResponse from graphiant_sdk.models.v1_groups_enterprises_get_response import V1GroupsEnterprisesGetResponse from graphiant_sdk.models.v1_groups_get_response import V1GroupsGetResponse -from graphiant_sdk.models.v1_groups_id_delete_request import V1GroupsIdDeleteRequest -from graphiant_sdk.models.v1_groups_id_delete_response import V1GroupsIdDeleteResponse -from graphiant_sdk.models.v1_groups_id_enterprises_enterprise_id_delete_response import V1GroupsIdEnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.models.v1_groups_id_enterprises_post_request import V1GroupsIdEnterprisesPostRequest from graphiant_sdk.models.v1_groups_id_get_response import V1GroupsIdGetResponse from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest -from graphiant_sdk.models.v1_groups_id_members_delete_post_response import V1GroupsIdMembersDeletePostResponse from graphiant_sdk.models.v1_groups_id_members_get_response import V1GroupsIdMembersGetResponse -from graphiant_sdk.models.v1_groups_id_members_member_id_delete_response import V1GroupsIdMembersMemberIdDeleteResponse from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest -from graphiant_sdk.models.v1_groups_id_members_post_response import V1GroupsIdMembersPostResponse from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest -from graphiant_sdk.models.v1_groups_id_patch_response import V1GroupsIdPatchResponse from graphiant_sdk.models.v1_groups_put_request import V1GroupsPutRequest from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse -from graphiant_sdk.models.v1_healthcheck_devices_get_request import V1HealthcheckDevicesGetRequest from graphiant_sdk.models.v1_healthcheck_devices_get_response import V1HealthcheckDevicesGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest -from graphiant_sdk.models.v1_lan_segments_get_request import V1LanSegmentsGetRequest from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse -from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_request import V1LldpInterfaceIdNeighborsGetRequest from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_response import V1LldpInterfaceIdNeighborsGetResponse from graphiant_sdk.models.v1_lldp_interface_id_summary_get_response import V1LldpInterfaceIdSummaryGetResponse from graphiant_sdk.models.v1_lldp_interface_id_vendors_get_response import V1LldpInterfaceIdVendorsGetResponse @@ -1297,13 +1221,10 @@ from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_request import V1MonitoringCircuitsVisualizationPostRequest from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_response import V1MonitoringCircuitsVisualizationPostResponse from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_response_data import V1MonitoringCircuitsVisualizationPostResponseData -from graphiant_sdk.models.v1_nat_entries_device_id_get_request import V1NatEntriesDeviceIdGetRequest from graphiant_sdk.models.v1_nat_entries_device_id_get_response import V1NatEntriesDeviceIdGetResponse from graphiant_sdk.models.v1_nat_utilization_device_id_get_response import V1NatUtilizationDeviceIdGetResponse -from graphiant_sdk.models.v1_onboarding_cloudinit_delete_request import V1OnboardingCloudinitDeleteRequest from graphiant_sdk.models.v1_onboarding_cloudinit_get_response import V1OnboardingCloudinitGetResponse from graphiant_sdk.models.v1_onboarding_cloudinit_post_request import V1OnboardingCloudinitPostRequest -from graphiant_sdk.models.v1_policy_applications_get_request import V1PolicyApplicationsGetRequest from graphiant_sdk.models.v1_policy_applications_get_response import V1PolicyApplicationsGetResponse from graphiant_sdk.models.v1_policy_applications_get_response_application import V1PolicyApplicationsGetResponseApplication from graphiant_sdk.models.v1_policy_prefix_sets_id_put_request import V1PolicyPrefixSetsIdPutRequest @@ -1318,7 +1239,6 @@ from graphiant_sdk.models.v1_policy_route_tag_sets_id_delete_response import V1PolicyRouteTagSetsIdDeleteResponse from graphiant_sdk.models.v1_policy_route_tag_sets_post_request import V1PolicyRouteTagSetsPostRequest from graphiant_sdk.models.v1_policy_route_tag_sets_post_response import V1PolicyRouteTagSetsPostResponse -from graphiant_sdk.models.v1_policy_route_tag_sets_tag_detail_get_request import V1PolicyRouteTagSetsTagDetailGetRequest from graphiant_sdk.models.v1_policy_route_tag_sets_tag_detail_get_response import V1PolicyRouteTagSetsTagDetailGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_get_response import V1PolicyRouteTagSetsTagsGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_summary_get_response import V1PolicyRouteTagSetsTagsSummaryGetResponse @@ -1333,14 +1253,11 @@ from graphiant_sdk.models.v1_presharedkey_get_response import V1PresharedkeyGetResponse from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse -from graphiant_sdk.models.v1_search_get_request import V1SearchGetRequest from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse -from graphiant_sdk.models.v1_site_id_details_interfaces_get_request import V1SiteIdDetailsInterfacesGetRequest from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse -from graphiant_sdk.models.v1_sites_get_request import V1SitesGetRequest from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse @@ -1352,12 +1269,9 @@ from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest -from graphiant_sdk.models.v1_software_release_notes_get_request import V1SoftwareReleaseNotesGetRequest from graphiant_sdk.models.v1_software_release_notes_get_response import V1SoftwareReleaseNotesGetResponse -from graphiant_sdk.models.v1_software_releases_download_get_request import V1SoftwareReleasesDownloadGetRequest from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse -from graphiant_sdk.models.v1_software_running_details_get_request import V1SoftwareRunningDetailsGetRequest from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.models.v1_software_running_details_get_response_device import V1SoftwareRunningDetailsGetResponseDevice from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse @@ -1381,10 +1295,8 @@ from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response_site_counts import V1TroubleshootingTopSitesByAlertsPostResponseSiteCounts from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response_site_counts_site_count import V1TroubleshootingTopSitesByAlertsPostResponseSiteCountsSiteCount -from graphiant_sdk.models.v1_tt_tt_identity_device_status_get_request import V1TtTtIdentityDeviceStatusGetRequest from graphiant_sdk.models.v1_tt_tt_identity_device_status_get_response import V1TtTtIdentityDeviceStatusGetResponse from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest -from graphiant_sdk.models.v1_users_get_request import V1UsersGetRequest from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse @@ -1393,7 +1305,6 @@ from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse -from graphiant_sdk.models.v1_zones_get_request import V1ZonesGetRequest from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest @@ -1404,10 +1315,8 @@ from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest -from graphiant_sdk.models.v2_assistant_conversation_id_delete_request import V2AssistantConversationIdDeleteRequest from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse -from graphiant_sdk.models.v2_assistant_delete_conversation_conversation_id_delete_request import V2AssistantDeleteConversationConversationIdDeleteRequest from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest @@ -1418,7 +1327,6 @@ from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse -from graphiant_sdk.models.v2_assurance_bucket_app_servers_all_get_request import V2AssuranceBucketAppServersAllGetRequest from graphiant_sdk.models.v2_assurance_bucket_app_servers_all_get_response import V2AssuranceBucketAppServersAllGetResponse from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse @@ -1434,7 +1342,6 @@ from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse -from graphiant_sdk.models.v2_assurance_download_user_report_get_request import V2AssuranceDownloadUserReportGetRequest from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.models.v2_assurance_endpoint_intel_post_request import V2AssuranceEndpointIntelPostRequest from graphiant_sdk.models.v2_assurance_endpoint_intel_post_response import V2AssuranceEndpointIntelPostResponse @@ -1517,18 +1424,13 @@ from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_request import V2MonitoringCircuitsVisualizationPostRequest from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response import V2MonitoringCircuitsVisualizationPostResponse from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response_data import V2MonitoringCircuitsVisualizationPostResponseData -from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_request import V2MonitoringExtranetEdgeStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_response import V2MonitoringExtranetEdgeStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_request import V2MonitoringExtranetLogDetailsPostRequest from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response import V2MonitoringExtranetLogDetailsPostResponse from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response_log_details import V2MonitoringExtranetLogDetailsPostResponseLogDetails -from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_request import V2MonitoringExtranetServiceStatusDetailsGetRequest from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_response import V2MonitoringExtranetServiceStatusDetailsGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_request import V2MonitoringExtranetServiceStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_request import V2MonitoringExtranetSiteStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_response import V2MonitoringExtranetSiteStatusGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_request import V2MonitoringExtranetStatusDetailsGetRequest from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_response import V2MonitoringExtranetStatusDetailsGetResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_request import V2MonitoringIkeErrorHistoryPostRequest from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response import V2MonitoringIkeErrorHistoryPostResponse diff --git a/graphiant_sdk/api/default_api.py b/graphiant_sdk/api/default_api.py index f83f3dc1..8ba4679c 100644 --- a/graphiant_sdk/api/default_api.py +++ b/graphiant_sdk/api/default_api.py @@ -16,7 +16,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr +from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import Any, Dict, List, Optional from typing_extensions import Annotated from graphiant_sdk.models.v1_account_email_patch_request import V1AccountEmailPatchRequest @@ -45,7 +45,6 @@ from graphiant_sdk.models.v1_apps_visualization_post_response import V1AppsVisualizationPostResponse from graphiant_sdk.models.v1_audit_logs_post_request import V1AuditLogsPostRequest from graphiant_sdk.models.v1_audit_logs_post_response import V1AuditLogsPostResponse -from graphiant_sdk.models.v1_auth_delete_response import V1AuthDeleteResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse from graphiant_sdk.models.v1_auth_login_post_request import V1AuthLoginPostRequest @@ -57,9 +56,7 @@ from graphiant_sdk.models.v1_auth_mfa_types_get_response import V1AuthMfaTypesGetResponse from graphiant_sdk.models.v1_auth_mfa_types_put_request import V1AuthMfaTypesPutRequest from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest -from graphiant_sdk.models.v1_auth_patch_response import V1AuthPatchResponse from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest -from graphiant_sdk.models.v1_auth_put_response import V1AuthPutResponse from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response from graphiant_sdk.models.v1_auth_user_get_response import V1AuthUserGetResponse from graphiant_sdk.models.v1_b2b_extranet_monitoring_filter_post_request import V1B2bExtranetMonitoringFilterPostRequest @@ -233,7 +230,6 @@ from graphiant_sdk.models.v1_diagnostic_packetcapture_start_post_response import V1DiagnosticPacketcaptureStartPostResponse from graphiant_sdk.models.v1_diagnostic_packetcapture_stop_post_request import V1DiagnosticPacketcaptureStopPostRequest from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_request import V1DiagnosticPingPauseResumePostRequest -from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_response import V1DiagnosticPingPauseResumePostResponse from graphiant_sdk.models.v1_diagnostic_ping_post_request import V1DiagnosticPingPostRequest from graphiant_sdk.models.v1_diagnostic_ping_post_response import V1DiagnosticPingPostResponse from graphiant_sdk.models.v1_diagnostic_reboot_device_id_put_request import V1DiagnosticRebootDeviceIdPutRequest @@ -249,19 +245,19 @@ from graphiant_sdk.models.v1_edges_hardware_assigned_get_response import V1EdgesHardwareAssignedGetResponse from graphiant_sdk.models.v1_edges_hardware_unassigned_get_response import V1EdgesHardwareUnassignedGetResponse from graphiant_sdk.models.v1_edges_summary_get_response import V1EdgesSummaryGetResponse +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse from graphiant_sdk.models.v1_enterprise_allocation_get_response import V1EnterpriseAllocationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_get_response import V1EnterpriseConfigurationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_put_request import V1EnterpriseConfigurationPutRequest from graphiant_sdk.models.v1_enterprise_contract_put_request import V1EnterpriseContractPutRequest from graphiant_sdk.models.v1_enterprise_snapshot_get_response import V1EnterpriseSnapshotGetResponse from graphiant_sdk.models.v1_enterprises_enterprise_id_admin_get_response import V1EnterprisesEnterpriseIdAdminGetResponse -from graphiant_sdk.models.v1_enterprises_enterprise_id_delete_response import V1EnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.models.v1_enterprises_enterprise_id_device_status_get_response import V1EnterprisesEnterpriseIdDeviceStatusGetResponse from graphiant_sdk.models.v1_enterprises_get_response import V1EnterprisesGetResponse from graphiant_sdk.models.v1_enterprises_managed_get_response import V1EnterprisesManagedGetResponse from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest -from graphiant_sdk.models.v1_enterprises_self_delete_response import V1EnterprisesSelfDeleteResponse from graphiant_sdk.models.v1_event_device_get_response import V1EventDeviceGetResponse from graphiant_sdk.models.v1_event_enterprise_get_response import V1EventEnterpriseGetResponse from graphiant_sdk.models.v1_event_system_ack_post_request import V1EventSystemAckPostRequest @@ -304,6 +300,7 @@ from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_get_response import V1ExtranetsB2bPeeringCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_request import V1ExtranetsB2bPeeringCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_response import V1ExtranetsB2bPeeringCustomerPostResponse +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse @@ -378,10 +375,13 @@ from graphiant_sdk.models.v1_global_ipsec_profile_id_get_response import V1GlobalIpsecProfileIdGetResponse from graphiant_sdk.models.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_response import V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse from graphiant_sdk.models.v1_global_lan_segments_get_response import V1GlobalLanSegmentsGetResponse -from graphiant_sdk.models.v1_global_lan_segments_id_delete_response import V1GlobalLanSegmentsIdDeleteResponse from graphiant_sdk.models.v1_global_lan_segments_post_request import V1GlobalLanSegmentsPostRequest from graphiant_sdk.models.v1_global_lan_segments_post_response import V1GlobalLanSegmentsPostResponse from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response import V1GlobalLanSegmentsVrfIdDevicesGetResponse +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse from graphiant_sdk.models.v1_global_prefix_sets_device_get_response import V1GlobalPrefixSetsDeviceGetResponse from graphiant_sdk.models.v1_global_prefix_sets_post_request import V1GlobalPrefixSetsPostRequest from graphiant_sdk.models.v1_global_prefix_sets_post_response import V1GlobalPrefixSetsPostResponse @@ -391,7 +391,6 @@ from graphiant_sdk.models.v1_global_routing_policies_post_response import V1GlobalRoutingPoliciesPostResponse from graphiant_sdk.models.v1_global_routing_policies_site_get_response import V1GlobalRoutingPoliciesSiteGetResponse from graphiant_sdk.models.v1_global_site_lists_get_response import V1GlobalSiteListsGetResponse -from graphiant_sdk.models.v1_global_site_lists_id_delete_response import V1GlobalSiteListsIdDeleteResponse from graphiant_sdk.models.v1_global_site_lists_id_get_response import V1GlobalSiteListsIdGetResponse from graphiant_sdk.models.v1_global_site_lists_id_put_request import V1GlobalSiteListsIdPutRequest from graphiant_sdk.models.v1_global_site_lists_id_put_response import V1GlobalSiteListsIdPutResponse @@ -416,18 +415,12 @@ from graphiant_sdk.models.v1_global_traffic_policies_site_get_response import V1GlobalTrafficPoliciesSiteGetResponse from graphiant_sdk.models.v1_groups_enterprises_get_response import V1GroupsEnterprisesGetResponse from graphiant_sdk.models.v1_groups_get_response import V1GroupsGetResponse -from graphiant_sdk.models.v1_groups_id_delete_response import V1GroupsIdDeleteResponse -from graphiant_sdk.models.v1_groups_id_enterprises_enterprise_id_delete_response import V1GroupsIdEnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.models.v1_groups_id_enterprises_post_request import V1GroupsIdEnterprisesPostRequest from graphiant_sdk.models.v1_groups_id_get_response import V1GroupsIdGetResponse from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest -from graphiant_sdk.models.v1_groups_id_members_delete_post_response import V1GroupsIdMembersDeletePostResponse from graphiant_sdk.models.v1_groups_id_members_get_response import V1GroupsIdMembersGetResponse -from graphiant_sdk.models.v1_groups_id_members_member_id_delete_response import V1GroupsIdMembersMemberIdDeleteResponse from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest -from graphiant_sdk.models.v1_groups_id_members_post_response import V1GroupsIdMembersPostResponse from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest -from graphiant_sdk.models.v1_groups_id_patch_response import V1GroupsIdPatchResponse from graphiant_sdk.models.v1_groups_put_request import V1GroupsPutRequest from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest @@ -711,7 +704,7 @@ def v1_account_email_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_account_email_patch Update user's email address with verification. @@ -752,7 +745,7 @@ def v1_account_email_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -782,7 +775,7 @@ def v1_account_email_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_account_email_patch Update user's email address with verification. @@ -823,7 +816,7 @@ def v1_account_email_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -894,7 +887,7 @@ def v1_account_email_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -938,13 +931,6 @@ def _v1_account_email_patch_serialize( _body_params = v1_account_email_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -1000,7 +986,7 @@ def v1_account_info_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_account_info_patch Update current user's profile information. @@ -1041,7 +1027,7 @@ def v1_account_info_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1071,7 +1057,7 @@ def v1_account_info_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_account_info_patch Update current user's profile information. @@ -1112,7 +1098,7 @@ def v1_account_info_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1183,7 +1169,7 @@ def v1_account_info_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1227,13 +1213,6 @@ def _v1_account_info_patch_serialize( _body_params = v1_account_info_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -1577,7 +1556,7 @@ def v1_account_mfa_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_account_mfa_delete Remove user's MFA enrollment. @@ -1615,7 +1594,7 @@ def v1_account_mfa_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1644,7 +1623,7 @@ def v1_account_mfa_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_account_mfa_delete Remove user's MFA enrollment. @@ -1682,7 +1661,7 @@ def v1_account_mfa_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1749,7 +1728,7 @@ def v1_account_mfa_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -1790,13 +1769,6 @@ def _v1_account_mfa_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -2389,7 +2361,7 @@ def v1_account_password_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_account_password_patch Change user password with current password verification (Graphiant cloud only). @@ -2430,7 +2402,7 @@ def v1_account_password_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -2460,7 +2432,7 @@ def v1_account_password_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_account_password_patch Change user password with current password verification (Graphiant cloud only). @@ -2501,7 +2473,7 @@ def v1_account_password_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -2572,7 +2544,7 @@ def v1_account_password_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -2616,13 +2588,6 @@ def _v1_account_password_patch_serialize( _body_params = v1_account_password_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -3223,7 +3188,7 @@ def v1_alarm_mute_alarm_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_alarm_mute_alarm_id_put @@ -3266,7 +3231,7 @@ def v1_alarm_mute_alarm_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -3297,7 +3262,7 @@ def v1_alarm_mute_alarm_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_alarm_mute_alarm_id_put @@ -3340,7 +3305,7 @@ def v1_alarm_mute_alarm_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -3414,7 +3379,7 @@ def v1_alarm_mute_alarm_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -3461,13 +3426,6 @@ def _v1_alarm_mute_alarm_id_put_serialize( _body_params = v1_alarm_mute_alarm_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -5796,7 +5754,7 @@ def v1_auth_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1AuthDeleteResponse: + ) -> None: """v1_auth_delete Remove Identity Provider configuration and revert to default authentication. @@ -5834,7 +5792,7 @@ def v1_auth_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -5863,7 +5821,7 @@ def v1_auth_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1AuthDeleteResponse]: + ) -> ApiResponse[None]: """v1_auth_delete Remove Identity Provider configuration and revert to default authentication. @@ -5901,7 +5859,7 @@ def v1_auth_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -5968,7 +5926,7 @@ def v1_auth_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -6009,13 +5967,6 @@ def _v1_auth_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -8001,7 +7952,7 @@ def v1_auth_mfa_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_auth_mfa_delete Remove Multi-Factor Authentication enrollment for the tenant. @@ -8039,7 +7990,7 @@ def v1_auth_mfa_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8068,7 +8019,7 @@ def v1_auth_mfa_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_auth_mfa_delete Remove Multi-Factor Authentication enrollment for the tenant. @@ -8106,7 +8057,7 @@ def v1_auth_mfa_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8173,7 +8124,7 @@ def v1_auth_mfa_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8214,13 +8165,6 @@ def _v1_auth_mfa_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -8263,7 +8207,7 @@ def v1_auth_mfa_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_auth_mfa_patch Enroll tenant in Multi-Factor Authentication (SMS, GoogleAuth). @@ -8304,7 +8248,7 @@ def v1_auth_mfa_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8334,7 +8278,7 @@ def v1_auth_mfa_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_auth_mfa_patch Enroll tenant in Multi-Factor Authentication (SMS, GoogleAuth). @@ -8375,7 +8319,7 @@ def v1_auth_mfa_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8446,7 +8390,7 @@ def v1_auth_mfa_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -8490,13 +8434,6 @@ def _v1_auth_mfa_patch_serialize( _body_params = v1_auth_mfa_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -9090,7 +9027,7 @@ def v1_auth_mfa_types_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_auth_mfa_types_put Update enterprise MFA policy to allow/disallow specific MFA types. @@ -9131,7 +9068,7 @@ def v1_auth_mfa_types_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9161,7 +9098,7 @@ def v1_auth_mfa_types_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_auth_mfa_types_put Update enterprise MFA policy to allow/disallow specific MFA types. @@ -9202,7 +9139,7 @@ def v1_auth_mfa_types_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9273,7 +9210,7 @@ def v1_auth_mfa_types_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9317,13 +9254,6 @@ def _v1_auth_mfa_types_put_serialize( _body_params = v1_auth_mfa_types_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -9379,7 +9309,7 @@ def v1_auth_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1AuthPatchResponse: + ) -> None: """v1_auth_patch Update Identity Provider configuration (certificates, endpoints, etc.). @@ -9420,7 +9350,7 @@ def v1_auth_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9450,7 +9380,7 @@ def v1_auth_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1AuthPatchResponse]: + ) -> ApiResponse[None]: """v1_auth_patch Update Identity Provider configuration (certificates, endpoints, etc.). @@ -9491,7 +9421,7 @@ def v1_auth_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9562,7 +9492,7 @@ def v1_auth_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9606,13 +9536,6 @@ def _v1_auth_patch_serialize( _body_params = v1_auth_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -9668,7 +9591,7 @@ def v1_auth_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1AuthPutResponse: + ) -> None: """v1_auth_put Configure Identity Provider (SAML) for enterprise. Creates IDP configuration affecting all users in the enterprise. @@ -9709,7 +9632,7 @@ def v1_auth_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPutResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9739,7 +9662,7 @@ def v1_auth_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1AuthPutResponse]: + ) -> ApiResponse[None]: """v1_auth_put Configure Identity Provider (SAML) for enterprise. Creates IDP configuration affecting all users in the enterprise. @@ -9780,7 +9703,7 @@ def v1_auth_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPutResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9851,7 +9774,7 @@ def v1_auth_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1AuthPutResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -9895,13 +9818,6 @@ def _v1_auth_put_serialize( _body_params = v1_auth_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -31216,7 +31132,7 @@ def v1_device_snapshot_snapshot_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_device_snapshot_snapshot_id_delete Delete specified device snapshot @@ -31257,7 +31173,7 @@ def v1_device_snapshot_snapshot_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -31287,7 +31203,7 @@ def v1_device_snapshot_snapshot_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_device_snapshot_snapshot_id_delete Delete specified device snapshot @@ -31328,7 +31244,7 @@ def v1_device_snapshot_snapshot_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -31399,7 +31315,7 @@ def v1_device_snapshot_snapshot_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -31443,13 +31359,6 @@ def _v1_device_snapshot_snapshot_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -32350,7 +32259,7 @@ def v1_devices_bringup_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_bringup_put @@ -32390,7 +32299,7 @@ def v1_devices_bringup_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -32420,7 +32329,7 @@ def v1_devices_bringup_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_bringup_put @@ -32460,7 +32369,7 @@ def v1_devices_bringup_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -32530,7 +32439,7 @@ def v1_devices_bringup_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -32574,13 +32483,6 @@ def _v1_devices_bringup_put_serialize( _body_params = v1_devices_bringup_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -35199,7 +35101,7 @@ def v1_devices_device_id_draft_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_device_id_draft_delete Delete draft configuration @@ -35240,7 +35142,7 @@ def v1_devices_device_id_draft_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -35270,7 +35172,7 @@ def v1_devices_device_id_draft_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_device_id_draft_delete Delete draft configuration @@ -35311,7 +35213,7 @@ def v1_devices_device_id_draft_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -35382,7 +35284,7 @@ def v1_devices_device_id_draft_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -35426,13 +35328,6 @@ def _v1_devices_device_id_draft_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -42157,7 +42052,7 @@ def v1_devices_inventory_enterprise_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_inventory_enterprise_put @@ -42197,7 +42092,7 @@ def v1_devices_inventory_enterprise_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -42227,7 +42122,7 @@ def v1_devices_inventory_enterprise_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_inventory_enterprise_put @@ -42267,7 +42162,7 @@ def v1_devices_inventory_enterprise_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -42337,7 +42232,7 @@ def v1_devices_inventory_enterprise_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -42381,13 +42276,6 @@ def _v1_devices_inventory_enterprise_put_serialize( _body_params = v1_devices_inventory_enterprise_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -43273,7 +43161,7 @@ def v1_devices_inventory_serial_num_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_inventory_serial_num_delete @@ -43313,7 +43201,7 @@ def v1_devices_inventory_serial_num_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -43343,7 +43231,7 @@ def v1_devices_inventory_serial_num_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_inventory_serial_num_delete @@ -43383,7 +43271,7 @@ def v1_devices_inventory_serial_num_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -43453,7 +43341,7 @@ def v1_devices_inventory_serial_num_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -43500,13 +43388,6 @@ def _v1_devices_inventory_serial_num_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -46427,7 +46308,7 @@ def v1_devices_upgrade_cancel_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_upgrade_cancel_put @@ -46467,7 +46348,7 @@ def v1_devices_upgrade_cancel_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46497,7 +46378,7 @@ def v1_devices_upgrade_cancel_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_upgrade_cancel_put @@ -46537,7 +46418,7 @@ def v1_devices_upgrade_cancel_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46607,7 +46488,7 @@ def v1_devices_upgrade_cancel_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46651,13 +46532,6 @@ def _v1_devices_upgrade_cancel_put_serialize( _body_params = v1_devices_upgrade_cancel_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -46713,7 +46587,7 @@ def v1_devices_upgrade_schedule_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_devices_upgrade_schedule_put @@ -46753,7 +46627,7 @@ def v1_devices_upgrade_schedule_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46783,7 +46657,7 @@ def v1_devices_upgrade_schedule_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_devices_upgrade_schedule_put @@ -46823,7 +46697,7 @@ def v1_devices_upgrade_schedule_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46893,7 +46767,7 @@ def v1_devices_upgrade_schedule_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -46937,13 +46811,6 @@ def _v1_devices_upgrade_schedule_put_serialize( _body_params = v1_devices_upgrade_schedule_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -47303,7 +47170,7 @@ def v1_diagnostic_archive_delete_archive_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_archive_delete_archive_id_delete Delete a device debug archive @@ -47344,7 +47211,7 @@ def v1_diagnostic_archive_delete_archive_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47374,7 +47241,7 @@ def v1_diagnostic_archive_delete_archive_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_archive_delete_archive_id_delete Delete a device debug archive @@ -47415,7 +47282,7 @@ def v1_diagnostic_archive_delete_archive_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47486,7 +47353,7 @@ def v1_diagnostic_archive_delete_archive_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47530,13 +47397,6 @@ def _v1_diagnostic_archive_delete_archive_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -47580,7 +47440,7 @@ def v1_diagnostic_archive_edit_archive_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_archive_edit_archive_id_put Edit metadata for a previously generated device debug archive @@ -47624,7 +47484,7 @@ def v1_diagnostic_archive_edit_archive_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47655,7 +47515,7 @@ def v1_diagnostic_archive_edit_archive_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_archive_edit_archive_id_put Edit metadata for a previously generated device debug archive @@ -47699,7 +47559,7 @@ def v1_diagnostic_archive_edit_archive_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47774,7 +47634,7 @@ def v1_diagnostic_archive_edit_archive_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -47821,13 +47681,6 @@ def _v1_diagnostic_archive_edit_archive_id_put_serialize( _body_params = v1_diagnostic_archive_edit_archive_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -48160,7 +48013,7 @@ def v1_diagnostic_bgp_reset_device_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_bgp_reset_device_id_put Reset a BGP neighbor @@ -48204,7 +48057,7 @@ def v1_diagnostic_bgp_reset_device_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48235,7 +48088,7 @@ def v1_diagnostic_bgp_reset_device_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_bgp_reset_device_id_put Reset a BGP neighbor @@ -48279,7 +48132,7 @@ def v1_diagnostic_bgp_reset_device_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48354,7 +48207,7 @@ def v1_diagnostic_bgp_reset_device_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48401,13 +48254,6 @@ def _v1_diagnostic_bgp_reset_device_id_put_serialize( _body_params = v1_diagnostic_bgp_reset_device_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -48464,7 +48310,7 @@ def v1_diagnostic_clear_arp_device_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_clear_arp_device_id_put Clear arp entries @@ -48508,7 +48354,7 @@ def v1_diagnostic_clear_arp_device_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48539,7 +48385,7 @@ def v1_diagnostic_clear_arp_device_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_clear_arp_device_id_put Clear arp entries @@ -48583,7 +48429,7 @@ def v1_diagnostic_clear_arp_device_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48658,7 +48504,7 @@ def v1_diagnostic_clear_arp_device_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -48705,13 +48551,6 @@ def _v1_diagnostic_clear_arp_device_id_put_serialize( _body_params = v1_diagnostic_clear_arp_device_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -49029,7 +48868,7 @@ def v1_diagnostic_interface_reset_device_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_interface_reset_device_id_put Reset an interface @@ -49073,7 +48912,7 @@ def v1_diagnostic_interface_reset_device_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -49104,7 +48943,7 @@ def v1_diagnostic_interface_reset_device_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_interface_reset_device_id_put Reset an interface @@ -49148,7 +48987,7 @@ def v1_diagnostic_interface_reset_device_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -49223,7 +49062,7 @@ def v1_diagnostic_interface_reset_device_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -49270,13 +49109,6 @@ def _v1_diagnostic_interface_reset_device_id_put_serialize( _body_params = v1_diagnostic_interface_reset_device_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -50173,7 +50005,7 @@ def v1_diagnostic_packetcapture_stop_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_packetcapture_stop_post Stop packet capture @@ -50214,7 +50046,7 @@ def v1_diagnostic_packetcapture_stop_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50244,7 +50076,7 @@ def v1_diagnostic_packetcapture_stop_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_packetcapture_stop_post Stop packet capture @@ -50285,7 +50117,7 @@ def v1_diagnostic_packetcapture_stop_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50356,7 +50188,7 @@ def v1_diagnostic_packetcapture_stop_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50400,13 +50232,6 @@ def _v1_diagnostic_packetcapture_stop_post_serialize( _body_params = v1_diagnostic_packetcapture_stop_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -50462,7 +50287,7 @@ def v1_diagnostic_ping_pause_resume_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1DiagnosticPingPauseResumePostResponse: + ) -> None: """v1_diagnostic_ping_pause_resume_post Pause and/or Resume a ping session @@ -50503,7 +50328,7 @@ def v1_diagnostic_ping_pause_resume_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1DiagnosticPingPauseResumePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50533,7 +50358,7 @@ def v1_diagnostic_ping_pause_resume_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1DiagnosticPingPauseResumePostResponse]: + ) -> ApiResponse[None]: """v1_diagnostic_ping_pause_resume_post Pause and/or Resume a ping session @@ -50574,7 +50399,7 @@ def v1_diagnostic_ping_pause_resume_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1DiagnosticPingPauseResumePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50645,7 +50470,7 @@ def v1_diagnostic_ping_pause_resume_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1DiagnosticPingPauseResumePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -50689,13 +50514,6 @@ def _v1_diagnostic_ping_pause_resume_post_serialize( _body_params = v1_diagnostic_ping_pause_resume_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -51041,7 +50859,7 @@ def v1_diagnostic_ping_stop_token_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_ping_stop_token_post Stop ping session @@ -51085,7 +50903,7 @@ def v1_diagnostic_ping_stop_token_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51116,7 +50934,7 @@ def v1_diagnostic_ping_stop_token_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_ping_stop_token_post Stop ping session @@ -51160,7 +50978,7 @@ def v1_diagnostic_ping_stop_token_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51235,7 +51053,7 @@ def v1_diagnostic_ping_stop_token_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51282,13 +51100,6 @@ def _v1_diagnostic_ping_stop_token_post_serialize( _body_params = body - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -51345,7 +51156,7 @@ def v1_diagnostic_reboot_device_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_reboot_device_id_put Trigger a device reboot @@ -51389,7 +51200,7 @@ def v1_diagnostic_reboot_device_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51420,7 +51231,7 @@ def v1_diagnostic_reboot_device_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_reboot_device_id_put Trigger a device reboot @@ -51464,7 +51275,7 @@ def v1_diagnostic_reboot_device_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51539,7 +51350,7 @@ def v1_diagnostic_reboot_device_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51586,13 +51397,6 @@ def _v1_diagnostic_reboot_device_id_put_serialize( _body_params = v1_diagnostic_reboot_device_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -51649,7 +51453,7 @@ def v1_diagnostic_reset_ipsec_session_device_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_diagnostic_reset_ipsec_session_device_id_put Reset IPSec sessions @@ -51693,7 +51497,7 @@ def v1_diagnostic_reset_ipsec_session_device_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51724,7 +51528,7 @@ def v1_diagnostic_reset_ipsec_session_device_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_diagnostic_reset_ipsec_session_device_id_put Reset IPSec sessions @@ -51768,7 +51572,7 @@ def v1_diagnostic_reset_ipsec_session_device_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51843,7 +51647,7 @@ def v1_diagnostic_reset_ipsec_session_device_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -51890,13 +51694,6 @@ def _v1_diagnostic_reset_ipsec_session_device_id_put_serialize( _body_params = v1_diagnostic_reset_ipsec_session_device_id_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -54099,9 +53896,10 @@ def _v1_edges_summary_get_serialize( @validate_call - def v1_enterprise_allocation_get( + def v1_edges_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_edges_summary_post_request: V1EdgesSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54114,13 +53912,14 @@ def v1_enterprise_allocation_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1EnterpriseAllocationGetResponse: - """v1_enterprise_allocation_get + ) -> V1EdgesSummaryPostResponse: + """v1_edges_summary_post - Get all allocation for the given enterprise on a given month :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_edges_summary_post_request: (required) + :type v1_edges_summary_post_request: V1EdgesSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54143,8 +53942,9 @@ def v1_enterprise_allocation_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_enterprise_allocation_get_serialize( + _param = self._v1_edges_summary_post_serialize( authorization=authorization, + v1_edges_summary_post_request=v1_edges_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54152,7 +53952,7 @@ def v1_enterprise_allocation_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1EnterpriseAllocationGetResponse", + '200': "V1EdgesSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54166,9 +53966,10 @@ def v1_enterprise_allocation_get( @validate_call - def v1_enterprise_allocation_get_with_http_info( + def v1_edges_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_edges_summary_post_request: V1EdgesSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -54181,13 +53982,14 @@ def v1_enterprise_allocation_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1EnterpriseAllocationGetResponse]: - """v1_enterprise_allocation_get + ) -> ApiResponse[V1EdgesSummaryPostResponse]: + """v1_edges_summary_post - Get all allocation for the given enterprise on a given month :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_edges_summary_post_request: (required) + :type v1_edges_summary_post_request: V1EdgesSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -54210,8 +54012,9 @@ def v1_enterprise_allocation_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_enterprise_allocation_get_serialize( + _param = self._v1_edges_summary_post_serialize( authorization=authorization, + v1_edges_summary_post_request=v1_edges_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -54219,7 +54022,7 @@ def v1_enterprise_allocation_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1EnterpriseAllocationGetResponse", + '200': "V1EdgesSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -54233,7 +54036,287 @@ def v1_enterprise_allocation_get_with_http_info( @validate_call - def v1_enterprise_allocation_get_without_preload_content( + def v1_edges_summary_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_edges_summary_post_request: V1EdgesSummaryPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_edges_summary_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_edges_summary_post_request: (required) + :type v1_edges_summary_post_request: V1EdgesSummaryPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_edges_summary_post_serialize( + authorization=authorization, + v1_edges_summary_post_request=v1_edges_summary_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1EdgesSummaryPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_edges_summary_post_serialize( + self, + authorization, + v1_edges_summary_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_edges_summary_post_request is not None: + _body_params = v1_edges_summary_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/edges-summary', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_enterprise_allocation_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1EnterpriseAllocationGetResponse: + """v1_enterprise_allocation_get + + Get all allocation for the given enterprise on a given month + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_enterprise_allocation_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1EnterpriseAllocationGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_enterprise_allocation_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1EnterpriseAllocationGetResponse]: + """v1_enterprise_allocation_get + + Get all allocation for the given enterprise on a given month + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_enterprise_allocation_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1EnterpriseAllocationGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_enterprise_allocation_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -55752,7 +55835,7 @@ def v1_enterprises_enterprise_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1EnterprisesEnterpriseIdDeleteResponse: + ) -> None: """v1_enterprises_enterprise_id_delete Delete a specific enterprise by ID (you must manage this tenant). @@ -55793,7 +55876,7 @@ def v1_enterprises_enterprise_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -55823,7 +55906,7 @@ def v1_enterprises_enterprise_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1EnterprisesEnterpriseIdDeleteResponse]: + ) -> ApiResponse[None]: """v1_enterprises_enterprise_id_delete Delete a specific enterprise by ID (you must manage this tenant). @@ -55864,7 +55947,7 @@ def v1_enterprises_enterprise_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -55935,7 +56018,7 @@ def v1_enterprises_enterprise_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -55979,13 +56062,6 @@ def _v1_enterprises_enterprise_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -56301,7 +56377,7 @@ def v1_enterprises_eula_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_enterprises_eula_post Accept End User License Agreement for the enterprise. @@ -56342,7 +56418,7 @@ def v1_enterprises_eula_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -56372,7 +56448,7 @@ def v1_enterprises_eula_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_enterprises_eula_post Accept End User License Agreement for the enterprise. @@ -56413,7 +56489,7 @@ def v1_enterprises_eula_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -56484,7 +56560,7 @@ def v1_enterprises_eula_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -56528,13 +56604,6 @@ def _v1_enterprises_eula_post_serialize( _body_params = body - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -57147,7 +57216,7 @@ def v1_enterprises_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_enterprises_patch Updates all relevent enterprise information. @@ -57188,7 +57257,7 @@ def v1_enterprises_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57218,7 +57287,7 @@ def v1_enterprises_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_enterprises_patch Updates all relevent enterprise information. @@ -57259,7 +57328,7 @@ def v1_enterprises_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57330,7 +57399,7 @@ def v1_enterprises_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57374,13 +57443,6 @@ def _v1_enterprises_patch_serialize( _body_params = v1_enterprises_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -57436,7 +57498,7 @@ def v1_enterprises_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_enterprises_put Create a new enterprise with company details, account type, and admin user. @@ -57477,7 +57539,7 @@ def v1_enterprises_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57507,7 +57569,7 @@ def v1_enterprises_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_enterprises_put Create a new enterprise with company details, account type, and admin user. @@ -57548,7 +57610,7 @@ def v1_enterprises_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57619,7 +57681,7 @@ def v1_enterprises_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57663,13 +57725,6 @@ def _v1_enterprises_put_serialize( _body_params = v1_enterprises_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -57724,7 +57779,7 @@ def v1_enterprises_self_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1EnterprisesSelfDeleteResponse: + ) -> None: """v1_enterprises_self_delete Delete the current user's enterprise (self-deletion). @@ -57762,7 +57817,7 @@ def v1_enterprises_self_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesSelfDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57791,7 +57846,7 @@ def v1_enterprises_self_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1EnterprisesSelfDeleteResponse]: + ) -> ApiResponse[None]: """v1_enterprises_self_delete Delete the current user's enterprise (self-deletion). @@ -57829,7 +57884,7 @@ def v1_enterprises_self_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesSelfDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57896,7 +57951,7 @@ def v1_enterprises_self_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1EnterprisesSelfDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -57937,13 +57992,6 @@ def _v1_enterprises_self_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -60217,6 +60265,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post( ) -> V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse: """v1_extranet_b2b_monitoring_peering_service_service_health_post + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -60287,6 +60336,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_with_http_inf ) -> ApiResponse[V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostResponse]: """v1_extranet_b2b_monitoring_peering_service_service_health_post + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -60357,6 +60407,7 @@ def v1_extranet_b2b_monitoring_peering_service_service_health_post_without_prelo ) -> RESTResponseType: """v1_extranet_b2b_monitoring_peering_service_service_health_post + Returns connectivity status for a b2b peering service. Provides overall service connectivity status and detailed status for producer and customer prefixes for each consumer of the serviceShows whether the service is healthy, impaired, or down, and lists any missing prefixes in Impaired state. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61370,6 +61421,7 @@ def v1_extranets_b2b_consumer_device_status_id_get( ) -> V1ExtranetsB2bConsumerDeviceStatusIdGetResponse: """v1_extranets_b2b_consumer_device_status_id_get + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61440,6 +61492,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bConsumerDeviceStatusIdGetResponse]: """v1_extranets_b2b_consumer_device_status_id_get + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61510,6 +61563,7 @@ def v1_extranets_b2b_consumer_device_status_id_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_consumer_device_status_id_get + Get B2B extranet consumer status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61643,6 +61697,7 @@ def v1_extranets_b2b_consumer_id_delete( ) -> object: """v1_extranets_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61713,6 +61768,7 @@ def v1_extranets_b2b_consumer_id_delete_with_http_info( ) -> ApiResponse[object]: """v1_extranets_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61783,6 +61839,7 @@ def v1_extranets_b2b_consumer_id_delete_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_consumer_id_delete + Delete a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61916,6 +61973,7 @@ def v1_extranets_b2b_consumer_id_get( ) -> V1ExtranetsB2bConsumerIdGetResponse: """v1_extranets_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -61986,6 +62044,7 @@ def v1_extranets_b2b_consumer_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bConsumerIdGetResponse]: """v1_extranets_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62056,6 +62115,7 @@ def v1_extranets_b2b_consumer_id_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_consumer_id_get + Get a B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62189,6 +62249,7 @@ def v1_extranets_b2b_consumer_post( ) -> V1ExtranetsB2bConsumerPostResponse: """v1_extranets_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62259,6 +62320,7 @@ def v1_extranets_b2b_consumer_post_with_http_info( ) -> ApiResponse[V1ExtranetsB2bConsumerPostResponse]: """v1_extranets_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62329,6 +62391,7 @@ def v1_extranets_b2b_consumer_post_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_consumer_post + Create a new B2B extranet consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62474,6 +62537,7 @@ def v1_extranets_b2b_consumer_summary_get( ) -> V1ExtranetsB2bConsumerSummaryGetResponse: """v1_extranets_b2b_consumer_summary_get + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62540,6 +62604,7 @@ def v1_extranets_b2b_consumer_summary_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bConsumerSummaryGetResponse]: """v1_extranets_b2b_consumer_summary_get + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62606,6 +62671,7 @@ def v1_extranets_b2b_consumer_summary_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_consumer_summary_get + Get B2B extranet consumers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62733,6 +62799,7 @@ def v1_extranets_b2b_customer_id_delete( ) -> object: """v1_extranets_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62803,6 +62870,7 @@ def v1_extranets_b2b_customer_id_delete_with_http_info( ) -> ApiResponse[object]: """v1_extranets_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -62873,6 +62941,7 @@ def v1_extranets_b2b_customer_id_delete_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_customer_id_delete + Delete a B2B extranet customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63006,6 +63075,7 @@ def v1_extranets_b2b_customer_info_id_get( ) -> V1ExtranetsB2bCustomerInfoIdGetResponse: """v1_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63076,6 +63146,7 @@ def v1_extranets_b2b_customer_info_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bCustomerInfoIdGetResponse]: """v1_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63146,6 +63217,7 @@ def v1_extranets_b2b_customer_info_id_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_customer_info_id_get + Get B2B extranet application customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63278,6 +63350,7 @@ def v1_extranets_b2b_general_customers_summary_get( ) -> V1ExtranetsB2bGeneralCustomersSummaryGetResponse: """v1_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63344,6 +63417,7 @@ def v1_extranets_b2b_general_customers_summary_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bGeneralCustomersSummaryGetResponse]: """v1_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63410,6 +63484,7 @@ def v1_extranets_b2b_general_customers_summary_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_general_customers_summary_get + Get summary for a B2B extranet peering services customers :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63536,6 +63611,7 @@ def v1_extranets_b2b_general_services_summary_get( ) -> V1ExtranetsB2bGeneralServicesSummaryGetResponse: """v1_extranets_b2b_general_services_summary_get + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63602,6 +63678,7 @@ def v1_extranets_b2b_general_services_summary_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bGeneralServicesSummaryGetResponse]: """v1_extranets_b2b_general_services_summary_get + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63668,6 +63745,7 @@ def v1_extranets_b2b_general_services_summary_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_general_services_summary_get + Get a summary for all the B2B extranet services :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -63779,7 +63857,7 @@ def _v1_extranets_b2b_general_services_summary_get_serialize( def v1_extranets_b2b_id_customer_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, _request_timeout: Union[ None, @@ -63796,10 +63874,11 @@ def v1_extranets_b2b_id_customer_post( ) -> V1ExtranetsB2bIdCustomerPostResponse: """v1_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Service ID of the application customer is invited to (required) :type id: int :param v1_extranets_b2b_id_customer_post_request: (required) :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest @@ -63853,7 +63932,7 @@ def v1_extranets_b2b_id_customer_post( def v1_extranets_b2b_id_customer_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, _request_timeout: Union[ None, @@ -63870,10 +63949,11 @@ def v1_extranets_b2b_id_customer_post_with_http_info( ) -> ApiResponse[V1ExtranetsB2bIdCustomerPostResponse]: """v1_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Service ID of the application customer is invited to (required) :type id: int :param v1_extranets_b2b_id_customer_post_request: (required) :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest @@ -63927,7 +64007,7 @@ def v1_extranets_b2b_id_customer_post_with_http_info( def v1_extranets_b2b_id_customer_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="Service ID of the application customer is invited to")], v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest, _request_timeout: Union[ None, @@ -63944,10 +64024,11 @@ def v1_extranets_b2b_id_customer_post_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_id_customer_post + Create B2B extranet application customer invite :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: Service ID of the application customer is invited to (required) :type id: int :param v1_extranets_b2b_id_customer_post_request: (required) :type v1_extranets_b2b_id_customer_post_request: V1ExtranetsB2bIdCustomerPostRequest @@ -64096,6 +64177,7 @@ def v1_extranets_b2b_id_customer_summary_get( ) -> V1ExtranetsB2bIdCustomerSummaryGetResponse: """v1_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64166,6 +64248,7 @@ def v1_extranets_b2b_id_customer_summary_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bIdCustomerSummaryGetResponse]: """v1_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64236,6 +64319,7 @@ def v1_extranets_b2b_id_customer_summary_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_id_customer_summary_get + Get B2B extranet application customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64353,7 +64437,7 @@ def _v1_extranets_b2b_id_customer_summary_get_serialize( def v1_extranets_b2b_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64369,10 +64453,11 @@ def v1_extranets_b2b_id_delete( ) -> object: """v1_extranets_b2b_id_delete + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -64423,7 +64508,7 @@ def v1_extranets_b2b_id_delete( def v1_extranets_b2b_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64439,10 +64524,11 @@ def v1_extranets_b2b_id_delete_with_http_info( ) -> ApiResponse[object]: """v1_extranets_b2b_id_delete + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -64493,7 +64579,7 @@ def v1_extranets_b2b_id_delete_with_http_info( def v1_extranets_b2b_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the producer service to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -64509,10 +64595,11 @@ def v1_extranets_b2b_id_delete_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_id_delete + Delete a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the producer service to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -64643,6 +64730,7 @@ def v1_extranets_b2b_id_producer_get( ) -> V1ExtranetsB2bIdProducerGetResponse: """v1_extranets_b2b_id_producer_get + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64717,6 +64805,7 @@ def v1_extranets_b2b_id_producer_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bIdProducerGetResponse]: """v1_extranets_b2b_id_producer_get + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64791,6 +64880,7 @@ def v1_extranets_b2b_id_producer_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_id_producer_get + Get a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -64916,7 +65006,7 @@ def _v1_extranets_b2b_id_producer_get_serialize( def v1_extranets_b2b_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, @@ -64933,10 +65023,11 @@ def v1_extranets_b2b_id_put( ) -> V1ExtranetsB2bIdPutResponse: """v1_extranets_b2b_id_put + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the B2B Application service (required) :type id: int :param v1_extranets_b2b_id_put_request: (required) :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest @@ -64990,7 +65081,7 @@ def v1_extranets_b2b_id_put( def v1_extranets_b2b_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, @@ -65007,10 +65098,11 @@ def v1_extranets_b2b_id_put_with_http_info( ) -> ApiResponse[V1ExtranetsB2bIdPutResponse]: """v1_extranets_b2b_id_put + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the B2B Application service (required) :type id: int :param v1_extranets_b2b_id_put_request: (required) :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest @@ -65064,7 +65156,7 @@ def v1_extranets_b2b_id_put_with_http_info( def v1_extranets_b2b_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the B2B Application service")], v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest, _request_timeout: Union[ None, @@ -65081,10 +65173,11 @@ def v1_extranets_b2b_id_put_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_id_put + Update a B2B extranet producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the B2B Application service (required) :type id: int :param v1_extranets_b2b_id_put_request: (required) :type v1_extranets_b2b_id_put_request: V1ExtranetsB2bIdPutRequest @@ -65233,6 +65326,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get( ) -> V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse: """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65303,6 +65397,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_with_http ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse]: """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65373,6 +65468,7 @@ def v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_without_p ) -> RESTResponseType: """v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get + Get details of a service subscription for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65506,6 +65602,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get( ) -> V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse: """v1_extranets_b2b_peering_consumer_match_id_match_details_get + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65576,6 +65673,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse]: """v1_extranets_b2b_peering_consumer_match_id_match_details_get + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65646,6 +65744,7 @@ def v1_extranets_b2b_peering_consumer_match_id_match_details_get_without_preload ) -> RESTResponseType: """v1_extranets_b2b_peering_consumer_match_id_match_details_get + Get details of a service match for a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -65763,7 +65862,7 @@ def _v1_extranets_b2b_peering_consumer_match_id_match_details_get_serialize( def v1_extranets_b2b_peering_consumer_match_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, @@ -65780,10 +65879,11 @@ def v1_extranets_b2b_peering_consumer_match_id_post( ) -> V1ExtranetsB2bPeeringConsumerMatchIdPostResponse: """v1_extranets_b2b_peering_consumer_match_id_post + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) + :param match_id: ID of the match for the customer subscription of the service (required) :type match_id: int :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest @@ -65837,7 +65937,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post( def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, @@ -65854,10 +65954,11 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringConsumerMatchIdPostResponse]: """v1_extranets_b2b_peering_consumer_match_id_post + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) + :param match_id: ID of the match for the customer subscription of the service (required) :type match_id: int :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest @@ -65911,7 +66012,7 @@ def v1_extranets_b2b_peering_consumer_match_id_post_with_http_info( def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, + match_id: Annotated[StrictInt, Field(description="ID of the match for the customer subscription of the service")], v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest, _request_timeout: Union[ None, @@ -65928,10 +66029,11 @@ def v1_extranets_b2b_peering_consumer_match_id_post_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_peering_consumer_match_id_post + Create B2B extranet peering service consumer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) + :param match_id: ID of the match for the customer subscription of the service (required) :type match_id: int :param v1_extranets_b2b_peering_consumer_match_id_post_request: (required) :type v1_extranets_b2b_peering_consumer_match_id_post_request: V1ExtranetsB2bPeeringConsumerMatchIdPostRequest @@ -66064,7 +66166,7 @@ def _v1_extranets_b2b_peering_consumer_match_id_post_serialize( def v1_extranets_b2b_peering_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66080,10 +66182,11 @@ def v1_extranets_b2b_peering_customer_id_delete( ) -> V1ExtranetsB2bPeeringCustomerIdDeleteResponse: """v1_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66134,7 +66237,7 @@ def v1_extranets_b2b_peering_customer_id_delete( def v1_extranets_b2b_peering_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66150,10 +66253,11 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdDeleteResponse]: """v1_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66204,7 +66308,7 @@ def v1_extranets_b2b_peering_customer_id_delete_with_http_info( def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66220,10 +66324,11 @@ def v1_extranets_b2b_peering_customer_id_delete_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_peering_customer_id_delete + Delete a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66337,7 +66442,7 @@ def _v1_extranets_b2b_peering_customer_id_delete_serialize( def v1_extranets_b2b_peering_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66353,10 +66458,11 @@ def v1_extranets_b2b_peering_customer_id_get( ) -> V1ExtranetsB2bPeeringCustomerIdGetResponse: """v1_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66407,7 +66513,7 @@ def v1_extranets_b2b_peering_customer_id_get( def v1_extranets_b2b_peering_customer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66423,10 +66529,11 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerIdGetResponse]: """v1_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66477,7 +66584,7 @@ def v1_extranets_b2b_peering_customer_id_get_with_http_info( def v1_extranets_b2b_peering_customer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the peering service customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66493,10 +66600,11 @@ def v1_extranets_b2b_peering_customer_id_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_peering_customer_id_get + Get a B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the peering service customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66626,6 +66734,7 @@ def v1_extranets_b2b_peering_customer_post( ) -> V1ExtranetsB2bPeeringCustomerPostResponse: """v1_extranets_b2b_peering_customer_post + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -66696,6 +66805,7 @@ def v1_extranets_b2b_peering_customer_post_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringCustomerPostResponse]: """v1_extranets_b2b_peering_customer_post + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -66766,6 +66876,7 @@ def v1_extranets_b2b_peering_customer_post_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_peering_customer_post + Create a new B2B extranet peering service customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -66896,7 +67007,7 @@ def _v1_extranets_b2b_peering_customer_post_serialize( def v1_extranets_b2b_peering_match_service_to_customer_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="id for service to customer match")], + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66909,14 +67020,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse: """v1_extranets_b2b_peering_match_service_to_customer_id_delete Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: id for service to customer match (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -66950,7 +67061,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -66967,7 +67078,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete( def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="id for service to customer match")], + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -66980,14 +67091,14 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse]: """v1_extranets_b2b_peering_match_service_to_customer_id_delete Unsubscribe a customer from a service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: id for service to customer match (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67021,7 +67132,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -67038,7 +67149,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_with_http_info( def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="id for service to customer match")], + id: Annotated[StrictInt, Field(description="ID for the service to customer match to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67058,7 +67169,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: id for service to customer match (required) + :param id: ID for the service to customer match to be deleted (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67092,7 +67203,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_delete_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -67172,7 +67283,7 @@ def _v1_extranets_b2b_peering_match_service_to_customer_id_delete_serialize( def v1_extranets_b2b_peering_match_service_to_customer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="service id")], + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67192,7 +67303,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: service id (required) + :param id: Service id for which match details are requested (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67243,7 +67354,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get( def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="service id")], + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67263,7 +67374,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: service id (required) + :param id: Service id for which match details are requested (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67314,7 +67425,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_with_http_info( def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="service id")], + id: Annotated[StrictInt, Field(description="Service id for which match details are requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67334,7 +67445,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_id_get_without_preload_co :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: service id (required) + :param id: Service id for which match details are requested (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67464,6 +67575,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post( ) -> V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse: """v1_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -67534,6 +67646,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse]: """v1_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -67604,6 +67717,7 @@ def v1_extranets_b2b_peering_match_service_to_customer_post_without_preload_cont ) -> RESTResponseType: """v1_extranets_b2b_peering_match_service_to_customer_post + Create B2B extranet configuration for matching a service to a customer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -67734,7 +67848,7 @@ def _v1_extranets_b2b_peering_match_service_to_customer_post_serialize( def v1_extranets_b2b_peering_match_services_summary_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67750,10 +67864,11 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( ) -> V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse: """v1_extranets_b2b_peering_match_services_summary_id_get + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67804,7 +67919,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get( def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67820,10 +67935,11 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringMatchServicesSummaryIdGetResponse]: """v1_extranets_b2b_peering_match_services_summary_id_get + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -67874,7 +67990,7 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_with_http_info( def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -67890,10 +68006,11 @@ def v1_extranets_b2b_peering_match_services_summary_id_get_without_preload_conte ) -> RESTResponseType: """v1_extranets_b2b_peering_match_services_summary_id_get + Get B2B extranet services matching customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68007,7 +68124,7 @@ def _v1_extranets_b2b_peering_match_services_summary_id_get_serialize( def v1_extranets_b2b_peering_producer_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68023,10 +68140,11 @@ def v1_extranets_b2b_peering_producer_id_get( ) -> V1ExtranetsB2bPeeringProducerIdGetResponse: """v1_extranets_b2b_peering_producer_id_get + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the service (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68077,7 +68195,7 @@ def v1_extranets_b2b_peering_producer_id_get( def v1_extranets_b2b_peering_producer_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68093,10 +68211,11 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdGetResponse]: """v1_extranets_b2b_peering_producer_id_get + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the service (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68147,7 +68266,7 @@ def v1_extranets_b2b_peering_producer_id_get_with_http_info( def v1_extranets_b2b_peering_producer_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the service")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68163,10 +68282,11 @@ def v1_extranets_b2b_peering_producer_id_get_without_preload_content( ) -> RESTResponseType: """v1_extranets_b2b_peering_producer_id_get + Get B2B extranet peering service producer :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the service (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68280,7 +68400,7 @@ def _v1_extranets_b2b_peering_producer_id_get_serialize( def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68296,10 +68416,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( ) -> V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse: """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68350,7 +68471,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get( def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68366,10 +68487,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt ) -> ApiResponse[V1ExtranetsB2bPeeringProducerIdMatchingCustomersSummaryGetResponse]: """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68420,7 +68542,7 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_with_htt def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + id: Annotated[StrictInt, Field(description="ID of the customer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68436,10 +68558,11 @@ def v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_without_ ) -> RESTResponseType: """v1_extranets_b2b_peering_producer_id_matching_customers_summary_get + Get B2B extranet customers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) + :param id: ID of the customer (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -68533,7 +68656,861 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary', + resource_path='/v1/extranets-b2b-peering/producer/{id}/matching-customers-summary', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_extranets_b2b_peering_producer_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ExtranetsB2bPeeringProducerPostResponse: + """v1_extranets_b2b_peering_producer_post + + Create a new B2B extranet peering service producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_peering_producer_post_serialize( + authorization=authorization, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPeeringProducerPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_extranets_b2b_peering_producer_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ExtranetsB2bPeeringProducerPostResponse]: + """v1_extranets_b2b_peering_producer_post + + Create a new B2B extranet peering service producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_peering_producer_post_serialize( + authorization=authorization, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPeeringProducerPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_extranets_b2b_peering_producer_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_extranets_b2b_peering_producer_post + + Create a new B2B extranet peering service producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_peering_producer_post_request: (required) + :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_peering_producer_post_serialize( + authorization=authorization, + v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPeeringProducerPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_extranets_b2b_peering_producer_post_serialize( + self, + authorization, + v1_extranets_b2b_peering_producer_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_extranets_b2b_peering_producer_post_request is not None: + _body_params = v1_extranets_b2b_peering_producer_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/extranets-b2b-peering/producer', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_extranets_b2b_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ExtranetsB2bPostResponse: + """v1_extranets_b2b_post + + Create a new B2B extranet producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_post_serialize( + authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_extranets_b2b_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ExtranetsB2bPostResponse]: + """v1_extranets_b2b_post + + Create a new B2B extranet producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_post_serialize( + authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_extranets_b2b_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_extranets_b2b_post + + Create a new B2B extranet producer + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_extranets_b2b_post_request: (required) + :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_post_serialize( + authorization=authorization, + v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_extranets_b2b_post_serialize( + self, + authorization, + v1_extranets_b2b_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_extranets_b2b_post_request is not None: + _body_params = v1_extranets_b2b_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/extranets-b2b', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_extranets_b2b_producer_device_status_id_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse: + """v1_extranets_b2b_producer_device_status_id_get + + Get B2B extranet producer status + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_extranets_b2b_producer_device_status_id_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ExtranetsB2bProducerDeviceStatusIdGetResponse]: + """v1_extranets_b2b_producer_device_status_id_get + + Get B2B extranet producer status + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_extranets_b2b_producer_device_status_id_get + + Get B2B extranet producer status + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_extranets_b2b_producer_device_status_id_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/extranets-b2b/producer-device-status/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68550,10 +69527,9 @@ def _v1_extranets_b2b_peering_producer_id_matching_customers_summary_get_seriali @validate_call - def v1_extranets_b2b_peering_producer_post( + def v1_extranets_b2b_producers_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68566,14 +69542,13 @@ def v1_extranets_b2b_peering_producer_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPeeringProducerPostResponse: - """v1_extranets_b2b_peering_producer_post + ) -> V1ExtranetsB2bProducersSummaryGetResponse: + """v1_extranets_b2b_producers_summary_get + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68596,9 +69571,8 @@ def v1_extranets_b2b_peering_producer_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68606,7 +69580,7 @@ def v1_extranets_b2b_peering_producer_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68620,10 +69594,9 @@ def v1_extranets_b2b_peering_producer_post( @validate_call - def v1_extranets_b2b_peering_producer_post_with_http_info( + def v1_extranets_b2b_producers_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68636,14 +69609,13 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPeeringProducerPostResponse]: - """v1_extranets_b2b_peering_producer_post + ) -> ApiResponse[V1ExtranetsB2bProducersSummaryGetResponse]: + """v1_extranets_b2b_producers_summary_get + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68666,9 +69638,8 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68676,7 +69647,7 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68690,10 +69661,9 @@ def v1_extranets_b2b_peering_producer_post_with_http_info( @validate_call - def v1_extranets_b2b_peering_producer_post_without_preload_content( + def v1_extranets_b2b_producers_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68707,13 +69677,12 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_peering_producer_post + """v1_extranets_b2b_producers_summary_get + Get B2B extranet producers summary :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_peering_producer_post_request: (required) - :type v1_extranets_b2b_peering_producer_post_request: V1ExtranetsB2bPeeringProducerPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68736,9 +69705,8 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_peering_producer_post_serialize( + _param = self._v1_extranets_b2b_producers_summary_get_serialize( authorization=authorization, - v1_extranets_b2b_peering_producer_post_request=v1_extranets_b2b_peering_producer_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68746,7 +69714,7 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPeeringProducerPostResponse", + '200': "V1ExtranetsB2bProducersSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68755,10 +69723,9 @@ def v1_extranets_b2b_peering_producer_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_peering_producer_post_serialize( + def _v1_extranets_b2b_producers_summary_get_serialize( self, authorization, - v1_extranets_b2b_peering_producer_post_request, _request_auth, _content_type, _headers, @@ -68786,8 +69753,6 @@ def _v1_extranets_b2b_peering_producer_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_peering_producer_post_request is not None: - _body_params = v1_extranets_b2b_peering_producer_post_request # set the HTTP header `Accept` @@ -68798,19 +69763,6 @@ def _v1_extranets_b2b_peering_producer_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -68818,8 +69770,8 @@ def _v1_extranets_b2b_peering_producer_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b-peering/producer', + method='GET', + resource_path='/v1/extranets-b2b/producers-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -68836,10 +69788,9 @@ def _v1_extranets_b2b_peering_producer_post_serialize( @validate_call - def v1_extranets_b2b_post( + def v1_extranets_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68852,14 +69803,12 @@ def v1_extranets_b2b_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bPostResponse: - """v1_extranets_b2b_post + ) -> V1ExtranetsGetResponse: + """v1_extranets_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68882,9 +69831,8 @@ def v1_extranets_b2b_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68892,7 +69840,7 @@ def v1_extranets_b2b_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68906,10 +69854,9 @@ def v1_extranets_b2b_post( @validate_call - def v1_extranets_b2b_post_with_http_info( + def v1_extranets_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68922,14 +69869,12 @@ def v1_extranets_b2b_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bPostResponse]: - """v1_extranets_b2b_post + ) -> ApiResponse[V1ExtranetsGetResponse]: + """v1_extranets_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -68952,9 +69897,8 @@ def v1_extranets_b2b_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -68962,7 +69906,7 @@ def v1_extranets_b2b_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -68976,10 +69920,9 @@ def v1_extranets_b2b_post_with_http_info( @validate_call - def v1_extranets_b2b_post_without_preload_content( + def v1_extranets_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68993,13 +69936,11 @@ def v1_extranets_b2b_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_post + """v1_extranets_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_b2b_post_request: (required) - :type v1_extranets_b2b_post_request: V1ExtranetsB2bPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69022,9 +69963,8 @@ def v1_extranets_b2b_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_post_serialize( + _param = self._v1_extranets_get_serialize( authorization=authorization, - v1_extranets_b2b_post_request=v1_extranets_b2b_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69032,7 +69972,7 @@ def v1_extranets_b2b_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bPostResponse", + '200': "V1ExtranetsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69041,10 +69981,9 @@ def v1_extranets_b2b_post_without_preload_content( return response_data.response - def _v1_extranets_b2b_post_serialize( + def _v1_extranets_get_serialize( self, authorization, - v1_extranets_b2b_post_request, _request_auth, _content_type, _headers, @@ -69072,8 +70011,6 @@ def _v1_extranets_b2b_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_b2b_post_request is not None: - _body_params = v1_extranets_b2b_post_request # set the HTTP header `Accept` @@ -69084,19 +70021,6 @@ def _v1_extranets_b2b_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -69104,8 +70028,8 @@ def _v1_extranets_b2b_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets-b2b', + method='GET', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69122,10 +70046,11 @@ def _v1_extranets_b2b_post_serialize( @validate_call - def v1_extranets_b2b_producer_device_status_id_get( + def v1_extranets_id_apply_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69138,14 +70063,16 @@ def v1_extranets_b2b_producer_device_status_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bProducerDeviceStatusIdGetResponse: - """v1_extranets_b2b_producer_device_status_id_get + ) -> V1ExtranetsIdApplyPostResponse: + """v1_extranets_id_apply_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69168,9 +70095,10 @@ def v1_extranets_b2b_producer_device_status_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69178,7 +70106,7 @@ def v1_extranets_b2b_producer_device_status_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69192,10 +70120,11 @@ def v1_extranets_b2b_producer_device_status_id_get( @validate_call - def v1_extranets_b2b_producer_device_status_id_get_with_http_info( + def v1_extranets_id_apply_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69208,14 +70137,16 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bProducerDeviceStatusIdGetResponse]: - """v1_extranets_b2b_producer_device_status_id_get + ) -> ApiResponse[V1ExtranetsIdApplyPostResponse]: + """v1_extranets_id_apply_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69238,9 +70169,10 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69248,7 +70180,7 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69262,10 +70194,11 @@ def v1_extranets_b2b_producer_device_status_id_get_with_http_info( @validate_call - def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( + def v1_extranets_id_apply_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, + v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69279,13 +70212,15 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_producer_device_status_id_get + """v1_extranets_id_apply_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int + :param v1_extranets_id_apply_post_request: (required) + :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69308,9 +70243,10 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producer_device_status_id_get_serialize( + _param = self._v1_extranets_id_apply_post_serialize( authorization=authorization, id=id, + v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69318,7 +70254,7 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducerDeviceStatusIdGetResponse", + '202': "V1ExtranetsIdApplyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -69327,10 +70263,11 @@ def v1_extranets_b2b_producer_device_status_id_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_producer_device_status_id_get_serialize( + def _v1_extranets_id_apply_post_serialize( self, authorization, id, + v1_extranets_id_apply_post_request, _request_auth, _content_type, _headers, @@ -69360,6 +70297,8 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_id_apply_post_request is not None: + _body_params = v1_extranets_id_apply_post_request # set the HTTP header `Accept` @@ -69370,6 +70309,19 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -69377,8 +70329,8 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/producer-device-status/{id}', + method='POST', + resource_path='/v1/extranets/{id}/apply', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69395,9 +70347,10 @@ def _v1_extranets_b2b_producer_device_status_id_get_serialize( @validate_call - def v1_extranets_b2b_producers_summary_get( + def v1_extranets_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69410,12 +70363,14 @@ def v1_extranets_b2b_producers_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsB2bProducersSummaryGetResponse: - """v1_extranets_b2b_producers_summary_get + ) -> V1ExtranetsIdDeleteResponse: + """v1_extranets_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69438,8 +70393,9 @@ def v1_extranets_b2b_producers_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69447,7 +70403,7 @@ def v1_extranets_b2b_producers_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69461,9 +70417,10 @@ def v1_extranets_b2b_producers_summary_get( @validate_call - def v1_extranets_b2b_producers_summary_get_with_http_info( + def v1_extranets_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69476,12 +70433,14 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsB2bProducersSummaryGetResponse]: - """v1_extranets_b2b_producers_summary_get + ) -> ApiResponse[V1ExtranetsIdDeleteResponse]: + """v1_extranets_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69504,8 +70463,9 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69513,7 +70473,7 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69527,9 +70487,10 @@ def v1_extranets_b2b_producers_summary_get_with_http_info( @validate_call - def v1_extranets_b2b_producers_summary_get_without_preload_content( + def v1_extranets_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69543,11 +70504,13 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_b2b_producers_summary_get + """v1_extranets_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69570,8 +70533,9 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_b2b_producers_summary_get_serialize( + _param = self._v1_extranets_id_delete_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69579,7 +70543,7 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsB2bProducersSummaryGetResponse", + '200': "V1ExtranetsIdDeleteResponse", } response_data = self.api_client.call_api( *_param, @@ -69588,9 +70552,10 @@ def v1_extranets_b2b_producers_summary_get_without_preload_content( return response_data.response - def _v1_extranets_b2b_producers_summary_get_serialize( + def _v1_extranets_id_delete_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -69612,6 +70577,8 @@ def _v1_extranets_b2b_producers_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -69635,8 +70602,8 @@ def _v1_extranets_b2b_producers_summary_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-b2b/producers-summary', + method='DELETE', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69653,9 +70620,10 @@ def _v1_extranets_b2b_producers_summary_get_serialize( @validate_call - def v1_extranets_get( + def v1_extranets_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69668,12 +70636,14 @@ def v1_extranets_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsGetResponse: - """v1_extranets_get + ) -> V1ExtranetsIdGetResponse: + """v1_extranets_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69696,8 +70666,9 @@ def v1_extranets_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69705,7 +70676,7 @@ def v1_extranets_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69719,9 +70690,10 @@ def v1_extranets_get( @validate_call - def v1_extranets_get_with_http_info( + def v1_extranets_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69734,12 +70706,14 @@ def v1_extranets_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsGetResponse]: - """v1_extranets_get + ) -> ApiResponse[V1ExtranetsIdGetResponse]: + """v1_extranets_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69762,8 +70736,9 @@ def v1_extranets_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69771,7 +70746,7 @@ def v1_extranets_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69785,9 +70760,10 @@ def v1_extranets_get_with_http_info( @validate_call - def v1_extranets_get_without_preload_content( + def v1_extranets_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69801,11 +70777,13 @@ def v1_extranets_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_get + """v1_extranets_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69828,8 +70806,9 @@ def v1_extranets_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_get_serialize( + _param = self._v1_extranets_id_get_serialize( authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69837,7 +70816,7 @@ def v1_extranets_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsGetResponse", + '200': "V1ExtranetsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -69846,9 +70825,10 @@ def v1_extranets_get_without_preload_content( return response_data.response - def _v1_extranets_get_serialize( + def _v1_extranets_id_get_serialize( self, authorization, + id, _request_auth, _content_type, _headers, @@ -69870,6 +70850,8 @@ def _v1_extranets_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -69894,7 +70876,7 @@ def _v1_extranets_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -69911,11 +70893,11 @@ def _v1_extranets_get_serialize( @validate_call - def v1_extranets_id_apply_post( + def v1_extranets_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -69928,16 +70910,16 @@ def v1_extranets_id_apply_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdApplyPostResponse: - """v1_extranets_id_apply_post + ) -> V1ExtranetsIdPutResponse: + """v1_extranets_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -69960,10 +70942,10 @@ def v1_extranets_id_apply_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -69971,7 +70953,7 @@ def v1_extranets_id_apply_post( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -69985,11 +70967,11 @@ def v1_extranets_id_apply_post( @validate_call - def v1_extranets_id_apply_post_with_http_info( + def v1_extranets_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70002,16 +70984,16 @@ def v1_extranets_id_apply_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdApplyPostResponse]: - """v1_extranets_id_apply_post + ) -> ApiResponse[V1ExtranetsIdPutResponse]: + """v1_extranets_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70034,10 +71016,10 @@ def v1_extranets_id_apply_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70045,7 +71027,7 @@ def v1_extranets_id_apply_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -70059,11 +71041,11 @@ def v1_extranets_id_apply_post_with_http_info( @validate_call - def v1_extranets_id_apply_post_without_preload_content( + def v1_extranets_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, - v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest, + v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70077,15 +71059,15 @@ def v1_extranets_id_apply_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_apply_post + """v1_extranets_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param id: (required) :type id: int - :param v1_extranets_id_apply_post_request: (required) - :type v1_extranets_id_apply_post_request: V1ExtranetsIdApplyPostRequest + :param v1_extranets_id_put_request: (required) + :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70108,10 +71090,10 @@ def v1_extranets_id_apply_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_apply_post_serialize( + _param = self._v1_extranets_id_put_serialize( authorization=authorization, id=id, - v1_extranets_id_apply_post_request=v1_extranets_id_apply_post_request, + v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70119,7 +71101,7 @@ def v1_extranets_id_apply_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '202': "V1ExtranetsIdApplyPostResponse", + '200': "V1ExtranetsIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -70128,11 +71110,11 @@ def v1_extranets_id_apply_post_without_preload_content( return response_data.response - def _v1_extranets_id_apply_post_serialize( + def _v1_extranets_id_put_serialize( self, authorization, id, - v1_extranets_id_apply_post_request, + v1_extranets_id_put_request, _request_auth, _content_type, _headers, @@ -70162,8 +71144,8 @@ def _v1_extranets_id_apply_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_id_apply_post_request is not None: - _body_params = v1_extranets_id_apply_post_request + if v1_extranets_id_put_request is not None: + _body_params = v1_extranets_id_put_request # set the HTTP header `Accept` @@ -70194,8 +71176,8 @@ def _v1_extranets_id_apply_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/{id}/apply', + method='PUT', + resource_path='/v1/extranets/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70212,7 +71194,7 @@ def _v1_extranets_id_apply_post_serialize( @validate_call - def v1_extranets_id_delete( + def v1_extranets_id_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -70228,8 +71210,8 @@ def v1_extranets_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdDeleteResponse: - """v1_extranets_id_delete + ) -> V1ExtranetsIdStatusGetResponse: + """v1_extranets_id_status_get :param authorization: Bearer token. Format: Bearer (required) @@ -70258,7 +71240,7 @@ def v1_extranets_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -70268,7 +71250,7 @@ def v1_extranets_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70282,7 +71264,7 @@ def v1_extranets_id_delete( @validate_call - def v1_extranets_id_delete_with_http_info( + def v1_extranets_id_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -70298,8 +71280,8 @@ def v1_extranets_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdDeleteResponse]: - """v1_extranets_id_delete + ) -> ApiResponse[V1ExtranetsIdStatusGetResponse]: + """v1_extranets_id_status_get :param authorization: Bearer token. Format: Bearer (required) @@ -70328,7 +71310,7 @@ def v1_extranets_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -70338,7 +71320,7 @@ def v1_extranets_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70352,7 +71334,7 @@ def v1_extranets_id_delete_with_http_info( @validate_call - def v1_extranets_id_delete_without_preload_content( + def v1_extranets_id_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -70369,7 +71351,7 @@ def v1_extranets_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_delete + """v1_extranets_id_status_get :param authorization: Bearer token. Format: Bearer (required) @@ -70398,7 +71380,7 @@ def v1_extranets_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_delete_serialize( + _param = self._v1_extranets_id_status_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -70408,7 +71390,7 @@ def v1_extranets_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdDeleteResponse", + '200': "V1ExtranetsIdStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70417,7 +71399,7 @@ def v1_extranets_id_delete_without_preload_content( return response_data.response - def _v1_extranets_id_delete_serialize( + def _v1_extranets_id_status_get_serialize( self, authorization, id, @@ -70467,8 +71449,8 @@ def _v1_extranets_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/extranets/{id}', + method='GET', + resource_path='/v1/extranets/{id}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70485,10 +71467,9 @@ def _v1_extranets_id_delete_serialize( @validate_call - def v1_extranets_id_get( + def v1_extranets_monitoring_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70501,14 +71482,12 @@ def v1_extranets_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdGetResponse: - """v1_extranets_id_get + ) -> V1ExtranetsMonitoringLanSegmentsGetResponse: + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70531,9 +71510,8 @@ def v1_extranets_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70541,7 +71519,7 @@ def v1_extranets_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70555,10 +71533,9 @@ def v1_extranets_id_get( @validate_call - def v1_extranets_id_get_with_http_info( + def v1_extranets_monitoring_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70571,14 +71548,12 @@ def v1_extranets_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdGetResponse]: - """v1_extranets_id_get + ) -> ApiResponse[V1ExtranetsMonitoringLanSegmentsGetResponse]: + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70601,9 +71576,8 @@ def v1_extranets_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70611,7 +71585,7 @@ def v1_extranets_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70625,10 +71599,9 @@ def v1_extranets_id_get_with_http_info( @validate_call - def v1_extranets_id_get_without_preload_content( + def v1_extranets_monitoring_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70642,13 +71615,11 @@ def v1_extranets_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_get + """v1_extranets_monitoring_lan_segments_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70671,9 +71642,8 @@ def v1_extranets_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_get_serialize( + _param = self._v1_extranets_monitoring_lan_segments_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70681,7 +71651,7 @@ def v1_extranets_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdGetResponse", + '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70690,10 +71660,9 @@ def v1_extranets_id_get_without_preload_content( return response_data.response - def _v1_extranets_id_get_serialize( + def _v1_extranets_monitoring_lan_segments_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -70715,8 +71684,6 @@ def _v1_extranets_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -70741,7 +71708,7 @@ def _v1_extranets_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/extranets/{id}', + resource_path='/v1/extranets-monitoring/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -70758,11 +71725,9 @@ def _v1_extranets_id_get_serialize( @validate_call - def v1_extranets_id_put( + def v1_extranets_monitoring_nat_usage_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70775,16 +71740,12 @@ def v1_extranets_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdPutResponse: - """v1_extranets_id_put + ) -> V1ExtranetsMonitoringNatUsageGetResponse: + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70807,10 +71768,8 @@ def v1_extranets_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70818,7 +71777,7 @@ def v1_extranets_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70832,11 +71791,9 @@ def v1_extranets_id_put( @validate_call - def v1_extranets_id_put_with_http_info( + def v1_extranets_monitoring_nat_usage_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70849,16 +71806,12 @@ def v1_extranets_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdPutResponse]: - """v1_extranets_id_put + ) -> ApiResponse[V1ExtranetsMonitoringNatUsageGetResponse]: + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70881,10 +71834,8 @@ def v1_extranets_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70892,7 +71843,7 @@ def v1_extranets_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70906,11 +71857,9 @@ def v1_extranets_id_put_with_http_info( @validate_call - def v1_extranets_id_put_without_preload_content( + def v1_extranets_monitoring_nat_usage_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, - v1_extranets_id_put_request: V1ExtranetsIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -70924,15 +71873,11 @@ def v1_extranets_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_put + """v1_extranets_monitoring_nat_usage_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int - :param v1_extranets_id_put_request: (required) - :type v1_extranets_id_put_request: V1ExtranetsIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -70955,10 +71900,8 @@ def v1_extranets_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_put_serialize( + _param = self._v1_extranets_monitoring_nat_usage_get_serialize( authorization=authorization, - id=id, - v1_extranets_id_put_request=v1_extranets_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -70966,7 +71909,7 @@ def v1_extranets_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdPutResponse", + '200': "V1ExtranetsMonitoringNatUsageGetResponse", } response_data = self.api_client.call_api( *_param, @@ -70975,11 +71918,9 @@ def v1_extranets_id_put_without_preload_content( return response_data.response - def _v1_extranets_id_put_serialize( + def _v1_extranets_monitoring_nat_usage_get_serialize( self, authorization, - id, - v1_extranets_id_put_request, _request_auth, _content_type, _headers, @@ -71001,16 +71942,12 @@ def _v1_extranets_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_id_put_request is not None: - _body_params = v1_extranets_id_put_request # set the HTTP header `Accept` @@ -71021,19 +71958,6 @@ def _v1_extranets_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -71041,8 +71965,8 @@ def _v1_extranets_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/extranets/{id}', + method='GET', + resource_path='/v1/extranets-monitoring/nat-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71059,10 +71983,10 @@ def _v1_extranets_id_put_serialize( @validate_call - def v1_extranets_id_status_get( + def v1_extranets_monitoring_traffic_security_policy_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71075,14 +71999,15 @@ def v1_extranets_id_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsIdStatusGetResponse: - """v1_extranets_id_status_get + ) -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse: + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71105,9 +72030,9 @@ def v1_extranets_id_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71115,7 +72040,7 @@ def v1_extranets_id_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71129,10 +72054,10 @@ def v1_extranets_id_status_get( @validate_call - def v1_extranets_id_status_get_with_http_info( + def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71145,14 +72070,15 @@ def v1_extranets_id_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsIdStatusGetResponse]: - """v1_extranets_id_status_get + ) -> ApiResponse[V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse]: + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71175,9 +72101,9 @@ def v1_extranets_id_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71185,7 +72111,7 @@ def v1_extranets_id_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71199,10 +72125,10 @@ def v1_extranets_id_status_get_with_http_info( @validate_call - def v1_extranets_id_status_get_without_preload_content( + def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71216,13 +72142,14 @@ def v1_extranets_id_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_id_status_get + """v1_extranets_monitoring_traffic_security_policy_post + Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) + :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71245,9 +72172,9 @@ def v1_extranets_id_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_id_status_get_serialize( + _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( authorization=authorization, - id=id, + v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71255,7 +72182,7 @@ def v1_extranets_id_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsIdStatusGetResponse", + '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71264,10 +72191,10 @@ def v1_extranets_id_status_get_without_preload_content( return response_data.response - def _v1_extranets_id_status_get_serialize( + def _v1_extranets_monitoring_traffic_security_policy_post_serialize( self, authorization, - id, + v1_extranets_monitoring_traffic_security_policy_post_request, _request_auth, _content_type, _headers, @@ -71289,14 +72216,14 @@ def _v1_extranets_id_status_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_monitoring_traffic_security_policy_post_request is not None: + _body_params = v1_extranets_monitoring_traffic_security_policy_post_request # set the HTTP header `Accept` @@ -71307,6 +72234,19 @@ def _v1_extranets_id_status_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -71314,8 +72254,8 @@ def _v1_extranets_id_status_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets/{id}/status', + method='POST', + resource_path='/v1/extranets-monitoring/traffic-security-policy', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71332,9 +72272,10 @@ def _v1_extranets_id_status_get_serialize( @validate_call - def v1_extranets_monitoring_lan_segments_get( + def v1_extranets_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71347,12 +72288,14 @@ def v1_extranets_monitoring_lan_segments_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringLanSegmentsGetResponse: - """v1_extranets_monitoring_lan_segments_get + ) -> V1ExtranetsPostResponse: + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71375,8 +72318,9 @@ def v1_extranets_monitoring_lan_segments_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71384,7 +72328,7 @@ def v1_extranets_monitoring_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71398,9 +72342,10 @@ def v1_extranets_monitoring_lan_segments_get( @validate_call - def v1_extranets_monitoring_lan_segments_get_with_http_info( + def v1_extranets_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71413,12 +72358,14 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringLanSegmentsGetResponse]: - """v1_extranets_monitoring_lan_segments_get + ) -> ApiResponse[V1ExtranetsPostResponse]: + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71441,8 +72388,9 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71450,7 +72398,7 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71464,9 +72412,10 @@ def v1_extranets_monitoring_lan_segments_get_with_http_info( @validate_call - def v1_extranets_monitoring_lan_segments_get_without_preload_content( + def v1_extranets_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_post_request: V1ExtranetsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71480,11 +72429,13 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_lan_segments_get + """v1_extranets_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_post_request: (required) + :type v1_extranets_post_request: V1ExtranetsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71507,8 +72458,9 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_lan_segments_get_serialize( + _param = self._v1_extranets_post_serialize( authorization=authorization, + v1_extranets_post_request=v1_extranets_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71516,7 +72468,7 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringLanSegmentsGetResponse", + '200': "V1ExtranetsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71525,9 +72477,10 @@ def v1_extranets_monitoring_lan_segments_get_without_preload_content( return response_data.response - def _v1_extranets_monitoring_lan_segments_get_serialize( + def _v1_extranets_post_serialize( self, authorization, + v1_extranets_post_request, _request_auth, _content_type, _headers, @@ -71555,6 +72508,8 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_post_request is not None: + _body_params = v1_extranets_post_request # set the HTTP header `Accept` @@ -71565,6 +72520,19 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -71572,8 +72540,8 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-monitoring/lan-segments', + method='POST', + resource_path='/v1/extranets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71590,9 +72558,10 @@ def _v1_extranets_monitoring_lan_segments_get_serialize( @validate_call - def v1_extranets_monitoring_nat_usage_get( + def v1_extranets_resolve_policy_target_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71605,12 +72574,14 @@ def v1_extranets_monitoring_nat_usage_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringNatUsageGetResponse: - """v1_extranets_monitoring_nat_usage_get + ) -> V1ExtranetsResolvePolicyTargetPostResponse: + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71633,8 +72604,9 @@ def v1_extranets_monitoring_nat_usage_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71642,7 +72614,7 @@ def v1_extranets_monitoring_nat_usage_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71656,9 +72628,10 @@ def v1_extranets_monitoring_nat_usage_get( @validate_call - def v1_extranets_monitoring_nat_usage_get_with_http_info( + def v1_extranets_resolve_policy_target_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71671,12 +72644,14 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringNatUsageGetResponse]: - """v1_extranets_monitoring_nat_usage_get + ) -> ApiResponse[V1ExtranetsResolvePolicyTargetPostResponse]: + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71699,8 +72674,9 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71708,7 +72684,7 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71722,9 +72698,10 @@ def v1_extranets_monitoring_nat_usage_get_with_http_info( @validate_call - def v1_extranets_monitoring_nat_usage_get_without_preload_content( + def v1_extranets_resolve_policy_target_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71738,11 +72715,13 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_nat_usage_get + """v1_extranets_resolve_policy_target_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_extranets_resolve_policy_target_post_request: (required) + :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71765,8 +72744,9 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_nat_usage_get_serialize( + _param = self._v1_extranets_resolve_policy_target_post_serialize( authorization=authorization, + v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71774,7 +72754,7 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringNatUsageGetResponse", + '200': "V1ExtranetsResolvePolicyTargetPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71783,9 +72763,10 @@ def v1_extranets_monitoring_nat_usage_get_without_preload_content( return response_data.response - def _v1_extranets_monitoring_nat_usage_get_serialize( + def _v1_extranets_resolve_policy_target_post_serialize( self, authorization, + v1_extranets_resolve_policy_target_post_request, _request_auth, _content_type, _headers, @@ -71813,6 +72794,8 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_extranets_resolve_policy_target_post_request is not None: + _body_params = v1_extranets_resolve_policy_target_post_request # set the HTTP header `Accept` @@ -71823,6 +72806,19 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -71830,8 +72826,8 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/extranets-monitoring/nat-usage', + method='POST', + resource_path='/v1/extranets/resolve-policy-target', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -71848,10 +72844,10 @@ def _v1_extranets_monitoring_nat_usage_get_serialize( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post( + def v1_extranets_source_segments_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71864,15 +72860,14 @@ def v1_extranets_monitoring_traffic_security_policy_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse: - """v1_extranets_monitoring_traffic_security_policy_post + ) -> V1ExtranetsSourceSegmentsPostResponse: + """v1_extranets_source_segments_post - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71895,9 +72890,9 @@ def v1_extranets_monitoring_traffic_security_policy_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71905,7 +72900,7 @@ def v1_extranets_monitoring_traffic_security_policy_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71919,10 +72914,10 @@ def v1_extranets_monitoring_traffic_security_policy_post( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( + def v1_extranets_source_segments_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -71935,15 +72930,14 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse]: - """v1_extranets_monitoring_traffic_security_policy_post + ) -> ApiResponse[V1ExtranetsSourceSegmentsPostResponse]: + """v1_extranets_source_segments_post - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -71966,9 +72960,9 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -71976,7 +72970,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -71990,10 +72984,10 @@ def v1_extranets_monitoring_traffic_security_policy_post_with_http_info( @validate_call - def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content( + def v1_extranets_source_segments_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest, + v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72007,14 +73001,13 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_monitoring_traffic_security_policy_post + """v1_extranets_source_segments_post - Get lists of traffic and security policies :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_monitoring_traffic_security_policy_post_request: (required) - :type v1_extranets_monitoring_traffic_security_policy_post_request: V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest + :param v1_extranets_source_segments_post_request: (required) + :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72037,9 +73030,9 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_monitoring_traffic_security_policy_post_serialize( + _param = self._v1_extranets_source_segments_post_serialize( authorization=authorization, - v1_extranets_monitoring_traffic_security_policy_post_request=v1_extranets_monitoring_traffic_security_policy_post_request, + v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72047,7 +73040,7 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsMonitoringTrafficSecurityPolicyPostResponse", + '200': "V1ExtranetsSourceSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72056,10 +73049,10 @@ def v1_extranets_monitoring_traffic_security_policy_post_without_preload_content return response_data.response - def _v1_extranets_monitoring_traffic_security_policy_post_serialize( + def _v1_extranets_source_segments_post_serialize( self, authorization, - v1_extranets_monitoring_traffic_security_policy_post_request, + v1_extranets_source_segments_post_request, _request_auth, _content_type, _headers, @@ -72087,8 +73080,8 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_monitoring_traffic_security_policy_post_request is not None: - _body_params = v1_extranets_monitoring_traffic_security_policy_post_request + if v1_extranets_source_segments_post_request is not None: + _body_params = v1_extranets_source_segments_post_request # set the HTTP header `Accept` @@ -72120,7 +73113,7 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets-monitoring/traffic-security-policy', + resource_path='/v1/extranets/source-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72137,10 +73130,10 @@ def _v1_extranets_monitoring_traffic_security_policy_post_serialize( @validate_call - def v1_extranets_post( + def v1_flows_flow_table_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72153,14 +73146,15 @@ def v1_extranets_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsPostResponse: - """v1_extranets_post + ) -> V1FlowsFlowTablePostResponse: + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72183,9 +73177,9 @@ def v1_extranets_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72193,7 +73187,7 @@ def v1_extranets_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -72207,10 +73201,10 @@ def v1_extranets_post( @validate_call - def v1_extranets_post_with_http_info( + def v1_flows_flow_table_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72223,14 +73217,15 @@ def v1_extranets_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsPostResponse]: - """v1_extranets_post + ) -> ApiResponse[V1FlowsFlowTablePostResponse]: + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72253,9 +73248,9 @@ def v1_extranets_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72263,7 +73258,7 @@ def v1_extranets_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -72277,10 +73272,10 @@ def v1_extranets_post_with_http_info( @validate_call - def v1_extranets_post_without_preload_content( + def v1_flows_flow_table_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_post_request: V1ExtranetsPostRequest, + v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72294,13 +73289,14 @@ def v1_extranets_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_post + """v1_flows_flow_table_post + Get flow table for the app on the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_post_request: (required) - :type v1_extranets_post_request: V1ExtranetsPostRequest + :param v1_flows_flow_table_post_request: (required) + :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72323,9 +73319,9 @@ def v1_extranets_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_post_serialize( + _param = self._v1_flows_flow_table_post_serialize( authorization=authorization, - v1_extranets_post_request=v1_extranets_post_request, + v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72333,7 +73329,7 @@ def v1_extranets_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsPostResponse", + '200': "V1FlowsFlowTablePostResponse", } response_data = self.api_client.call_api( *_param, @@ -72342,10 +73338,10 @@ def v1_extranets_post_without_preload_content( return response_data.response - def _v1_extranets_post_serialize( + def _v1_flows_flow_table_post_serialize( self, authorization, - v1_extranets_post_request, + v1_flows_flow_table_post_request, _request_auth, _content_type, _headers, @@ -72373,8 +73369,8 @@ def _v1_extranets_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_post_request is not None: - _body_params = v1_extranets_post_request + if v1_flows_flow_table_post_request is not None: + _body_params = v1_flows_flow_table_post_request # set the HTTP header `Accept` @@ -72406,7 +73402,7 @@ def _v1_extranets_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets', + resource_path='/v1/flows/flow-table', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72423,10 +73419,10 @@ def _v1_extranets_post_serialize( @validate_call - def v1_extranets_resolve_policy_target_post( + def v1_flows_topology_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72439,14 +73435,15 @@ def v1_extranets_resolve_policy_target_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsResolvePolicyTargetPostResponse: - """v1_extranets_resolve_policy_target_post + ) -> V1FlowsTopologyPostResponse: + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72469,9 +73466,9 @@ def v1_extranets_resolve_policy_target_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72479,7 +73476,7 @@ def v1_extranets_resolve_policy_target_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72493,10 +73490,10 @@ def v1_extranets_resolve_policy_target_post( @validate_call - def v1_extranets_resolve_policy_target_post_with_http_info( + def v1_flows_topology_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72509,14 +73506,15 @@ def v1_extranets_resolve_policy_target_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsResolvePolicyTargetPostResponse]: - """v1_extranets_resolve_policy_target_post + ) -> ApiResponse[V1FlowsTopologyPostResponse]: + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72539,9 +73537,9 @@ def v1_extranets_resolve_policy_target_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72549,7 +73547,7 @@ def v1_extranets_resolve_policy_target_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72563,10 +73561,10 @@ def v1_extranets_resolve_policy_target_post_with_http_info( @validate_call - def v1_extranets_resolve_policy_target_post_without_preload_content( + def v1_flows_topology_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest, + v1_flows_topology_post_request: V1FlowsTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72580,13 +73578,14 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_resolve_policy_target_post + """v1_flows_topology_post + Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_resolve_policy_target_post_request: (required) - :type v1_extranets_resolve_policy_target_post_request: V1ExtranetsResolvePolicyTargetPostRequest + :param v1_flows_topology_post_request: (required) + :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72609,9 +73608,9 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_resolve_policy_target_post_serialize( + _param = self._v1_flows_topology_post_serialize( authorization=authorization, - v1_extranets_resolve_policy_target_post_request=v1_extranets_resolve_policy_target_post_request, + v1_flows_topology_post_request=v1_flows_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72619,7 +73618,7 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsResolvePolicyTargetPostResponse", + '200': "V1FlowsTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -72628,10 +73627,10 @@ def v1_extranets_resolve_policy_target_post_without_preload_content( return response_data.response - def _v1_extranets_resolve_policy_target_post_serialize( + def _v1_flows_topology_post_serialize( self, authorization, - v1_extranets_resolve_policy_target_post_request, + v1_flows_topology_post_request, _request_auth, _content_type, _headers, @@ -72659,8 +73658,8 @@ def _v1_extranets_resolve_policy_target_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_resolve_policy_target_post_request is not None: - _body_params = v1_extranets_resolve_policy_target_post_request + if v1_flows_topology_post_request is not None: + _body_params = v1_flows_topology_post_request # set the HTTP header `Accept` @@ -72692,7 +73691,7 @@ def _v1_extranets_resolve_policy_target_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/extranets/resolve-policy-target', + resource_path='/v1/flows/topology', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72709,10 +73708,10 @@ def _v1_extranets_resolve_policy_target_post_serialize( @validate_call - def v1_extranets_source_segments_post( + def v1_gateways_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72725,14 +73724,14 @@ def v1_extranets_source_segments_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ExtranetsSourceSegmentsPostResponse: - """v1_extranets_source_segments_post + ) -> object: + """v1_gateways_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72755,9 +73754,9 @@ def v1_extranets_source_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72765,7 +73764,7 @@ def v1_extranets_source_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72779,10 +73778,10 @@ def v1_extranets_source_segments_post( @validate_call - def v1_extranets_source_segments_post_with_http_info( + def v1_gateways_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72795,14 +73794,14 @@ def v1_extranets_source_segments_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ExtranetsSourceSegmentsPostResponse]: - """v1_extranets_source_segments_post + ) -> ApiResponse[object]: + """v1_gateways_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72825,9 +73824,9 @@ def v1_extranets_source_segments_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72835,7 +73834,7 @@ def v1_extranets_source_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72849,10 +73848,10 @@ def v1_extranets_source_segments_post_with_http_info( @validate_call - def v1_extranets_source_segments_post_without_preload_content( + def v1_gateways_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest, + id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -72866,13 +73865,13 @@ def v1_extranets_source_segments_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_extranets_source_segments_post + """v1_gateways_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_extranets_source_segments_post_request: (required) - :type v1_extranets_source_segments_post_request: V1ExtranetsSourceSegmentsPostRequest + :param id: + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -72895,9 +73894,9 @@ def v1_extranets_source_segments_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_extranets_source_segments_post_serialize( + _param = self._v1_gateways_delete_serialize( authorization=authorization, - v1_extranets_source_segments_post_request=v1_extranets_source_segments_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -72905,7 +73904,7 @@ def v1_extranets_source_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ExtranetsSourceSegmentsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -72914,10 +73913,10 @@ def v1_extranets_source_segments_post_without_preload_content( return response_data.response - def _v1_extranets_source_segments_post_serialize( + def _v1_gateways_delete_serialize( self, authorization, - v1_extranets_source_segments_post_request, + id, _request_auth, _content_type, _headers, @@ -72940,13 +73939,15 @@ def _v1_extranets_source_segments_post_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_extranets_source_segments_post_request is not None: - _body_params = v1_extranets_source_segments_post_request # set the HTTP header `Accept` @@ -72957,19 +73958,6 @@ def _v1_extranets_source_segments_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -72977,8 +73965,8 @@ def _v1_extranets_source_segments_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/extranets/source-segments', + method='DELETE', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -72995,10 +73983,11 @@ def _v1_extranets_source_segments_post_serialize( @validate_call - def v1_flows_flow_table_post( + def v1_gateways_guest_consumer_match_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73011,15 +74000,17 @@ def v1_flows_flow_table_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1FlowsFlowTablePostResponse: - """v1_flows_flow_table_post + ) -> V1GatewaysGuestConsumerMatchIdGetResponse: + """v1_gateways_guest_consumer_match_id_get - Get flow table for the app on the device + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73042,9 +74033,10 @@ def v1_flows_flow_table_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73052,7 +74044,7 @@ def v1_flows_flow_table_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73066,10 +74058,11 @@ def v1_flows_flow_table_post( @validate_call - def v1_flows_flow_table_post_with_http_info( + def v1_gateways_guest_consumer_match_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73082,15 +74075,17 @@ def v1_flows_flow_table_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1FlowsFlowTablePostResponse]: - """v1_flows_flow_table_post + ) -> ApiResponse[V1GatewaysGuestConsumerMatchIdGetResponse]: + """v1_gateways_guest_consumer_match_id_get - Get flow table for the app on the device + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73113,9 +74108,10 @@ def v1_flows_flow_table_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73123,7 +74119,7 @@ def v1_flows_flow_table_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73137,10 +74133,11 @@ def v1_flows_flow_table_post_with_http_info( @validate_call - def v1_flows_flow_table_post_without_preload_content( + def v1_gateways_guest_consumer_match_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest, + match_id: StrictInt, + email: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73154,14 +74151,16 @@ def v1_flows_flow_table_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_flows_flow_table_post + """v1_gateways_guest_consumer_match_id_get - Get flow table for the app on the device + Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_flow_table_post_request: (required) - :type v1_flows_flow_table_post_request: V1FlowsFlowTablePostRequest + :param match_id: (required) + :type match_id: int + :param email: + :type email: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73184,9 +74183,10 @@ def v1_flows_flow_table_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_flow_table_post_serialize( + _param = self._v1_gateways_guest_consumer_match_id_get_serialize( authorization=authorization, - v1_flows_flow_table_post_request=v1_flows_flow_table_post_request, + match_id=match_id, + email=email, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73194,7 +74194,7 @@ def v1_flows_flow_table_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsFlowTablePostResponse", + '200': "V1GatewaysGuestConsumerMatchIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73203,10 +74203,11 @@ def v1_flows_flow_table_post_without_preload_content( return response_data.response - def _v1_flows_flow_table_post_serialize( + def _v1_gateways_guest_consumer_match_id_get_serialize( self, authorization, - v1_flows_flow_table_post_request, + match_id, + email, _request_auth, _content_type, _headers, @@ -73228,14 +74229,18 @@ def _v1_flows_flow_table_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if match_id is not None: + _path_params['matchId'] = match_id # process the query parameters + if email is not None: + + _query_params.append(('email', email)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_flows_flow_table_post_request is not None: - _body_params = v1_flows_flow_table_post_request # set the HTTP header `Accept` @@ -73246,19 +74251,6 @@ def _v1_flows_flow_table_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -73266,8 +74258,8 @@ def _v1_flows_flow_table_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/flows/flow-table', + method='GET', + resource_path='/v1/gateways/guest-consumer/{matchId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73284,10 +74276,10 @@ def _v1_flows_flow_table_post_serialize( @validate_call - def v1_flows_topology_post( + def v1_gateways_id_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73300,15 +74292,14 @@ def v1_flows_topology_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1FlowsTopologyPostResponse: - """v1_flows_topology_post + ) -> V1GatewaysIdDetailsGetResponse: + """v1_gateways_id_details_get - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73331,9 +74322,9 @@ def v1_flows_topology_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73341,7 +74332,7 @@ def v1_flows_topology_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73355,10 +74346,10 @@ def v1_flows_topology_post( @validate_call - def v1_flows_topology_post_with_http_info( + def v1_gateways_id_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73371,15 +74362,14 @@ def v1_flows_topology_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1FlowsTopologyPostResponse]: - """v1_flows_topology_post + ) -> ApiResponse[V1GatewaysIdDetailsGetResponse]: + """v1_gateways_id_details_get - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73402,9 +74392,9 @@ def v1_flows_topology_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73412,7 +74402,7 @@ def v1_flows_topology_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73426,10 +74416,10 @@ def v1_flows_topology_post_with_http_info( @validate_call - def v1_flows_topology_post_without_preload_content( + def v1_gateways_id_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_flows_topology_post_request: V1FlowsTopologyPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73443,14 +74433,13 @@ def v1_flows_topology_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_flows_topology_post + """v1_gateways_id_details_get - Get flow based node and circuit topology for the device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_flows_topology_post_request: (required) - :type v1_flows_topology_post_request: V1FlowsTopologyPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73473,9 +74462,9 @@ def v1_flows_topology_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_flows_topology_post_serialize( + _param = self._v1_gateways_id_details_get_serialize( authorization=authorization, - v1_flows_topology_post_request=v1_flows_topology_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73483,7 +74472,7 @@ def v1_flows_topology_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1FlowsTopologyPostResponse", + '200': "V1GatewaysIdDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73492,10 +74481,10 @@ def v1_flows_topology_post_without_preload_content( return response_data.response - def _v1_flows_topology_post_serialize( + def _v1_gateways_id_details_get_serialize( self, authorization, - v1_flows_topology_post_request, + id, _request_auth, _content_type, _headers, @@ -73517,14 +74506,14 @@ def _v1_flows_topology_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_flows_topology_post_request is not None: - _body_params = v1_flows_topology_post_request # set the HTTP header `Accept` @@ -73535,19 +74524,6 @@ def _v1_flows_topology_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -73555,8 +74531,8 @@ def _v1_flows_topology_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/flows/topology', + method='GET', + resource_path='/v1/gateways/{id}/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73573,10 +74549,12 @@ def _v1_flows_topology_post_serialize( @validate_call - def v1_gateways_delete( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73589,14 +74567,19 @@ def v1_gateways_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_gateways_delete + ) -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73619,9 +74602,11 @@ def v1_gateways_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - id=id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73629,7 +74614,7 @@ def v1_gateways_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73643,10 +74628,12 @@ def v1_gateways_delete( @validate_call - def v1_gateways_delete_with_http_info( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73659,14 +74646,19 @@ def v1_gateways_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_gateways_delete + ) -> ApiResponse[V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse]: + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73689,9 +74681,11 @@ def v1_gateways_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - id=id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73699,7 +74693,7 @@ def v1_gateways_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73713,10 +74707,12 @@ def v1_gateways_delete_with_http_info( @validate_call - def v1_gateways_delete_without_preload_content( + def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictInt] = None, + region_id: StrictInt, + vrf_id: StrictInt, + address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73730,13 +74726,18 @@ def v1_gateways_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_delete + """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: int + :param region_id: (required) + :type region_id: int + :param vrf_id: (required) + :type vrf_id: int + :param address_family: + :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73759,9 +74760,11 @@ def v1_gateways_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_delete_serialize( + _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( authorization=authorization, - id=id, + region_id=region_id, + vrf_id=vrf_id, + address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73769,7 +74772,7 @@ def v1_gateways_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", } response_data = self.api_client.call_api( *_param, @@ -73778,10 +74781,12 @@ def v1_gateways_delete_without_preload_content( return response_data.response - def _v1_gateways_delete_serialize( + def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( self, authorization, - id, + region_id, + vrf_id, + address_family, _request_auth, _content_type, _headers, @@ -73803,10 +74808,14 @@ def _v1_gateways_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters + if region_id is not None: + _path_params['regionId'] = region_id + if vrf_id is not None: + _path_params['vrfId'] = vrf_id # process the query parameters - if id is not None: + if address_family is not None: - _query_params.append(('id', id)) + _query_params.append(('addressFamily', address_family)) # process the header parameters if authorization is not None: @@ -73830,8 +74839,8 @@ def _v1_gateways_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/gateways/ipsec/regions/{regionId}/vrfs/{vrfId}/inside-subnet', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -73848,11 +74857,10 @@ def _v1_gateways_delete_serialize( @validate_call - def v1_gateways_guest_consumer_match_id_get( + def v1_gateways_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73865,17 +74873,14 @@ def v1_gateways_guest_consumer_match_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysGuestConsumerMatchIdGetResponse: - """v1_gateways_guest_consumer_match_id_get + ) -> V1GatewaysPostResponse: + """v1_gateways_post - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73898,10 +74903,9 @@ def v1_gateways_guest_consumer_match_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - match_id=match_id, - email=email, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73909,7 +74913,7 @@ def v1_gateways_guest_consumer_match_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -73923,11 +74927,10 @@ def v1_gateways_guest_consumer_match_id_get( @validate_call - def v1_gateways_guest_consumer_match_id_get_with_http_info( + def v1_gateways_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73940,17 +74943,14 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysGuestConsumerMatchIdGetResponse]: - """v1_gateways_guest_consumer_match_id_get + ) -> ApiResponse[V1GatewaysPostResponse]: + """v1_gateways_post - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -73973,10 +74973,9 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - match_id=match_id, - email=email, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -73984,7 +74983,7 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -73998,11 +74997,10 @@ def v1_gateways_guest_consumer_match_id_get_with_http_info( @validate_call - def v1_gateways_guest_consumer_match_id_get_without_preload_content( + def v1_gateways_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - match_id: StrictInt, - email: Optional[StrictStr] = None, + v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74016,16 +75014,13 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_guest_consumer_match_id_get + """v1_gateways_post - Get Site to Site VPN information for a non-Graphiant guest consumer by their email :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param match_id: (required) - :type match_id: int - :param email: - :type email: str + :param v1_gateways_post_request: (required) + :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74048,10 +75043,9 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_guest_consumer_match_id_get_serialize( + _param = self._v1_gateways_post_serialize( authorization=authorization, - match_id=match_id, - email=email, + v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74059,7 +75053,7 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysGuestConsumerMatchIdGetResponse", + '200': "V1GatewaysPostResponse", } response_data = self.api_client.call_api( *_param, @@ -74068,11 +75062,10 @@ def v1_gateways_guest_consumer_match_id_get_without_preload_content( return response_data.response - def _v1_gateways_guest_consumer_match_id_get_serialize( + def _v1_gateways_post_serialize( self, authorization, - match_id, - email, + v1_gateways_post_request, _request_auth, _content_type, _headers, @@ -74094,18 +75087,14 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if match_id is not None: - _path_params['matchId'] = match_id # process the query parameters - if email is not None: - - _query_params.append(('email', email)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_gateways_post_request is not None: + _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -74116,6 +75105,19 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -74123,8 +75125,8 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/guest-consumer/{matchId}', + method='POST', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74141,10 +75143,10 @@ def _v1_gateways_guest_consumer_match_id_get_serialize( @validate_call - def v1_gateways_id_details_get( + def v1_gateways_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74157,14 +75159,14 @@ def v1_gateways_id_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysIdDetailsGetResponse: - """v1_gateways_id_details_get + ) -> object: + """v1_gateways_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74187,9 +75189,9 @@ def v1_gateways_id_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - id=id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74197,7 +75199,7 @@ def v1_gateways_id_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -74211,10 +75213,10 @@ def v1_gateways_id_details_get( @validate_call - def v1_gateways_id_details_get_with_http_info( + def v1_gateways_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74227,14 +75229,14 @@ def v1_gateways_id_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysIdDetailsGetResponse]: - """v1_gateways_id_details_get + ) -> ApiResponse[object]: + """v1_gateways_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74257,9 +75259,9 @@ def v1_gateways_id_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - id=id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74267,7 +75269,7 @@ def v1_gateways_id_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -74281,10 +75283,10 @@ def v1_gateways_id_details_get_with_http_info( @validate_call - def v1_gateways_id_details_get_without_preload_content( + def v1_gateways_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + v1_gateways_put_request: V1GatewaysPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74298,13 +75300,13 @@ def v1_gateways_id_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_id_details_get + """v1_gateways_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param v1_gateways_put_request: (required) + :type v1_gateways_put_request: V1GatewaysPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74327,9 +75329,9 @@ def v1_gateways_id_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_id_details_get_serialize( + _param = self._v1_gateways_put_serialize( authorization=authorization, - id=id, + v1_gateways_put_request=v1_gateways_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74337,7 +75339,7 @@ def v1_gateways_id_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIdDetailsGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -74346,10 +75348,10 @@ def v1_gateways_id_details_get_without_preload_content( return response_data.response - def _v1_gateways_id_details_get_serialize( + def _v1_gateways_put_serialize( self, authorization, - id, + v1_gateways_put_request, _request_auth, _content_type, _headers, @@ -74371,14 +75373,14 @@ def _v1_gateways_id_details_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_gateways_put_request is not None: + _body_params = v1_gateways_put_request # set the HTTP header `Accept` @@ -74389,6 +75391,19 @@ def _v1_gateways_id_details_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -74396,8 +75411,8 @@ def _v1_gateways_id_details_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/gateways/{id}/details', + method='PUT', + resource_path='/v1/gateways', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74414,12 +75429,9 @@ def _v1_gateways_id_details_get_serialize( @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( + def v1_gateways_reference_consumer_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74432,19 +75444,13 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + ) -> V1GatewaysReferenceConsumerGetResponse: + """v1_gateways_reference_consumer_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74467,11 +75473,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74479,7 +75482,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74493,12 +75496,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get( @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_info( + def v1_gateways_reference_consumer_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74511,19 +75511,13 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse]: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + ) -> ApiResponse[V1GatewaysReferenceConsumerGetResponse]: + """v1_gateways_reference_consumer_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74546,11 +75540,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74558,7 +75549,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74572,12 +75563,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_with_http_ @validate_call - def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_preload_content( + def v1_gateways_reference_consumer_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - region_id: StrictInt, - vrf_id: StrictInt, - address_family: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74591,18 +75579,12 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get + """v1_gateways_reference_consumer_get - Get the IPv4/Ipv6 Overlay Subnet for an ipsec gateway + Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param region_id: (required) - :type region_id: int - :param vrf_id: (required) - :type vrf_id: int - :param address_family: - :type address_family: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74625,11 +75607,8 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + _param = self._v1_gateways_reference_consumer_get_serialize( authorization=authorization, - region_id=region_id, - vrf_id=vrf_id, - address_family=address_family, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74637,7 +75616,7 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysIpsecRegionsRegionIdVrfsVrfIdInsideSubnetGetResponse", + '200': "V1GatewaysReferenceConsumerGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74646,12 +75625,9 @@ def v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_without_pr return response_data.response - def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize( + def _v1_gateways_reference_consumer_get_serialize( self, authorization, - region_id, - vrf_id, - address_family, _request_auth, _content_type, _headers, @@ -74673,15 +75649,7 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize _body_params: Optional[bytes] = None # process the path parameters - if region_id is not None: - _path_params['regionId'] = region_id - if vrf_id is not None: - _path_params['vrfId'] = vrf_id # process the query parameters - if address_family is not None: - - _query_params.append(('addressFamily', address_family)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -74705,7 +75673,7 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/ipsec/regions/{regionId}/vrfs/{vrfId}/inside-subnet', + resource_path='/v1/gateways/reference-consumer', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -74722,10 +75690,9 @@ def _v1_gateways_ipsec_regions_region_id_vrfs_vrf_id_inside_subnet_get_serialize @validate_call - def v1_gateways_post( + def v1_gateways_regions_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74738,14 +75705,12 @@ def v1_gateways_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysPostResponse: - """v1_gateways_post + ) -> V1GatewaysRegionsGetResponse: + """v1_gateways_regions_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74768,9 +75733,8 @@ def v1_gateways_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74778,7 +75742,7 @@ def v1_gateways_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74792,10 +75756,9 @@ def v1_gateways_post( @validate_call - def v1_gateways_post_with_http_info( + def v1_gateways_regions_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74808,14 +75771,12 @@ def v1_gateways_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysPostResponse]: - """v1_gateways_post + ) -> ApiResponse[V1GatewaysRegionsGetResponse]: + """v1_gateways_regions_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74838,9 +75799,8 @@ def v1_gateways_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74848,7 +75808,7 @@ def v1_gateways_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74862,10 +75822,9 @@ def v1_gateways_post_with_http_info( @validate_call - def v1_gateways_post_without_preload_content( + def v1_gateways_regions_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_post_request: V1GatewaysPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74879,13 +75838,11 @@ def v1_gateways_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_post + """v1_gateways_regions_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_post_request: (required) - :type v1_gateways_post_request: V1GatewaysPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -74908,9 +75865,8 @@ def v1_gateways_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_post_serialize( + _param = self._v1_gateways_regions_get_serialize( authorization=authorization, - v1_gateways_post_request=v1_gateways_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -74918,7 +75874,7 @@ def v1_gateways_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysPostResponse", + '200': "V1GatewaysRegionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -74927,10 +75883,9 @@ def v1_gateways_post_without_preload_content( return response_data.response - def _v1_gateways_post_serialize( + def _v1_gateways_regions_get_serialize( self, authorization, - v1_gateways_post_request, _request_auth, _content_type, _headers, @@ -74958,8 +75913,6 @@ def _v1_gateways_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_post_request is not None: - _body_params = v1_gateways_post_request # set the HTTP header `Accept` @@ -74970,19 +75923,6 @@ def _v1_gateways_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -74990,8 +75930,8 @@ def _v1_gateways_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways', + method='GET', + resource_path='/v1/gateways/regions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75008,10 +75948,10 @@ def _v1_gateways_post_serialize( @validate_call - def v1_gateways_put( + def v1_gateways_status_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75025,13 +75965,13 @@ def v1_gateways_put( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_gateways_put + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75054,9 +75994,9 @@ def v1_gateways_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75078,10 +76018,10 @@ def v1_gateways_put( @validate_call - def v1_gateways_put_with_http_info( + def v1_gateways_status_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75095,13 +76035,13 @@ def v1_gateways_put_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_gateways_put + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75124,9 +76064,9 @@ def v1_gateways_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75148,10 +76088,10 @@ def v1_gateways_put_with_http_info( @validate_call - def v1_gateways_put_without_preload_content( + def v1_gateways_status_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_put_request: V1GatewaysPutRequest, + v1_gateways_status_post_request: V1GatewaysStatusPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75165,13 +76105,13 @@ def v1_gateways_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_put + """v1_gateways_status_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_put_request: (required) - :type v1_gateways_put_request: V1GatewaysPutRequest + :param v1_gateways_status_post_request: (required) + :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75194,9 +76134,9 @@ def v1_gateways_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_put_serialize( + _param = self._v1_gateways_status_post_serialize( authorization=authorization, - v1_gateways_put_request=v1_gateways_put_request, + v1_gateways_status_post_request=v1_gateways_status_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75213,10 +76153,10 @@ def v1_gateways_put_without_preload_content( return response_data.response - def _v1_gateways_put_serialize( + def _v1_gateways_status_post_serialize( self, authorization, - v1_gateways_put_request, + v1_gateways_status_post_request, _request_auth, _content_type, _headers, @@ -75244,8 +76184,8 @@ def _v1_gateways_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_put_request is not None: - _body_params = v1_gateways_put_request + if v1_gateways_status_post_request is not None: + _body_params = v1_gateways_status_post_request # set the HTTP header `Accept` @@ -75276,8 +76216,8 @@ def _v1_gateways_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/gateways', + method='POST', + resource_path='/v1/gateways/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75294,7 +76234,7 @@ def _v1_gateways_put_serialize( @validate_call - def v1_gateways_reference_consumer_get( + def v1_gateways_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75309,10 +76249,9 @@ def v1_gateways_reference_consumer_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysReferenceConsumerGetResponse: - """v1_gateways_reference_consumer_get + ) -> V1GatewaysSummaryGetResponse: + """v1_gateways_summary_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75338,7 +76277,7 @@ def v1_gateways_reference_consumer_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75347,7 +76286,7 @@ def v1_gateways_reference_consumer_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75361,7 +76300,7 @@ def v1_gateways_reference_consumer_get( @validate_call - def v1_gateways_reference_consumer_get_with_http_info( + def v1_gateways_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75376,10 +76315,9 @@ def v1_gateways_reference_consumer_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysReferenceConsumerGetResponse]: - """v1_gateways_reference_consumer_get + ) -> ApiResponse[V1GatewaysSummaryGetResponse]: + """v1_gateways_summary_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75405,7 +76343,7 @@ def v1_gateways_reference_consumer_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75414,7 +76352,7 @@ def v1_gateways_reference_consumer_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75428,7 +76366,7 @@ def v1_gateways_reference_consumer_get_with_http_info( @validate_call - def v1_gateways_reference_consumer_get_without_preload_content( + def v1_gateways_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75444,9 +76382,8 @@ def v1_gateways_reference_consumer_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_reference_consumer_get + """v1_gateways_summary_get - Get the priorly-configured IPSec gateway details for a customer, lan segment, region combination to be re-used for any new service matches for that customer with the given lan segment and region :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75472,7 +76409,7 @@ def v1_gateways_reference_consumer_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_reference_consumer_get_serialize( + _param = self._v1_gateways_summary_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75481,7 +76418,7 @@ def v1_gateways_reference_consumer_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysReferenceConsumerGetResponse", + '200': "V1GatewaysSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75490,7 +76427,7 @@ def v1_gateways_reference_consumer_get_without_preload_content( return response_data.response - def _v1_gateways_reference_consumer_get_serialize( + def _v1_gateways_summary_get_serialize( self, authorization, _request_auth, @@ -75538,7 +76475,7 @@ def _v1_gateways_reference_consumer_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/reference-consumer', + resource_path='/v1/gateways/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75555,7 +76492,7 @@ def _v1_gateways_reference_consumer_get_serialize( @validate_call - def v1_gateways_regions_get( + def v1_global_apps_app_list_options_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75570,9 +76507,10 @@ def v1_gateways_regions_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysRegionsGetResponse: - """v1_gateways_regions_get + ) -> V1GlobalAppsAppListOptionsGetResponse: + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75598,7 +76536,7 @@ def v1_gateways_regions_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75607,7 +76545,7 @@ def v1_gateways_regions_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75621,7 +76559,7 @@ def v1_gateways_regions_get( @validate_call - def v1_gateways_regions_get_with_http_info( + def v1_global_apps_app_list_options_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75636,9 +76574,10 @@ def v1_gateways_regions_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysRegionsGetResponse]: - """v1_gateways_regions_get + ) -> ApiResponse[V1GlobalAppsAppListOptionsGetResponse]: + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75664,7 +76603,7 @@ def v1_gateways_regions_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75673,7 +76612,7 @@ def v1_gateways_regions_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75687,7 +76626,7 @@ def v1_gateways_regions_get_with_http_info( @validate_call - def v1_gateways_regions_get_without_preload_content( + def v1_global_apps_app_list_options_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -75703,8 +76642,9 @@ def v1_gateways_regions_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_regions_get + """v1_global_apps_app_list_options_get + Gets all apps and categories assignable to an app list for the the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -75730,7 +76670,7 @@ def v1_gateways_regions_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_regions_get_serialize( + _param = self._v1_global_apps_app_list_options_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -75739,7 +76679,7 @@ def v1_gateways_regions_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysRegionsGetResponse", + '200': "V1GlobalAppsAppListOptionsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -75748,7 +76688,7 @@ def v1_gateways_regions_get_without_preload_content( return response_data.response - def _v1_gateways_regions_get_serialize( + def _v1_global_apps_app_list_options_get_serialize( self, authorization, _request_auth, @@ -75796,7 +76736,7 @@ def _v1_gateways_regions_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/regions', + resource_path='/v1/global/apps/app-list-options', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -75813,10 +76753,10 @@ def _v1_gateways_regions_get_serialize( @validate_call - def v1_gateways_status_post( + def v1_global_apps_app_lists_app_list_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75830,13 +76770,14 @@ def v1_gateways_status_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75859,9 +76800,9 @@ def v1_gateways_status_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75883,10 +76824,10 @@ def v1_gateways_status_post( @validate_call - def v1_gateways_status_post_with_http_info( + def v1_global_apps_app_lists_app_list_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75900,13 +76841,14 @@ def v1_gateways_status_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75929,9 +76871,9 @@ def v1_gateways_status_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -75953,10 +76895,10 @@ def v1_gateways_status_post_with_http_info( @validate_call - def v1_gateways_status_post_without_preload_content( + def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_gateways_status_post_request: V1GatewaysStatusPostRequest, + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -75970,13 +76912,14 @@ def v1_gateways_status_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_status_post + """v1_global_apps_app_lists_app_list_id_delete + Delete an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_gateways_status_post_request: (required) - :type v1_gateways_status_post_request: V1GatewaysStatusPostRequest + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -75999,9 +76942,9 @@ def v1_gateways_status_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_status_post_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( authorization=authorization, - v1_gateways_status_post_request=v1_gateways_status_post_request, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76018,10 +76961,10 @@ def v1_gateways_status_post_without_preload_content( return response_data.response - def _v1_gateways_status_post_serialize( + def _v1_global_apps_app_lists_app_list_id_delete_serialize( self, authorization, - v1_gateways_status_post_request, + app_list_id, _request_auth, _content_type, _headers, @@ -76043,14 +76986,14 @@ def _v1_gateways_status_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_gateways_status_post_request is not None: - _body_params = v1_gateways_status_post_request # set the HTTP header `Accept` @@ -76061,19 +77004,6 @@ def _v1_gateways_status_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -76081,8 +77011,8 @@ def _v1_gateways_status_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/gateways/status', + method='DELETE', + resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76099,9 +77029,10 @@ def _v1_gateways_status_post_serialize( @validate_call - def v1_gateways_summary_get( + def v1_global_apps_app_lists_app_list_id_details_apps_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76114,12 +77045,15 @@ def v1_gateways_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GatewaysSummaryGetResponse: - """v1_gateways_summary_get + ) -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse: + """v1_global_apps_app_lists_app_list_id_details_apps_get + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76142,8 +77076,9 @@ def v1_gateways_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76151,7 +77086,7 @@ def v1_gateways_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76165,9 +77100,10 @@ def v1_gateways_summary_get( @validate_call - def v1_gateways_summary_get_with_http_info( + def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76180,12 +77116,15 @@ def v1_gateways_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GatewaysSummaryGetResponse]: - """v1_gateways_summary_get + ) -> ApiResponse[V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse]: + """v1_global_apps_app_lists_app_list_id_details_apps_get + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76208,8 +77147,9 @@ def v1_gateways_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76217,7 +77157,7 @@ def v1_gateways_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76231,9 +77171,10 @@ def v1_gateways_summary_get_with_http_info( @validate_call - def v1_gateways_summary_get_without_preload_content( + def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76247,11 +77188,14 @@ def v1_gateways_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_gateways_summary_get + """v1_global_apps_app_lists_app_list_id_details_apps_get + Get all apps that are members of the provided app list :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76274,8 +77218,9 @@ def v1_gateways_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_gateways_summary_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76283,7 +77228,7 @@ def v1_gateways_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GatewaysSummaryGetResponse", + '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76292,9 +77237,10 @@ def v1_gateways_summary_get_without_preload_content( return response_data.response - def _v1_gateways_summary_get_serialize( + def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( self, authorization, + app_list_id, _request_auth, _content_type, _headers, @@ -76316,6 +77262,8 @@ def _v1_gateways_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -76340,7 +77288,7 @@ def _v1_gateways_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/gateways/summary', + resource_path='/v1/global/apps/app-lists/{appListId}/details/apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76357,9 +77305,10 @@ def _v1_gateways_summary_get_serialize( @validate_call - def v1_global_apps_app_list_options_get( + def v1_global_apps_app_lists_app_list_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76372,13 +77321,15 @@ def v1_global_apps_app_list_options_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListOptionsGetResponse: - """v1_global_apps_app_list_options_get + ) -> V1GlobalAppsAppListsAppListIdGetResponse: + """v1_global_apps_app_lists_app_list_id_get - Gets all apps and categories assignable to an app list for the the current enterprise + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76401,8 +77352,9 @@ def v1_global_apps_app_list_options_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76410,7 +77362,7 @@ def v1_global_apps_app_list_options_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76424,9 +77376,10 @@ def v1_global_apps_app_list_options_get( @validate_call - def v1_global_apps_app_list_options_get_with_http_info( + def v1_global_apps_app_lists_app_list_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76439,13 +77392,15 @@ def v1_global_apps_app_list_options_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListOptionsGetResponse]: - """v1_global_apps_app_list_options_get + ) -> ApiResponse[V1GlobalAppsAppListsAppListIdGetResponse]: + """v1_global_apps_app_lists_app_list_id_get - Gets all apps and categories assignable to an app list for the the current enterprise + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76468,8 +77423,9 @@ def v1_global_apps_app_list_options_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76477,7 +77433,7 @@ def v1_global_apps_app_list_options_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76491,9 +77447,10 @@ def v1_global_apps_app_list_options_get_with_http_info( @validate_call - def v1_global_apps_app_list_options_get_without_preload_content( + def v1_global_apps_app_lists_app_list_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76507,12 +77464,14 @@ def v1_global_apps_app_list_options_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_list_options_get + """v1_global_apps_app_lists_app_list_id_get - Gets all apps and categories assignable to an app list for the the current enterprise + Get the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_list_id: (required) + :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76535,8 +77494,9 @@ def v1_global_apps_app_list_options_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_list_options_get_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( authorization=authorization, + app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76544,7 +77504,7 @@ def v1_global_apps_app_list_options_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListOptionsGetResponse", + '200': "V1GlobalAppsAppListsAppListIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76553,9 +77513,10 @@ def v1_global_apps_app_list_options_get_without_preload_content( return response_data.response - def _v1_global_apps_app_list_options_get_serialize( + def _v1_global_apps_app_lists_app_list_id_get_serialize( self, authorization, + app_list_id, _request_auth, _content_type, _headers, @@ -76577,6 +77538,8 @@ def _v1_global_apps_app_list_options_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_list_id is not None: + _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -76601,7 +77564,7 @@ def _v1_global_apps_app_list_options_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/app-list-options', + resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -76618,10 +77581,11 @@ def _v1_global_apps_app_list_options_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_delete( + def v1_global_apps_app_lists_app_list_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76635,14 +77599,16 @@ def v1_global_apps_app_lists_app_list_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_global_apps_app_lists_app_list_id_delete + """v1_global_apps_app_lists_app_list_id_put - Delete an app list under the current enterprise + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_list_id: (required) :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76665,9 +77631,10 @@ def v1_global_apps_app_lists_app_list_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76689,10 +77656,11 @@ def v1_global_apps_app_lists_app_list_id_delete( @validate_call - def v1_global_apps_app_lists_app_list_id_delete_with_http_info( + def v1_global_apps_app_lists_app_list_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76706,14 +77674,16 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_global_apps_app_lists_app_list_id_delete + """v1_global_apps_app_lists_app_list_id_put - Delete an app list under the current enterprise + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_list_id: (required) :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76736,9 +77706,10 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76760,10 +77731,11 @@ def v1_global_apps_app_lists_app_list_id_delete_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( + def v1_global_apps_app_lists_app_list_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_list_id: StrictInt, + v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76777,14 +77749,16 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_delete + """v1_global_apps_app_lists_app_list_id_put - Delete an app list under the current enterprise + Overwrite the configuration for an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_list_id: (required) :type app_list_id: int + :param v1_global_apps_app_lists_app_list_id_put_request: (required) + :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76807,9 +77781,10 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_delete_serialize( + _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( authorization=authorization, app_list_id=app_list_id, + v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76826,10 +77801,11 @@ def v1_global_apps_app_lists_app_list_id_delete_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_delete_serialize( + def _v1_global_apps_app_lists_app_list_id_put_serialize( self, authorization, app_list_id, + v1_global_apps_app_lists_app_list_id_put_request, _request_auth, _content_type, _headers, @@ -76859,6 +77835,8 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_app_lists_app_list_id_put_request is not None: + _body_params = v1_global_apps_app_lists_app_list_id_put_request # set the HTTP header `Accept` @@ -76869,6 +77847,19 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -76876,7 +77867,7 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', + method='PUT', resource_path='/v1/global/apps/app-lists/{appListId}', path_params=_path_params, query_params=_query_params, @@ -76894,10 +77885,9 @@ def _v1_global_apps_app_lists_app_list_id_delete_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get( + def v1_global_apps_app_lists_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76910,15 +77900,13 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse: - """v1_global_apps_app_lists_app_list_id_details_apps_get + ) -> V1GlobalAppsAppListsGetResponse: + """v1_global_apps_app_lists_get - Get all apps that are members of the provided app list + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -76941,9 +77929,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -76951,7 +77938,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -76965,10 +77952,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( + def v1_global_apps_app_lists_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -76981,15 +77967,13 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse]: - """v1_global_apps_app_lists_app_list_id_details_apps_get + ) -> ApiResponse[V1GlobalAppsAppListsGetResponse]: + """v1_global_apps_app_lists_get - Get all apps that are members of the provided app list + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77012,9 +77996,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77022,7 +78005,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77036,10 +78019,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_content( + def v1_global_apps_app_lists_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77053,14 +78035,12 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_details_apps_get + """v1_global_apps_app_lists_get - Get all apps that are members of the provided app list + Get all app lists for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77083,9 +78063,8 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + _param = self._v1_global_apps_app_lists_get_serialize( authorization=authorization, - app_list_id=app_list_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77093,7 +78072,7 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdDetailsAppsGetResponse", + '200': "V1GlobalAppsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77102,10 +78081,9 @@ def v1_global_apps_app_lists_app_list_id_details_apps_get_without_preload_conten return response_data.response - def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( + def _v1_global_apps_app_lists_get_serialize( self, authorization, - app_list_id, _request_auth, _content_type, _headers, @@ -77127,8 +78105,6 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: @@ -77153,7 +78129,7 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/app-lists/{appListId}/details/apps', + resource_path='/v1/global/apps/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77170,10 +78146,10 @@ def _v1_global_apps_app_lists_app_list_id_details_apps_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_get( + def v1_global_apps_app_lists_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77186,15 +78162,15 @@ def v1_global_apps_app_lists_app_list_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsAppListIdGetResponse: - """v1_global_apps_app_lists_app_list_id_get + ) -> V1GlobalAppsAppListsPostResponse: + """v1_global_apps_app_lists_post - Get the configuration for an app list under the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77217,9 +78193,9 @@ def v1_global_apps_app_lists_app_list_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, - app_list_id=app_list_id, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77227,7 +78203,7 @@ def v1_global_apps_app_lists_app_list_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77241,10 +78217,10 @@ def v1_global_apps_app_lists_app_list_id_get( @validate_call - def v1_global_apps_app_lists_app_list_id_get_with_http_info( + def v1_global_apps_app_lists_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77257,15 +78233,15 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsAppListIdGetResponse]: - """v1_global_apps_app_lists_app_list_id_get + ) -> ApiResponse[V1GlobalAppsAppListsPostResponse]: + """v1_global_apps_app_lists_post - Get the configuration for an app list under the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77288,9 +78264,9 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, - app_list_id=app_list_id, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77298,7 +78274,7 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77312,10 +78288,10 @@ def v1_global_apps_app_lists_app_list_id_get_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_get_without_preload_content( + def v1_global_apps_app_lists_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, + v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77329,14 +78305,14 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_get + """v1_global_apps_app_lists_post - Get the configuration for an app list under the current enterprise + Create an app list under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int + :param v1_global_apps_app_lists_post_request: (required) + :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77359,9 +78335,9 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_get_serialize( + _param = self._v1_global_apps_app_lists_post_serialize( authorization=authorization, - app_list_id=app_list_id, + v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77369,7 +78345,7 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsAppListIdGetResponse", + '200': "V1GlobalAppsAppListsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -77378,10 +78354,10 @@ def v1_global_apps_app_lists_app_list_id_get_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_get_serialize( + def _v1_global_apps_app_lists_post_serialize( self, authorization, - app_list_id, + v1_global_apps_app_lists_post_request, _request_auth, _content_type, _headers, @@ -77403,14 +78379,14 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_app_lists_post_request is not None: + _body_params = v1_global_apps_app_lists_post_request # set the HTTP header `Accept` @@ -77421,6 +78397,19 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -77428,8 +78417,8 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/app-lists/{appListId}', + method='POST', + resource_path='/v1/global/apps/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77446,11 +78435,10 @@ def _v1_global_apps_app_lists_app_list_id_get_serialize( @validate_call - def v1_global_apps_app_lists_app_list_id_put( + def v1_global_apps_categories_category_id_apps_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77463,17 +78451,15 @@ def v1_global_apps_app_lists_app_list_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_app_lists_app_list_id_put + ) -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse: + """v1_global_apps_categories_category_id_apps_get - Overwrite the configuration for an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77496,10 +78482,9 @@ def v1_global_apps_app_lists_app_list_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77507,7 +78492,7 @@ def v1_global_apps_app_lists_app_list_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77521,11 +78506,10 @@ def v1_global_apps_app_lists_app_list_id_put( @validate_call - def v1_global_apps_app_lists_app_list_id_put_with_http_info( + def v1_global_apps_categories_category_id_apps_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77538,17 +78522,15 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_app_lists_app_list_id_put + ) -> ApiResponse[V1GlobalAppsCategoriesCategoryIdAppsGetResponse]: + """v1_global_apps_categories_category_id_apps_get - Overwrite the configuration for an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77571,10 +78553,9 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77582,7 +78563,7 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77596,11 +78577,10 @@ def v1_global_apps_app_lists_app_list_id_put_with_http_info( @validate_call - def v1_global_apps_app_lists_app_list_id_put_without_preload_content( + def v1_global_apps_categories_category_id_apps_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_list_id: StrictInt, - v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest, + category_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -77614,16 +78594,14 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_app_list_id_put + """v1_global_apps_categories_category_id_apps_get - Overwrite the configuration for an app list under the current enterprise + Get all Graphiant apps in an app category :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_list_id: (required) - :type app_list_id: int - :param v1_global_apps_app_lists_app_list_id_put_request: (required) - :type v1_global_apps_app_lists_app_list_id_put_request: V1GlobalAppsAppListsAppListIdPutRequest + :param category_id: (required) + :type category_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -77646,10 +78624,9 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_app_list_id_put_serialize( + _param = self._v1_global_apps_categories_category_id_apps_get_serialize( authorization=authorization, - app_list_id=app_list_id, - v1_global_apps_app_lists_app_list_id_put_request=v1_global_apps_app_lists_app_list_id_put_request, + category_id=category_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -77657,7 +78634,7 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77666,11 +78643,10 @@ def v1_global_apps_app_lists_app_list_id_put_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_app_list_id_put_serialize( + def _v1_global_apps_categories_category_id_apps_get_serialize( self, authorization, - app_list_id, - v1_global_apps_app_lists_app_list_id_put_request, + category_id, _request_auth, _content_type, _headers, @@ -77692,16 +78668,14 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_list_id is not None: - _path_params['appListId'] = app_list_id + if category_id is not None: + _path_params['categoryId'] = category_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_app_lists_app_list_id_put_request is not None: - _body_params = v1_global_apps_app_lists_app_list_id_put_request # set the HTTP header `Accept` @@ -77712,19 +78686,6 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -77732,8 +78693,8 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/apps/app-lists/{appListId}', + method='GET', + resource_path='/v1/global/apps/categories/{categoryId}/apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -77750,7 +78711,7 @@ def _v1_global_apps_app_lists_app_list_id_put_serialize( @validate_call - def v1_global_apps_app_lists_get( + def v1_global_apps_categories_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77765,10 +78726,10 @@ def v1_global_apps_app_lists_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsGetResponse: - """v1_global_apps_app_lists_get + ) -> V1GlobalAppsCategoriesGetResponse: + """v1_global_apps_categories_get - Get all app lists for the current enterprise + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -77794,7 +78755,7 @@ def v1_global_apps_app_lists_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77803,7 +78764,7 @@ def v1_global_apps_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77817,7 +78778,7 @@ def v1_global_apps_app_lists_get( @validate_call - def v1_global_apps_app_lists_get_with_http_info( + def v1_global_apps_categories_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77832,10 +78793,10 @@ def v1_global_apps_app_lists_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsGetResponse]: - """v1_global_apps_app_lists_get + ) -> ApiResponse[V1GlobalAppsCategoriesGetResponse]: + """v1_global_apps_categories_get - Get all app lists for the current enterprise + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -77861,7 +78822,7 @@ def v1_global_apps_app_lists_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77870,7 +78831,7 @@ def v1_global_apps_app_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77884,7 +78845,7 @@ def v1_global_apps_app_lists_get_with_http_info( @validate_call - def v1_global_apps_app_lists_get_without_preload_content( + def v1_global_apps_categories_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -77900,9 +78861,9 @@ def v1_global_apps_app_lists_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_get + """v1_global_apps_categories_get - Get all app lists for the current enterprise + Get all app categories holding Graphiant apps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -77928,7 +78889,7 @@ def v1_global_apps_app_lists_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_get_serialize( + _param = self._v1_global_apps_categories_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -77937,7 +78898,7 @@ def v1_global_apps_app_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsGetResponse", + '200': "V1GlobalAppsCategoriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -77946,7 +78907,7 @@ def v1_global_apps_app_lists_get_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_get_serialize( + def _v1_global_apps_categories_get_serialize( self, authorization, _request_auth, @@ -77994,7 +78955,7 @@ def _v1_global_apps_app_lists_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/app-lists', + resource_path='/v1/global/apps/categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78011,10 +78972,10 @@ def _v1_global_apps_app_lists_get_serialize( @validate_call - def v1_global_apps_app_lists_post( + def v1_global_apps_custom_app_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78027,15 +78988,15 @@ def v1_global_apps_app_lists_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsAppListsPostResponse: - """v1_global_apps_app_lists_post + ) -> object: + """v1_global_apps_custom_app_id_delete - Create an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78058,9 +79019,9 @@ def v1_global_apps_app_lists_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78068,7 +79029,7 @@ def v1_global_apps_app_lists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -78082,10 +79043,10 @@ def v1_global_apps_app_lists_post( @validate_call - def v1_global_apps_app_lists_post_with_http_info( + def v1_global_apps_custom_app_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78098,15 +79059,15 @@ def v1_global_apps_app_lists_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsAppListsPostResponse]: - """v1_global_apps_app_lists_post + ) -> ApiResponse[object]: + """v1_global_apps_custom_app_id_delete - Create an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78129,9 +79090,9 @@ def v1_global_apps_app_lists_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78139,7 +79100,7 @@ def v1_global_apps_app_lists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -78153,10 +79114,10 @@ def v1_global_apps_app_lists_post_with_http_info( @validate_call - def v1_global_apps_app_lists_post_without_preload_content( + def v1_global_apps_custom_app_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78170,14 +79131,14 @@ def v1_global_apps_app_lists_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_app_lists_post + """v1_global_apps_custom_app_id_delete - Create an app list under the current enterprise + Delete a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_app_lists_post_request: (required) - :type v1_global_apps_app_lists_post_request: V1GlobalAppsAppListsPostRequest + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78200,9 +79161,9 @@ def v1_global_apps_app_lists_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_app_lists_post_serialize( + _param = self._v1_global_apps_custom_app_id_delete_serialize( authorization=authorization, - v1_global_apps_app_lists_post_request=v1_global_apps_app_lists_post_request, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78210,7 +79171,7 @@ def v1_global_apps_app_lists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsAppListsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -78219,10 +79180,10 @@ def v1_global_apps_app_lists_post_without_preload_content( return response_data.response - def _v1_global_apps_app_lists_post_serialize( + def _v1_global_apps_custom_app_id_delete_serialize( self, authorization, - v1_global_apps_app_lists_post_request, + app_id, _request_auth, _content_type, _headers, @@ -78244,14 +79205,14 @@ def _v1_global_apps_app_lists_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_app_lists_post_request is not None: - _body_params = v1_global_apps_app_lists_post_request # set the HTTP header `Accept` @@ -78262,19 +79223,6 @@ def _v1_global_apps_app_lists_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -78282,8 +79230,8 @@ def _v1_global_apps_app_lists_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/apps/app-lists', + method='DELETE', + resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78300,10 +79248,10 @@ def _v1_global_apps_app_lists_post_serialize( @validate_call - def v1_global_apps_categories_category_id_apps_get( + def v1_global_apps_custom_app_id_details_app_lists_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78316,15 +79264,15 @@ def v1_global_apps_categories_category_id_apps_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCategoriesCategoryIdAppsGetResponse: - """v1_global_apps_categories_category_id_apps_get + ) -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse: + """v1_global_apps_custom_app_id_details_app_lists_get - Get all Graphiant apps in an app category + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78347,9 +79295,9 @@ def v1_global_apps_categories_category_id_apps_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - category_id=category_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78357,7 +79305,7 @@ def v1_global_apps_categories_category_id_apps_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78371,10 +79319,10 @@ def v1_global_apps_categories_category_id_apps_get( @validate_call - def v1_global_apps_categories_category_id_apps_get_with_http_info( + def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78387,15 +79335,15 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCategoriesCategoryIdAppsGetResponse]: - """v1_global_apps_categories_category_id_apps_get + ) -> ApiResponse[V1GlobalAppsCustomAppIdDetailsAppListsGetResponse]: + """v1_global_apps_custom_app_id_details_app_lists_get - Get all Graphiant apps in an app category + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78418,9 +79366,9 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - category_id=category_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78428,7 +79376,7 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78442,10 +79390,10 @@ def v1_global_apps_categories_category_id_apps_get_with_http_info( @validate_call - def v1_global_apps_categories_category_id_apps_get_without_preload_content( + def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - category_id: StrictInt, + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78459,14 +79407,14 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_categories_category_id_apps_get + """v1_global_apps_custom_app_id_details_app_lists_get - Get all Graphiant apps in an app category + Get all app lists that contain the relevant global app :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param category_id: (required) - :type category_id: int + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78489,9 +79437,9 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_category_id_apps_get_serialize( + _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( authorization=authorization, - category_id=category_id, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78499,7 +79447,7 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesCategoryIdAppsGetResponse", + '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78508,10 +79456,10 @@ def v1_global_apps_categories_category_id_apps_get_without_preload_content( return response_data.response - def _v1_global_apps_categories_category_id_apps_get_serialize( + def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( self, authorization, - category_id, + app_id, _request_auth, _content_type, _headers, @@ -78533,8 +79481,8 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if category_id is not None: - _path_params['categoryId'] = category_id + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -78559,7 +79507,7 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/categories/{categoryId}/apps', + resource_path='/v1/global/apps/custom/{appId}/details/app-lists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78576,9 +79524,10 @@ def _v1_global_apps_categories_category_id_apps_get_serialize( @validate_call - def v1_global_apps_categories_get( + def v1_global_apps_custom_app_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78591,13 +79540,15 @@ def v1_global_apps_categories_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCategoriesGetResponse: - """v1_global_apps_categories_get + ) -> V1GlobalAppsCustomAppIdGetResponse: + """v1_global_apps_custom_app_id_get - Get all app categories holding Graphiant apps + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78620,8 +79571,9 @@ def v1_global_apps_categories_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78629,7 +79581,7 @@ def v1_global_apps_categories_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78643,9 +79595,10 @@ def v1_global_apps_categories_get( @validate_call - def v1_global_apps_categories_get_with_http_info( + def v1_global_apps_custom_app_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78658,13 +79611,15 @@ def v1_global_apps_categories_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCategoriesGetResponse]: - """v1_global_apps_categories_get + ) -> ApiResponse[V1GlobalAppsCustomAppIdGetResponse]: + """v1_global_apps_custom_app_id_get - Get all app categories holding Graphiant apps + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78687,8 +79642,9 @@ def v1_global_apps_categories_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78696,7 +79652,7 @@ def v1_global_apps_categories_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78710,9 +79666,10 @@ def v1_global_apps_categories_get_with_http_info( @validate_call - def v1_global_apps_categories_get_without_preload_content( + def v1_global_apps_custom_app_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78726,12 +79683,14 @@ def v1_global_apps_categories_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_categories_get + """v1_global_apps_custom_app_id_get - Get all app categories holding Graphiant apps + Get the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param app_id: (required) + :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78754,8 +79713,9 @@ def v1_global_apps_categories_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_categories_get_serialize( + _param = self._v1_global_apps_custom_app_id_get_serialize( authorization=authorization, + app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78763,7 +79723,7 @@ def v1_global_apps_categories_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCategoriesGetResponse", + '200': "V1GlobalAppsCustomAppIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -78772,9 +79732,10 @@ def v1_global_apps_categories_get_without_preload_content( return response_data.response - def _v1_global_apps_categories_get_serialize( + def _v1_global_apps_custom_app_id_get_serialize( self, authorization, + app_id, _request_auth, _content_type, _headers, @@ -78796,6 +79757,8 @@ def _v1_global_apps_categories_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if app_id is not None: + _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -78820,7 +79783,7 @@ def _v1_global_apps_categories_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/categories', + resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -78837,10 +79800,11 @@ def _v1_global_apps_categories_get_serialize( @validate_call - def v1_global_apps_custom_app_id_delete( + def v1_global_apps_custom_app_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78854,14 +79818,16 @@ def v1_global_apps_custom_app_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v1_global_apps_custom_app_id_delete + """v1_global_apps_custom_app_id_put - Delete a global app under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_id: (required) :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78884,9 +79850,10 @@ def v1_global_apps_custom_app_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78908,10 +79875,11 @@ def v1_global_apps_custom_app_id_delete( @validate_call - def v1_global_apps_custom_app_id_delete_with_http_info( + def v1_global_apps_custom_app_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78925,14 +79893,16 @@ def v1_global_apps_custom_app_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v1_global_apps_custom_app_id_delete + """v1_global_apps_custom_app_id_put - Delete a global app under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_id: (required) :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -78955,9 +79925,10 @@ def v1_global_apps_custom_app_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -78979,10 +79950,11 @@ def v1_global_apps_custom_app_id_delete_with_http_info( @validate_call - def v1_global_apps_custom_app_id_delete_without_preload_content( + def v1_global_apps_custom_app_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], app_id: StrictInt, + v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -78996,14 +79968,16 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_delete + """v1_global_apps_custom_app_id_put - Delete a global app under the current enterprise + Overwrite the configuration for a global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param app_id: (required) :type app_id: int + :param v1_global_apps_custom_app_id_put_request: (required) + :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79026,9 +80000,10 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_delete_serialize( + _param = self._v1_global_apps_custom_app_id_put_serialize( authorization=authorization, app_id=app_id, + v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79045,10 +80020,11 @@ def v1_global_apps_custom_app_id_delete_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_delete_serialize( + def _v1_global_apps_custom_app_id_put_serialize( self, authorization, app_id, + v1_global_apps_custom_app_id_put_request, _request_auth, _content_type, _headers, @@ -79078,6 +80054,8 @@ def _v1_global_apps_custom_app_id_delete_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_custom_app_id_put_request is not None: + _body_params = v1_global_apps_custom_app_id_put_request # set the HTTP header `Accept` @@ -79088,6 +80066,19 @@ def _v1_global_apps_custom_app_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -79095,7 +80086,7 @@ def _v1_global_apps_custom_app_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', + method='PUT', resource_path='/v1/global/apps/custom/{appId}', path_params=_path_params, query_params=_query_params, @@ -79113,10 +80104,9 @@ def _v1_global_apps_custom_app_id_delete_serialize( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get( + def v1_global_apps_custom_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79129,15 +80119,13 @@ def v1_global_apps_custom_app_id_details_app_lists_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomAppIdDetailsAppListsGetResponse: - """v1_global_apps_custom_app_id_details_app_lists_get + ) -> V1GlobalAppsCustomGetResponse: + """v1_global_apps_custom_get - Get all app lists that contain the relevant global app + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79160,9 +80148,8 @@ def v1_global_apps_custom_app_id_details_app_lists_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79170,7 +80157,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79184,10 +80171,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( + def v1_global_apps_custom_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79200,15 +80186,13 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomAppIdDetailsAppListsGetResponse]: - """v1_global_apps_custom_app_id_details_app_lists_get + ) -> ApiResponse[V1GlobalAppsCustomGetResponse]: + """v1_global_apps_custom_get - Get all app lists that contain the relevant global app + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79231,9 +80215,8 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79241,7 +80224,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79255,10 +80238,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get_with_http_info( @validate_call - def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( + def v1_global_apps_custom_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79272,14 +80254,12 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_details_app_lists_get + """v1_global_apps_custom_get - Get all app lists that contain the relevant global app + Get all global apps mapped by the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79302,9 +80282,8 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_details_app_lists_get_serialize( + _param = self._v1_global_apps_custom_get_serialize( authorization=authorization, - app_id=app_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79312,7 +80291,7 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdDetailsAppListsGetResponse", + '200': "V1GlobalAppsCustomGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79321,10 +80300,9 @@ def v1_global_apps_custom_app_id_details_app_lists_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( + def _v1_global_apps_custom_get_serialize( self, authorization, - app_id, _request_auth, _content_type, _headers, @@ -79346,8 +80324,6 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: @@ -79372,7 +80348,7 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/apps/custom/{appId}/details/app-lists', + resource_path='/v1/global/apps/custom', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79389,10 +80365,10 @@ def _v1_global_apps_custom_app_id_details_app_lists_get_serialize( @validate_call - def v1_global_apps_custom_app_id_get( + def v1_global_apps_custom_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79405,15 +80381,15 @@ def v1_global_apps_custom_app_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomAppIdGetResponse: - """v1_global_apps_custom_app_id_get + ) -> V1GlobalAppsCustomPostResponse: + """v1_global_apps_custom_post - Get the configuration for a global app under the current enterprise + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79436,9 +80412,9 @@ def v1_global_apps_custom_app_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79446,7 +80422,7 @@ def v1_global_apps_custom_app_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79460,10 +80436,10 @@ def v1_global_apps_custom_app_id_get( @validate_call - def v1_global_apps_custom_app_id_get_with_http_info( + def v1_global_apps_custom_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79476,15 +80452,15 @@ def v1_global_apps_custom_app_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomAppIdGetResponse]: - """v1_global_apps_custom_app_id_get + ) -> ApiResponse[V1GlobalAppsCustomPostResponse]: + """v1_global_apps_custom_post - Get the configuration for a global app under the current enterprise + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79507,9 +80483,9 @@ def v1_global_apps_custom_app_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79517,7 +80493,7 @@ def v1_global_apps_custom_app_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79531,10 +80507,10 @@ def v1_global_apps_custom_app_id_get_with_http_info( @validate_call - def v1_global_apps_custom_app_id_get_without_preload_content( + def v1_global_apps_custom_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, + v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79548,14 +80524,14 @@ def v1_global_apps_custom_app_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_get + """v1_global_apps_custom_post - Get the configuration for a global app under the current enterprise + Create a new global app under the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int + :param v1_global_apps_custom_post_request: (required) + :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79578,9 +80554,9 @@ def v1_global_apps_custom_app_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_get_serialize( + _param = self._v1_global_apps_custom_post_serialize( authorization=authorization, - app_id=app_id, + v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79588,7 +80564,7 @@ def v1_global_apps_custom_app_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomAppIdGetResponse", + '200': "V1GlobalAppsCustomPostResponse", } response_data = self.api_client.call_api( *_param, @@ -79597,10 +80573,10 @@ def v1_global_apps_custom_app_id_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_get_serialize( + def _v1_global_apps_custom_post_serialize( self, authorization, - app_id, + v1_global_apps_custom_post_request, _request_auth, _content_type, _headers, @@ -79622,14 +80598,14 @@ def _v1_global_apps_custom_app_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_apps_custom_post_request is not None: + _body_params = v1_global_apps_custom_post_request # set the HTTP header `Accept` @@ -79640,6 +80616,19 @@ def _v1_global_apps_custom_app_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -79647,8 +80636,8 @@ def _v1_global_apps_custom_app_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/custom/{appId}', + method='POST', + resource_path='/v1/global/apps/custom', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79665,11 +80654,9 @@ def _v1_global_apps_custom_app_id_get_serialize( @validate_call - def v1_global_apps_custom_app_id_put( + def v1_global_apps_graphiant_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79682,17 +80669,13 @@ def v1_global_apps_custom_app_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_apps_custom_app_id_put + ) -> V1GlobalAppsGraphiantGetResponse: + """v1_global_apps_graphiant_get - Overwrite the configuration for a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79715,10 +80698,8 @@ def v1_global_apps_custom_app_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79726,7 +80707,7 @@ def v1_global_apps_custom_app_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79740,11 +80721,9 @@ def v1_global_apps_custom_app_id_put( @validate_call - def v1_global_apps_custom_app_id_put_with_http_info( + def v1_global_apps_graphiant_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79757,17 +80736,13 @@ def v1_global_apps_custom_app_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_apps_custom_app_id_put + ) -> ApiResponse[V1GlobalAppsGraphiantGetResponse]: + """v1_global_apps_graphiant_get - Overwrite the configuration for a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79790,10 +80765,8 @@ def v1_global_apps_custom_app_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79801,7 +80774,7 @@ def v1_global_apps_custom_app_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79815,11 +80788,9 @@ def v1_global_apps_custom_app_id_put_with_http_info( @validate_call - def v1_global_apps_custom_app_id_put_without_preload_content( + def v1_global_apps_graphiant_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - app_id: StrictInt, - v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79833,16 +80804,12 @@ def v1_global_apps_custom_app_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_app_id_put + """v1_global_apps_graphiant_get - Overwrite the configuration for a global app under the current enterprise + Get all apps mapped by Graphiant :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param app_id: (required) - :type app_id: int - :param v1_global_apps_custom_app_id_put_request: (required) - :type v1_global_apps_custom_app_id_put_request: V1GlobalAppsCustomAppIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -79865,10 +80832,8 @@ def v1_global_apps_custom_app_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_app_id_put_serialize( + _param = self._v1_global_apps_graphiant_get_serialize( authorization=authorization, - app_id=app_id, - v1_global_apps_custom_app_id_put_request=v1_global_apps_custom_app_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -79876,7 +80841,7 @@ def v1_global_apps_custom_app_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalAppsGraphiantGetResponse", } response_data = self.api_client.call_api( *_param, @@ -79885,11 +80850,9 @@ def v1_global_apps_custom_app_id_put_without_preload_content( return response_data.response - def _v1_global_apps_custom_app_id_put_serialize( + def _v1_global_apps_graphiant_get_serialize( self, authorization, - app_id, - v1_global_apps_custom_app_id_put_request, _request_auth, _content_type, _headers, @@ -79911,16 +80874,12 @@ def _v1_global_apps_custom_app_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if app_id is not None: - _path_params['appId'] = app_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_custom_app_id_put_request is not None: - _body_params = v1_global_apps_custom_app_id_put_request # set the HTTP header `Accept` @@ -79931,19 +80890,6 @@ def _v1_global_apps_custom_app_id_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -79951,8 +80897,8 @@ def _v1_global_apps_custom_app_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/global/apps/custom/{appId}', + method='GET', + resource_path='/v1/global/apps/graphiant', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -79969,9 +80915,10 @@ def _v1_global_apps_custom_app_id_put_serialize( @validate_call - def v1_global_apps_custom_get( + def v1_global_attached_edges_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -79984,13 +80931,15 @@ def v1_global_apps_custom_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomGetResponse: - """v1_global_apps_custom_get + ) -> V1GlobalAttachedEdgesPostResponse: + """v1_global_attached_edges_post - Get all global apps mapped by the current enterprise + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80013,8 +80962,9 @@ def v1_global_apps_custom_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80022,7 +80972,7 @@ def v1_global_apps_custom_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80036,9 +80986,10 @@ def v1_global_apps_custom_get( @validate_call - def v1_global_apps_custom_get_with_http_info( + def v1_global_attached_edges_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80051,13 +81002,15 @@ def v1_global_apps_custom_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomGetResponse]: - """v1_global_apps_custom_get + ) -> ApiResponse[V1GlobalAttachedEdgesPostResponse]: + """v1_global_attached_edges_post - Get all global apps mapped by the current enterprise + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80080,8 +81033,9 @@ def v1_global_apps_custom_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80089,7 +81043,7 @@ def v1_global_apps_custom_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80103,9 +81057,10 @@ def v1_global_apps_custom_get_with_http_info( @validate_call - def v1_global_apps_custom_get_without_preload_content( + def v1_global_attached_edges_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80119,12 +81074,14 @@ def v1_global_apps_custom_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_get + """v1_global_attached_edges_post - Get all global apps mapped by the current enterprise + Returns attached edges for global object :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_attached_edges_post_request: (required) + :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80147,8 +81104,9 @@ def v1_global_apps_custom_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_get_serialize( + _param = self._v1_global_attached_edges_post_serialize( authorization=authorization, + v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80156,7 +81114,7 @@ def v1_global_apps_custom_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomGetResponse", + '200': "V1GlobalAttachedEdgesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -80165,9 +81123,10 @@ def v1_global_apps_custom_get_without_preload_content( return response_data.response - def _v1_global_apps_custom_get_serialize( + def _v1_global_attached_edges_post_serialize( self, authorization, + v1_global_attached_edges_post_request, _request_auth, _content_type, _headers, @@ -80195,6 +81154,8 @@ def _v1_global_apps_custom_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_attached_edges_post_request is not None: + _body_params = v1_global_attached_edges_post_request # set the HTTP header `Accept` @@ -80205,6 +81166,19 @@ def _v1_global_apps_custom_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -80212,8 +81186,8 @@ def _v1_global_apps_custom_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/custom', + method='POST', + resource_path='/v1/global/attached-edges', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80230,10 +81204,10 @@ def _v1_global_apps_custom_get_serialize( @validate_call - def v1_global_apps_custom_post( + def v1_global_config_patch( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80246,15 +81220,15 @@ def v1_global_apps_custom_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsCustomPostResponse: - """v1_global_apps_custom_post + ) -> V1GlobalConfigPatchResponse: + """v1_global_config_patch - Create a new global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80277,9 +81251,9 @@ def v1_global_apps_custom_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80287,7 +81261,7 @@ def v1_global_apps_custom_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -80301,10 +81275,10 @@ def v1_global_apps_custom_post( @validate_call - def v1_global_apps_custom_post_with_http_info( + def v1_global_config_patch_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80317,15 +81291,15 @@ def v1_global_apps_custom_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsCustomPostResponse]: - """v1_global_apps_custom_post + ) -> ApiResponse[V1GlobalConfigPatchResponse]: + """v1_global_config_patch - Create a new global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80348,9 +81322,9 @@ def v1_global_apps_custom_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80358,7 +81332,7 @@ def v1_global_apps_custom_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -80372,10 +81346,10 @@ def v1_global_apps_custom_post_with_http_info( @validate_call - def v1_global_apps_custom_post_without_preload_content( + def v1_global_config_patch_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest, + v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80389,14 +81363,14 @@ def v1_global_apps_custom_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_custom_post + """v1_global_config_patch - Create a new global app under the current enterprise + Update global objects for an enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_apps_custom_post_request: (required) - :type v1_global_apps_custom_post_request: V1GlobalAppsCustomPostRequest + :param v1_global_config_patch_request: (required) + :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80419,9 +81393,9 @@ def v1_global_apps_custom_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_custom_post_serialize( + _param = self._v1_global_config_patch_serialize( authorization=authorization, - v1_global_apps_custom_post_request=v1_global_apps_custom_post_request, + v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80429,7 +81403,7 @@ def v1_global_apps_custom_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsCustomPostResponse", + '200': "V1GlobalConfigPatchResponse", } response_data = self.api_client.call_api( *_param, @@ -80438,10 +81412,10 @@ def v1_global_apps_custom_post_without_preload_content( return response_data.response - def _v1_global_apps_custom_post_serialize( + def _v1_global_config_patch_serialize( self, authorization, - v1_global_apps_custom_post_request, + v1_global_config_patch_request, _request_auth, _content_type, _headers, @@ -80469,8 +81443,8 @@ def _v1_global_apps_custom_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_apps_custom_post_request is not None: - _body_params = v1_global_apps_custom_post_request + if v1_global_config_patch_request is not None: + _body_params = v1_global_config_patch_request # set the HTTP header `Accept` @@ -80501,8 +81475,8 @@ def _v1_global_apps_custom_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/apps/custom', + method='PATCH', + resource_path='/v1/global/config', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80519,9 +81493,10 @@ def _v1_global_apps_custom_post_serialize( @validate_call - def v1_global_apps_graphiant_get( + def v1_global_config_site_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80534,13 +81509,15 @@ def v1_global_apps_graphiant_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAppsGraphiantGetResponse: - """v1_global_apps_graphiant_get + ) -> object: + """v1_global_config_site_post - Get all apps mapped by Graphiant + Attach or detach global objects from a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_config_site_post_request: (required) + :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80563,8 +81540,9 @@ def v1_global_apps_graphiant_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_config_site_post_serialize( authorization=authorization, + v1_global_config_site_post_request=v1_global_config_site_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80572,7 +81550,7 @@ def v1_global_apps_graphiant_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -80586,9 +81564,10 @@ def v1_global_apps_graphiant_get( @validate_call - def v1_global_apps_graphiant_get_with_http_info( + def v1_global_config_site_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80601,13 +81580,15 @@ def v1_global_apps_graphiant_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAppsGraphiantGetResponse]: - """v1_global_apps_graphiant_get + ) -> ApiResponse[object]: + """v1_global_config_site_post - Get all apps mapped by Graphiant + Attach or detach global objects from a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_config_site_post_request: (required) + :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80630,8 +81611,9 @@ def v1_global_apps_graphiant_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_config_site_post_serialize( authorization=authorization, + v1_global_config_site_post_request=v1_global_config_site_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80639,7 +81621,7 @@ def v1_global_apps_graphiant_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -80653,9 +81635,10 @@ def v1_global_apps_graphiant_get_with_http_info( @validate_call - def v1_global_apps_graphiant_get_without_preload_content( + def v1_global_config_site_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80669,12 +81652,14 @@ def v1_global_apps_graphiant_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_apps_graphiant_get + """v1_global_config_site_post - Get all apps mapped by Graphiant + Attach or detach global objects from a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_global_config_site_post_request: (required) + :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80697,8 +81682,9 @@ def v1_global_apps_graphiant_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_apps_graphiant_get_serialize( + _param = self._v1_global_config_site_post_serialize( authorization=authorization, + v1_global_config_site_post_request=v1_global_config_site_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80706,7 +81692,7 @@ def v1_global_apps_graphiant_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAppsGraphiantGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -80715,9 +81701,10 @@ def v1_global_apps_graphiant_get_without_preload_content( return response_data.response - def _v1_global_apps_graphiant_get_serialize( + def _v1_global_config_site_post_serialize( self, authorization, + v1_global_config_site_post_request, _request_auth, _content_type, _headers, @@ -80745,6 +81732,8 @@ def _v1_global_apps_graphiant_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_config_site_post_request is not None: + _body_params = v1_global_config_site_post_request # set the HTTP header `Accept` @@ -80755,6 +81744,19 @@ def _v1_global_apps_graphiant_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -80762,8 +81764,8 @@ def _v1_global_apps_graphiant_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/apps/graphiant', + method='POST', + resource_path='/v1/global/config/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -80780,10 +81782,9 @@ def _v1_global_apps_graphiant_get_serialize( @validate_call - def v1_global_attached_edges_post( + def v1_global_device_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80796,15 +81797,13 @@ def v1_global_attached_edges_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalAttachedEdgesPostResponse: - """v1_global_attached_edges_post + ) -> V1GlobalDeviceStatusGetResponse: + """v1_global_device_status_get - Returns attached edges for global object + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80827,9 +81826,8 @@ def v1_global_attached_edges_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80837,7 +81835,7 @@ def v1_global_attached_edges_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80851,10 +81849,9 @@ def v1_global_attached_edges_post( @validate_call - def v1_global_attached_edges_post_with_http_info( + def v1_global_device_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80867,15 +81864,13 @@ def v1_global_attached_edges_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalAttachedEdgesPostResponse]: - """v1_global_attached_edges_post + ) -> ApiResponse[V1GlobalDeviceStatusGetResponse]: + """v1_global_device_status_get - Returns attached edges for global object + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80898,9 +81893,8 @@ def v1_global_attached_edges_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80908,7 +81902,7 @@ def v1_global_attached_edges_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80922,10 +81916,9 @@ def v1_global_attached_edges_post_with_http_info( @validate_call - def v1_global_attached_edges_post_without_preload_content( + def v1_global_device_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -80939,14 +81932,12 @@ def v1_global_attached_edges_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_attached_edges_post + """v1_global_device_status_get - Returns attached edges for global object + Get status on global collector attached to devices :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_attached_edges_post_request: (required) - :type v1_global_attached_edges_post_request: V1GlobalAttachedEdgesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -80969,9 +81960,8 @@ def v1_global_attached_edges_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_attached_edges_post_serialize( + _param = self._v1_global_device_status_get_serialize( authorization=authorization, - v1_global_attached_edges_post_request=v1_global_attached_edges_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -80979,7 +81969,7 @@ def v1_global_attached_edges_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalAttachedEdgesPostResponse", + '200': "V1GlobalDeviceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -80988,10 +81978,9 @@ def v1_global_attached_edges_post_without_preload_content( return response_data.response - def _v1_global_attached_edges_post_serialize( + def _v1_global_device_status_get_serialize( self, authorization, - v1_global_attached_edges_post_request, _request_auth, _content_type, _headers, @@ -81019,8 +82008,6 @@ def _v1_global_attached_edges_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_attached_edges_post_request is not None: - _body_params = v1_global_attached_edges_post_request # set the HTTP header `Accept` @@ -81031,19 +82018,6 @@ def _v1_global_attached_edges_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -81051,8 +82025,8 @@ def _v1_global_attached_edges_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/attached-edges', + method='GET', + resource_path='/v1/global/device-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81069,10 +82043,9 @@ def _v1_global_attached_edges_post_serialize( @validate_call - def v1_global_config_patch( + def v1_global_ipfix_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81085,15 +82058,13 @@ def v1_global_config_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalConfigPatchResponse: - """v1_global_config_patch + ) -> V1GlobalIpfixDeviceGetResponse: + """v1_global_ipfix_device_get - Update global objects for an enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81116,9 +82087,8 @@ def v1_global_config_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81126,7 +82096,7 @@ def v1_global_config_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81140,10 +82110,9 @@ def v1_global_config_patch( @validate_call - def v1_global_config_patch_with_http_info( + def v1_global_ipfix_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81156,15 +82125,13 @@ def v1_global_config_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalConfigPatchResponse]: - """v1_global_config_patch + ) -> ApiResponse[V1GlobalIpfixDeviceGetResponse]: + """v1_global_ipfix_device_get - Update global objects for an enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81187,9 +82154,8 @@ def v1_global_config_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81197,7 +82163,7 @@ def v1_global_config_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81211,10 +82177,9 @@ def v1_global_config_patch_with_http_info( @validate_call - def v1_global_config_patch_without_preload_content( + def v1_global_ipfix_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_patch_request: V1GlobalConfigPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81228,14 +82193,12 @@ def v1_global_config_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_config_patch + """v1_global_ipfix_device_get - Update global objects for an enterprise + Get global ipfix exporters objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_patch_request: (required) - :type v1_global_config_patch_request: V1GlobalConfigPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81258,9 +82221,8 @@ def v1_global_config_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_patch_serialize( + _param = self._v1_global_ipfix_device_get_serialize( authorization=authorization, - v1_global_config_patch_request=v1_global_config_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81268,7 +82230,7 @@ def v1_global_config_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalConfigPatchResponse", + '200': "V1GlobalIpfixDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81277,10 +82239,9 @@ def v1_global_config_patch_without_preload_content( return response_data.response - def _v1_global_config_patch_serialize( + def _v1_global_ipfix_device_get_serialize( self, authorization, - v1_global_config_patch_request, _request_auth, _content_type, _headers, @@ -81308,8 +82269,6 @@ def _v1_global_config_patch_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_config_patch_request is not None: - _body_params = v1_global_config_patch_request # set the HTTP header `Accept` @@ -81320,19 +82279,6 @@ def _v1_global_config_patch_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -81340,8 +82286,8 @@ def _v1_global_config_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/global/config', + method='GET', + resource_path='/v1/global/ipfix/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81358,10 +82304,10 @@ def _v1_global_config_patch_serialize( @validate_call - def v1_global_config_site_post( + def v1_global_ipfix_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81374,15 +82320,15 @@ def v1_global_config_site_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_global_config_site_post + ) -> V1GlobalIpfixPostResponse: + """v1_global_ipfix_post - Attach or detach global objects from a site + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_site_post_request: (required) - :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81405,9 +82351,9 @@ def v1_global_config_site_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_site_post_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - v1_global_config_site_post_request=v1_global_config_site_post_request, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81415,7 +82361,7 @@ def v1_global_config_site_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -81429,10 +82375,10 @@ def v1_global_config_site_post( @validate_call - def v1_global_config_site_post_with_http_info( + def v1_global_ipfix_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81445,15 +82391,15 @@ def v1_global_config_site_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_global_config_site_post + ) -> ApiResponse[V1GlobalIpfixPostResponse]: + """v1_global_ipfix_post - Attach or detach global objects from a site + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_site_post_request: (required) - :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81476,9 +82422,9 @@ def v1_global_config_site_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_site_post_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - v1_global_config_site_post_request=v1_global_config_site_post_request, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81486,7 +82432,7 @@ def v1_global_config_site_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -81500,10 +82446,10 @@ def v1_global_config_site_post_with_http_info( @validate_call - def v1_global_config_site_post_without_preload_content( + def v1_global_ipfix_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_config_site_post_request: V1GlobalConfigSitePostRequest, + v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -81517,14 +82463,14 @@ def v1_global_config_site_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_config_site_post + """v1_global_ipfix_post - Attach or detach global objects from a site + Get configured global ipfix exporters :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_config_site_post_request: (required) - :type v1_global_config_site_post_request: V1GlobalConfigSitePostRequest + :param v1_global_ipfix_post_request: (required) + :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -81547,9 +82493,9 @@ def v1_global_config_site_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_config_site_post_serialize( + _param = self._v1_global_ipfix_post_serialize( authorization=authorization, - v1_global_config_site_post_request=v1_global_config_site_post_request, + v1_global_ipfix_post_request=v1_global_ipfix_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -81557,7 +82503,7 @@ def v1_global_config_site_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1GlobalIpfixPostResponse", } response_data = self.api_client.call_api( *_param, @@ -81566,10 +82512,10 @@ def v1_global_config_site_post_without_preload_content( return response_data.response - def _v1_global_config_site_post_serialize( + def _v1_global_ipfix_post_serialize( self, authorization, - v1_global_config_site_post_request, + v1_global_ipfix_post_request, _request_auth, _content_type, _headers, @@ -81597,8 +82543,8 @@ def _v1_global_config_site_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_config_site_post_request is not None: - _body_params = v1_global_config_site_post_request + if v1_global_ipfix_post_request is not None: + _body_params = v1_global_ipfix_post_request # set the HTTP header `Accept` @@ -81630,7 +82576,7 @@ def _v1_global_config_site_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/config/site', + resource_path='/v1/global/ipfix', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81647,7 +82593,7 @@ def _v1_global_config_site_post_serialize( @validate_call - def v1_global_device_status_get( + def v1_global_ipfix_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -81662,10 +82608,10 @@ def v1_global_device_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalDeviceStatusGetResponse: - """v1_global_device_status_get + ) -> V1GlobalIpfixSiteGetResponse: + """v1_global_ipfix_site_get - Get status on global collector attached to devices + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -81691,7 +82637,7 @@ def v1_global_device_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -81700,7 +82646,7 @@ def v1_global_device_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81714,7 +82660,7 @@ def v1_global_device_status_get( @validate_call - def v1_global_device_status_get_with_http_info( + def v1_global_ipfix_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -81729,10 +82675,10 @@ def v1_global_device_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalDeviceStatusGetResponse]: - """v1_global_device_status_get + ) -> ApiResponse[V1GlobalIpfixSiteGetResponse]: + """v1_global_ipfix_site_get - Get status on global collector attached to devices + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -81758,7 +82704,7 @@ def v1_global_device_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -81767,7 +82713,7 @@ def v1_global_device_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81781,7 +82727,7 @@ def v1_global_device_status_get_with_http_info( @validate_call - def v1_global_device_status_get_without_preload_content( + def v1_global_ipfix_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -81797,9 +82743,9 @@ def v1_global_device_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_device_status_get + """v1_global_ipfix_site_get - Get status on global collector attached to devices + Get configured global ipfix exporters for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -81825,7 +82771,7 @@ def v1_global_device_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_device_status_get_serialize( + _param = self._v1_global_ipfix_site_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -81834,7 +82780,7 @@ def v1_global_device_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalDeviceStatusGetResponse", + '200': "V1GlobalIpfixSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81843,7 +82789,7 @@ def v1_global_device_status_get_without_preload_content( return response_data.response - def _v1_global_device_status_get_serialize( + def _v1_global_ipfix_site_get_serialize( self, authorization, _request_auth, @@ -81891,7 +82837,7 @@ def _v1_global_device_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/device-status', + resource_path='/v1/global/ipfix/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -81908,7 +82854,7 @@ def _v1_global_device_status_get_serialize( @validate_call - def v1_global_ipfix_device_get( + def v1_global_ipsec_profile_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -81923,10 +82869,10 @@ def v1_global_ipfix_device_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixDeviceGetResponse: - """v1_global_ipfix_device_get + ) -> V1GlobalIpsecProfileGetResponse: + """v1_global_ipsec_profile_get - Get global ipfix exporters objects that failed to attach for a device + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -81952,7 +82898,7 @@ def v1_global_ipfix_device_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -81961,7 +82907,7 @@ def v1_global_ipfix_device_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -81975,7 +82921,7 @@ def v1_global_ipfix_device_get( @validate_call - def v1_global_ipfix_device_get_with_http_info( + def v1_global_ipsec_profile_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -81990,10 +82936,10 @@ def v1_global_ipfix_device_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixDeviceGetResponse]: - """v1_global_ipfix_device_get + ) -> ApiResponse[V1GlobalIpsecProfileGetResponse]: + """v1_global_ipsec_profile_get - Get global ipfix exporters objects that failed to attach for a device + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -82019,7 +82965,7 @@ def v1_global_ipfix_device_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -82028,7 +82974,7 @@ def v1_global_ipfix_device_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82042,7 +82988,7 @@ def v1_global_ipfix_device_get_with_http_info( @validate_call - def v1_global_ipfix_device_get_without_preload_content( + def v1_global_ipsec_profile_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -82058,9 +83004,9 @@ def v1_global_ipfix_device_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_device_get + """v1_global_ipsec_profile_get - Get global ipfix exporters objects that failed to attach for a device + Get all the configured global IPsec Profiles for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -82086,7 +83032,7 @@ def v1_global_ipfix_device_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_device_get_serialize( + _param = self._v1_global_ipsec_profile_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -82095,7 +83041,7 @@ def v1_global_ipfix_device_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixDeviceGetResponse", + '200': "V1GlobalIpsecProfileGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82104,7 +83050,7 @@ def v1_global_ipfix_device_get_without_preload_content( return response_data.response - def _v1_global_ipfix_device_get_serialize( + def _v1_global_ipsec_profile_get_serialize( self, authorization, _request_auth, @@ -82152,7 +83098,7 @@ def _v1_global_ipfix_device_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipfix/device', + resource_path='/v1/global/ipsec-profile', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82169,10 +83115,10 @@ def _v1_global_ipfix_device_get_serialize( @validate_call - def v1_global_ipfix_post( + def v1_global_ipsec_profile_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82185,15 +83131,15 @@ def v1_global_ipfix_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixPostResponse: - """v1_global_ipfix_post + ) -> V1GlobalIpsecProfileIdGetResponse: + """v1_global_ipsec_profile_id_get - Get configured global ipfix exporters + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82216,9 +83162,9 @@ def v1_global_ipfix_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82226,7 +83172,7 @@ def v1_global_ipfix_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82240,10 +83186,10 @@ def v1_global_ipfix_post( @validate_call - def v1_global_ipfix_post_with_http_info( + def v1_global_ipsec_profile_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82256,15 +83202,15 @@ def v1_global_ipfix_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixPostResponse]: - """v1_global_ipfix_post + ) -> ApiResponse[V1GlobalIpsecProfileIdGetResponse]: + """v1_global_ipsec_profile_id_get - Get configured global ipfix exporters + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82287,9 +83233,9 @@ def v1_global_ipfix_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82297,7 +83243,7 @@ def v1_global_ipfix_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82311,10 +83257,10 @@ def v1_global_ipfix_post_with_http_info( @validate_call - def v1_global_ipfix_post_without_preload_content( + def v1_global_ipsec_profile_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_ipfix_post_request: V1GlobalIpfixPostRequest, + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82328,14 +83274,14 @@ def v1_global_ipfix_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_post + """v1_global_ipsec_profile_id_get - Get configured global ipfix exporters + Get details of the configured global IPsec Profiles :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_ipfix_post_request: (required) - :type v1_global_ipfix_post_request: V1GlobalIpfixPostRequest + :param id: (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82358,9 +83304,9 @@ def v1_global_ipfix_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_post_serialize( + _param = self._v1_global_ipsec_profile_id_get_serialize( authorization=authorization, - v1_global_ipfix_post_request=v1_global_ipfix_post_request, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82368,7 +83314,7 @@ def v1_global_ipfix_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixPostResponse", + '200': "V1GlobalIpsecProfileIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82377,10 +83323,10 @@ def v1_global_ipfix_post_without_preload_content( return response_data.response - def _v1_global_ipfix_post_serialize( + def _v1_global_ipsec_profile_id_get_serialize( self, authorization, - v1_global_ipfix_post_request, + id, _request_auth, _content_type, _headers, @@ -82402,14 +83348,14 @@ def _v1_global_ipfix_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_ipfix_post_request is not None: - _body_params = v1_global_ipfix_post_request # set the HTTP header `Accept` @@ -82420,19 +83366,6 @@ def _v1_global_ipfix_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -82440,8 +83373,8 @@ def _v1_global_ipfix_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/global/ipfix', + method='GET', + resource_path='/v1/global/ipsec-profile/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82458,9 +83391,10 @@ def _v1_global_ipfix_post_serialize( @validate_call - def v1_global_ipfix_site_get( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82473,13 +83407,15 @@ def v1_global_ipfix_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpfixSiteGetResponse: - """v1_global_ipfix_site_get + ) -> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse: + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get configured global ipfix exporters for a site + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82502,8 +83438,9 @@ def v1_global_ipfix_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82511,7 +83448,7 @@ def v1_global_ipfix_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82525,9 +83462,10 @@ def v1_global_ipfix_site_get( @validate_call - def v1_global_ipfix_site_get_with_http_info( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82540,13 +83478,15 @@ def v1_global_ipfix_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpfixSiteGetResponse]: - """v1_global_ipfix_site_get + ) -> ApiResponse[V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse]: + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get configured global ipfix exporters for a site + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82569,8 +83509,9 @@ def v1_global_ipfix_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82578,7 +83519,7 @@ def v1_global_ipfix_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82592,9 +83533,10 @@ def v1_global_ipfix_site_get_with_http_info( @validate_call - def v1_global_ipfix_site_get_without_preload_content( + def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vpn_profile_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -82608,12 +83550,14 @@ def v1_global_ipfix_site_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipfix_site_get + """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get - Get configured global ipfix exporters for a site + Get Site-to-site VPNs that are using the given global IPsec Profile :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vpn_profile_id: (required) + :type vpn_profile_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -82636,8 +83580,9 @@ def v1_global_ipfix_site_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipfix_site_get_serialize( + _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( authorization=authorization, + vpn_profile_id=vpn_profile_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -82645,7 +83590,7 @@ def v1_global_ipfix_site_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpfixSiteGetResponse", + '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82654,9 +83599,10 @@ def v1_global_ipfix_site_get_without_preload_content( return response_data.response - def _v1_global_ipfix_site_get_serialize( + def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( self, authorization, + vpn_profile_id, _request_auth, _content_type, _headers, @@ -82678,6 +83624,8 @@ def _v1_global_ipfix_site_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if vpn_profile_id is not None: + _path_params['vpnProfileId'] = vpn_profile_id # process the query parameters # process the header parameters if authorization is not None: @@ -82702,7 +83650,7 @@ def _v1_global_ipfix_site_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipfix/site', + resource_path='/v1/global/ipsec-profile/{vpnProfileId}/site-to-site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82719,7 +83667,7 @@ def _v1_global_ipfix_site_get_serialize( @validate_call - def v1_global_ipsec_profile_get( + def v1_global_lan_segments_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -82734,10 +83682,10 @@ def v1_global_ipsec_profile_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileGetResponse: - """v1_global_ipsec_profile_get + ) -> V1GlobalLanSegmentsGetResponse: + """v1_global_lan_segments_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -82763,7 +83711,7 @@ def v1_global_ipsec_profile_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -82772,7 +83720,7 @@ def v1_global_ipsec_profile_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82786,7 +83734,7 @@ def v1_global_ipsec_profile_get( @validate_call - def v1_global_ipsec_profile_get_with_http_info( + def v1_global_lan_segments_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -82801,10 +83749,10 @@ def v1_global_ipsec_profile_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileGetResponse]: - """v1_global_ipsec_profile_get + ) -> ApiResponse[V1GlobalLanSegmentsGetResponse]: + """v1_global_lan_segments_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -82830,7 +83778,7 @@ def v1_global_ipsec_profile_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -82839,7 +83787,7 @@ def v1_global_ipsec_profile_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82853,7 +83801,7 @@ def v1_global_ipsec_profile_get_with_http_info( @validate_call - def v1_global_ipsec_profile_get_without_preload_content( + def v1_global_lan_segments_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -82869,9 +83817,9 @@ def v1_global_ipsec_profile_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_get + """v1_global_lan_segments_get - Get all the configured global IPsec Profiles for the current enterprise + Get a list of lan-segments under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -82897,7 +83845,7 @@ def v1_global_ipsec_profile_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_get_serialize( + _param = self._v1_global_lan_segments_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -82906,7 +83854,7 @@ def v1_global_ipsec_profile_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileGetResponse", + '200': "V1GlobalLanSegmentsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -82915,7 +83863,7 @@ def v1_global_ipsec_profile_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_get_serialize( + def _v1_global_lan_segments_get_serialize( self, authorization, _request_auth, @@ -82963,7 +83911,7 @@ def _v1_global_ipsec_profile_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/ipsec-profile', + resource_path='/v1/global/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -82980,7 +83928,7 @@ def _v1_global_ipsec_profile_get_serialize( @validate_call - def v1_global_ipsec_profile_id_get( + def v1_global_lan_segments_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -82996,10 +83944,10 @@ def v1_global_ipsec_profile_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileIdGetResponse: - """v1_global_ipsec_profile_id_get + ) -> None: + """v1_global_lan_segments_id_delete - Get details of the configured global IPsec Profiles + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -83027,7 +83975,7 @@ def v1_global_ipsec_profile_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -83037,7 +83985,7 @@ def v1_global_ipsec_profile_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -83051,7 +83999,7 @@ def v1_global_ipsec_profile_id_get( @validate_call - def v1_global_ipsec_profile_id_get_with_http_info( + def v1_global_lan_segments_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -83067,10 +84015,10 @@ def v1_global_ipsec_profile_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileIdGetResponse]: - """v1_global_ipsec_profile_id_get + ) -> ApiResponse[None]: + """v1_global_lan_segments_id_delete - Get details of the configured global IPsec Profiles + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -83098,7 +84046,7 @@ def v1_global_ipsec_profile_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -83108,7 +84056,7 @@ def v1_global_ipsec_profile_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -83122,7 +84070,7 @@ def v1_global_ipsec_profile_id_get_with_http_info( @validate_call - def v1_global_ipsec_profile_id_get_without_preload_content( + def v1_global_lan_segments_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: StrictInt, @@ -83139,9 +84087,9 @@ def v1_global_ipsec_profile_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_id_get + """v1_global_lan_segments_id_delete - Get details of the configured global IPsec Profiles + Delete a lan-segment :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -83169,7 +84117,7 @@ def v1_global_ipsec_profile_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_id_get_serialize( + _param = self._v1_global_lan_segments_id_delete_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -83179,7 +84127,7 @@ def v1_global_ipsec_profile_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileIdGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -83188,7 +84136,7 @@ def v1_global_ipsec_profile_id_get_without_preload_content( return response_data.response - def _v1_global_ipsec_profile_id_get_serialize( + def _v1_global_lan_segments_id_delete_serialize( self, authorization, id, @@ -83223,13 +84171,6 @@ def _v1_global_ipsec_profile_id_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -83238,8 +84179,8 @@ def _v1_global_ipsec_profile_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ipsec-profile/{id}', + method='DELETE', + resource_path='/v1/global/lan-segments/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83256,10 +84197,10 @@ def _v1_global_ipsec_profile_id_get_serialize( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( + def v1_global_lan_segments_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83272,15 +84213,15 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + ) -> V1GlobalLanSegmentsPostResponse: + """v1_global_lan_segments_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83303,9 +84244,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83313,7 +84254,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83327,10 +84268,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( + def v1_global_lan_segments_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83343,15 +84284,15 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse]: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + ) -> ApiResponse[V1GlobalLanSegmentsPostResponse]: + """v1_global_lan_segments_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83374,9 +84315,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83384,7 +84325,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83398,10 +84339,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_with_http_info( @validate_call - def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_content( + def v1_global_lan_segments_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vpn_profile_id: StrictInt, + v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83415,14 +84356,14 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_ipsec_profile_vpn_profile_id_site_to_site_get + """v1_global_lan_segments_post - Get Site-to-site VPNs that are using the given global IPsec Profile + Create a new lan-segment scoped to the enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vpn_profile_id: (required) - :type vpn_profile_id: int + :param v1_global_lan_segments_post_request: (required) + :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83445,9 +84386,9 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + _param = self._v1_global_lan_segments_post_serialize( authorization=authorization, - vpn_profile_id=vpn_profile_id, + v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83455,7 +84396,7 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponse", + '200': "V1GlobalLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -83464,10 +84405,10 @@ def v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_without_preload_cont return response_data.response - def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( + def _v1_global_lan_segments_post_serialize( self, authorization, - vpn_profile_id, + v1_global_lan_segments_post_request, _request_auth, _content_type, _headers, @@ -83489,14 +84430,14 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if vpn_profile_id is not None: - _path_params['vpnProfileId'] = vpn_profile_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_global_lan_segments_post_request is not None: + _body_params = v1_global_lan_segments_post_request # set the HTTP header `Accept` @@ -83507,6 +84448,19 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -83514,8 +84468,8 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/global/ipsec-profile/{vpnProfileId}/site-to-site', + method='POST', + resource_path='/v1/global/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83532,9 +84486,10 @@ def _v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_serialize( @validate_call - def v1_global_lan_segments_get( + def v1_global_lan_segments_vrf_id_devices_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83547,13 +84502,15 @@ def v1_global_lan_segments_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsGetResponse: - """v1_global_lan_segments_get + ) -> V1GlobalLanSegmentsVrfIdDevicesGetResponse: + """v1_global_lan_segments_vrf_id_devices_get - Get a list of lan-segments under the currently logged in enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83576,8 +84533,9 @@ def v1_global_lan_segments_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83585,7 +84543,7 @@ def v1_global_lan_segments_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83599,9 +84557,10 @@ def v1_global_lan_segments_get( @validate_call - def v1_global_lan_segments_get_with_http_info( + def v1_global_lan_segments_vrf_id_devices_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83614,13 +84573,15 @@ def v1_global_lan_segments_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsGetResponse]: - """v1_global_lan_segments_get + ) -> ApiResponse[V1GlobalLanSegmentsVrfIdDevicesGetResponse]: + """v1_global_lan_segments_vrf_id_devices_get - Get a list of lan-segments under the currently logged in enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83643,8 +84604,9 @@ def v1_global_lan_segments_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83652,7 +84614,7 @@ def v1_global_lan_segments_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83666,9 +84628,10 @@ def v1_global_lan_segments_get_with_http_info( @validate_call - def v1_global_lan_segments_get_without_preload_content( + def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83682,12 +84645,14 @@ def v1_global_lan_segments_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_get + """v1_global_lan_segments_vrf_id_devices_get - Get a list of lan-segments under the currently logged in enterprise + Get a list of lan-segment devices under the currently logged in enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param vrf_id: (required) + :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83710,8 +84675,9 @@ def v1_global_lan_segments_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_get_serialize( + _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( authorization=authorization, + vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83719,7 +84685,7 @@ def v1_global_lan_segments_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsGetResponse", + '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83728,9 +84694,10 @@ def v1_global_lan_segments_get_without_preload_content( return response_data.response - def _v1_global_lan_segments_get_serialize( + def _v1_global_lan_segments_vrf_id_devices_get_serialize( self, authorization, + vrf_id, _request_auth, _content_type, _headers, @@ -83752,6 +84719,8 @@ def _v1_global_lan_segments_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if vrf_id is not None: + _path_params['vrfId'] = vrf_id # process the query parameters # process the header parameters if authorization is not None: @@ -83776,7 +84745,7 @@ def _v1_global_lan_segments_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/lan-segments', + resource_path='/v1/global/lan-segments/{vrfId}/devices', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -83793,10 +84762,9 @@ def _v1_global_lan_segments_get_serialize( @validate_call - def v1_global_lan_segments_id_delete( + def v1_global_ntps_device_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83809,15 +84777,13 @@ def v1_global_lan_segments_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsIdDeleteResponse: - """v1_global_lan_segments_id_delete + ) -> V1GlobalNtpsDeviceGetResponse: + """v1_global_ntps_device_get - Delete a lan-segment + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83840,9 +84806,8 @@ def v1_global_lan_segments_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83850,7 +84815,7 @@ def v1_global_lan_segments_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalLanSegmentsIdDeleteResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83864,10 +84829,9 @@ def v1_global_lan_segments_id_delete( @validate_call - def v1_global_lan_segments_id_delete_with_http_info( + def v1_global_ntps_device_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83880,15 +84844,13 @@ def v1_global_lan_segments_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsIdDeleteResponse]: - """v1_global_lan_segments_id_delete + ) -> ApiResponse[V1GlobalNtpsDeviceGetResponse]: + """v1_global_ntps_device_get - Delete a lan-segment + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83911,9 +84873,8 @@ def v1_global_lan_segments_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83921,7 +84882,7 @@ def v1_global_lan_segments_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalLanSegmentsIdDeleteResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -83935,10 +84896,9 @@ def v1_global_lan_segments_id_delete_with_http_info( @validate_call - def v1_global_lan_segments_id_delete_without_preload_content( + def v1_global_ntps_device_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -83952,14 +84912,12 @@ def v1_global_lan_segments_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_id_delete + """v1_global_ntps_device_get - Delete a lan-segment + Get global ntp objects that failed to attach for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83982,9 +84940,8 @@ def v1_global_lan_segments_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_id_delete_serialize( + _param = self._v1_global_ntps_device_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -83992,7 +84949,7 @@ def v1_global_lan_segments_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalLanSegmentsIdDeleteResponse", + '200': "V1GlobalNtpsDeviceGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84001,10 +84958,9 @@ def v1_global_lan_segments_id_delete_without_preload_content( return response_data.response - def _v1_global_lan_segments_id_delete_serialize( + def _v1_global_ntps_device_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -84026,8 +84982,6 @@ def _v1_global_lan_segments_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -84051,8 +85005,8 @@ def _v1_global_lan_segments_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/global/lan-segments/{id}', + method='GET', + resource_path='/v1/global/ntps/device', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84069,10 +85023,10 @@ def _v1_global_lan_segments_id_delete_serialize( @validate_call - def v1_global_lan_segments_post( + def v1_global_ntps_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84085,15 +85039,15 @@ def v1_global_lan_segments_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsPostResponse: - """v1_global_lan_segments_post + ) -> V1GlobalNtpsPostResponse: + """v1_global_ntps_post - Create a new lan-segment scoped to the enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84116,9 +85070,9 @@ def v1_global_lan_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84126,7 +85080,7 @@ def v1_global_lan_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84140,10 +85094,10 @@ def v1_global_lan_segments_post( @validate_call - def v1_global_lan_segments_post_with_http_info( + def v1_global_ntps_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84156,15 +85110,15 @@ def v1_global_lan_segments_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsPostResponse]: - """v1_global_lan_segments_post + ) -> ApiResponse[V1GlobalNtpsPostResponse]: + """v1_global_ntps_post - Create a new lan-segment scoped to the enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84187,9 +85141,9 @@ def v1_global_lan_segments_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84197,7 +85151,7 @@ def v1_global_lan_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84211,10 +85165,10 @@ def v1_global_lan_segments_post_with_http_info( @validate_call - def v1_global_lan_segments_post_without_preload_content( + def v1_global_ntps_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest, + v1_global_ntps_post_request: V1GlobalNtpsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84228,14 +85182,14 @@ def v1_global_lan_segments_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_post + """v1_global_ntps_post - Create a new lan-segment scoped to the enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_global_lan_segments_post_request: (required) - :type v1_global_lan_segments_post_request: V1GlobalLanSegmentsPostRequest + :param v1_global_ntps_post_request: (required) + :type v1_global_ntps_post_request: V1GlobalNtpsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84258,9 +85212,9 @@ def v1_global_lan_segments_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_post_serialize( + _param = self._v1_global_ntps_post_serialize( authorization=authorization, - v1_global_lan_segments_post_request=v1_global_lan_segments_post_request, + v1_global_ntps_post_request=v1_global_ntps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84268,7 +85222,7 @@ def v1_global_lan_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsPostResponse", + '200': "V1GlobalNtpsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -84277,10 +85231,10 @@ def v1_global_lan_segments_post_without_preload_content( return response_data.response - def _v1_global_lan_segments_post_serialize( + def _v1_global_ntps_post_serialize( self, authorization, - v1_global_lan_segments_post_request, + v1_global_ntps_post_request, _request_auth, _content_type, _headers, @@ -84308,8 +85262,8 @@ def _v1_global_lan_segments_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_global_lan_segments_post_request is not None: - _body_params = v1_global_lan_segments_post_request + if v1_global_ntps_post_request is not None: + _body_params = v1_global_ntps_post_request # set the HTTP header `Accept` @@ -84341,7 +85295,7 @@ def _v1_global_lan_segments_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/global/lan-segments', + resource_path='/v1/global/ntps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -84358,10 +85312,9 @@ def _v1_global_lan_segments_post_serialize( @validate_call - def v1_global_lan_segments_vrf_id_devices_get( + def v1_global_ntps_site_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84374,15 +85327,13 @@ def v1_global_lan_segments_vrf_id_devices_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalLanSegmentsVrfIdDevicesGetResponse: - """v1_global_lan_segments_vrf_id_devices_get + ) -> V1GlobalNtpsSiteGetResponse: + """v1_global_ntps_site_get - Get a list of lan-segment devices under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84405,9 +85356,8 @@ def v1_global_lan_segments_vrf_id_devices_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84415,7 +85365,7 @@ def v1_global_lan_segments_vrf_id_devices_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84429,10 +85379,9 @@ def v1_global_lan_segments_vrf_id_devices_get( @validate_call - def v1_global_lan_segments_vrf_id_devices_get_with_http_info( + def v1_global_ntps_site_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84445,15 +85394,13 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalLanSegmentsVrfIdDevicesGetResponse]: - """v1_global_lan_segments_vrf_id_devices_get + ) -> ApiResponse[V1GlobalNtpsSiteGetResponse]: + """v1_global_ntps_site_get - Get a list of lan-segment devices under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84476,9 +85423,8 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84486,7 +85432,7 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84500,10 +85446,9 @@ def v1_global_lan_segments_vrf_id_devices_get_with_http_info( @validate_call - def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( + def v1_global_ntps_site_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - vrf_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -84517,14 +85462,12 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_global_lan_segments_vrf_id_devices_get + """v1_global_ntps_site_get - Get a list of lan-segment devices under the currently logged in enterprise + Get configured global ntps :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param vrf_id: (required) - :type vrf_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -84547,9 +85490,8 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_global_lan_segments_vrf_id_devices_get_serialize( + _param = self._v1_global_ntps_site_get_serialize( authorization=authorization, - vrf_id=vrf_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -84557,7 +85499,7 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1GlobalLanSegmentsVrfIdDevicesGetResponse", + '200': "V1GlobalNtpsSiteGetResponse", } response_data = self.api_client.call_api( *_param, @@ -84566,10 +85508,9 @@ def v1_global_lan_segments_vrf_id_devices_get_without_preload_content( return response_data.response - def _v1_global_lan_segments_vrf_id_devices_get_serialize( + def _v1_global_ntps_site_get_serialize( self, authorization, - vrf_id, _request_auth, _content_type, _headers, @@ -84591,8 +85532,6 @@ def _v1_global_lan_segments_vrf_id_devices_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if vrf_id is not None: - _path_params['vrfId'] = vrf_id # process the query parameters # process the header parameters if authorization is not None: @@ -84617,7 +85556,7 @@ def _v1_global_lan_segments_vrf_id_devices_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/global/lan-segments/{vrfId}/devices', + resource_path='/v1/global/ntps/site', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -86533,7 +87472,7 @@ def v1_global_site_lists_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GlobalSiteListsIdDeleteResponse: + ) -> None: """v1_global_site_lists_id_delete Delete a site list @@ -86574,7 +87513,7 @@ def v1_global_site_lists_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalSiteListsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86604,7 +87543,7 @@ def v1_global_site_lists_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GlobalSiteListsIdDeleteResponse]: + ) -> ApiResponse[None]: """v1_global_site_lists_id_delete Delete a site list @@ -86645,7 +87584,7 @@ def v1_global_site_lists_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalSiteListsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86716,7 +87655,7 @@ def v1_global_site_lists_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GlobalSiteListsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -86760,13 +87699,6 @@ def _v1_global_site_lists_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -91748,7 +92680,7 @@ def v1_groups_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdDeleteResponse: + ) -> None: """v1_groups_id_delete Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. @@ -91789,7 +92721,7 @@ def v1_groups_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -91819,7 +92751,7 @@ def v1_groups_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdDeleteResponse]: + ) -> ApiResponse[None]: """v1_groups_id_delete Delete a group and remove all member associations and enterprise relationships. Replace with a different group if specified. @@ -91860,7 +92792,7 @@ def v1_groups_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -91931,7 +92863,7 @@ def v1_groups_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -91975,13 +92907,6 @@ def _v1_groups_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -92025,7 +92950,7 @@ def v1_groups_id_enterprises_enterprise_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdEnterprisesEnterpriseIdDeleteResponse: + ) -> None: """v1_groups_id_enterprises_enterprise_id_delete Remove group's association with a specific enterprise, revoking cross-enterprise access. @@ -92069,7 +92994,7 @@ def v1_groups_id_enterprises_enterprise_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdEnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92100,7 +93025,7 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdEnterprisesEnterpriseIdDeleteResponse]: + ) -> ApiResponse[None]: """v1_groups_id_enterprises_enterprise_id_delete Remove group's association with a specific enterprise, revoking cross-enterprise access. @@ -92144,7 +93069,7 @@ def v1_groups_id_enterprises_enterprise_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdEnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92219,7 +93144,7 @@ def v1_groups_id_enterprises_enterprise_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdEnterprisesEnterpriseIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92266,13 +93191,6 @@ def _v1_groups_id_enterprises_enterprise_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -92316,7 +93234,7 @@ def v1_groups_id_enterprises_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_groups_id_enterprises_post Associate group with additional enterprises to enable cross-enterprise access and management. @@ -92360,7 +93278,7 @@ def v1_groups_id_enterprises_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92391,7 +93309,7 @@ def v1_groups_id_enterprises_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_groups_id_enterprises_post Associate group with additional enterprises to enable cross-enterprise access and management. @@ -92435,7 +93353,7 @@ def v1_groups_id_enterprises_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92510,7 +93428,7 @@ def v1_groups_id_enterprises_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92557,13 +93475,6 @@ def _v1_groups_id_enterprises_post_serialize( _body_params = v1_groups_id_enterprises_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -92896,7 +93807,7 @@ def v1_groups_id_members_delete_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdMembersDeletePostResponse: + ) -> None: """v1_groups_id_members_delete_post Remove multiple users from a group by their member IDs. @@ -92940,7 +93851,7 @@ def v1_groups_id_members_delete_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersDeletePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -92971,7 +93882,7 @@ def v1_groups_id_members_delete_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdMembersDeletePostResponse]: + ) -> ApiResponse[None]: """v1_groups_id_members_delete_post Remove multiple users from a group by their member IDs. @@ -93015,7 +93926,7 @@ def v1_groups_id_members_delete_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersDeletePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93090,7 +94001,7 @@ def v1_groups_id_members_delete_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersDeletePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93137,13 +94048,6 @@ def _v1_groups_id_members_delete_post_serialize( _body_params = v1_groups_id_members_delete_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -93476,7 +94380,7 @@ def v1_groups_id_members_member_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdMembersMemberIdDeleteResponse: + ) -> None: """v1_groups_id_members_member_id_delete Remove a specific user from a group by member ID. @@ -93520,7 +94424,7 @@ def v1_groups_id_members_member_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersMemberIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93551,7 +94455,7 @@ def v1_groups_id_members_member_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdMembersMemberIdDeleteResponse]: + ) -> ApiResponse[None]: """v1_groups_id_members_member_id_delete Remove a specific user from a group by member ID. @@ -93595,7 +94499,7 @@ def v1_groups_id_members_member_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersMemberIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93670,7 +94574,7 @@ def v1_groups_id_members_member_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersMemberIdDeleteResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93717,13 +94621,6 @@ def _v1_groups_id_members_member_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -93767,7 +94664,7 @@ def v1_groups_id_members_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdMembersPostResponse: + ) -> None: """v1_groups_id_members_post Add multiple users to a group by their global IDs. @@ -93811,7 +94708,7 @@ def v1_groups_id_members_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93842,7 +94739,7 @@ def v1_groups_id_members_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdMembersPostResponse]: + ) -> ApiResponse[None]: """v1_groups_id_members_post Add multiple users to a group by their global IDs. @@ -93886,7 +94783,7 @@ def v1_groups_id_members_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -93961,7 +94858,7 @@ def v1_groups_id_members_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdMembersPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94008,13 +94905,6 @@ def _v1_groups_id_members_post_serialize( _body_params = v1_groups_id_members_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -94071,7 +94961,7 @@ def v1_groups_id_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1GroupsIdPatchResponse: + ) -> None: """v1_groups_id_patch Update group information. @@ -94115,7 +95005,7 @@ def v1_groups_id_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94146,7 +95036,7 @@ def v1_groups_id_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1GroupsIdPatchResponse]: + ) -> ApiResponse[None]: """v1_groups_id_patch Update group information. @@ -94190,7 +95080,7 @@ def v1_groups_id_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94265,7 +95155,7 @@ def v1_groups_id_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "V1GroupsIdPatchResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94312,13 +95202,6 @@ def _v1_groups_id_patch_serialize( _body_params = v1_groups_id_patch_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -94374,7 +95257,7 @@ def v1_groups_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_groups_put Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). @@ -94415,7 +95298,7 @@ def v1_groups_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94445,7 +95328,7 @@ def v1_groups_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_groups_put Create a new group with and set permissions. Set group's enterprise management capabilities (msp only). @@ -94486,7 +95369,7 @@ def v1_groups_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94557,7 +95440,7 @@ def v1_groups_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -94601,13 +95484,6 @@ def _v1_groups_put_serialize( _body_params = v1_groups_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -94925,7 +95801,7 @@ def v1_id_password_recover_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_id_password_recover_patch Initiate password recovery for specific user (Graphiant cloud only). @@ -94969,7 +95845,7 @@ def v1_id_password_recover_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -95000,7 +95876,7 @@ def v1_id_password_recover_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_id_password_recover_patch Initiate password recovery for specific user (Graphiant cloud only). @@ -95044,7 +95920,7 @@ def v1_id_password_recover_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -95119,7 +95995,7 @@ def v1_id_password_recover_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -95166,13 +96042,6 @@ def _v1_id_password_recover_patch_serialize( _body_params = body - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -98873,7 +99742,7 @@ def v1_onboarding_cloudinit_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_onboarding_cloudinit_delete Delete the onboarding token @@ -98911,7 +99780,7 @@ def v1_onboarding_cloudinit_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -98940,7 +99809,7 @@ def v1_onboarding_cloudinit_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_onboarding_cloudinit_delete Delete the onboarding token @@ -98978,7 +99847,7 @@ def v1_onboarding_cloudinit_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -99045,7 +99914,7 @@ def v1_onboarding_cloudinit_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -99086,13 +99955,6 @@ def _v1_onboarding_cloudinit_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -99946,7 +100808,7 @@ def v1_policy_prefix_sets_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_policy_prefix_sets_id_delete Delete a prefix-set @@ -99987,7 +100849,7 @@ def v1_policy_prefix_sets_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -100017,7 +100879,7 @@ def v1_policy_prefix_sets_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_policy_prefix_sets_id_delete Delete a prefix-set @@ -100058,7 +100920,7 @@ def v1_policy_prefix_sets_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -100129,7 +100991,7 @@ def v1_policy_prefix_sets_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -100173,13 +101035,6 @@ def _v1_policy_prefix_sets_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -103524,7 +104379,7 @@ def v1_portal_private_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_portal_private_post @@ -103564,7 +104419,7 @@ def v1_portal_private_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -103594,7 +104449,7 @@ def v1_portal_private_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_portal_private_post @@ -103634,7 +104489,7 @@ def v1_portal_private_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -103704,7 +104559,7 @@ def v1_portal_private_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -103748,13 +104603,6 @@ def _v1_portal_private_post_serialize( _body_params = v1_portal_private_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -103810,7 +104658,7 @@ def v1_portal_private_register_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_portal_private_register_post @@ -103850,7 +104698,7 @@ def v1_portal_private_register_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -103880,7 +104728,7 @@ def v1_portal_private_register_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_portal_private_register_post @@ -103920,7 +104768,7 @@ def v1_portal_private_register_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -103990,7 +104838,7 @@ def v1_portal_private_register_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -104034,13 +104882,6 @@ def _v1_portal_private_register_post_serialize( _body_params = v1_portal_private_register_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -104096,7 +104937,7 @@ def v1_portal_private_sync_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_portal_private_sync_post @@ -104136,7 +104977,7 @@ def v1_portal_private_sync_post( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -104166,7 +105007,7 @@ def v1_portal_private_sync_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_portal_private_sync_post @@ -104206,7 +105047,7 @@ def v1_portal_private_sync_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -104276,7 +105117,7 @@ def v1_portal_private_sync_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -104320,13 +105161,6 @@ def _v1_portal_private_sync_post_serialize( _body_params = v1_portal_private_sync_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -107109,7 +107943,7 @@ def v1_sites_site_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_sites_site_id_delete Delete a site @@ -107150,7 +107984,7 @@ def v1_sites_site_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107180,7 +108014,7 @@ def v1_sites_site_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_sites_site_id_delete Delete a site @@ -107221,7 +108055,7 @@ def v1_sites_site_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107292,7 +108126,7 @@ def v1_sites_site_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -107336,13 +108170,6 @@ def _v1_sites_site_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -108223,7 +109050,7 @@ def v1_software_auto_upgrade_default_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_software_auto_upgrade_default_put @@ -108263,7 +109090,7 @@ def v1_software_auto_upgrade_default_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -108293,7 +109120,7 @@ def v1_software_auto_upgrade_default_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_software_auto_upgrade_default_put @@ -108333,7 +109160,7 @@ def v1_software_auto_upgrade_default_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -108403,7 +109230,7 @@ def v1_software_auto_upgrade_default_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -108447,13 +109274,6 @@ def _v1_software_auto_upgrade_default_put_serialize( _body_params = v1_software_auto_upgrade_default_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -114043,7 +114863,7 @@ def v1_users_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_users_id_delete Delete user account. @@ -114084,7 +114904,7 @@ def v1_users_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114114,7 +114934,7 @@ def v1_users_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_users_id_delete Delete user account. @@ -114155,7 +114975,7 @@ def v1_users_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114226,7 +115046,7 @@ def v1_users_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114270,13 +115090,6 @@ def _v1_users_id_delete_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -115424,7 +116237,7 @@ def v1_users_id_verify_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_users_id_verify_patch Resend account verification email to user. @@ -115468,7 +116281,7 @@ def v1_users_id_verify_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115499,7 +116312,7 @@ def v1_users_id_verify_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_users_id_verify_patch Resend account verification email to user. @@ -115543,7 +116356,7 @@ def v1_users_id_verify_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115618,7 +116431,7 @@ def v1_users_id_verify_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115665,13 +116478,6 @@ def _v1_users_id_verify_patch_serialize( _body_params = body - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -115727,7 +116533,7 @@ def v1_users_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: + ) -> None: """v1_users_put Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. @@ -115768,7 +116574,7 @@ def v1_users_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115798,7 +116604,7 @@ def v1_users_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: + ) -> ApiResponse[None]: """v1_users_put Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. @@ -115839,7 +116645,7 @@ def v1_users_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115910,7 +116716,7 @@ def v1_users_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': "object", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -115954,13 +116760,6 @@ def _v1_users_put_serialize( _body_params = v1_users_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -136615,6 +137414,8 @@ def _v2_monitoring_circuits_visualization_post_serialize( def v2_monitoring_extranet_edge_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136630,9 +137431,14 @@ def v2_monitoring_extranet_edge_status_get( ) -> V2MonitoringExtranetEdgeStatusGetResponse: """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136657,6 +137463,8 @@ def v2_monitoring_extranet_edge_status_get( _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136681,6 +137489,8 @@ def v2_monitoring_extranet_edge_status_get( def v2_monitoring_extranet_edge_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136696,9 +137506,14 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( ) -> ApiResponse[V2MonitoringExtranetEdgeStatusGetResponse]: """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136723,6 +137538,8 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136747,6 +137564,8 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( def v2_monitoring_extranet_edge_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136762,9 +137581,14 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136789,6 +137613,8 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136808,6 +137634,8 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( def _v2_monitoring_extranet_edge_status_get_serialize( self, authorization, + id, + is_provider, _request_auth, _content_type, _headers, @@ -136830,6 +137658,14 @@ def _v2_monitoring_extranet_edge_status_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -136889,6 +137725,7 @@ def v2_monitoring_extranet_log_details_post( ) -> V2MonitoringExtranetLogDetailsPostResponse: """v2_monitoring_extranet_log_details_post + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -136959,6 +137796,7 @@ def v2_monitoring_extranet_log_details_post_with_http_info( ) -> ApiResponse[V2MonitoringExtranetLogDetailsPostResponse]: """v2_monitoring_extranet_log_details_post + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -137029,6 +137867,7 @@ def v2_monitoring_extranet_log_details_post_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_log_details_post + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -137159,6 +137998,8 @@ def _v2_monitoring_extranet_log_details_post_serialize( def v2_monitoring_extranet_service_status_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137174,9 +138015,14 @@ def v2_monitoring_extranet_service_status_details_get( ) -> V2MonitoringExtranetServiceStatusDetailsGetResponse: """v2_monitoring_extranet_service_status_details_get + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137201,6 +138047,8 @@ def v2_monitoring_extranet_service_status_details_get( _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137225,6 +138073,8 @@ def v2_monitoring_extranet_service_status_details_get( def v2_monitoring_extranet_service_status_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137240,9 +138090,14 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( ) -> ApiResponse[V2MonitoringExtranetServiceStatusDetailsGetResponse]: """v2_monitoring_extranet_service_status_details_get + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137267,6 +138122,8 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137291,6 +138148,8 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( def v2_monitoring_extranet_service_status_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137306,9 +138165,14 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_service_status_details_get + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137333,6 +138197,8 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137352,6 +138218,8 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( def _v2_monitoring_extranet_service_status_details_get_serialize( self, authorization, + id, + is_provider, _request_auth, _content_type, _headers, @@ -137374,6 +138242,14 @@ def _v2_monitoring_extranet_service_status_details_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -137417,6 +138293,8 @@ def _v2_monitoring_extranet_service_status_details_get_serialize( def v2_monitoring_extranet_service_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137432,9 +138310,14 @@ def v2_monitoring_extranet_service_status_get( ) -> V2MonitoringExtranetServiceStatusGetResponse: """v2_monitoring_extranet_service_status_get + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137459,6 +138342,8 @@ def v2_monitoring_extranet_service_status_get( _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137483,6 +138368,8 @@ def v2_monitoring_extranet_service_status_get( def v2_monitoring_extranet_service_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137498,9 +138385,14 @@ def v2_monitoring_extranet_service_status_get_with_http_info( ) -> ApiResponse[V2MonitoringExtranetServiceStatusGetResponse]: """v2_monitoring_extranet_service_status_get + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137525,6 +138417,8 @@ def v2_monitoring_extranet_service_status_get_with_http_info( _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137549,6 +138443,8 @@ def v2_monitoring_extranet_service_status_get_with_http_info( def v2_monitoring_extranet_service_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137564,9 +138460,14 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_service_status_get + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137591,6 +138492,8 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137610,6 +138513,8 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( def _v2_monitoring_extranet_service_status_get_serialize( self, authorization, + id, + is_provider, _request_auth, _content_type, _headers, @@ -137632,6 +138537,14 @@ def _v2_monitoring_extranet_service_status_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -137675,6 +138588,8 @@ def _v2_monitoring_extranet_service_status_get_serialize( def v2_monitoring_extranet_site_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137690,9 +138605,14 @@ def v2_monitoring_extranet_site_status_get( ) -> V2MonitoringExtranetSiteStatusGetResponse: """v2_monitoring_extranet_site_status_get + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137717,6 +138637,8 @@ def v2_monitoring_extranet_site_status_get( _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137741,6 +138663,8 @@ def v2_monitoring_extranet_site_status_get( def v2_monitoring_extranet_site_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137756,9 +138680,14 @@ def v2_monitoring_extranet_site_status_get_with_http_info( ) -> ApiResponse[V2MonitoringExtranetSiteStatusGetResponse]: """v2_monitoring_extranet_site_status_get + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137783,6 +138712,8 @@ def v2_monitoring_extranet_site_status_get_with_http_info( _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137807,6 +138738,8 @@ def v2_monitoring_extranet_site_status_get_with_http_info( def v2_monitoring_extranet_site_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137822,9 +138755,14 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_site_status_get + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137849,6 +138787,8 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137868,6 +138808,8 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( def _v2_monitoring_extranet_site_status_get_serialize( self, authorization, + id, + is_provider, _request_auth, _content_type, _headers, @@ -137890,6 +138832,14 @@ def _v2_monitoring_extranet_site_status_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -137933,6 +138883,10 @@ def _v2_monitoring_extranet_site_status_get_serialize( def v2_monitoring_extranet_status_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137948,9 +138902,18 @@ def v2_monitoring_extranet_status_details_get( ) -> V2MonitoringExtranetStatusDetailsGetResponse: """v2_monitoring_extranet_status_details_get + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137975,6 +138938,10 @@ def v2_monitoring_extranet_status_details_get( _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137999,6 +138966,10 @@ def v2_monitoring_extranet_status_details_get( def v2_monitoring_extranet_status_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138014,9 +138985,18 @@ def v2_monitoring_extranet_status_details_get_with_http_info( ) -> ApiResponse[V2MonitoringExtranetStatusDetailsGetResponse]: """v2_monitoring_extranet_status_details_get + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138041,6 +139021,10 @@ def v2_monitoring_extranet_status_details_get_with_http_info( _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138065,6 +139049,10 @@ def v2_monitoring_extranet_status_details_get_with_http_info( def v2_monitoring_extranet_status_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138080,9 +139068,18 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( ) -> RESTResponseType: """v2_monitoring_extranet_status_details_get + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138107,6 +139104,10 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, + id=id, + is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138126,6 +139127,10 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( def _v2_monitoring_extranet_status_details_get_serialize( self, authorization, + id, + is_provider, + server_address, + site_id, _request_auth, _content_type, _headers, @@ -138148,6 +139153,22 @@ def _v2_monitoring_extranet_status_details_get_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + + if server_address is not None: + + _query_params.append(('serverAddress', server_address)) + + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization diff --git a/graphiant_sdk/models/__init__.py b/graphiant_sdk/models/__init__.py index 33d611bb..285e41a2 100644 --- a/graphiant_sdk/models/__init__.py +++ b/graphiant_sdk/models/__init__.py @@ -121,6 +121,7 @@ from graphiant_sdk.models.iam_counts import IamCounts from graphiant_sdk.models.iam_customer import IamCustomer from graphiant_sdk.models.iam_enterprise import IamEnterprise +from graphiant_sdk.models.iam_enterprise_permissions import IamEnterprisePermissions from graphiant_sdk.models.iam_group import IamGroup from graphiant_sdk.models.ipfix_app_bandwidth_stats import IpfixAppBandwidthStats from graphiant_sdk.models.ipfix_app_flow_table import IpfixAppFlowTable @@ -335,6 +336,8 @@ from graphiant_sdk.models.mana_v2_new_site import ManaV2NewSite from graphiant_sdk.models.mana_v2_notify_filter_profile_include import ManaV2NotifyFilterProfileInclude from graphiant_sdk.models.mana_v2_notify_filter_profile_include_config import ManaV2NotifyFilterProfileIncludeConfig +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp +from graphiant_sdk.models.mana_v2_ntp_config import ManaV2NtpConfig from graphiant_sdk.models.mana_v2_nullable_address import ManaV2NullableAddress from graphiant_sdk.models.mana_v2_nullable_administrative_distance import ManaV2NullableAdministrativeDistance from graphiant_sdk.models.mana_v2_nullable_allow_as_in import ManaV2NullableAllowAsIn @@ -389,6 +392,7 @@ from graphiant_sdk.models.mana_v2_nullable_metric import ManaV2NullableMetric from graphiant_sdk.models.mana_v2_nullable_nat_policy_ruleset_config import ManaV2NullableNatPolicyRulesetConfig from graphiant_sdk.models.mana_v2_nullable_nat_policy_ruleset_name import ManaV2NullableNatPolicyRulesetName +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_ospf_admin_distance_value import ManaV2NullableOspfAdminDistanceValue from graphiant_sdk.models.mana_v2_nullable_ospf_area_config import ManaV2NullableOspfAreaConfig from graphiant_sdk.models.mana_v2_nullable_ospf_dead_interval_value import ManaV2NullableOspfDeadIntervalValue @@ -723,7 +727,6 @@ from graphiant_sdk.models.v1_account_info_patch_request import V1AccountInfoPatchRequest from graphiant_sdk.models.v1_account_mfa_confirmation_post_request import V1AccountMfaConfirmationPostRequest from graphiant_sdk.models.v1_account_mfa_confirmation_post_response import V1AccountMfaConfirmationPostResponse -from graphiant_sdk.models.v1_account_mfa_delete_request import V1AccountMfaDeleteRequest from graphiant_sdk.models.v1_account_mfa_get_response import V1AccountMfaGetResponse from graphiant_sdk.models.v1_account_mfa_put_request import V1AccountMfaPutRequest from graphiant_sdk.models.v1_account_mfa_put_response import V1AccountMfaPutResponse @@ -731,10 +734,8 @@ from graphiant_sdk.models.v1_activity_logs_post_request import V1ActivityLogsPostRequest from graphiant_sdk.models.v1_activity_logs_post_response import V1ActivityLogsPostResponse from graphiant_sdk.models.v1_activity_logs_post_response_activity_items import V1ActivityLogsPostResponseActivityItems -from graphiant_sdk.models.v1_alarm_history_get_request import V1AlarmHistoryGetRequest from graphiant_sdk.models.v1_alarm_history_get_response import V1AlarmHistoryGetResponse from graphiant_sdk.models.v1_alarm_mute_alarm_id_put_request import V1AlarmMuteAlarmIdPutRequest -from graphiant_sdk.models.v1_alarms_events_get_request import V1AlarmsEventsGetRequest from graphiant_sdk.models.v1_alarms_events_get_response import V1AlarmsEventsGetResponse from graphiant_sdk.models.v1_alarms_list_get_response import V1AlarmsListGetResponse from graphiant_sdk.models.v1_apps_app_summary_post_request import V1AppsAppSummaryPostRequest @@ -749,7 +750,6 @@ from graphiant_sdk.models.v1_apps_visualization_post_response import V1AppsVisualizationPostResponse from graphiant_sdk.models.v1_audit_logs_post_request import V1AuditLogsPostRequest from graphiant_sdk.models.v1_audit_logs_post_response import V1AuditLogsPostResponse -from graphiant_sdk.models.v1_auth_delete_response import V1AuthDeleteResponse from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse @@ -766,9 +766,7 @@ from graphiant_sdk.models.v1_auth_mfa_types_get_response import V1AuthMfaTypesGetResponse from graphiant_sdk.models.v1_auth_mfa_types_put_request import V1AuthMfaTypesPutRequest from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest -from graphiant_sdk.models.v1_auth_patch_response import V1AuthPatchResponse from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest -from graphiant_sdk.models.v1_auth_put_response import V1AuthPutResponse from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response @@ -854,48 +852,28 @@ from graphiant_sdk.models.v1_data_assurance_assurances_global_post_response import V1DataAssuranceAssurancesGlobalPostResponse from graphiant_sdk.models.v1_data_assurance_flex_algos_get_response import V1DataAssuranceFlexAlgosGetResponse from graphiant_sdk.models.v1_data_assurance_flex_algos_get_response_entry import V1DataAssuranceFlexAlgosGetResponseEntry -from graphiant_sdk.models.v1_device_routing_bgp_nbr_stats_get_request import V1DeviceRoutingBgpNbrStatsGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbr_stats_get_response import V1DeviceRoutingBgpNbrStatsGetResponse -from graphiant_sdk.models.v1_device_routing_bgp_nbrid_get_request import V1DeviceRoutingBgpNbridGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbrid_get_response import V1DeviceRoutingBgpNbridGetResponse -from graphiant_sdk.models.v1_device_routing_bgp_nbrs_counters_get_request import V1DeviceRoutingBgpNbrsCountersGetRequest from graphiant_sdk.models.v1_device_routing_bgp_nbrs_counters_get_response import V1DeviceRoutingBgpNbrsCountersGetResponse from graphiant_sdk.models.v1_device_routing_bgp_nbrs_details_get_response import V1DeviceRoutingBgpNbrsDetailsGetResponse from graphiant_sdk.models.v1_device_routing_bgp_nbrs_per_afi_prefix_get_response import V1DeviceRoutingBgpNbrsPerAfiPrefixGetResponse -from graphiant_sdk.models.v1_device_routing_odp_nbrid_get_request import V1DeviceRoutingOdpNbridGetRequest from graphiant_sdk.models.v1_device_routing_odp_nbrid_get_response import V1DeviceRoutingOdpNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_get_request import V1DeviceRoutingOspfv2AreaInterfaceGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_get_response import V1DeviceRoutingOspfv2AreaInterfaceGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_nbrid_get_request import V1DeviceRoutingOspfv2AreaInterfaceNbridGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interface_nbrid_get_response import V1DeviceRoutingOspfv2AreaInterfaceNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_interfaceid_get_request import V1DeviceRoutingOspfv2AreaInterfaceidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_interfaceid_get_response import V1DeviceRoutingOspfv2AreaInterfaceidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_lsdb_get_request import V1DeviceRoutingOspfv2AreaLsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_lsdb_get_response import V1DeviceRoutingOspfv2AreaLsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_area_nbr_get_request import V1DeviceRoutingOspfv2AreaNbrGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_area_nbr_get_response import V1DeviceRoutingOspfv2AreaNbrGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_areaid_get_request import V1DeviceRoutingOspfv2AreaidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_areaid_get_response import V1DeviceRoutingOspfv2AreaidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_lsdb_get_request import V1DeviceRoutingOspfv2LsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_lsdb_get_response import V1DeviceRoutingOspfv2LsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv2_rib_get_request import V1DeviceRoutingOspfv2RibGetRequest from graphiant_sdk.models.v1_device_routing_ospfv2_rib_get_response import V1DeviceRoutingOspfv2RibGetResponse from graphiant_sdk.models.v1_device_routing_ospfv2_statistics_get_response import V1DeviceRoutingOspfv2StatisticsGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_get_request import V1DeviceRoutingOspfv3AreaInterfaceGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_get_response import V1DeviceRoutingOspfv3AreaInterfaceGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_nbrid_get_request import V1DeviceRoutingOspfv3AreaInterfaceNbridGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interface_nbrid_get_response import V1DeviceRoutingOspfv3AreaInterfaceNbridGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_interfaceid_get_request import V1DeviceRoutingOspfv3AreaInterfaceidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_interfaceid_get_response import V1DeviceRoutingOspfv3AreaInterfaceidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_lsdb_get_request import V1DeviceRoutingOspfv3AreaLsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_lsdb_get_response import V1DeviceRoutingOspfv3AreaLsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_area_nbr_get_request import V1DeviceRoutingOspfv3AreaNbrGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_area_nbr_get_response import V1DeviceRoutingOspfv3AreaNbrGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_areaid_get_request import V1DeviceRoutingOspfv3AreaidGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_areaid_get_response import V1DeviceRoutingOspfv3AreaidGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_lsdb_get_request import V1DeviceRoutingOspfv3LsdbGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_lsdb_get_response import V1DeviceRoutingOspfv3LsdbGetResponse -from graphiant_sdk.models.v1_device_routing_ospfv3_rib_get_request import V1DeviceRoutingOspfv3RibGetRequest from graphiant_sdk.models.v1_device_routing_ospfv3_rib_get_response import V1DeviceRoutingOspfv3RibGetResponse from graphiant_sdk.models.v1_device_routing_ospfv3_statistics_get_response import V1DeviceRoutingOspfv3StatisticsGetResponse from graphiant_sdk.models.v1_device_routing_rib_route_count_post_response import V1DeviceRoutingRibRouteCountPostResponse @@ -906,7 +884,6 @@ from graphiant_sdk.models.v1_device_routing_vrf_bgp_route_count_post_response import V1DeviceRoutingVrfBgpRouteCountPostResponse from graphiant_sdk.models.v1_device_routing_vrf_bgp_route_count_post_response_route_count import V1DeviceRoutingVrfBgpRouteCountPostResponseRouteCount from graphiant_sdk.models.v1_device_snapshot_device_id_get_response import V1DeviceSnapshotDeviceIdGetResponse -from graphiant_sdk.models.v1_device_snapshot_get_request import V1DeviceSnapshotGetRequest from graphiant_sdk.models.v1_device_snapshot_get_response import V1DeviceSnapshotGetResponse from graphiant_sdk.models.v1_device_snapshot_post_request import V1DeviceSnapshotPostRequest from graphiant_sdk.models.v1_device_snapshot_put_request import V1DeviceSnapshotPutRequest @@ -922,7 +899,6 @@ from graphiant_sdk.models.v1_devices_device_id_arp_get_response import V1DevicesDeviceIdArpGetResponse from graphiant_sdk.models.v1_devices_device_id_candidate_circuits_get_response import V1DevicesDeviceIdCandidateCircuitsGetResponse from graphiant_sdk.models.v1_devices_device_id_candidate_circuits_get_response_circuit_info import V1DevicesDeviceIdCandidateCircuitsGetResponseCircuitInfo -from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_request import V1DevicesDeviceIdCircuitsVrfAssociationsGetRequest from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_response import V1DevicesDeviceIdCircuitsVrfAssociationsGetResponse from graphiant_sdk.models.v1_devices_device_id_circuits_vrf_associations_get_response_vrf_associations import V1DevicesDeviceIdCircuitsVrfAssociationsGetResponseVrfAssociations from graphiant_sdk.models.v1_devices_device_id_config_put_request import V1DevicesDeviceIdConfigPutRequest @@ -933,43 +909,31 @@ from graphiant_sdk.models.v1_devices_device_id_draft_get_response import V1DevicesDeviceIdDraftGetResponse from graphiant_sdk.models.v1_devices_device_id_draft_post_request import V1DevicesDeviceIdDraftPostRequest from graphiant_sdk.models.v1_devices_device_id_draft_post_response import V1DevicesDeviceIdDraftPostResponse -from graphiant_sdk.models.v1_devices_device_id_edges_get_request import V1DevicesDeviceIdEdgesGetRequest from graphiant_sdk.models.v1_devices_device_id_edges_get_response import V1DevicesDeviceIdEdgesGetResponse from graphiant_sdk.models.v1_devices_device_id_get_response import V1DevicesDeviceIdGetResponse -from graphiant_sdk.models.v1_devices_device_id_interfaces_get_request import V1DevicesDeviceIdInterfacesGetRequest from graphiant_sdk.models.v1_devices_device_id_interfaces_get_response import V1DevicesDeviceIdInterfacesGetResponse from graphiant_sdk.models.v1_devices_device_id_jobs_job_id_get_response import V1DevicesDeviceIdJobsJobIdGetResponse from graphiant_sdk.models.v1_devices_device_id_ndcache_get_response import V1DevicesDeviceIdNdcacheGetResponse -from graphiant_sdk.models.v1_devices_device_id_ospfv2_default_originate_get_request import V1DevicesDeviceIdOspfv2DefaultOriginateGetRequest from graphiant_sdk.models.v1_devices_device_id_ospfv2_default_originate_get_response import V1DevicesDeviceIdOspfv2DefaultOriginateGetResponse -from graphiant_sdk.models.v1_devices_device_id_ospfv3_default_originate_get_request import V1DevicesDeviceIdOspfv3DefaultOriginateGetRequest from graphiant_sdk.models.v1_devices_device_id_ospfv3_default_originate_get_response import V1DevicesDeviceIdOspfv3DefaultOriginateGetResponse -from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_request import V1DevicesDeviceIdPolicyApplicationsGetRequest from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_response import V1DevicesDeviceIdPolicyApplicationsGetResponse from graphiant_sdk.models.v1_devices_device_id_policy_applications_get_response_application import V1DevicesDeviceIdPolicyApplicationsGetResponseApplication -from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_request import V1DevicesDeviceIdPolicyCustomapplicationsGetRequest from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_response import V1DevicesDeviceIdPolicyCustomapplicationsGetResponse from graphiant_sdk.models.v1_devices_device_id_policy_customapplications_get_response_application import V1DevicesDeviceIdPolicyCustomapplicationsGetResponseApplication from graphiant_sdk.models.v1_devices_device_id_policy_zonepairs_get_response import V1DevicesDeviceIdPolicyZonepairsGetResponse from graphiant_sdk.models.v1_devices_device_id_slice_peers_get_response import V1DevicesDeviceIdSlicePeersGetResponse from graphiant_sdk.models.v1_devices_device_id_staged_config_compare_get_response import V1DevicesDeviceIdStagedConfigCompareGetResponse from graphiant_sdk.models.v1_devices_device_id_twamp_core_get_response import V1DevicesDeviceIdTwampCoreGetResponse -from graphiant_sdk.models.v1_devices_device_id_versions_compare_get_request import V1DevicesDeviceIdVersionsCompareGetRequest from graphiant_sdk.models.v1_devices_device_id_versions_compare_get_response import V1DevicesDeviceIdVersionsCompareGetResponse from graphiant_sdk.models.v1_devices_device_id_versions_get_response import V1DevicesDeviceIdVersionsGetResponse from graphiant_sdk.models.v1_devices_device_id_versions_version_get_response import V1DevicesDeviceIdVersionsVersionGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrf_bgp_as_get_request import V1DevicesDeviceIdVrfBgpAsGetRequest from graphiant_sdk.models.v1_devices_device_id_vrf_bgp_as_get_response import V1DevicesDeviceIdVrfBgpAsGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrf_protocols_get_request import V1DevicesDeviceIdVrfProtocolsGetRequest from graphiant_sdk.models.v1_devices_device_id_vrf_protocols_get_response import V1DevicesDeviceIdVrfProtocolsGetResponse -from graphiant_sdk.models.v1_devices_device_id_vrrp_get_request import V1DevicesDeviceIdVrrpGetRequest from graphiant_sdk.models.v1_devices_device_id_vrrp_get_response import V1DevicesDeviceIdVrrpGetResponse -from graphiant_sdk.models.v1_devices_get_request import V1DevicesGetRequest from graphiant_sdk.models.v1_devices_get_response import V1DevicesGetResponse from graphiant_sdk.models.v1_devices_inventory_approve_return_post_request import V1DevicesInventoryApproveReturnPostRequest from graphiant_sdk.models.v1_devices_inventory_clear_return_post_request import V1DevicesInventoryClearReturnPostRequest from graphiant_sdk.models.v1_devices_inventory_enterprise_put_request import V1DevicesInventoryEnterprisePutRequest -from graphiant_sdk.models.v1_devices_inventory_get_request import V1DevicesInventoryGetRequest from graphiant_sdk.models.v1_devices_inventory_get_response import V1DevicesInventoryGetResponse from graphiant_sdk.models.v1_devices_inventory_post_request import V1DevicesInventoryPostRequest from graphiant_sdk.models.v1_devices_inventory_post_response import V1DevicesInventoryPostResponse @@ -980,7 +944,6 @@ from graphiant_sdk.models.v1_devices_oauth_authorization_get_response import V1DevicesOauthAuthorizationGetResponse from graphiant_sdk.models.v1_devices_oauth_post_request import V1DevicesOauthPostRequest from graphiant_sdk.models.v1_devices_oauth_post_response import V1DevicesOauthPostResponse -from graphiant_sdk.models.v1_devices_oauth_redirect_get_request import V1DevicesOauthRedirectGetRequest from graphiant_sdk.models.v1_devices_oauth_redirect_get_response import V1DevicesOauthRedirectGetResponse from graphiant_sdk.models.v1_devices_rma_post_request import V1DevicesRmaPostRequest from graphiant_sdk.models.v1_devices_routing_vrf_protocol_route_count_get_response import V1DevicesRoutingVrfProtocolRouteCountGetResponse @@ -990,7 +953,6 @@ from graphiant_sdk.models.v1_devices_session_status_post_request import V1DevicesSessionStatusPostRequest from graphiant_sdk.models.v1_devices_session_status_post_response import V1DevicesSessionStatusPostResponse from graphiant_sdk.models.v1_devices_session_status_post_response_data import V1DevicesSessionStatusPostResponseData -from graphiant_sdk.models.v1_devices_summary_get_request import V1DevicesSummaryGetRequest from graphiant_sdk.models.v1_devices_summary_get_response import V1DevicesSummaryGetResponse from graphiant_sdk.models.v1_devices_summary_get_response_site_summary import V1DevicesSummaryGetResponseSiteSummary from graphiant_sdk.models.v1_devices_summary_get_response_site_summary_device_summary import V1DevicesSummaryGetResponseSiteSummaryDeviceSummary @@ -1003,7 +965,6 @@ from graphiant_sdk.models.v1_diagnostic_archives_device_id_get_response import V1DiagnosticArchivesDeviceIdGetResponse from graphiant_sdk.models.v1_diagnostic_bgp_reset_device_id_put_request import V1DiagnosticBgpResetDeviceIdPutRequest from graphiant_sdk.models.v1_diagnostic_clear_arp_device_id_put_request import V1DiagnosticClearArpDeviceIdPutRequest -from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_request import V1DiagnosticGnmiPingGetRequest from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_response import V1DiagnosticGnmiPingGetResponse from graphiant_sdk.models.v1_diagnostic_gnmi_ping_get_response_result import V1DiagnosticGnmiPingGetResponseResult from graphiant_sdk.models.v1_diagnostic_interface_reset_device_id_put_request import V1DiagnosticInterfaceResetDeviceIdPutRequest @@ -1013,7 +974,6 @@ from graphiant_sdk.models.v1_diagnostic_packetcapture_start_post_response import V1DiagnosticPacketcaptureStartPostResponse from graphiant_sdk.models.v1_diagnostic_packetcapture_stop_post_request import V1DiagnosticPacketcaptureStopPostRequest from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_request import V1DiagnosticPingPauseResumePostRequest -from graphiant_sdk.models.v1_diagnostic_ping_pause_resume_post_response import V1DiagnosticPingPauseResumePostResponse from graphiant_sdk.models.v1_diagnostic_ping_post_request import V1DiagnosticPingPostRequest from graphiant_sdk.models.v1_diagnostic_ping_post_response import V1DiagnosticPingPostResponse from graphiant_sdk.models.v1_diagnostic_reboot_device_id_put_request import V1DiagnosticRebootDeviceIdPutRequest @@ -1023,34 +983,28 @@ from graphiant_sdk.models.v1_diagnostic_speedtest_providers_get_response import V1DiagnosticSpeedtestProvidersGetResponse from graphiant_sdk.models.v1_diagnostic_speedtest_report_put_request import V1DiagnosticSpeedtestReportPutRequest from graphiant_sdk.models.v1_diagnostic_speedtest_report_put_response import V1DiagnosticSpeedtestReportPutResponse -from graphiant_sdk.models.v1_diagnostic_speedtest_servers_get_request import V1DiagnosticSpeedtestServersGetRequest from graphiant_sdk.models.v1_diagnostic_speedtest_servers_get_response import V1DiagnosticSpeedtestServersGetResponse from graphiant_sdk.models.v1_diagnostic_traceroute_post_request import V1DiagnosticTraceroutePostRequest from graphiant_sdk.models.v1_diagnostic_traceroute_post_response import V1DiagnosticTraceroutePostResponse -from graphiant_sdk.models.v1_edges_hardware_assigned_get_request import V1EdgesHardwareAssignedGetRequest from graphiant_sdk.models.v1_edges_hardware_assigned_get_response import V1EdgesHardwareAssignedGetResponse from graphiant_sdk.models.v1_edges_hardware_unassigned_get_response import V1EdgesHardwareUnassignedGetResponse -from graphiant_sdk.models.v1_edges_summary_get_request import V1EdgesSummaryGetRequest from graphiant_sdk.models.v1_edges_summary_get_response import V1EdgesSummaryGetResponse -from graphiant_sdk.models.v1_enterprise_allocation_get_request import V1EnterpriseAllocationGetRequest +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest +from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse from graphiant_sdk.models.v1_enterprise_allocation_get_response import V1EnterpriseAllocationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_get_response import V1EnterpriseConfigurationGetResponse from graphiant_sdk.models.v1_enterprise_configuration_put_request import V1EnterpriseConfigurationPutRequest from graphiant_sdk.models.v1_enterprise_contract_put_request import V1EnterpriseContractPutRequest from graphiant_sdk.models.v1_enterprise_snapshot_get_response import V1EnterpriseSnapshotGetResponse from graphiant_sdk.models.v1_enterprises_enterprise_id_admin_get_response import V1EnterprisesEnterpriseIdAdminGetResponse -from graphiant_sdk.models.v1_enterprises_enterprise_id_delete_response import V1EnterprisesEnterpriseIdDeleteResponse -from graphiant_sdk.models.v1_enterprises_enterprise_id_device_status_get_request import V1EnterprisesEnterpriseIdDeviceStatusGetRequest from graphiant_sdk.models.v1_enterprises_enterprise_id_device_status_get_response import V1EnterprisesEnterpriseIdDeviceStatusGetResponse from graphiant_sdk.models.v1_enterprises_get_response import V1EnterprisesGetResponse from graphiant_sdk.models.v1_enterprises_managed_get_response import V1EnterprisesManagedGetResponse from graphiant_sdk.models.v1_enterprises_patch_request import V1EnterprisesPatchRequest from graphiant_sdk.models.v1_enterprises_patch_request_token_expiry import V1EnterprisesPatchRequestTokenExpiry from graphiant_sdk.models.v1_enterprises_put_request import V1EnterprisesPutRequest -from graphiant_sdk.models.v1_enterprises_self_delete_response import V1EnterprisesSelfDeleteResponse -from graphiant_sdk.models.v1_event_device_get_request import V1EventDeviceGetRequest from graphiant_sdk.models.v1_event_device_get_response import V1EventDeviceGetResponse -from graphiant_sdk.models.v1_event_enterprise_get_request import V1EventEnterpriseGetRequest from graphiant_sdk.models.v1_event_enterprise_get_response import V1EventEnterpriseGetResponse from graphiant_sdk.models.v1_event_system_ack_post_request import V1EventSystemAckPostRequest from graphiant_sdk.models.v1_event_system_get_response import V1EventSystemGetResponse @@ -1082,14 +1036,11 @@ from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_request import V1ExtranetsB2bIdCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_id_customer_post_response import V1ExtranetsB2bIdCustomerPostResponse from graphiant_sdk.models.v1_extranets_b2b_id_customer_summary_get_response import V1ExtranetsB2bIdCustomerSummaryGetResponse -from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_request import V1ExtranetsB2bIdProducerGetRequest from graphiant_sdk.models.v1_extranets_b2b_id_producer_get_response import V1ExtranetsB2bIdProducerGetResponse from graphiant_sdk.models.v1_extranets_b2b_id_put_request import V1ExtranetsB2bIdPutRequest from graphiant_sdk.models.v1_extranets_b2b_id_put_response import V1ExtranetsB2bIdPutResponse -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_request import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_customer_id_consumer_details_get_response_ipsec_vpn_tunnel_config import V1ExtranetsB2bPeeringConsumerCustomerIdConsumerDetailsGetResponseIpsecVpnTunnelConfig -from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_request import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_match_details_get_response import V1ExtranetsB2bPeeringConsumerMatchIdMatchDetailsGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_request import V1ExtranetsB2bPeeringConsumerMatchIdPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_consumer_match_id_post_response import V1ExtranetsB2bPeeringConsumerMatchIdPostResponse @@ -1097,7 +1048,7 @@ from graphiant_sdk.models.v1_extranets_b2b_peering_customer_id_get_response import V1ExtranetsB2bPeeringCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_request import V1ExtranetsB2bPeeringCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_customer_post_response import V1ExtranetsB2bPeeringCustomerPostResponse -from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_request import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetRequest +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_get_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdGetResponse from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_request import V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_post_response import V1ExtranetsB2bPeeringMatchServiceToCustomerPostResponse @@ -1109,9 +1060,7 @@ from graphiant_sdk.models.v1_extranets_b2b_post_request import V1ExtranetsB2bPostRequest from graphiant_sdk.models.v1_extranets_b2b_post_response import V1ExtranetsB2bPostResponse from graphiant_sdk.models.v1_extranets_b2b_producer_device_status_id_get_response import V1ExtranetsB2bProducerDeviceStatusIdGetResponse -from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_request import V1ExtranetsB2bProducersSummaryGetRequest from graphiant_sdk.models.v1_extranets_b2b_producers_summary_get_response import V1ExtranetsB2bProducersSummaryGetResponse -from graphiant_sdk.models.v1_extranets_get_request import V1ExtranetsGetRequest from graphiant_sdk.models.v1_extranets_get_response import V1ExtranetsGetResponse from graphiant_sdk.models.v1_extranets_id_apply_post_request import V1ExtranetsIdApplyPostRequest from graphiant_sdk.models.v1_extranets_id_apply_post_response import V1ExtranetsIdApplyPostResponse @@ -1120,10 +1069,8 @@ from graphiant_sdk.models.v1_extranets_id_put_request import V1ExtranetsIdPutRequest from graphiant_sdk.models.v1_extranets_id_put_response import V1ExtranetsIdPutResponse from graphiant_sdk.models.v1_extranets_id_status_get_response import V1ExtranetsIdStatusGetResponse -from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_request import V1ExtranetsMonitoringLanSegmentsGetRequest from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response import V1ExtranetsMonitoringLanSegmentsGetResponse from graphiant_sdk.models.v1_extranets_monitoring_lan_segments_get_response_vrf import V1ExtranetsMonitoringLanSegmentsGetResponseVrf -from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_request import V1ExtranetsMonitoringNatUsageGetRequest from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response import V1ExtranetsMonitoringNatUsageGetResponse from graphiant_sdk.models.v1_extranets_monitoring_nat_usage_get_response_allocation import V1ExtranetsMonitoringNatUsageGetResponseAllocation from graphiant_sdk.models.v1_extranets_monitoring_traffic_security_policy_post_request import V1ExtranetsMonitoringTrafficSecurityPolicyPostRequest @@ -1145,7 +1092,6 @@ from graphiant_sdk.models.v1_gateways_post_request import V1GatewaysPostRequest from graphiant_sdk.models.v1_gateways_post_response import V1GatewaysPostResponse from graphiant_sdk.models.v1_gateways_put_request import V1GatewaysPutRequest -from graphiant_sdk.models.v1_gateways_reference_consumer_get_request import V1GatewaysReferenceConsumerGetRequest from graphiant_sdk.models.v1_gateways_reference_consumer_get_response import V1GatewaysReferenceConsumerGetResponse from graphiant_sdk.models.v1_gateways_regions_get_response import V1GatewaysRegionsGetResponse from graphiant_sdk.models.v1_gateways_status_post_request import V1GatewaysStatusPostRequest @@ -1176,13 +1122,10 @@ from graphiant_sdk.models.v1_global_config_patch_request import V1GlobalConfigPatchRequest from graphiant_sdk.models.v1_global_config_patch_response import V1GlobalConfigPatchResponse from graphiant_sdk.models.v1_global_config_site_post_request import V1GlobalConfigSitePostRequest -from graphiant_sdk.models.v1_global_device_status_get_request import V1GlobalDeviceStatusGetRequest from graphiant_sdk.models.v1_global_device_status_get_response import V1GlobalDeviceStatusGetResponse -from graphiant_sdk.models.v1_global_ipfix_device_get_request import V1GlobalIpfixDeviceGetRequest from graphiant_sdk.models.v1_global_ipfix_device_get_response import V1GlobalIpfixDeviceGetResponse from graphiant_sdk.models.v1_global_ipfix_post_request import V1GlobalIpfixPostRequest from graphiant_sdk.models.v1_global_ipfix_post_response import V1GlobalIpfixPostResponse -from graphiant_sdk.models.v1_global_ipfix_site_get_request import V1GlobalIpfixSiteGetRequest from graphiant_sdk.models.v1_global_ipfix_site_get_response import V1GlobalIpfixSiteGetResponse from graphiant_sdk.models.v1_global_ipsec_profile_get_response import V1GlobalIpsecProfileGetResponse from graphiant_sdk.models.v1_global_ipsec_profile_get_response_i_psec_profile_count import V1GlobalIpsecProfileGetResponseIPsecProfileCount @@ -1191,78 +1134,59 @@ from graphiant_sdk.models.v1_global_ipsec_profile_vpn_profile_id_site_to_site_get_response_site_to_site_vpn import V1GlobalIpsecProfileVpnProfileIdSiteToSiteGetResponseSiteToSiteVpn from graphiant_sdk.models.v1_global_lan_segments_get_response import V1GlobalLanSegmentsGetResponse from graphiant_sdk.models.v1_global_lan_segments_get_response_entry import V1GlobalLanSegmentsGetResponseEntry -from graphiant_sdk.models.v1_global_lan_segments_id_delete_response import V1GlobalLanSegmentsIdDeleteResponse from graphiant_sdk.models.v1_global_lan_segments_post_request import V1GlobalLanSegmentsPostRequest from graphiant_sdk.models.v1_global_lan_segments_post_response import V1GlobalLanSegmentsPostResponse from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response import V1GlobalLanSegmentsVrfIdDevicesGetResponse from graphiant_sdk.models.v1_global_lan_segments_vrf_id_devices_get_response_entry import V1GlobalLanSegmentsVrfIdDevicesGetResponseEntry -from graphiant_sdk.models.v1_global_prefix_sets_device_get_request import V1GlobalPrefixSetsDeviceGetRequest +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse from graphiant_sdk.models.v1_global_prefix_sets_device_get_response import V1GlobalPrefixSetsDeviceGetResponse from graphiant_sdk.models.v1_global_prefix_sets_post_request import V1GlobalPrefixSetsPostRequest from graphiant_sdk.models.v1_global_prefix_sets_post_response import V1GlobalPrefixSetsPostResponse -from graphiant_sdk.models.v1_global_prefix_sets_site_get_request import V1GlobalPrefixSetsSiteGetRequest from graphiant_sdk.models.v1_global_prefix_sets_site_get_response import V1GlobalPrefixSetsSiteGetResponse -from graphiant_sdk.models.v1_global_routing_policies_device_get_request import V1GlobalRoutingPoliciesDeviceGetRequest from graphiant_sdk.models.v1_global_routing_policies_device_get_response import V1GlobalRoutingPoliciesDeviceGetResponse from graphiant_sdk.models.v1_global_routing_policies_post_request import V1GlobalRoutingPoliciesPostRequest from graphiant_sdk.models.v1_global_routing_policies_post_response import V1GlobalRoutingPoliciesPostResponse -from graphiant_sdk.models.v1_global_routing_policies_site_get_request import V1GlobalRoutingPoliciesSiteGetRequest from graphiant_sdk.models.v1_global_routing_policies_site_get_response import V1GlobalRoutingPoliciesSiteGetResponse from graphiant_sdk.models.v1_global_site_lists_get_response import V1GlobalSiteListsGetResponse from graphiant_sdk.models.v1_global_site_lists_get_response_entry import V1GlobalSiteListsGetResponseEntry -from graphiant_sdk.models.v1_global_site_lists_id_delete_response import V1GlobalSiteListsIdDeleteResponse from graphiant_sdk.models.v1_global_site_lists_id_get_response import V1GlobalSiteListsIdGetResponse from graphiant_sdk.models.v1_global_site_lists_id_put_request import V1GlobalSiteListsIdPutRequest from graphiant_sdk.models.v1_global_site_lists_id_put_response import V1GlobalSiteListsIdPutResponse from graphiant_sdk.models.v1_global_site_lists_id_sites_get_response import V1GlobalSiteListsIdSitesGetResponse from graphiant_sdk.models.v1_global_site_lists_post_request import V1GlobalSiteListsPostRequest from graphiant_sdk.models.v1_global_site_lists_post_response import V1GlobalSiteListsPostResponse -from graphiant_sdk.models.v1_global_site_status_get_request import V1GlobalSiteStatusGetRequest from graphiant_sdk.models.v1_global_site_status_get_response import V1GlobalSiteStatusGetResponse -from graphiant_sdk.models.v1_global_snmps_device_get_request import V1GlobalSnmpsDeviceGetRequest from graphiant_sdk.models.v1_global_snmps_device_get_response import V1GlobalSnmpsDeviceGetResponse from graphiant_sdk.models.v1_global_snmps_post_request import V1GlobalSnmpsPostRequest from graphiant_sdk.models.v1_global_snmps_post_response import V1GlobalSnmpsPostResponse -from graphiant_sdk.models.v1_global_snmps_site_get_request import V1GlobalSnmpsSiteGetRequest from graphiant_sdk.models.v1_global_snmps_site_get_response import V1GlobalSnmpsSiteGetResponse from graphiant_sdk.models.v1_global_summary_post_request import V1GlobalSummaryPostRequest from graphiant_sdk.models.v1_global_summary_post_response import V1GlobalSummaryPostResponse from graphiant_sdk.models.v1_global_sync_post_request import V1GlobalSyncPostRequest -from graphiant_sdk.models.v1_global_syslogs_device_get_request import V1GlobalSyslogsDeviceGetRequest from graphiant_sdk.models.v1_global_syslogs_device_get_response import V1GlobalSyslogsDeviceGetResponse from graphiant_sdk.models.v1_global_syslogs_post_request import V1GlobalSyslogsPostRequest from graphiant_sdk.models.v1_global_syslogs_post_response import V1GlobalSyslogsPostResponse -from graphiant_sdk.models.v1_global_syslogs_site_get_request import V1GlobalSyslogsSiteGetRequest from graphiant_sdk.models.v1_global_syslogs_site_get_response import V1GlobalSyslogsSiteGetResponse -from graphiant_sdk.models.v1_global_traffic_policies_device_get_request import V1GlobalTrafficPoliciesDeviceGetRequest from graphiant_sdk.models.v1_global_traffic_policies_device_get_response import V1GlobalTrafficPoliciesDeviceGetResponse from graphiant_sdk.models.v1_global_traffic_policies_post_request import V1GlobalTrafficPoliciesPostRequest from graphiant_sdk.models.v1_global_traffic_policies_post_response import V1GlobalTrafficPoliciesPostResponse -from graphiant_sdk.models.v1_global_traffic_policies_site_get_request import V1GlobalTrafficPoliciesSiteGetRequest from graphiant_sdk.models.v1_global_traffic_policies_site_get_response import V1GlobalTrafficPoliciesSiteGetResponse from graphiant_sdk.models.v1_groups_enterprises_get_response import V1GroupsEnterprisesGetResponse from graphiant_sdk.models.v1_groups_get_response import V1GroupsGetResponse -from graphiant_sdk.models.v1_groups_id_delete_request import V1GroupsIdDeleteRequest -from graphiant_sdk.models.v1_groups_id_delete_response import V1GroupsIdDeleteResponse -from graphiant_sdk.models.v1_groups_id_enterprises_enterprise_id_delete_response import V1GroupsIdEnterprisesEnterpriseIdDeleteResponse from graphiant_sdk.models.v1_groups_id_enterprises_post_request import V1GroupsIdEnterprisesPostRequest from graphiant_sdk.models.v1_groups_id_get_response import V1GroupsIdGetResponse from graphiant_sdk.models.v1_groups_id_members_delete_post_request import V1GroupsIdMembersDeletePostRequest -from graphiant_sdk.models.v1_groups_id_members_delete_post_response import V1GroupsIdMembersDeletePostResponse from graphiant_sdk.models.v1_groups_id_members_get_response import V1GroupsIdMembersGetResponse -from graphiant_sdk.models.v1_groups_id_members_member_id_delete_response import V1GroupsIdMembersMemberIdDeleteResponse from graphiant_sdk.models.v1_groups_id_members_post_request import V1GroupsIdMembersPostRequest -from graphiant_sdk.models.v1_groups_id_members_post_response import V1GroupsIdMembersPostResponse from graphiant_sdk.models.v1_groups_id_patch_request import V1GroupsIdPatchRequest -from graphiant_sdk.models.v1_groups_id_patch_response import V1GroupsIdPatchResponse from graphiant_sdk.models.v1_groups_put_request import V1GroupsPutRequest from graphiant_sdk.models.v1_groups_root_get_response import V1GroupsRootGetResponse -from graphiant_sdk.models.v1_healthcheck_devices_get_request import V1HealthcheckDevicesGetRequest from graphiant_sdk.models.v1_healthcheck_devices_get_response import V1HealthcheckDevicesGetResponse from graphiant_sdk.models.v1_invitation_email_post_request import V1InvitationEmailPostRequest -from graphiant_sdk.models.v1_lan_segments_get_request import V1LanSegmentsGetRequest from graphiant_sdk.models.v1_lan_segments_get_response import V1LanSegmentsGetResponse -from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_request import V1LldpInterfaceIdNeighborsGetRequest from graphiant_sdk.models.v1_lldp_interface_id_neighbors_get_response import V1LldpInterfaceIdNeighborsGetResponse from graphiant_sdk.models.v1_lldp_interface_id_summary_get_response import V1LldpInterfaceIdSummaryGetResponse from graphiant_sdk.models.v1_lldp_interface_id_vendors_get_response import V1LldpInterfaceIdVendorsGetResponse @@ -1280,13 +1204,10 @@ from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_request import V1MonitoringCircuitsVisualizationPostRequest from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_response import V1MonitoringCircuitsVisualizationPostResponse from graphiant_sdk.models.v1_monitoring_circuits_visualization_post_response_data import V1MonitoringCircuitsVisualizationPostResponseData -from graphiant_sdk.models.v1_nat_entries_device_id_get_request import V1NatEntriesDeviceIdGetRequest from graphiant_sdk.models.v1_nat_entries_device_id_get_response import V1NatEntriesDeviceIdGetResponse from graphiant_sdk.models.v1_nat_utilization_device_id_get_response import V1NatUtilizationDeviceIdGetResponse -from graphiant_sdk.models.v1_onboarding_cloudinit_delete_request import V1OnboardingCloudinitDeleteRequest from graphiant_sdk.models.v1_onboarding_cloudinit_get_response import V1OnboardingCloudinitGetResponse from graphiant_sdk.models.v1_onboarding_cloudinit_post_request import V1OnboardingCloudinitPostRequest -from graphiant_sdk.models.v1_policy_applications_get_request import V1PolicyApplicationsGetRequest from graphiant_sdk.models.v1_policy_applications_get_response import V1PolicyApplicationsGetResponse from graphiant_sdk.models.v1_policy_applications_get_response_application import V1PolicyApplicationsGetResponseApplication from graphiant_sdk.models.v1_policy_prefix_sets_id_put_request import V1PolicyPrefixSetsIdPutRequest @@ -1301,7 +1222,6 @@ from graphiant_sdk.models.v1_policy_route_tag_sets_id_delete_response import V1PolicyRouteTagSetsIdDeleteResponse from graphiant_sdk.models.v1_policy_route_tag_sets_post_request import V1PolicyRouteTagSetsPostRequest from graphiant_sdk.models.v1_policy_route_tag_sets_post_response import V1PolicyRouteTagSetsPostResponse -from graphiant_sdk.models.v1_policy_route_tag_sets_tag_detail_get_request import V1PolicyRouteTagSetsTagDetailGetRequest from graphiant_sdk.models.v1_policy_route_tag_sets_tag_detail_get_response import V1PolicyRouteTagSetsTagDetailGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_get_response import V1PolicyRouteTagSetsTagsGetResponse from graphiant_sdk.models.v1_policy_route_tag_sets_tags_summary_get_response import V1PolicyRouteTagSetsTagsSummaryGetResponse @@ -1316,14 +1236,11 @@ from graphiant_sdk.models.v1_presharedkey_get_response import V1PresharedkeyGetResponse from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse -from graphiant_sdk.models.v1_search_get_request import V1SearchGetRequest from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse -from graphiant_sdk.models.v1_site_id_details_interfaces_get_request import V1SiteIdDetailsInterfacesGetRequest from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse -from graphiant_sdk.models.v1_sites_get_request import V1SitesGetRequest from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse @@ -1335,12 +1252,9 @@ from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest -from graphiant_sdk.models.v1_software_release_notes_get_request import V1SoftwareReleaseNotesGetRequest from graphiant_sdk.models.v1_software_release_notes_get_response import V1SoftwareReleaseNotesGetResponse -from graphiant_sdk.models.v1_software_releases_download_get_request import V1SoftwareReleasesDownloadGetRequest from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse -from graphiant_sdk.models.v1_software_running_details_get_request import V1SoftwareRunningDetailsGetRequest from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.models.v1_software_running_details_get_response_device import V1SoftwareRunningDetailsGetResponseDevice from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse @@ -1364,10 +1278,8 @@ from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response_site_counts import V1TroubleshootingTopSitesByAlertsPostResponseSiteCounts from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response_site_counts_site_count import V1TroubleshootingTopSitesByAlertsPostResponseSiteCountsSiteCount -from graphiant_sdk.models.v1_tt_tt_identity_device_status_get_request import V1TtTtIdentityDeviceStatusGetRequest from graphiant_sdk.models.v1_tt_tt_identity_device_status_get_response import V1TtTtIdentityDeviceStatusGetResponse from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest -from graphiant_sdk.models.v1_users_get_request import V1UsersGetRequest from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse @@ -1376,7 +1288,6 @@ from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse -from graphiant_sdk.models.v1_zones_get_request import V1ZonesGetRequest from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest @@ -1387,10 +1298,8 @@ from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest -from graphiant_sdk.models.v2_assistant_conversation_id_delete_request import V2AssistantConversationIdDeleteRequest from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse -from graphiant_sdk.models.v2_assistant_delete_conversation_conversation_id_delete_request import V2AssistantDeleteConversationConversationIdDeleteRequest from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest @@ -1401,7 +1310,6 @@ from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse -from graphiant_sdk.models.v2_assurance_bucket_app_servers_all_get_request import V2AssuranceBucketAppServersAllGetRequest from graphiant_sdk.models.v2_assurance_bucket_app_servers_all_get_response import V2AssuranceBucketAppServersAllGetResponse from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse @@ -1417,7 +1325,6 @@ from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse -from graphiant_sdk.models.v2_assurance_download_user_report_get_request import V2AssuranceDownloadUserReportGetRequest from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.models.v2_assurance_endpoint_intel_post_request import V2AssuranceEndpointIntelPostRequest from graphiant_sdk.models.v2_assurance_endpoint_intel_post_response import V2AssuranceEndpointIntelPostResponse @@ -1500,18 +1407,13 @@ from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_request import V2MonitoringCircuitsVisualizationPostRequest from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response import V2MonitoringCircuitsVisualizationPostResponse from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response_data import V2MonitoringCircuitsVisualizationPostResponseData -from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_request import V2MonitoringExtranetEdgeStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_response import V2MonitoringExtranetEdgeStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_request import V2MonitoringExtranetLogDetailsPostRequest from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response import V2MonitoringExtranetLogDetailsPostResponse from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response_log_details import V2MonitoringExtranetLogDetailsPostResponseLogDetails -from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_request import V2MonitoringExtranetServiceStatusDetailsGetRequest from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_response import V2MonitoringExtranetServiceStatusDetailsGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_request import V2MonitoringExtranetServiceStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_request import V2MonitoringExtranetSiteStatusGetRequest from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_response import V2MonitoringExtranetSiteStatusGetResponse -from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_request import V2MonitoringExtranetStatusDetailsGetRequest from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_response import V2MonitoringExtranetStatusDetailsGetResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_request import V2MonitoringIkeErrorHistoryPostRequest from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response import V2MonitoringIkeErrorHistoryPostResponse diff --git a/graphiant_sdk/models/auth_permissions.py b/graphiant_sdk/models/auth_permissions.py index c241efc6..4016fce9 100644 --- a/graphiant_sdk/models/auth_permissions.py +++ b/graphiant_sdk/models/auth_permissions.py @@ -50,8 +50,8 @@ def billing_and_invoicing_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('licensing') @@ -60,8 +60,8 @@ def licensing_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('order_status') @@ -70,8 +70,8 @@ def order_status_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('support') @@ -80,8 +80,8 @@ def support_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('user_and_tenant_management') @@ -90,8 +90,8 @@ def user_and_tenant_management_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('asset_manager') @@ -100,8 +100,8 @@ def asset_manager_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('global_services') @@ -110,8 +110,8 @@ def global_services_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('network_configurations') @@ -120,8 +120,8 @@ def network_configurations_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('safety_and_security') @@ -130,8 +130,8 @@ def safety_and_security_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('service_policies') @@ -140,8 +140,8 @@ def service_policies_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('compliance') @@ -150,8 +150,8 @@ def compliance_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('developer_tools') @@ -160,8 +160,8 @@ def developer_tools_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('insights') @@ -170,8 +170,8 @@ def insights_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('logs') @@ -180,8 +180,8 @@ def logs_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('monitoring_and_troubleshooting') @@ -190,8 +190,8 @@ def monitoring_and_troubleshooting_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value @field_validator('reports') @@ -200,8 +200,8 @@ def reports_validate_enum(cls, value): if value is None: return value - if value not in set(['NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS']): - raise ValueError("must be one of enum values ('NO_ACCESS', 'READ_ONLY', 'FULL_ACCESS')") + if value not in set(['none', 'read', 'read_write']): + raise ValueError("must be one of enum values ('none', 'read', 'read_write')") return value model_config = ConfigDict( diff --git a/graphiant_sdk/models/iam_enterprise.py b/graphiant_sdk/models/iam_enterprise.py index 96c0ee87..f876e041 100644 --- a/graphiant_sdk/models/iam_enterprise.py +++ b/graphiant_sdk/models/iam_enterprise.py @@ -37,17 +37,19 @@ class IamEnterprise(BaseModel): counts: Optional[IamCounts] = None credit_limit: Optional[StrictInt] = Field(default=None, alias="creditLimit") customers: Optional[Dict[str, IamCustomer]] = None + description: Optional[StrictStr] = None enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId") eula_agreement_date: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="eulaAgreementDate") impersonation_enabled: Optional[StrictBool] = Field(default=None, alias="impersonationEnabled") logo: Optional[StrictStr] = None + marketplace_id: Optional[StrictStr] = Field(default=None, alias="marketplaceId") parent_company_name: Optional[StrictStr] = Field(default=None, alias="parentCompanyName") parent_enterprise_id: Optional[StrictInt] = Field(default=None, alias="parentEnterpriseId") portal_banner: Optional[StrictStr] = Field(default=None, alias="portalBanner") proxy_tenant_id: Optional[StrictInt] = Field(default=None, alias="proxyTenantId") small_logo: Optional[StrictStr] = Field(default=None, alias="smallLogo") token_expiry: Optional[StrictStr] = Field(default=None, alias="tokenExpiry") - __properties: ClassVar[List[str]] = ["acceptEula", "accountType", "adminEmail", "cloudProvider", "companyName", "counts", "creditLimit", "customers", "enterpriseId", "eulaAgreementDate", "impersonationEnabled", "logo", "parentCompanyName", "parentEnterpriseId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] + __properties: ClassVar[List[str]] = ["acceptEula", "accountType", "adminEmail", "cloudProvider", "companyName", "counts", "creditLimit", "customers", "description", "enterpriseId", "eulaAgreementDate", "impersonationEnabled", "logo", "marketplaceId", "parentCompanyName", "parentEnterpriseId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] model_config = ConfigDict( populate_by_name=True, @@ -126,10 +128,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: ) if obj.get("customers") is not None else None, + "description": obj.get("description"), "enterpriseId": obj.get("enterpriseId"), "eulaAgreementDate": GoogleProtobufTimestamp.from_dict(obj["eulaAgreementDate"]) if obj.get("eulaAgreementDate") is not None else None, "impersonationEnabled": obj.get("impersonationEnabled"), "logo": obj.get("logo"), + "marketplaceId": obj.get("marketplaceId"), "parentCompanyName": obj.get("parentCompanyName"), "parentEnterpriseId": obj.get("parentEnterpriseId"), "portalBanner": obj.get("portalBanner"), diff --git a/graphiant_sdk/models/iam_enterprise_permissions.py b/graphiant_sdk/models/iam_enterprise_permissions.py new file mode 100644 index 00000000..6cb89a41 --- /dev/null +++ b/graphiant_sdk/models/iam_enterprise_permissions.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.common_permissions import CommonPermissions +from typing import Optional, Set +from typing_extensions import Self + +class IamEnterprisePermissions(BaseModel): + """ + IamEnterprisePermissions + """ # noqa: E501 + group_type: Optional[StrictStr] = Field(default=None, description=" (required)", alias="groupType") + permissions: Optional[CommonPermissions] = None + __properties: ClassVar[List[str]] = ["groupType", "permissions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of IamEnterprisePermissions from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of permissions + if self.permissions: + _dict['permissions'] = self.permissions.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of IamEnterprisePermissions from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "groupType": obj.get("groupType"), + "permissions": CommonPermissions.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/iam_group.py b/graphiant_sdk/models/iam_group.py index 6201f5da..6f7acae6 100644 --- a/graphiant_sdk/models/iam_group.py +++ b/graphiant_sdk/models/iam_group.py @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.common_permissions import CommonPermissions +from graphiant_sdk.models.iam_enterprise_permissions import IamEnterprisePermissions from typing import Optional, Set from typing_extensions import Self @@ -29,13 +30,14 @@ class IamGroup(BaseModel): """ # noqa: E501 description: Optional[StrictStr] = None enterprise_ids: Optional[List[StrictInt]] = Field(default=None, alias="enterpriseIds") + enterprise_permissions: Optional[Dict[str, IamEnterprisePermissions]] = Field(default=None, alias="enterprisePermissions") group_type: Optional[StrictStr] = Field(default=None, alias="groupType") id: Optional[StrictStr] = None name: Optional[StrictStr] = None permissions: Optional[CommonPermissions] = None time_window_end: Optional[StrictInt] = Field(default=None, alias="timeWindowEnd") time_window_start: Optional[StrictInt] = Field(default=None, alias="timeWindowStart") - __properties: ClassVar[List[str]] = ["description", "enterpriseIds", "groupType", "id", "name", "permissions", "timeWindowEnd", "timeWindowStart"] + __properties: ClassVar[List[str]] = ["description", "enterpriseIds", "enterprisePermissions", "groupType", "id", "name", "permissions", "timeWindowEnd", "timeWindowStart"] model_config = ConfigDict( populate_by_name=True, @@ -76,6 +78,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each value in enterprise_permissions (dict) + _field_dict = {} + if self.enterprise_permissions: + for _key_enterprise_permissions in self.enterprise_permissions: + if self.enterprise_permissions[_key_enterprise_permissions]: + _field_dict[_key_enterprise_permissions] = self.enterprise_permissions[_key_enterprise_permissions].to_dict() + _dict['enterprisePermissions'] = _field_dict # override the default output from pydantic by calling `to_dict()` of permissions if self.permissions: _dict['permissions'] = self.permissions.to_dict() @@ -93,6 +102,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "description": obj.get("description"), "enterpriseIds": obj.get("enterpriseIds"), + "enterprisePermissions": dict( + (_k, IamEnterprisePermissions.from_dict(_v)) + for _k, _v in obj["enterprisePermissions"].items() + ) + if obj.get("enterprisePermissions") is not None + else None, "groupType": obj.get("groupType"), "id": obj.get("id"), "name": obj.get("name"), diff --git a/graphiant_sdk/models/ipfix_connection_map.py b/graphiant_sdk/models/ipfix_connection_map.py index 623e68c3..07ae2a00 100644 --- a/graphiant_sdk/models/ipfix_connection_map.py +++ b/graphiant_sdk/models/ipfix_connection_map.py @@ -29,7 +29,7 @@ class IpfixConnectionMap(BaseModel): """ # noqa: E501 connections: Optional[Dict[str, Annotated[int, Field(strict=True, ge=0)]]] = None connections_v2: Optional[Dict[str, Union[StrictFloat, StrictInt]]] = Field(default=None, alias="connectionsV2") - name: Optional[StrictStr] = None + name: Optional[StrictStr] = Field(default=None, description="the name of the connection") __properties: ClassVar[List[str]] = ["connections", "connectionsV2", "name"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/ipfix_entity_usage.py b/graphiant_sdk/models/ipfix_entity_usage.py index 436bc77f..d88201e5 100644 --- a/graphiant_sdk/models/ipfix_entity_usage.py +++ b/graphiant_sdk/models/ipfix_entity_usage.py @@ -26,8 +26,8 @@ class IpfixEntityUsage(BaseModel): """ IpfixEntityUsage """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="id of consumer or lan segment ") - name: Optional[StrictStr] = None + id: Optional[StrictInt] = Field(default=None, description="id of the entity") + name: Optional[StrictStr] = Field(default=None, description="name of the entity") usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="usage in kbps") __properties: ClassVar[List[str]] = ["id", "name", "usage"] diff --git a/graphiant_sdk/models/mana_v2_application_profile.py b/graphiant_sdk/models/mana_v2_application_profile.py index 9004f962..26896551 100644 --- a/graphiant_sdk/models/mana_v2_application_profile.py +++ b/graphiant_sdk/models/mana_v2_application_profile.py @@ -17,8 +17,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class ManaV2ApplicationProfile(BaseModel): """ ManaV2ApplicationProfile """ # noqa: E501 - ports: Optional[List[StrictInt]] = None - protocol: Optional[StrictInt] = None + ports: List[StrictInt] + protocol: StrictInt = Field(description="Protocol for the application profile (required)") __properties: ClassVar[List[str]] = ["ports", "protocol"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_application_invite.py b/graphiant_sdk/models/mana_v2_b2b_extranet_application_invite.py index d554d4d0..bcc4be61 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_application_invite.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_application_invite.py @@ -27,11 +27,11 @@ class ManaV2B2bExtranetApplicationInvite(BaseModel): """ ManaV2B2bExtranetApplicationInvite """ # noqa: E501 - admin_email: Optional[StrictStr] = Field(default=None, alias="adminEmail") - consumer_burst_size: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="consumerBurstSize") - consumer_bw_site: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="consumerBwSite") - enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId") - maximum_site_count: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="maximumSiteCount") + admin_email: StrictStr = Field(description="Admin email of the customer (required)", alias="adminEmail") + consumer_burst_size: Annotated[int, Field(strict=True, ge=0)] = Field(description="Maximum Burst size per site for the customer (required)", alias="consumerBurstSize") + consumer_bw_site: Annotated[int, Field(strict=True, ge=0)] = Field(description="Maximum Bandwidth allocation per site for the customer (required)", alias="consumerBwSite") + enterprise_id: StrictInt = Field(description="Enterprise ID of the customer (required)", alias="enterpriseId") + maximum_site_count: Annotated[int, Field(strict=True, ge=0)] = Field(description="Maximum number of sites for the customer (required)", alias="maximumSiteCount") service_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="servicePrefixes") __properties: ClassVar[List[str]] = ["adminEmail", "consumerBurstSize", "consumerBwSite", "enterpriseId", "maximumSiteCount", "servicePrefixes"] diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_match_service_to_customer.py b/graphiant_sdk/models/mana_v2_b2b_extranet_match_service_to_customer.py index 4d26b3f3..efc9ed11 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_match_service_to_customer.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_match_service_to_customer.py @@ -29,11 +29,11 @@ class ManaV2B2bExtranetMatchServiceToCustomer(BaseModel): """ ManaV2B2bExtranetMatchServiceToCustomer """ # noqa: E501 - id: Optional[StrictInt] = None + id: StrictInt = Field(description="ID of the service being subscribed by the customer (required)") lan_segment: Optional[StrictInt] = Field(default=None, alias="lanSegment") - nat: Optional[List[ManaV2B2bNat]] = None - num_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="numCustomers") - service_prefixes: Optional[List[ManaV2B2bExtranetPrefixTag]] = Field(default=None, alias="servicePrefixes") + nat: List[ManaV2B2bNat] + num_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="Number of customers subscribed to the service", alias="numCustomers") + service_prefixes: List[ManaV2B2bExtranetPrefixTag] = Field(alias="servicePrefixes") __properties: ClassVar[List[str]] = ["id", "lanSegment", "nat", "numCustomers", "servicePrefixes"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_customer_invite.py b/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_customer_invite.py index 2cc5b960..b351b1ed 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_customer_invite.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_customer_invite.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -27,8 +27,8 @@ class ManaV2B2bExtranetPeeringServiceCustomerInvite(BaseModel): """ ManaV2B2bExtranetPeeringServiceCustomerInvite """ # noqa: E501 - admin_email: Optional[List[StrictStr]] = Field(default=None, alias="adminEmail") - maximum_number_of_sites: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="maximumNumberOfSites") + admin_email: List[StrictStr] = Field(alias="adminEmail") + maximum_number_of_sites: Annotated[int, Field(strict=True, ge=0)] = Field(description="Maximum number of sites for the peering service customer (required)", alias="maximumNumberOfSites") __properties: ClassVar[List[str]] = ["adminEmail", "maximumNumberOfSites"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_producer_policy.py b/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_producer_policy.py index 60ba6543..1691ccc9 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_producer_policy.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_peering_service_producer_policy.py @@ -29,12 +29,12 @@ class ManaV2B2bExtranetPeeringServiceProducerPolicy(BaseModel): """ ManaV2B2bExtranetPeeringServiceProducerPolicy """ # noqa: E501 - description: Optional[StrictStr] = None + description: Optional[StrictStr] = Field(default=None, description="Description for the service") global_object_ops: Optional[Dict[str, ManaV2GlobalObjectServiceOps]] = Field(default=None, alias="globalObjectOps") - prefix_tags: Optional[List[ManaV2B2bExtranetPrefixTag]] = Field(default=None, alias="prefixTags") - service_lan_segment: Optional[StrictInt] = Field(default=None, alias="serviceLanSegment") - site: Optional[List[ManaV2B2bSiteInformation]] = None - type: Optional[StrictStr] = None + prefix_tags: List[ManaV2B2bExtranetPrefixTag] = Field(alias="prefixTags") + service_lan_segment: StrictInt = Field(description="LAN segment ID for the service (required)", alias="serviceLanSegment") + site: List[ManaV2B2bSiteInformation] + type: StrictStr = Field(description="Type of the service whether it is application or peering (required)") __properties: ClassVar[List[str]] = ["description", "globalObjectOps", "prefixTags", "serviceLanSegment", "site", "type"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_prefix_tag.py b/graphiant_sdk/models/mana_v2_b2b_extranet_prefix_tag.py index 417217b1..e36e59b9 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_prefix_tag.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_prefix_tag.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class ManaV2B2bExtranetPrefixTag(BaseModel): """ ManaV2B2bExtranetPrefixTag """ # noqa: E501 - prefix: Optional[StrictStr] = None - tag: Optional[StrictStr] = None + prefix: StrictStr = Field(description="Prefix advertised by the service (required)") + tag: Optional[StrictStr] = Field(default=None, description="Tag for the prefix") __properties: ClassVar[List[str]] = ["prefix", "tag"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_extranet_producer_policy.py b/graphiant_sdk/models/mana_v2_b2b_extranet_producer_policy.py index 3899e864..49e13b7a 100644 --- a/graphiant_sdk/models/mana_v2_b2b_extranet_producer_policy.py +++ b/graphiant_sdk/models/mana_v2_b2b_extranet_producer_policy.py @@ -32,18 +32,18 @@ class ManaV2B2bExtranetProducerPolicy(BaseModel): """ ManaV2B2bExtranetProducerPolicy """ # noqa: E501 - description: Optional[StrictStr] = None + description: Optional[StrictStr] = Field(default=None, description="Description for the service") global_object_device_summaries: Optional[Dict[str, ManaV2GlobalObjectServiceSummaries]] = Field(default=None, alias="globalObjectDeviceSummaries") global_object_summaries: Optional[Dict[str, ManaV2GlobalObjectServiceSummaries]] = Field(default=None, alias="globalObjectSummaries") - nat_pools: Optional[List[StrictStr]] = Field(default=None, alias="natPools") + nat_pools: List[StrictStr] = Field(alias="natPools") prefix_tags: Optional[List[ManaV2B2bExtranetPrefixTag]] = Field(default=None, alias="prefixTags") profiles: Optional[List[ManaV2ApplicationProfile]] = None - service_lan_segment: Optional[StrictInt] = Field(default=None, alias="serviceLanSegment") - service_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="servicePrefixes") - sites: Optional[List[ManaV2B2bSiteInformation]] = None + service_lan_segment: StrictInt = Field(description="LAN segment for the service (required)", alias="serviceLanSegment") + service_prefixes: List[StrictStr] = Field(alias="servicePrefixes") + sites: List[ManaV2B2bSiteInformation] sla: Optional[ManaV2SlaInformation] = None status: Optional[StrictStr] = None - type: Optional[StrictStr] = None + type: StrictStr = Field(description="Type of the service whether it is application or peering (required)") unmatched_customers: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="unmatchedCustomers") __properties: ClassVar[List[str]] = ["description", "globalObjectDeviceSummaries", "globalObjectSummaries", "natPools", "prefixTags", "profiles", "serviceLanSegment", "servicePrefixes", "sites", "sla", "status", "type", "unmatchedCustomers"] diff --git a/graphiant_sdk/models/mana_v2_b2b_nat.py b/graphiant_sdk/models/mana_v2_b2b_nat.py index 0a761379..a226458a 100644 --- a/graphiant_sdk/models/mana_v2_b2b_nat.py +++ b/graphiant_sdk/models/mana_v2_b2b_nat.py @@ -26,8 +26,8 @@ class ManaV2B2bNat(BaseModel): """ ManaV2B2bNat """ # noqa: E501 - outside_nat_prefix: Optional[StrictStr] = Field(default=None, alias="outsideNatPrefix") - prefix: Optional[StrictStr] = None + outside_nat_prefix: Optional[StrictStr] = Field(default=None, description="Outside NAT prefix for the customer prefix", alias="outsideNatPrefix") + prefix: StrictStr = Field(description="Prefix imported into the service (required)") __properties: ClassVar[List[str]] = ["outsideNatPrefix", "prefix"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_b2b_site_information.py b/graphiant_sdk/models/mana_v2_b2b_site_information.py index e4252002..1d3f1130 100644 --- a/graphiant_sdk/models/mana_v2_b2b_site_information.py +++ b/graphiant_sdk/models/mana_v2_b2b_site_information.py @@ -27,8 +27,8 @@ class ManaV2B2bSiteInformation(BaseModel): """ ManaV2B2bSiteInformation """ # noqa: E501 - bw_allocation_site_lists: Optional[StrictInt] = Field(default=None, alias="bwAllocationSiteLists") - bw_allocation_sites: Optional[StrictInt] = Field(default=None, alias="bwAllocationSites") + bw_allocation_site_lists: Optional[StrictInt] = Field(default=None, description="Total Bandwidth allocation for the service on these site lists", alias="bwAllocationSiteLists") + bw_allocation_sites: Optional[StrictInt] = Field(default=None, description="Total Bandwidth allocation for the service on these sites", alias="bwAllocationSites") policer_site_lists: Optional[ManaV2Policer] = Field(default=None, alias="policerSiteLists") policer_sites: Optional[ManaV2Policer] = Field(default=None, alias="policerSites") site_lists: Optional[List[StrictInt]] = Field(default=None, alias="siteLists") diff --git a/graphiant_sdk/models/mana_v2_device.py b/graphiant_sdk/models/mana_v2_device.py index 0a569a8f..c9d083ac 100644 --- a/graphiant_sdk/models/mana_v2_device.py +++ b/graphiant_sdk/models/mana_v2_device.py @@ -30,6 +30,7 @@ from graphiant_sdk.models.mana_v2_ipfix_exporter import ManaV2IpfixExporter from graphiant_sdk.models.mana_v2_location import ManaV2Location from graphiant_sdk.models.mana_v2_nat_policy import ManaV2NatPolicy +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp from graphiant_sdk.models.mana_v2_prefix_set import ManaV2PrefixSet from graphiant_sdk.models.mana_v2_region import ManaV2Region from graphiant_sdk.models.mana_v2_route_tag import ManaV2RouteTag @@ -68,6 +69,7 @@ class ManaV2Device(BaseModel): maintenance_mode: Optional[StrictBool] = Field(default=None, alias="maintenanceMode") nat_policy: Optional[ManaV2NatPolicy] = Field(default=None, alias="natPolicy") notes: Optional[StrictStr] = None + ntp: Optional[ManaV2Ntp] = None oper_staled: Optional[StrictBool] = Field(default=None, alias="operStaled") oper_staled_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="operStaledAt") oper_updated_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="operUpdatedAt") @@ -90,7 +92,7 @@ class ManaV2Device(BaseModel): traffic_policy: Optional[ManaV2ForwardingPolicy] = Field(default=None, alias="trafficPolicy") uptime: Optional[GoogleProtobufDuration] = None vrrp_enabled: Optional[StrictBool] = Field(default=None, alias="vrrpEnabled") - __properties: ClassVar[List[str]] = ["bgp", "bgpEnabled", "circuits", "configUpdatedAt", "createdAt", "dhcpServerEnabled", "dns", "gdi", "hostname", "id", "interfaces", "internalState", "ipfixEnabled", "ipfixExporters", "ipsecTunnels", "lastBootedAt", "lldpEnabled", "localRouteTag", "localWebServerPassword", "location", "maintenanceMode", "natPolicy", "notes", "operStaled", "operStaledAt", "operUpdatedAt", "ospfv2Enabled", "ospfv3Enabled", "platform", "prefixSets", "rebootReason", "region", "regionOverride", "role", "routingPolicies", "segments", "serialNumber", "site", "snmp", "softwareVersion", "staticRoutesEnabled", "status", "trafficPolicy", "uptime", "vrrpEnabled"] + __properties: ClassVar[List[str]] = ["bgp", "bgpEnabled", "circuits", "configUpdatedAt", "createdAt", "dhcpServerEnabled", "dns", "gdi", "hostname", "id", "interfaces", "internalState", "ipfixEnabled", "ipfixExporters", "ipsecTunnels", "lastBootedAt", "lldpEnabled", "localRouteTag", "localWebServerPassword", "location", "maintenanceMode", "natPolicy", "notes", "ntp", "operStaled", "operStaledAt", "operUpdatedAt", "ospfv2Enabled", "ospfv3Enabled", "platform", "prefixSets", "rebootReason", "region", "regionOverride", "role", "routingPolicies", "segments", "serialNumber", "site", "snmp", "softwareVersion", "staticRoutesEnabled", "status", "trafficPolicy", "uptime", "vrrpEnabled"] model_config = ConfigDict( populate_by_name=True, @@ -183,6 +185,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of nat_policy if self.nat_policy: _dict['natPolicy'] = self.nat_policy.to_dict() + # override the default output from pydantic by calling `to_dict()` of ntp + if self.ntp: + _dict['ntp'] = self.ntp.to_dict() # override the default output from pydantic by calling `to_dict()` of oper_staled_at if self.oper_staled_at: _dict['operStaledAt'] = self.oper_staled_at.to_dict() @@ -263,6 +268,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "maintenanceMode": obj.get("maintenanceMode"), "natPolicy": ManaV2NatPolicy.from_dict(obj["natPolicy"]) if obj.get("natPolicy") is not None else None, "notes": obj.get("notes"), + "ntp": ManaV2Ntp.from_dict(obj["ntp"]) if obj.get("ntp") is not None else None, "operStaled": obj.get("operStaled"), "operStaledAt": GoogleProtobufTimestamp.from_dict(obj["operStaledAt"]) if obj.get("operStaledAt") is not None else None, "operUpdatedAt": GoogleProtobufTimestamp.from_dict(obj["operUpdatedAt"]) if obj.get("operUpdatedAt") is not None else None, diff --git a/graphiant_sdk/models/mana_v2_edge_device_config.py b/graphiant_sdk/models/mana_v2_edge_device_config.py index fa6a42eb..8a5701ce 100644 --- a/graphiant_sdk/models/mana_v2_edge_device_config.py +++ b/graphiant_sdk/models/mana_v2_edge_device_config.py @@ -30,6 +30,7 @@ from graphiant_sdk.models.mana_v2_nullable_interface_config import ManaV2NullableInterfaceConfig from graphiant_sdk.models.mana_v2_nullable_ipfix_exporter_config import ManaV2NullableIpfixExporterConfig from graphiant_sdk.models.mana_v2_nullable_lag_interface_config import ManaV2NullableLagInterfaceConfig +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_prefix_set_config import ManaV2NullablePrefixSetConfig from graphiant_sdk.models.mana_v2_nullable_route_tag_set import ManaV2NullableRouteTagSet from graphiant_sdk.models.mana_v2_nullable_routing_policy_config import ManaV2NullableRoutingPolicyConfig @@ -58,6 +59,7 @@ class ManaV2EdgeDeviceConfig(BaseModel): maintenance_mode: Optional[StrictBool] = Field(default=None, alias="maintenanceMode") name: Optional[StrictStr] = None nat_policy: Optional[ManaV2NatPolicyConfig] = Field(default=None, alias="natPolicy") + ntp_global_object: Optional[Dict[str, ManaV2NullableNtpConfig]] = Field(default=None, alias="ntpGlobalObject") ospfv2_enabled: Optional[StrictBool] = Field(default=None, alias="ospfv2Enabled") ospfv3_enabled: Optional[StrictBool] = Field(default=None, alias="ospfv3Enabled") prefix_sets: Optional[Dict[str, ManaV2NullablePrefixSetConfig]] = Field(default=None, alias="prefixSets") @@ -72,7 +74,7 @@ class ManaV2EdgeDeviceConfig(BaseModel): static_routes_enabled: Optional[StrictBool] = Field(default=None, alias="staticRoutesEnabled") traffic_policy: Optional[ManaV2ForwardingPolicyConfig] = Field(default=None, alias="trafficPolicy") vrrp_enabled: Optional[StrictBool] = Field(default=None, alias="vrrpEnabled") - __properties: ClassVar[List[str]] = ["bgpEnabled", "bgpInstance", "circuits", "dhcpServerEnabled", "dns", "interfaces", "ipfixEnabled", "ipfixExporters", "lagInterfaces", "lldpEnabled", "localRouteTag", "localWebServerPassword", "location", "maintenanceMode", "name", "natPolicy", "ospfv2Enabled", "ospfv3Enabled", "prefixSets", "region", "regionName", "routePolicies", "segments", "site", "siteToSiteVpn", "snmp", "snmpGlobalObject", "staticRoutesEnabled", "trafficPolicy", "vrrpEnabled"] + __properties: ClassVar[List[str]] = ["bgpEnabled", "bgpInstance", "circuits", "dhcpServerEnabled", "dns", "interfaces", "ipfixEnabled", "ipfixExporters", "lagInterfaces", "lldpEnabled", "localRouteTag", "localWebServerPassword", "location", "maintenanceMode", "name", "natPolicy", "ntpGlobalObject", "ospfv2Enabled", "ospfv3Enabled", "prefixSets", "region", "regionName", "routePolicies", "segments", "site", "siteToSiteVpn", "snmp", "snmpGlobalObject", "staticRoutesEnabled", "trafficPolicy", "vrrpEnabled"] model_config = ConfigDict( populate_by_name=True, @@ -156,6 +158,13 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of nat_policy if self.nat_policy: _dict['natPolicy'] = self.nat_policy.to_dict() + # override the default output from pydantic by calling `to_dict()` of each value in ntp_global_object (dict) + _field_dict = {} + if self.ntp_global_object: + for _key_ntp_global_object in self.ntp_global_object: + if self.ntp_global_object[_key_ntp_global_object]: + _field_dict[_key_ntp_global_object] = self.ntp_global_object[_key_ntp_global_object].to_dict() + _dict['ntpGlobalObject'] = _field_dict # override the default output from pydantic by calling `to_dict()` of each value in prefix_sets (dict) _field_dict = {} if self.prefix_sets: @@ -248,6 +257,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "maintenanceMode": obj.get("maintenanceMode"), "name": obj.get("name"), "natPolicy": ManaV2NatPolicyConfig.from_dict(obj["natPolicy"]) if obj.get("natPolicy") is not None else None, + "ntpGlobalObject": dict( + (_k, ManaV2NullableNtpConfig.from_dict(_v)) + for _k, _v in obj["ntpGlobalObject"].items() + ) + if obj.get("ntpGlobalObject") is not None + else None, "ospfv2Enabled": obj.get("ospfv2Enabled"), "ospfv3Enabled": obj.get("ospfv3Enabled"), "prefixSets": dict( diff --git a/graphiant_sdk/models/mana_v2_extranet_consumer_nat_rule.py b/graphiant_sdk/models/mana_v2_extranet_consumer_nat_rule.py index b59e1d0d..4ae5109a 100644 --- a/graphiant_sdk/models/mana_v2_extranet_consumer_nat_rule.py +++ b/graphiant_sdk/models/mana_v2_extranet_consumer_nat_rule.py @@ -27,7 +27,7 @@ class ManaV2ExtranetConsumerNatRule(BaseModel): ManaV2ExtranetConsumerNatRule """ # noqa: E501 outside_nat_prefix: Optional[StrictStr] = Field(default=None, description="Optional nat prefix associated with a service prefix with an empty string indicating no NATing", alias="outsideNatPrefix") - service_prefix: Optional[StrictStr] = Field(default=None, alias="servicePrefix") + service_prefix: StrictStr = Field(description="Service prefix for the NAT rule (required)", alias="servicePrefix") __properties: ClassVar[List[str]] = ["outsideNatPrefix", "servicePrefix"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_new_site.py b/graphiant_sdk/models/mana_v2_new_site.py index 008ccaae..2c7f231e 100644 --- a/graphiant_sdk/models/mana_v2_new_site.py +++ b/graphiant_sdk/models/mana_v2_new_site.py @@ -35,6 +35,7 @@ class ManaV2NewSite(BaseModel): location: Optional[ManaV2Location] = None name: Optional[StrictStr] = None notes: Optional[StrictStr] = None + ntp_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="ntpOps") prefix_set_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="prefixSetOps") route_tag: Optional[ManaV2RouteTag] = Field(default=None, alias="routeTag") routing_policy_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="routingPolicyOps") @@ -42,7 +43,7 @@ class ManaV2NewSite(BaseModel): syslog_server_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="syslogServerOps") syslog_server_ops_v2: Optional[Dict[str, ManaV2GlobalObjectOperationConfig]] = Field(default=None, alias="syslogServerOpsV2") traffic_policy_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="trafficPolicyOps") - __properties: ClassVar[List[str]] = ["globalPrefixSetOps", "ipfixExporterOps", "ipfixExporterOpsV2", "location", "name", "notes", "prefixSetOps", "routeTag", "routingPolicyOps", "snmpOps", "syslogServerOps", "syslogServerOpsV2", "trafficPolicyOps"] + __properties: ClassVar[List[str]] = ["globalPrefixSetOps", "ipfixExporterOps", "ipfixExporterOpsV2", "location", "name", "notes", "ntpOps", "prefixSetOps", "routeTag", "routingPolicyOps", "snmpOps", "syslogServerOps", "syslogServerOpsV2", "trafficPolicyOps"] model_config = ConfigDict( populate_by_name=True, @@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "location": ManaV2Location.from_dict(obj["location"]) if obj.get("location") is not None else None, "name": obj.get("name"), "notes": obj.get("notes"), + "ntpOps": obj.get("ntpOps"), "prefixSetOps": obj.get("prefixSetOps"), "routeTag": ManaV2RouteTag.from_dict(obj["routeTag"]) if obj.get("routeTag") is not None else None, "routingPolicyOps": obj.get("routingPolicyOps"), diff --git a/graphiant_sdk/models/mana_v2_ntp.py b/graphiant_sdk/models/mana_v2_ntp.py new file mode 100644 index 00000000..bf6da875 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_ntp.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ManaV2Ntp(BaseModel): + """ + ManaV2Ntp + """ # noqa: E501 + domains: Optional[List[StrictStr]] = None + error_message: Optional[StrictStr] = Field(default=None, alias="errorMessage") + global_id: Optional[StrictInt] = Field(default=None, alias="globalId") + id: Optional[StrictInt] = None + name: Optional[StrictStr] = None + status: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["domains", "errorMessage", "globalId", "id", "name", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2Ntp from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2Ntp from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "domains": obj.get("domains"), + "errorMessage": obj.get("errorMessage"), + "globalId": obj.get("globalId"), + "id": obj.get("id"), + "name": obj.get("name"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_ntp_config.py b/graphiant_sdk/models/mana_v2_ntp_config.py new file mode 100644 index 00000000..f2f26919 --- /dev/null +++ b/graphiant_sdk/models/mana_v2_ntp_config.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ManaV2NtpConfig(BaseModel): + """ + ManaV2NtpConfig + """ # noqa: E501 + domains: Optional[List[StrictStr]] = None + global_id: Optional[StrictInt] = Field(default=None, alias="globalId") + is_global_sync: Optional[StrictBool] = Field(default=None, alias="isGlobalSync") + name: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["domains", "globalId", "isGlobalSync", "name"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2NtpConfig from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2NtpConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "domains": obj.get("domains"), + "globalId": obj.get("globalId"), + "isGlobalSync": obj.get("isGlobalSync"), + "name": obj.get("name") + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_nullable_ntp_config.py b/graphiant_sdk/models/mana_v2_nullable_ntp_config.py new file mode 100644 index 00000000..13d1ccee --- /dev/null +++ b/graphiant_sdk/models/mana_v2_nullable_ntp_config.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_ntp_config import ManaV2NtpConfig +from typing import Optional, Set +from typing_extensions import Self + +class ManaV2NullableNtpConfig(BaseModel): + """ + ManaV2NullableNtpConfig + """ # noqa: E501 + config: Optional[ManaV2NtpConfig] = None + __properties: ClassVar[List[str]] = ["config"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ManaV2NullableNtpConfig from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of config + if self.config: + _dict['config'] = self.config.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ManaV2NullableNtpConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "config": ManaV2NtpConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/mana_v2_policer.py b/graphiant_sdk/models/mana_v2_policer.py index 4a449420..a25a95be 100644 --- a/graphiant_sdk/models/mana_v2_policer.py +++ b/graphiant_sdk/models/mana_v2_policer.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class ManaV2Policer(BaseModel): """ ManaV2Policer """ # noqa: E501 - burst_size: Optional[StrictInt] = Field(default=None, alias="burstSize") - bw: Optional[StrictInt] = None + burst_size: StrictInt = Field(description="Burst size for the policer (required)", alias="burstSize") + bw: StrictInt = Field(description="Bandwidth for the policer (required)") __properties: ClassVar[List[str]] = ["burstSize", "bw"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_sla_information.py b/graphiant_sdk/models/mana_v2_sla_information.py index 72e3f072..aafd9a53 100644 --- a/graphiant_sdk/models/mana_v2_sla_information.py +++ b/graphiant_sdk/models/mana_v2_sla_information.py @@ -26,9 +26,9 @@ class ManaV2SlaInformation(BaseModel): """ ManaV2SlaInformation """ # noqa: E501 - backup_circuit: Optional[StrictStr] = Field(default=None, alias="backupCircuit") - var_class: Optional[StrictStr] = Field(default=None, alias="class") - primary_circuit: Optional[StrictStr] = Field(default=None, alias="primaryCircuit") + backup_circuit: Optional[StrictStr] = Field(default=None, description="Backup circuit for the SLA information", alias="backupCircuit") + var_class: Optional[StrictStr] = Field(default=None, description="Class for the SLA information", alias="class") + primary_circuit: Optional[StrictStr] = Field(default=None, description="Primary circuit for the SLA information", alias="primaryCircuit") __properties: ClassVar[List[str]] = ["backupCircuit", "class", "primaryCircuit"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/mana_v2_traffic_policy_action.py b/graphiant_sdk/models/mana_v2_traffic_policy_action.py index 4eef4ffe..fe4229c2 100644 --- a/graphiant_sdk/models/mana_v2_traffic_policy_action.py +++ b/graphiant_sdk/models/mana_v2_traffic_policy_action.py @@ -26,10 +26,10 @@ class ManaV2TrafficPolicyAction(BaseModel): """ ManaV2TrafficPolicyAction """ # noqa: E501 - backup: Optional[StrictStr] = None - var_class: Optional[StrictStr] = Field(default=None, alias="class") - primary: Optional[StrictStr] = None - result: Optional[StrictStr] = None + backup: Optional[StrictStr] = Field(default=None, description="Backup circuit for the traffic policy action") + var_class: Optional[StrictStr] = Field(default=None, description="Class for the traffic policy action", alias="class") + primary: Optional[StrictStr] = Field(default=None, description="Primary circuit for the traffic policy action") + result: Optional[StrictStr] = Field(default=None, description="Result for the traffic policy action") __properties: ClassVar[List[str]] = ["backup", "class", "primary", "result"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/statsmon_extranet_edge_status.py b/graphiant_sdk/models/statsmon_extranet_edge_status.py index 3e7e67e1..c26cabb5 100644 --- a/graphiant_sdk/models/statsmon_extranet_edge_status.py +++ b/graphiant_sdk/models/statsmon_extranet_edge_status.py @@ -28,11 +28,11 @@ class StatsmonExtranetEdgeStatus(BaseModel): StatsmonExtranetEdgeStatus """ # noqa: E501 created_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="createdAt") - disconnected_reason: Optional[StrictStr] = Field(default=None, alias="disconnectedReason") - hostname: Optional[StrictStr] = None - id: Optional[StrictInt] = None - site_name: Optional[StrictStr] = Field(default=None, alias="siteName") - status: Optional[StrictStr] = None + disconnected_reason: Optional[StrictStr] = Field(default=None, description="the reason for the edge being disconnected", alias="disconnectedReason") + hostname: Optional[StrictStr] = Field(default=None, description="the hostname of the edge") + id: Optional[StrictInt] = Field(default=None, description="the id of the edge/device") + site_name: Optional[StrictStr] = Field(default=None, description="the name of the site", alias="siteName") + status: Optional[StrictStr] = Field(default=None, description="the health status of the edge (Healthy, Impaired, Down)") __properties: ClassVar[List[str]] = ["createdAt", "disconnectedReason", "hostname", "id", "siteName", "status"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/statsmon_extranet_prefix_health.py b/graphiant_sdk/models/statsmon_extranet_prefix_health.py index 37ce63d6..506aa5a5 100644 --- a/graphiant_sdk/models/statsmon_extranet_prefix_health.py +++ b/graphiant_sdk/models/statsmon_extranet_prefix_health.py @@ -26,7 +26,7 @@ class StatsmonExtranetPrefixHealth(BaseModel): """ StatsmonExtranetPrefixHealth """ # noqa: E501 - health: Optional[StrictStr] = None + health: Optional[StrictStr] = Field(default=None, description="the health status of the prefix (Healthy, Impaired, Down)") missing_prefixes: Optional[List[StrictStr]] = Field(default=None, alias="missingPrefixes") __properties: ClassVar[List[str]] = ["health", "missingPrefixes"] diff --git a/graphiant_sdk/models/statsmon_extranet_server_status.py b/graphiant_sdk/models/statsmon_extranet_server_status.py index cbf28bd4..9b932610 100644 --- a/graphiant_sdk/models/statsmon_extranet_server_status.py +++ b/graphiant_sdk/models/statsmon_extranet_server_status.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class StatsmonExtranetServerStatus(BaseModel): """ StatsmonExtranetServerStatus """ # noqa: E501 - address: Optional[StrictStr] = None - status: Optional[StrictStr] = None + address: Optional[StrictStr] = Field(default=None, description="the IP address of the server") + status: Optional[StrictStr] = Field(default=None, description="the health status of the server (Healthy, Impaired, Down)") __properties: ClassVar[List[str]] = ["address", "status"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/statsmon_extranet_service_health.py b/graphiant_sdk/models/statsmon_extranet_service_health.py index 986cfc22..eaff3ede 100644 --- a/graphiant_sdk/models/statsmon_extranet_service_health.py +++ b/graphiant_sdk/models/statsmon_extranet_service_health.py @@ -27,9 +27,9 @@ class StatsmonExtranetServiceHealth(BaseModel): """ StatsmonExtranetServiceHealth """ # noqa: E501 - customer_name: Optional[StrictStr] = Field(default=None, alias="customerName") + customer_name: Optional[StrictStr] = Field(default=None, description="the name of the customer", alias="customerName") customer_prefix_health: Optional[StatsmonExtranetPrefixHealth] = Field(default=None, alias="customerPrefixHealth") - overall_health: Optional[StrictStr] = Field(default=None, alias="overallHealth") + overall_health: Optional[StrictStr] = Field(default=None, description="the overall connectivity status of the service (Healthy, Impaired, Down)", alias="overallHealth") producer_prefix_health: Optional[StatsmonExtranetPrefixHealth] = Field(default=None, alias="producerPrefixHealth") __properties: ClassVar[List[str]] = ["customerName", "customerPrefixHealth", "overallHealth", "producerPrefixHealth"] diff --git a/graphiant_sdk/models/statsmon_extranet_site_status.py b/graphiant_sdk/models/statsmon_extranet_site_status.py index 694f43ff..45169dc5 100644 --- a/graphiant_sdk/models/statsmon_extranet_site_status.py +++ b/graphiant_sdk/models/statsmon_extranet_site_status.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.statsmon_extranet_server_status import StatsmonExtranetServerStatus from typing import Optional, Set @@ -27,9 +27,9 @@ class StatsmonExtranetSiteStatus(BaseModel): """ StatsmonExtranetSiteStatus """ # noqa: E501 - id: Optional[StrictInt] = None - name: Optional[StrictStr] = None - status: Optional[StrictStr] = None + id: Optional[StrictInt] = Field(default=None, description="the id of the site") + name: Optional[StrictStr] = Field(default=None, description="the name of the site") + status: Optional[StrictStr] = Field(default=None, description="the status of the site (Healthy, Impaired, Down)") statuses: Optional[List[StatsmonExtranetServerStatus]] = None __properties: ClassVar[List[str]] = ["id", "name", "status", "statuses"] diff --git a/graphiant_sdk/models/statsmon_time_window.py b/graphiant_sdk/models/statsmon_time_window.py index 79bc2414..087bdbb0 100644 --- a/graphiant_sdk/models/statsmon_time_window.py +++ b/graphiant_sdk/models/statsmon_time_window.py @@ -28,7 +28,7 @@ class StatsmonTimeWindow(BaseModel): """ StatsmonTimeWindow """ # noqa: E501 - bucket_size_sec: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="bucketSizeSec") + bucket_size_sec: Annotated[int, Field(strict=True, ge=0)] = Field(description="the size of the time window in seconds (required)", alias="bucketSizeSec") old_ts: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="oldTs") recent_ts: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="recentTs") __properties: ClassVar[List[str]] = ["bucketSizeSec", "oldTs", "recentTs"] diff --git a/graphiant_sdk/models/v1_edges_summary_post_request.py b/graphiant_sdk/models/v1_edges_summary_post_request.py new file mode 100644 index 00000000..13ee23cd --- /dev/null +++ b/graphiant_sdk/models/v1_edges_summary_post_request.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter +from typing import Optional, Set +from typing_extensions import Self + +class V1EdgesSummaryPostRequest(BaseModel): + """ + V1EdgesSummaryPostRequest + """ # noqa: E501 + filter: Optional[V1EdgesSummaryPostRequestFilter] = None + __properties: ClassVar[List[str]] = ["filter"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of filter + if self.filter: + _dict['filter'] = self.filter.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "filter": V1EdgesSummaryPostRequestFilter.from_dict(obj["filter"]) if obj.get("filter") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_edges_summary_post_request_filter.py b/graphiant_sdk/models/v1_edges_summary_post_request_filter.py new file mode 100644 index 00000000..ead400ef --- /dev/null +++ b/graphiant_sdk/models/v1_edges_summary_post_request_filter.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V1EdgesSummaryPostRequestFilter(BaseModel): + """ + V1EdgesSummaryPostRequestFilter + """ # noqa: E501 + device_ids: Optional[List[StrictInt]] = Field(default=None, alias="deviceIds") + roles: Optional[List[StrictStr]] = None + statuses: Optional[List[StrictStr]] = None + __properties: ClassVar[List[str]] = ["deviceIds", "roles", "statuses"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostRequestFilter from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostRequestFilter from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "deviceIds": obj.get("deviceIds"), + "roles": obj.get("roles"), + "statuses": obj.get("statuses") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_edges_summary_post_response.py b/graphiant_sdk/models/v1_edges_summary_post_response.py new file mode 100644 index 00000000..8e5f069e --- /dev/null +++ b/graphiant_sdk/models/v1_edges_summary_post_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.search_edge_summary import SearchEdgeSummary +from typing import Optional, Set +from typing_extensions import Self + +class V1EdgesSummaryPostResponse(BaseModel): + """ + V1EdgesSummaryPostResponse + """ # noqa: E501 + edges_summary: Optional[List[SearchEdgeSummary]] = Field(default=None, alias="edgesSummary") + __properties: ClassVar[List[str]] = ["edgesSummary"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in edges_summary (list) + _items = [] + if self.edges_summary: + for _item_edges_summary in self.edges_summary: + if _item_edges_summary: + _items.append(_item_edges_summary.to_dict()) + _dict['edgesSummary'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1EdgesSummaryPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "edgesSummary": [SearchEdgeSummary.from_dict(_item) for _item in obj["edgesSummary"]] if obj.get("edgesSummary") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_enterprises_patch_request.py b/graphiant_sdk/models/v1_enterprises_patch_request.py index 044fc0a0..631d1d5d 100644 --- a/graphiant_sdk/models/v1_enterprises_patch_request.py +++ b/graphiant_sdk/models/v1_enterprises_patch_request.py @@ -31,14 +31,16 @@ class V1EnterprisesPatchRequest(BaseModel): cloud_provider: Optional[StrictStr] = Field(default=None, alias="cloudProvider") company_name: Optional[StrictStr] = Field(default=None, alias="companyName") credit_limit: Optional[StrictInt] = Field(default=None, alias="creditLimit") + description: Optional[StrictStr] = None enterprise_id: StrictInt = Field(description=" (required)", alias="enterpriseId") impersonation_enabled: Optional[StrictBool] = Field(default=None, alias="impersonationEnabled") logo: Optional[StrictStr] = None + marketplace_id: Optional[StrictStr] = Field(default=None, alias="marketplaceId") portal_banner: Optional[StrictStr] = Field(default=None, alias="portalBanner") proxy_tenant_id: Optional[StrictInt] = Field(default=None, alias="proxyTenantId") small_logo: Optional[StrictStr] = Field(default=None, alias="smallLogo") token_expiry: Optional[V1EnterprisesPatchRequestTokenExpiry] = Field(default=None, alias="tokenExpiry") - __properties: ClassVar[List[str]] = ["adminEmail", "cloudProvider", "companyName", "creditLimit", "enterpriseId", "impersonationEnabled", "logo", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] + __properties: ClassVar[List[str]] = ["adminEmail", "cloudProvider", "companyName", "creditLimit", "description", "enterpriseId", "impersonationEnabled", "logo", "marketplaceId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] model_config = ConfigDict( populate_by_name=True, @@ -98,9 +100,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "cloudProvider": obj.get("cloudProvider"), "companyName": obj.get("companyName"), "creditLimit": obj.get("creditLimit"), + "description": obj.get("description"), "enterpriseId": obj.get("enterpriseId"), "impersonationEnabled": obj.get("impersonationEnabled"), "logo": obj.get("logo"), + "marketplaceId": obj.get("marketplaceId"), "portalBanner": obj.get("portalBanner"), "proxyTenantId": obj.get("proxyTenantId"), "smallLogo": obj.get("smallLogo"), diff --git a/graphiant_sdk/models/v1_enterprises_put_request.py b/graphiant_sdk/models/v1_enterprises_put_request.py index 150bf03f..281f8955 100644 --- a/graphiant_sdk/models/v1_enterprises_put_request.py +++ b/graphiant_sdk/models/v1_enterprises_put_request.py @@ -34,9 +34,11 @@ class V1EnterprisesPutRequest(BaseModel): cloud_provider: Optional[StrictStr] = Field(default=None, alias="cloudProvider") company_name: StrictStr = Field(description=" (required)", alias="companyName") credit_limit: Optional[StrictInt] = Field(default=None, alias="creditLimit") + description: Optional[StrictStr] = None logo: Optional[StrictStr] = None + marketplace_id: Optional[StrictStr] = Field(default=None, alias="marketplaceId") small_logo: Optional[StrictStr] = Field(default=None, alias="smallLogo") - __properties: ClassVar[List[str]] = ["accountType", "adminEmail", "adminFirstName", "adminLastName", "adminTimeZone", "cloudProvider", "companyName", "creditLimit", "logo", "smallLogo"] + __properties: ClassVar[List[str]] = ["accountType", "adminEmail", "adminFirstName", "adminLastName", "adminTimeZone", "cloudProvider", "companyName", "creditLimit", "description", "logo", "marketplaceId", "smallLogo"] model_config = ConfigDict( populate_by_name=True, @@ -97,7 +99,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "cloudProvider": obj.get("cloudProvider"), "companyName": obj.get("companyName"), "creditLimit": obj.get("creditLimit"), + "description": obj.get("description"), "logo": obj.get("logo"), + "marketplaceId": obj.get("marketplaceId"), "smallLogo": obj.get("smallLogo") }) return _obj diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py index d636803a..a20f9c62 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_request.py @@ -27,14 +27,14 @@ class V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest(BaseModel): """ V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") service_id: Optional[StrictInt] = Field(default=None, alias="serviceId") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site (id of the site)", alias="siteId") subscription_name: Optional[StrictStr] = Field(default=None, description="Optional subscription name for filter", alias="subscriptionName") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific lan segment (id of the lan segment)", alias="vrfId") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "serviceId", "siteId", "subscriptionName", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response.py index 502b95e6..3c923612 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_bandwidth_usage_post_response.py @@ -27,7 +27,7 @@ class V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse(BaseModel) """ V1ExtranetB2bMonitoringPeeringServiceBandwidthUsagePostResponse """ # noqa: E501 - bw_allocation: Optional[StrictInt] = Field(default=None, alias="bwAllocation") + bw_allocation: Optional[StrictInt] = Field(default=None, description="the bandwidth allocation for the entity in kbps", alias="bwAllocation") dl_stats: Optional[List[IpfixStats]] = Field(default=None, alias="dlStats") ul_stats: Optional[List[IpfixStats]] = Field(default=None, alias="ulStats") __properties: ClassVar[List[str]] = ["bwAllocation", "dlStats", "ulStats"] diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py index a608175f..55bd2c6c 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.statsmon_time_window import StatsmonTimeWindow from typing import Optional, Set from typing_extensions import Self @@ -27,10 +27,10 @@ class V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest(BaseMode """ V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id of a producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + id: StrictInt = Field(description="the id of a producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response.py index b603d60f..716045fe 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumers_usage_top_post_response.py @@ -28,8 +28,8 @@ class V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse(BaseMod V1ExtranetB2bMonitoringPeeringServiceConsumersUsageTopPostResponse """ # noqa: E501 top_consumers: Optional[List[IpfixEntityUsage]] = Field(default=None, alias="topConsumers") - total_customers: Optional[StrictInt] = Field(default=None, alias="totalCustomers") - total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="totalUsage") + total_customers: Optional[StrictInt] = Field(default=None, description="total number of customers", alias="totalCustomers") + total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="total service usage in kilo bytes", alias="totalUsage") __properties: ClassVar[List[str]] = ["topConsumers", "totalCustomers", "totalUsage"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py index 0ceceffe..9b182c3a 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_request.py @@ -27,14 +27,14 @@ class V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest(BaseMo """ V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostRequest """ # noqa: E501 - customer_name: Optional[StrictStr] = Field(default=None, alias="customerName") - flipped_view: Optional[StrictBool] = Field(default=None, alias="flippedView") - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + customer_name: Optional[StrictStr] = Field(default=None, description="a filter to get usage for a specific customer", alias="customerName") + flipped_view: StrictBool = Field(description="whether to view the data from the consumer's perspective (true) or the provider's perspective (false) (required)", alias="flippedView") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site", alias="siteId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific vrf", alias="vrfId") __properties: ClassVar[List[str]] = ["customerName", "flippedView", "id", "isB2B", "isProvider", "siteId", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response.py index 619a62aa..4ca80cba 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_consumption_overview_post_response.py @@ -30,7 +30,7 @@ class V1ExtranetB2bMonitoringPeeringServiceConsumptionOverviewPostResponse(BaseM first_level: Optional[List[IpfixConnectionMap]] = Field(default=None, alias="firstLevel") second_level: Optional[List[IpfixConnectionMap]] = Field(default=None, alias="secondLevel") third_level: Optional[List[IpfixConnectionMap]] = Field(default=None, alias="thirdLevel") - total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="totalUsage") + total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="total service usage in kilo bytes", alias="totalUsage") __properties: ClassVar[List[str]] = ["firstLevel", "secondLevel", "thirdLevel", "totalUsage"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py index 4df7f24c..5303790d 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_customer_list_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.statsmon_time_window import StatsmonTimeWindow from typing import Optional, Set from typing_extensions import Self @@ -27,9 +27,9 @@ class V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest(BaseMo """ V1ExtranetB2bMonitoringPeeringServiceServiceCustomerListPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="service id") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + id: StrictInt = Field(description="service id (required)") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isProvider", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post_request.py index 124c18fd..e8497f6d 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_health_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,8 +26,8 @@ class V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest(BaseModel): """ V1ExtranetB2bMonitoringPeeringServiceServiceHealthPostRequest """ # noqa: E501 - id: Optional[StrictInt] = None - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id of the service (required)") + is_provider: StrictBool = Field(description="whether the entity is a provider/producer or consumer (required)", alias="isProvider") __properties: ClassVar[List[str]] = ["id", "isProvider"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py index be0ab9a3..e953db22 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_monitoring_peering_service_service_overtime_consumption_post_request.py @@ -27,13 +27,13 @@ class V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest """ V1ExtranetB2bMonitoringPeeringServiceServiceOvertimeConsumptionPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site", alias="siteId") subscription_name: Optional[StrictStr] = Field(default=None, description="Optional subscription name for filter", alias="subscriptionName") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific vrf", alias="vrfId") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "siteId", "subscriptionName", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_sites_usage_post_request.py b/graphiant_sdk/models/v1_extranet_sites_usage_post_request.py index 86fe51d8..52a67b42 100644 --- a/graphiant_sdk/models/v1_extranet_sites_usage_post_request.py +++ b/graphiant_sdk/models/v1_extranet_sites_usage_post_request.py @@ -27,14 +27,14 @@ class V1ExtranetSitesUsagePostRequest(BaseModel): """ V1ExtranetSitesUsagePostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") service_id: Optional[StrictInt] = Field(default=None, alias="serviceId") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site (id of the site)", alias="siteId") subscription_name: Optional[StrictStr] = Field(default=None, description="Optional subscription name for filter", alias="subscriptionName") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific lan segment (id of the lan segment)", alias="vrfId") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "serviceId", "siteId", "subscriptionName", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_sites_usage_post_response.py b/graphiant_sdk/models/v1_extranet_sites_usage_post_response.py index 1f71efd9..55165aa1 100644 --- a/graphiant_sdk/models/v1_extranet_sites_usage_post_response.py +++ b/graphiant_sdk/models/v1_extranet_sites_usage_post_response.py @@ -27,7 +27,7 @@ class V1ExtranetSitesUsagePostResponse(BaseModel): """ V1ExtranetSitesUsagePostResponse """ # noqa: E501 - bw_allocation: Optional[StrictInt] = Field(default=None, alias="bwAllocation") + bw_allocation: Optional[StrictInt] = Field(default=None, description="the bandwidth allocation for the entity in kbps", alias="bwAllocation") dl_stats: Optional[List[IpfixStats]] = Field(default=None, alias="dlStats") ul_stats: Optional[List[IpfixStats]] = Field(default=None, alias="ulStats") __properties: ClassVar[List[str]] = ["bwAllocation", "dlStats", "ulStats"] diff --git a/graphiant_sdk/models/v1_extranet_sites_usage_top_post_request.py b/graphiant_sdk/models/v1_extranet_sites_usage_top_post_request.py index 28f1e03f..bd905ecb 100644 --- a/graphiant_sdk/models/v1_extranet_sites_usage_top_post_request.py +++ b/graphiant_sdk/models/v1_extranet_sites_usage_top_post_request.py @@ -27,11 +27,11 @@ class V1ExtranetSitesUsageTopPostRequest(BaseModel): """ V1ExtranetSitesUsageTopPostRequest """ # noqa: E501 - id: Optional[StrictInt] = None - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") service_id: Optional[StrictInt] = Field(default=None, alias="serviceId") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "serviceId", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranet_sites_usage_top_post_response_site_usage.py b/graphiant_sdk/models/v1_extranet_sites_usage_top_post_response_site_usage.py index ff5a7a24..74d0e612 100644 --- a/graphiant_sdk/models/v1_extranet_sites_usage_top_post_response_site_usage.py +++ b/graphiant_sdk/models/v1_extranet_sites_usage_top_post_response_site_usage.py @@ -26,9 +26,9 @@ class V1ExtranetSitesUsageTopPostResponseSiteUsage(BaseModel): """ V1ExtranetSitesUsageTopPostResponseSiteUsage """ # noqa: E501 - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") - site_name: Optional[StrictStr] = Field(default=None, alias="siteName") - usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="service usage in kilo bytes") + site_id: Optional[StrictInt] = Field(default=None, description="the id of the site", alias="siteId") + site_name: Optional[StrictStr] = Field(default=None, description="the name of the site", alias="siteName") + usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="usage/consumption of the service on the site in kilo bytes") __properties: ClassVar[List[str]] = ["siteId", "siteName", "usage"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_id_customer_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_id_customer_post_request.py index 6dfc354f..0fa9c287 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_id_customer_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_id_customer_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.mana_v2_b2b_extranet_application_invite import ManaV2B2bExtranetApplicationInvite from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class V1ExtranetsB2bIdCustomerPostRequest(BaseModel): """ V1ExtranetsB2bIdCustomerPostRequest """ # noqa: E501 - invites: Optional[List[ManaV2B2bExtranetApplicationInvite]] = None + invites: List[ManaV2B2bExtranetApplicationInvite] __properties: ClassVar[List[str]] = ["invites"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_id_put_request.py b/graphiant_sdk/models/v1_extranets_b2b_id_put_request.py index 649737b2..02f1c7d7 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_id_put_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_id_put_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.mana_v2_b2b_extranet_producer_policy import ManaV2B2bExtranetProducerPolicy from typing import Optional, Set from typing_extensions import Self @@ -27,7 +27,7 @@ class V1ExtranetsB2bIdPutRequest(BaseModel): """ V1ExtranetsB2bIdPutRequest """ # noqa: E501 - policy: Optional[ManaV2B2bExtranetProducerPolicy] = None + policy: ManaV2B2bExtranetProducerPolicy __properties: ClassVar[List[str]] = ["policy"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py index 15142834..0e066b26 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_peering_consumer_match_id_post_request.py @@ -33,10 +33,10 @@ class V1ExtranetsB2bPeeringConsumerMatchIdPostRequest(BaseModel): """ # noqa: E501 customer_id: Optional[StrictInt] = Field(default=None, alias="customerId") global_object_ops: Optional[Dict[str, ManaV2GlobalObjectServiceOps]] = Field(default=None, alias="globalObjectOps") - id: Optional[StrictInt] = Field(default=None, description="ID of the service.") - nat: Optional[List[ManaV2B2bNat]] = None - policy: Optional[List[ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy]] = None - site_information: Optional[List[ManaV2B2bSiteInformation]] = Field(default=None, alias="siteInformation") + id: StrictInt = Field(description="ID of the service which is being consumed by the customer (required)") + nat: List[ManaV2B2bNat] + policy: List[ManaV2B2bExtranetPeeringServiceConsumerLanSegmentPolicy] + site_information: List[ManaV2B2bSiteInformation] = Field(alias="siteInformation") site_to_site_vpn: Optional[ManaV2GuestConsumerSiteToSiteVpnConfig] = Field(default=None, alias="siteToSiteVpn") __properties: ClassVar[List[str]] = ["customerId", "globalObjectOps", "id", "nat", "policy", "siteInformation", "siteToSiteVpn"] diff --git a/graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py index d3670492..173510e9 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_peering_customer_post_request.py @@ -17,8 +17,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.mana_v2_b2b_extranet_peering_service_customer_invite import ManaV2B2bExtranetPeeringServiceCustomerInvite from typing import Optional, Set from typing_extensions import Self @@ -27,9 +27,9 @@ class V1ExtranetsB2bPeeringCustomerPostRequest(BaseModel): """ V1ExtranetsB2bPeeringCustomerPostRequest """ # noqa: E501 - invite: Optional[ManaV2B2bExtranetPeeringServiceCustomerInvite] = None - name: Optional[StrictStr] = None - type: Optional[StrictStr] = None + invite: ManaV2B2bExtranetPeeringServiceCustomerInvite + name: StrictStr = Field(description="Name of the peering service customer (required)") + type: StrictStr = Field(description="Type of the peerings servicecustomer whether it is a graphiant or non-graphiant (required)") __properties: ClassVar[List[str]] = ["invite", "name", "type"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py b/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py new file mode 100644 index 00000000..3c4ac2bc --- /dev/null +++ b/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse(BaseModel): + """ + V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse + """ # noqa: E501 + activity_id: Optional[StrictStr] = Field(default=None, description="activity id for the delete operation (required)", alias="activityId") + consumer_activity_id: Optional[StrictStr] = Field(default=None, description="activity id for the consumer delete operation (required)", alias="consumerActivityId") + __properties: ClassVar[List[str]] = ["activityId", "consumerActivityId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "activityId": obj.get("activityId"), + "consumerActivityId": obj.get("consumerActivityId") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py index 2b5f0ce0..9b3a7e02 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_peering_match_service_to_customer_post_request.py @@ -17,8 +17,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.mana_v2_b2b_extranet_match_service_to_customer import ManaV2B2bExtranetMatchServiceToCustomer from typing import Optional, Set from typing_extensions import Self @@ -27,8 +27,8 @@ class V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest(BaseModel): """ V1ExtranetsB2bPeeringMatchServiceToCustomerPostRequest """ # noqa: E501 - id: Optional[StrictInt] = None - service: Optional[ManaV2B2bExtranetMatchServiceToCustomer] = None + id: StrictInt = Field(description="ID of the customer (required)") + service: ManaV2B2bExtranetMatchServiceToCustomer __properties: ClassVar[List[str]] = ["id", "service"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py index 083fcaef..4d9a8de1 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_peering_producer_post_request.py @@ -27,9 +27,9 @@ class V1ExtranetsB2bPeeringProducerPostRequest(BaseModel): """ V1ExtranetsB2bPeeringProducerPostRequest """ # noqa: E501 - policy: Optional[ManaV2B2bExtranetPeeringServiceProducerPolicy] = None + policy: ManaV2B2bExtranetPeeringServiceProducerPolicy service_name: Optional[StrictStr] = Field(default=None, alias="serviceName") - type: Optional[StrictStr] = None + type: StrictStr = Field(description="Type of the service whether it is application or peering (required)") __properties: ClassVar[List[str]] = ["policy", "serviceName", "type"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_extranets_b2b_post_request.py b/graphiant_sdk/models/v1_extranets_b2b_post_request.py index 1dfb1473..e448fcac 100644 --- a/graphiant_sdk/models/v1_extranets_b2b_post_request.py +++ b/graphiant_sdk/models/v1_extranets_b2b_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.mana_v2_b2b_extranet_producer_policy import ManaV2B2bExtranetProducerPolicy from typing import Optional, Set from typing_extensions import Self @@ -27,9 +27,9 @@ class V1ExtranetsB2bPostRequest(BaseModel): """ V1ExtranetsB2bPostRequest """ # noqa: E501 - policy: Optional[ManaV2B2bExtranetProducerPolicy] = None - service_name: Optional[StrictStr] = Field(default=None, alias="serviceName") - type: Optional[StrictStr] = None + policy: ManaV2B2bExtranetProducerPolicy + service_name: StrictStr = Field(description="Name of the service (required)", alias="serviceName") + type: StrictStr = Field(description="Type of the service whether it is application or peering (required)") __properties: ClassVar[List[str]] = ["policy", "serviceName", "type"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v1_global_attached_edges_post_request.py b/graphiant_sdk/models/v1_global_attached_edges_post_request.py index 01d376f8..bfdf413b 100644 --- a/graphiant_sdk/models/v1_global_attached_edges_post_request.py +++ b/graphiant_sdk/models/v1_global_attached_edges_post_request.py @@ -27,12 +27,13 @@ class V1GlobalAttachedEdgesPostRequest(BaseModel): V1GlobalAttachedEdgesPostRequest """ # noqa: E501 ipfix_exported_ids: Optional[List[StrictInt]] = Field(default=None, alias="ipfixExportedIds") + ntp_ids: Optional[List[StrictInt]] = Field(default=None, alias="ntpIds") prefix_set_ids: Optional[List[StrictInt]] = Field(default=None, alias="prefixSetIds") routing_policy_ids: Optional[List[StrictInt]] = Field(default=None, alias="routingPolicyIds") snmp_ids: Optional[List[StrictInt]] = Field(default=None, alias="snmpIds") syslog_server_ids: Optional[List[StrictInt]] = Field(default=None, alias="syslogServerIds") traffic_policy_ids: Optional[List[StrictInt]] = Field(default=None, alias="trafficPolicyIds") - __properties: ClassVar[List[str]] = ["ipfixExportedIds", "prefixSetIds", "routingPolicyIds", "snmpIds", "syslogServerIds", "trafficPolicyIds"] + __properties: ClassVar[List[str]] = ["ipfixExportedIds", "ntpIds", "prefixSetIds", "routingPolicyIds", "snmpIds", "syslogServerIds", "trafficPolicyIds"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "ipfixExportedIds": obj.get("ipfixExportedIds"), + "ntpIds": obj.get("ntpIds"), "prefixSetIds": obj.get("prefixSetIds"), "routingPolicyIds": obj.get("routingPolicyIds"), "snmpIds": obj.get("snmpIds"), diff --git a/graphiant_sdk/models/v1_global_config_patch_request.py b/graphiant_sdk/models/v1_global_config_patch_request.py index 1f3b8c3a..18f29702 100644 --- a/graphiant_sdk/models/v1_global_config_patch_request.py +++ b/graphiant_sdk/models/v1_global_config_patch_request.py @@ -23,6 +23,7 @@ from graphiant_sdk.models.mana_v2_nullable_enterprise_prefix_set_config import ManaV2NullableEnterprisePrefixSetConfig from graphiant_sdk.models.mana_v2_nullable_i_psec_vpn_profiles_config import ManaV2NullableIPsecVpnProfilesConfig from graphiant_sdk.models.mana_v2_nullable_ipfix_exporter_config import ManaV2NullableIpfixExporterConfig +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig from graphiant_sdk.models.mana_v2_nullable_prefix_set_config import ManaV2NullablePrefixSetConfig from graphiant_sdk.models.mana_v2_nullable_routing_policy_config import ManaV2NullableRoutingPolicyConfig from graphiant_sdk.models.mana_v2_nullable_snmp_config import ManaV2NullableSnmpConfig @@ -36,13 +37,14 @@ class V1GlobalConfigPatchRequest(BaseModel): """ # noqa: E501 global_prefix_sets: Optional[Dict[str, ManaV2NullablePrefixSetConfig]] = Field(default=None, alias="globalPrefixSets") ipfix_exporters: Optional[Dict[str, ManaV2NullableIpfixExporterConfig]] = Field(default=None, alias="ipfixExporters") + ntps: Optional[Dict[str, ManaV2NullableNtpConfig]] = None prefix_sets: Optional[Dict[str, ManaV2NullableEnterprisePrefixSetConfig]] = Field(default=None, alias="prefixSets") routing_policies: Optional[Dict[str, ManaV2NullableRoutingPolicyConfig]] = Field(default=None, alias="routingPolicies") snmps: Optional[Dict[str, ManaV2NullableSnmpConfig]] = None syslog_servers: Optional[Dict[str, ManaV2NullableSyslogCollectorConfig]] = Field(default=None, alias="syslogServers") traffic_policies: Optional[ManaV2ForwardingPolicyConfig] = Field(default=None, alias="trafficPolicies") vpn_profiles: Optional[Dict[str, ManaV2NullableIPsecVpnProfilesConfig]] = Field(default=None, alias="vpnProfiles") - __properties: ClassVar[List[str]] = ["globalPrefixSets", "ipfixExporters", "prefixSets", "routingPolicies", "snmps", "syslogServers", "trafficPolicies", "vpnProfiles"] + __properties: ClassVar[List[str]] = ["globalPrefixSets", "ipfixExporters", "ntps", "prefixSets", "routingPolicies", "snmps", "syslogServers", "trafficPolicies", "vpnProfiles"] model_config = ConfigDict( populate_by_name=True, @@ -97,6 +99,13 @@ def to_dict(self) -> Dict[str, Any]: if self.ipfix_exporters[_key_ipfix_exporters]: _field_dict[_key_ipfix_exporters] = self.ipfix_exporters[_key_ipfix_exporters].to_dict() _dict['ipfixExporters'] = _field_dict + # override the default output from pydantic by calling `to_dict()` of each value in ntps (dict) + _field_dict = {} + if self.ntps: + for _key_ntps in self.ntps: + if self.ntps[_key_ntps]: + _field_dict[_key_ntps] = self.ntps[_key_ntps].to_dict() + _dict['ntps'] = _field_dict # override the default output from pydantic by calling `to_dict()` of each value in prefix_sets (dict) _field_dict = {} if self.prefix_sets: @@ -159,6 +168,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: ) if obj.get("ipfixExporters") is not None else None, + "ntps": dict( + (_k, ManaV2NullableNtpConfig.from_dict(_v)) + for _k, _v in obj["ntps"].items() + ) + if obj.get("ntps") is not None + else None, "prefixSets": dict( (_k, ManaV2NullableEnterprisePrefixSetConfig.from_dict(_v)) for _k, _v in obj["prefixSets"].items() diff --git a/graphiant_sdk/models/v1_global_config_patch_response.py b/graphiant_sdk/models/v1_global_config_patch_response.py index 7bab7f61..24cc1753 100644 --- a/graphiant_sdk/models/v1_global_config_patch_response.py +++ b/graphiant_sdk/models/v1_global_config_patch_response.py @@ -28,6 +28,7 @@ class V1GlobalConfigPatchResponse(BaseModel): """ # noqa: E501 global_prefix_sets: Optional[Dict[str, StrictInt]] = Field(default=None, alias="globalPrefixSets") ipfix_exporters: Optional[Dict[str, StrictInt]] = Field(default=None, alias="ipfixExporters") + ntps: Optional[Dict[str, StrictInt]] = None prefix_sets: Optional[Dict[str, StrictInt]] = Field(default=None, alias="prefixSets") routing_policies: Optional[Dict[str, StrictInt]] = Field(default=None, alias="routingPolicies") snmps: Optional[Dict[str, StrictInt]] = None @@ -35,7 +36,7 @@ class V1GlobalConfigPatchResponse(BaseModel): syslog_servers: Optional[Dict[str, StrictInt]] = Field(default=None, alias="syslogServers") traffic_policies: Optional[Dict[str, StrictInt]] = Field(default=None, alias="trafficPolicies") vpn_profiles: Optional[Dict[str, StrictInt]] = Field(default=None, alias="vpnProfiles") - __properties: ClassVar[List[str]] = ["globalPrefixSets", "ipfixExporters", "prefixSets", "routingPolicies", "snmps", "status", "syslogServers", "trafficPolicies", "vpnProfiles"] + __properties: ClassVar[List[str]] = ["globalPrefixSets", "ipfixExporters", "ntps", "prefixSets", "routingPolicies", "snmps", "status", "syslogServers", "trafficPolicies", "vpnProfiles"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "globalPrefixSets": obj.get("globalPrefixSets"), "ipfixExporters": obj.get("ipfixExporters"), + "ntps": obj.get("ntps"), "prefixSets": obj.get("prefixSets"), "routingPolicies": obj.get("routingPolicies"), "snmps": obj.get("snmps"), diff --git a/graphiant_sdk/models/v1_global_config_site_post_request.py b/graphiant_sdk/models/v1_global_config_site_post_request.py index 5d4d9358..c73c9bb0 100644 --- a/graphiant_sdk/models/v1_global_config_site_post_request.py +++ b/graphiant_sdk/models/v1_global_config_site_post_request.py @@ -30,6 +30,7 @@ class V1GlobalConfigSitePostRequest(BaseModel): global_prefix_set_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="globalPrefixSetOps") ipfix_exporter_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="ipfixExporterOps") ipfix_exporter_ops_v2: Optional[Dict[str, ManaV2GlobalObjectOperationConfig]] = Field(default=None, alias="ipfixExporterOpsV2") + ntp_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="ntpOps") prefix_set_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="prefixSetOps") routing_policy_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="routingPolicyOps") site_id: Optional[StrictInt] = Field(default=None, alias="siteId") @@ -37,7 +38,7 @@ class V1GlobalConfigSitePostRequest(BaseModel): syslog_server_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="syslogServerOps") syslog_server_ops_v2: Optional[Dict[str, ManaV2GlobalObjectOperationConfig]] = Field(default=None, alias="syslogServerOpsV2") traffic_policy_ops: Optional[Dict[str, StrictStr]] = Field(default=None, alias="trafficPolicyOps") - __properties: ClassVar[List[str]] = ["globalPrefixSetOps", "ipfixExporterOps", "ipfixExporterOpsV2", "prefixSetOps", "routingPolicyOps", "siteId", "snmpOps", "syslogServerOps", "syslogServerOpsV2", "trafficPolicyOps"] + __properties: ClassVar[List[str]] = ["globalPrefixSetOps", "ipfixExporterOps", "ipfixExporterOpsV2", "ntpOps", "prefixSetOps", "routingPolicyOps", "siteId", "snmpOps", "syslogServerOps", "syslogServerOpsV2", "trafficPolicyOps"] model_config = ConfigDict( populate_by_name=True, @@ -112,6 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: ) if obj.get("ipfixExporterOpsV2") is not None else None, + "ntpOps": obj.get("ntpOps"), "prefixSetOps": obj.get("prefixSetOps"), "routingPolicyOps": obj.get("routingPolicyOps"), "siteId": obj.get("siteId"), diff --git a/graphiant_sdk/models/v1_global_ntps_device_get_response.py b/graphiant_sdk/models/v1_global_ntps_device_get_response.py new file mode 100644 index 00000000..b8ab0565 --- /dev/null +++ b/graphiant_sdk/models/v1_global_ntps_device_get_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp +from typing import Optional, Set +from typing_extensions import Self + +class V1GlobalNtpsDeviceGetResponse(BaseModel): + """ + V1GlobalNtpsDeviceGetResponse + """ # noqa: E501 + ntps: Optional[List[ManaV2Ntp]] = None + __properties: ClassVar[List[str]] = ["ntps"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1GlobalNtpsDeviceGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in ntps (list) + _items = [] + if self.ntps: + for _item_ntps in self.ntps: + if _item_ntps: + _items.append(_item_ntps.to_dict()) + _dict['ntps'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1GlobalNtpsDeviceGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ntps": [ManaV2Ntp.from_dict(_item) for _item in obj["ntps"]] if obj.get("ntps") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_global_ntps_post_request.py b/graphiant_sdk/models/v1_global_ntps_post_request.py new file mode 100644 index 00000000..f051806f --- /dev/null +++ b/graphiant_sdk/models/v1_global_ntps_post_request.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V1GlobalNtpsPostRequest(BaseModel): + """ + V1GlobalNtpsPostRequest + """ # noqa: E501 + ids: Optional[List[StrictInt]] = None + __properties: ClassVar[List[str]] = ["ids"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1GlobalNtpsPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1GlobalNtpsPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ids": obj.get("ids") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_global_ntps_post_response.py b/graphiant_sdk/models/v1_global_ntps_post_response.py new file mode 100644 index 00000000..bbb0ae35 --- /dev/null +++ b/graphiant_sdk/models/v1_global_ntps_post_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp +from typing import Optional, Set +from typing_extensions import Self + +class V1GlobalNtpsPostResponse(BaseModel): + """ + V1GlobalNtpsPostResponse + """ # noqa: E501 + ntps: Optional[List[ManaV2Ntp]] = None + __properties: ClassVar[List[str]] = ["ntps"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1GlobalNtpsPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in ntps (list) + _items = [] + if self.ntps: + for _item_ntps in self.ntps: + if _item_ntps: + _items.append(_item_ntps.to_dict()) + _dict['ntps'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1GlobalNtpsPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ntps": [ManaV2Ntp.from_dict(_item) for _item in obj["ntps"]] if obj.get("ntps") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_global_ntps_site_get_response.py b/graphiant_sdk/models/v1_global_ntps_site_get_response.py new file mode 100644 index 00000000..d1f6a9cb --- /dev/null +++ b/graphiant_sdk/models/v1_global_ntps_site_get_response.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp +from typing import Optional, Set +from typing_extensions import Self + +class V1GlobalNtpsSiteGetResponse(BaseModel): + """ + V1GlobalNtpsSiteGetResponse + """ # noqa: E501 + ntps: Optional[List[ManaV2Ntp]] = None + __properties: ClassVar[List[str]] = ["ntps"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1GlobalNtpsSiteGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in ntps (list) + _items = [] + if self.ntps: + for _item_ntps in self.ntps: + if _item_ntps: + _items.append(_item_ntps.to_dict()) + _dict['ntps'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1GlobalNtpsSiteGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ntps": [ManaV2Ntp.from_dict(_item) for _item in obj["ntps"]] if obj.get("ntps") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_global_summary_post_request.py b/graphiant_sdk/models/v1_global_summary_post_request.py index e2a7c37b..ff92f321 100644 --- a/graphiant_sdk/models/v1_global_summary_post_request.py +++ b/graphiant_sdk/models/v1_global_summary_post_request.py @@ -27,12 +27,13 @@ class V1GlobalSummaryPostRequest(BaseModel): V1GlobalSummaryPostRequest """ # noqa: E501 ipfix_exported_type: Optional[StrictBool] = Field(default=None, alias="ipfixExportedType") + ntp_type: Optional[StrictBool] = Field(default=None, alias="ntpType") prefix_set_type: Optional[StrictBool] = Field(default=None, alias="prefixSetType") routing_policy_type: Optional[StrictBool] = Field(default=None, alias="routingPolicyType") snmp_type: Optional[StrictBool] = Field(default=None, alias="snmpType") syslog_server_type: Optional[StrictBool] = Field(default=None, alias="syslogServerType") traffic_policy_type: Optional[StrictBool] = Field(default=None, alias="trafficPolicyType") - __properties: ClassVar[List[str]] = ["ipfixExportedType", "prefixSetType", "routingPolicyType", "snmpType", "syslogServerType", "trafficPolicyType"] + __properties: ClassVar[List[str]] = ["ipfixExportedType", "ntpType", "prefixSetType", "routingPolicyType", "snmpType", "syslogServerType", "trafficPolicyType"] model_config = ConfigDict( populate_by_name=True, @@ -86,6 +87,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "ipfixExportedType": obj.get("ipfixExportedType"), + "ntpType": obj.get("ntpType"), "prefixSetType": obj.get("prefixSetType"), "routingPolicyType": obj.get("routingPolicyType"), "snmpType": obj.get("snmpType"), diff --git a/graphiant_sdk/models/v1_global_sync_post_request.py b/graphiant_sdk/models/v1_global_sync_post_request.py index 68af8430..167853d9 100644 --- a/graphiant_sdk/models/v1_global_sync_post_request.py +++ b/graphiant_sdk/models/v1_global_sync_post_request.py @@ -28,12 +28,13 @@ class V1GlobalSyncPostRequest(BaseModel): """ # noqa: E501 device_ids: Optional[List[StrictInt]] = Field(default=None, alias="deviceIds") ipfix_exported_id: Optional[StrictInt] = Field(default=None, alias="ipfixExportedId") + ntp_id: Optional[StrictInt] = Field(default=None, alias="ntpId") prefix_set_id: Optional[StrictInt] = Field(default=None, alias="prefixSetId") routing_policy_id: Optional[StrictInt] = Field(default=None, alias="routingPolicyId") snmp_id: Optional[StrictInt] = Field(default=None, alias="snmpId") syslog_server_id: Optional[StrictInt] = Field(default=None, alias="syslogServerId") traffic_policy_id: Optional[StrictInt] = Field(default=None, alias="trafficPolicyId") - __properties: ClassVar[List[str]] = ["deviceIds", "ipfixExportedId", "prefixSetId", "routingPolicyId", "snmpId", "syslogServerId", "trafficPolicyId"] + __properties: ClassVar[List[str]] = ["deviceIds", "ipfixExportedId", "ntpId", "prefixSetId", "routingPolicyId", "snmpId", "syslogServerId", "trafficPolicyId"] model_config = ConfigDict( populate_by_name=True, @@ -88,6 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "deviceIds": obj.get("deviceIds"), "ipfixExportedId": obj.get("ipfixExportedId"), + "ntpId": obj.get("ntpId"), "prefixSetId": obj.get("prefixSetId"), "routingPolicyId": obj.get("routingPolicyId"), "snmpId": obj.get("snmpId"), diff --git a/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_request.py b/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_request.py index d242cfa8..b361bcb8 100644 --- a/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_request.py +++ b/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.statsmon_time_window import StatsmonTimeWindow from typing import Optional, Set from typing_extensions import Self @@ -27,10 +27,10 @@ class V2ExtranetConsumersUsageTopPostRequest(BaseModel): """ V2ExtranetConsumersUsageTopPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id of a producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + id: StrictInt = Field(description="the id of a producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_response.py b/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_response.py index a668e8cb..cc1d981c 100644 --- a/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_response.py +++ b/graphiant_sdk/models/v2_extranet_consumers_usage_top_post_response.py @@ -28,8 +28,8 @@ class V2ExtranetConsumersUsageTopPostResponse(BaseModel): V2ExtranetConsumersUsageTopPostResponse """ # noqa: E501 top_consumers: Optional[List[IpfixEntityUsage]] = Field(default=None, alias="topConsumers") - total_customers: Optional[StrictInt] = Field(default=None, alias="totalCustomers") - total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="totalUsage") + total_customers: Optional[StrictInt] = Field(default=None, description="total number of customers", alias="totalCustomers") + total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="total service usage in kilo bytes", alias="totalUsage") __properties: ClassVar[List[str]] = ["topConsumers", "totalCustomers", "totalUsage"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post_request.py b/graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post_request.py index 59d38c44..238ec0bd 100644 --- a/graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post_request.py +++ b/graphiant_sdk/models/v2_extranet_lan_segments_usage_top_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.statsmon_time_window import StatsmonTimeWindow from typing import Optional, Set from typing_extensions import Self @@ -27,10 +27,10 @@ class V2ExtranetLanSegmentsUsageTopPostRequest(BaseModel): """ V2ExtranetLanSegmentsUsageTopPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_service_overtime_consumption_post_request.py b/graphiant_sdk/models/v2_extranet_service_overtime_consumption_post_request.py index 2b7097e7..b084c346 100644 --- a/graphiant_sdk/models/v2_extranet_service_overtime_consumption_post_request.py +++ b/graphiant_sdk/models/v2_extranet_service_overtime_consumption_post_request.py @@ -27,13 +27,13 @@ class V2ExtranetServiceOvertimeConsumptionPostRequest(BaseModel): """ V2ExtranetServiceOvertimeConsumptionPostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site", alias="siteId") subscription_name: Optional[StrictStr] = Field(default=None, description="Optional subscription name for filter", alias="subscriptionName") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific vrf", alias="vrfId") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "siteId", "subscriptionName", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_request.py b/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_request.py index 65f1eb04..2eef8325 100644 --- a/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_request.py +++ b/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_request.py @@ -27,14 +27,14 @@ class V2ExtranetSitesConsumptionOverviewPostRequest(BaseModel): """ V2ExtranetSitesConsumptionOverviewPostRequest """ # noqa: E501 - customer_name: Optional[StrictStr] = Field(default=None, alias="customerName") - flipped_view: Optional[StrictBool] = Field(default=None, alias="flippedView") - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + customer_name: Optional[StrictStr] = Field(default=None, description="a filter to get usage for a specific customer", alias="customerName") + flipped_view: StrictBool = Field(description="whether to view the data from the consumer's perspective (true) or the provider's perspective (false) (required)", alias="flippedView") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site", alias="siteId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific vrf", alias="vrfId") __properties: ClassVar[List[str]] = ["customerName", "flippedView", "id", "isB2B", "isProvider", "siteId", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_response.py b/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_response.py index 5adc258a..a0b5b84a 100644 --- a/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_response.py +++ b/graphiant_sdk/models/v2_extranet_sites_consumption_overview_post_response.py @@ -30,7 +30,7 @@ class V2ExtranetSitesConsumptionOverviewPostResponse(BaseModel): lan_segments: Optional[List[IpfixConnectionMap]] = Field(default=None, alias="lanSegments") regions: Optional[List[IpfixConnectionMap]] = None sites: Optional[List[IpfixConnectionMap]] = None - total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="totalUsage") + total_usage: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="total service usage in kilo bytes", alias="totalUsage") __properties: ClassVar[List[str]] = ["lanSegments", "regions", "sites", "totalUsage"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_sites_usage_post_request.py b/graphiant_sdk/models/v2_extranet_sites_usage_post_request.py index 8f0bdb71..c0ddc775 100644 --- a/graphiant_sdk/models/v2_extranet_sites_usage_post_request.py +++ b/graphiant_sdk/models/v2_extranet_sites_usage_post_request.py @@ -27,14 +27,14 @@ class V2ExtranetSitesUsagePostRequest(BaseModel): """ V2ExtranetSitesUsagePostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, or service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") service_id: Optional[StrictInt] = Field(default=None, alias="serviceId") - site_id: Optional[StrictInt] = Field(default=None, alias="siteId") + site_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific site (id of the site)", alias="siteId") subscription_name: Optional[StrictStr] = Field(default=None, description="Optional subscription name for filter", alias="subscriptionName") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") - vrf_id: Optional[StrictInt] = Field(default=None, alias="vrfId") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") + vrf_id: Optional[StrictInt] = Field(default=None, description="a filter to get usage for a specific lan segment (id of the lan segment)", alias="vrfId") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "serviceId", "siteId", "subscriptionName", "timeWindow", "vrfId"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_extranet_sites_usage_post_response.py b/graphiant_sdk/models/v2_extranet_sites_usage_post_response.py index 3f207fb3..e5cbe381 100644 --- a/graphiant_sdk/models/v2_extranet_sites_usage_post_response.py +++ b/graphiant_sdk/models/v2_extranet_sites_usage_post_response.py @@ -27,7 +27,7 @@ class V2ExtranetSitesUsagePostResponse(BaseModel): """ V2ExtranetSitesUsagePostResponse """ # noqa: E501 - bw_allocation: Optional[StrictInt] = Field(default=None, alias="bwAllocation") + bw_allocation: Optional[StrictInt] = Field(default=None, description="the bandwidth allocation for the entity in kbps", alias="bwAllocation") dl_stats: Optional[List[IpfixStats]] = Field(default=None, alias="dlStats") ul_stats: Optional[List[IpfixStats]] = Field(default=None, alias="ulStats") __properties: ClassVar[List[str]] = ["bwAllocation", "dlStats", "ulStats"] diff --git a/graphiant_sdk/models/v2_extranet_total_usage_post_request.py b/graphiant_sdk/models/v2_extranet_total_usage_post_request.py index 953580bd..7933ffa6 100644 --- a/graphiant_sdk/models/v2_extranet_total_usage_post_request.py +++ b/graphiant_sdk/models/v2_extranet_total_usage_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from graphiant_sdk.models.statsmon_time_window import StatsmonTimeWindow from typing import Optional, Set from typing_extensions import Self @@ -27,10 +27,10 @@ class V2ExtranetTotalUsagePostRequest(BaseModel): """ V2ExtranetTotalUsagePostRequest """ # noqa: E501 - id: Optional[StrictInt] = Field(default=None, description="the ID associated with an entity - consumer_id for consumer, and service_id for the producer/service") - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") - time_window: Optional[StatsmonTimeWindow] = Field(default=None, alias="timeWindow") + id: StrictInt = Field(description="the ID associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") + time_window: StatsmonTimeWindow = Field(alias="timeWindow") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider", "timeWindow"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_request.py b/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_request.py index a05ad876..a2063a1a 100644 --- a/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_request.py +++ b/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_request.py @@ -18,7 +18,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -26,9 +26,9 @@ class V2MonitoringExtranetLogDetailsPostRequest(BaseModel): """ V2MonitoringExtranetLogDetailsPostRequest """ # noqa: E501 - id: Optional[StrictInt] = None - is_b2_b: Optional[StrictBool] = Field(default=None, alias="isB2B") - is_provider: Optional[StrictBool] = Field(default=None, alias="isProvider") + id: StrictInt = Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required)") + is_b2_b: StrictBool = Field(description="whether the entity is a b2b entity (true for b2b entity, false for local extranet entity) (required)", alias="isB2B") + is_provider: StrictBool = Field(description="whether the entity is a provider or consumer (required)", alias="isProvider") __properties: ClassVar[List[str]] = ["id", "isB2B", "isProvider"] model_config = ConfigDict( diff --git a/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_response_log_details.py b/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_response_log_details.py index a5603868..d22533c7 100644 --- a/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_response_log_details.py +++ b/graphiant_sdk/models/v2_monitoring_extranet_log_details_post_response_log_details.py @@ -27,10 +27,10 @@ class V2MonitoringExtranetLogDetailsPostResponseLogDetails(BaseModel): """ V2MonitoringExtranetLogDetailsPostResponseLogDetails """ # noqa: E501 - hostname: Optional[StrictStr] = None - reason: Optional[StrictStr] = None - server_address: Optional[StrictStr] = Field(default=None, alias="serverAddress") - site_name: Optional[StrictStr] = Field(default=None, alias="siteName") + hostname: Optional[StrictStr] = Field(default=None, description="the hostname of the log") + reason: Optional[StrictStr] = Field(default=None, description="the reason for the log") + server_address: Optional[StrictStr] = Field(default=None, description="the address of the server", alias="serverAddress") + site_name: Optional[StrictStr] = Field(default=None, description="the name of the site", alias="siteName") ts: Optional[GoogleProtobufTimestamp] = None __properties: ClassVar[List[str]] = ["hostname", "reason", "serverAddress", "siteName", "ts"] diff --git a/graphiant_sdk/models/v2_monitoring_extranet_status_details_get_response.py b/graphiant_sdk/models/v2_monitoring_extranet_status_details_get_response.py index 76f902df..1b68e88a 100644 --- a/graphiant_sdk/models/v2_monitoring_extranet_status_details_get_response.py +++ b/graphiant_sdk/models/v2_monitoring_extranet_status_details_get_response.py @@ -29,8 +29,8 @@ class V2MonitoringExtranetStatusDetailsGetResponse(BaseModel): V2MonitoringExtranetStatusDetailsGetResponse """ # noqa: E501 edge_statuses: Optional[List[StatsmonExtranetEdgeStatus]] = Field(default=None, alias="edgeStatuses") - location: Optional[StrictStr] = None - region: Optional[StrictStr] = None + location: Optional[StrictStr] = Field(default=None, description="the location of the site") + region: Optional[StrictStr] = Field(default=None, description="the region of the site") site_status: Optional[StatsmonExtranetSiteStatus] = Field(default=None, alias="siteStatus") __properties: ClassVar[List[str]] = ["edgeStatuses", "location", "region", "siteStatus"] diff --git a/test/test_iam_enterprise_permissions.py b/test/test_iam_enterprise_permissions.py new file mode 100644 index 00000000..6a7088db --- /dev/null +++ b/test/test_iam_enterprise_permissions.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.iam_enterprise_permissions import IamEnterprisePermissions + +class TestIamEnterprisePermissions(unittest.TestCase): + """IamEnterprisePermissions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> IamEnterprisePermissions: + """Test IamEnterprisePermissions + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `IamEnterprisePermissions` + """ + model = IamEnterprisePermissions() + if include_optional: + return IamEnterprisePermissions( + group_type = 'ENUM_VALUE', + permissions = graphiant_sdk.models.common_permissions.commonPermissions( + asset_manager = 'ENUM_VALUE', + b2b = 'ENUM_VALUE', + b2b_security_profile_external = 'ENUM_VALUE', + billing_and_invoicing = 'ENUM_VALUE', + compliance = 'ENUM_VALUE', + developer_tools = 'ENUM_VALUE', + gateway = 'ENUM_VALUE', + global_services = 'ENUM_VALUE', + insights = 'ENUM_VALUE', + licensing = 'ENUM_VALUE', + logs = 'ENUM_VALUE', + monitoring_and_troubleshooting = 'ENUM_VALUE', + network_configuration = 'ENUM_VALUE', + order_status = 'ENUM_VALUE', + reports = 'ENUM_VALUE', + safety_and_security = 'ENUM_VALUE', + service_policies = 'ENUM_VALUE', + support = 'ENUM_VALUE', + user_and_tenant_management = 'ENUM_VALUE', ) + ) + else: + return IamEnterprisePermissions( + ) + """ + + def testIamEnterprisePermissions(self): + """Test IamEnterprisePermissions""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_ntp.py b/test/test_mana_v2_ntp.py new file mode 100644 index 00000000..ea0f110b --- /dev/null +++ b/test/test_mana_v2_ntp.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_ntp import ManaV2Ntp + +class TestManaV2Ntp(unittest.TestCase): + """ManaV2Ntp unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2Ntp: + """Test ManaV2Ntp + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2Ntp` + """ + model = ManaV2Ntp() + if include_optional: + return ManaV2Ntp( + domains = [ + 'example string' + ], + error_message = 'example string', + global_id = 1234567891011, + id = 1234567891011, + name = 'example string', + status = 'ENUM_VALUE' + ) + else: + return ManaV2Ntp( + ) + """ + + def testManaV2Ntp(self): + """Test ManaV2Ntp""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_ntp_config.py b/test/test_mana_v2_ntp_config.py new file mode 100644 index 00000000..db818f33 --- /dev/null +++ b/test/test_mana_v2_ntp_config.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_ntp_config import ManaV2NtpConfig + +class TestManaV2NtpConfig(unittest.TestCase): + """ManaV2NtpConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2NtpConfig: + """Test ManaV2NtpConfig + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2NtpConfig` + """ + model = ManaV2NtpConfig() + if include_optional: + return ManaV2NtpConfig( + domains = [ + 'example string' + ], + global_id = 1234567891011, + is_global_sync = True, + name = 'example string' + ) + else: + return ManaV2NtpConfig( + ) + """ + + def testManaV2NtpConfig(self): + """Test ManaV2NtpConfig""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_mana_v2_nullable_ntp_config.py b/test/test_mana_v2_nullable_ntp_config.py new file mode 100644 index 00000000..bac0dc0b --- /dev/null +++ b/test/test_mana_v2_nullable_ntp_config.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.mana_v2_nullable_ntp_config import ManaV2NullableNtpConfig + +class TestManaV2NullableNtpConfig(unittest.TestCase): + """ManaV2NullableNtpConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ManaV2NullableNtpConfig: + """Test ManaV2NullableNtpConfig + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ManaV2NullableNtpConfig` + """ + model = ManaV2NullableNtpConfig() + if include_optional: + return ManaV2NullableNtpConfig( + config = graphiant_sdk.models.mana_v2_ntp_config.manaV2NtpConfig( + domains = [ + 'example string' + ], + global_id = 1234567891011, + is_global_sync = True, + name = 'example string', ) + ) + else: + return ManaV2NullableNtpConfig( + ) + """ + + def testManaV2NullableNtpConfig(self): + """Test ManaV2NullableNtpConfig""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_edges_summary_post_request.py b/test/test_v1_edges_summary_post_request.py new file mode 100644 index 00000000..acb9f440 --- /dev/null +++ b/test/test_v1_edges_summary_post_request.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_edges_summary_post_request import V1EdgesSummaryPostRequest + +class TestV1EdgesSummaryPostRequest(unittest.TestCase): + """V1EdgesSummaryPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1EdgesSummaryPostRequest: + """Test V1EdgesSummaryPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1EdgesSummaryPostRequest` + """ + model = V1EdgesSummaryPostRequest() + if include_optional: + return V1EdgesSummaryPostRequest( + filter = graphiant_sdk.models.v1_edges_summary_post_request_filter.v1EdgesSummaryPostRequestFilter( + device_ids = [ + 1234567891011 + ], + roles = [ + 'ENUM_VALUE' + ], + statuses = [ + 'ENUM_VALUE' + ], ) + ) + else: + return V1EdgesSummaryPostRequest( + ) + """ + + def testV1EdgesSummaryPostRequest(self): + """Test V1EdgesSummaryPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_edges_summary_post_request_filter.py b/test/test_v1_edges_summary_post_request_filter.py new file mode 100644 index 00000000..116327b3 --- /dev/null +++ b/test/test_v1_edges_summary_post_request_filter.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter + +class TestV1EdgesSummaryPostRequestFilter(unittest.TestCase): + """V1EdgesSummaryPostRequestFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1EdgesSummaryPostRequestFilter: + """Test V1EdgesSummaryPostRequestFilter + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1EdgesSummaryPostRequestFilter` + """ + model = V1EdgesSummaryPostRequestFilter() + if include_optional: + return V1EdgesSummaryPostRequestFilter( + device_ids = [ + 1234567891011 + ], + roles = [ + 'ENUM_VALUE' + ], + statuses = [ + 'ENUM_VALUE' + ] + ) + else: + return V1EdgesSummaryPostRequestFilter( + ) + """ + + def testV1EdgesSummaryPostRequestFilter(self): + """Test V1EdgesSummaryPostRequestFilter""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_edges_summary_post_response.py b/test/test_v1_edges_summary_post_response.py new file mode 100644 index 00000000..8b6ac270 --- /dev/null +++ b/test/test_v1_edges_summary_post_response.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_edges_summary_post_response import V1EdgesSummaryPostResponse + +class TestV1EdgesSummaryPostResponse(unittest.TestCase): + """V1EdgesSummaryPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1EdgesSummaryPostResponse: + """Test V1EdgesSummaryPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1EdgesSummaryPostResponse` + """ + model = V1EdgesSummaryPostResponse() + if include_optional: + return V1EdgesSummaryPostResponse( + edges_summary = [ + graphiant_sdk.models.search_edge_summary.searchEdgeSummary( + assigned_on = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + device_id = 1234567891011, + discovered_location = 'example string', + enterprise_id = 1234567891011, + enterprise_name = 'example string', + first_appeared_on = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + hostname = 'example string', + ip_detected = 'example string', + is_hardware = True, + is_new = True, + is_requested = True, + last_booted_at = , + location = graphiant_sdk.models.mana_v2_location.manaV2Location( + address_line1 = 'example string', + address_line2 = 'example string', + city = 'example string', + country = 'example string', + country_code = 'example string', + latitude = 123.45, + longitude = 123.45, + notes = 'example string', + province_code = 'example string', + state = 'example string', + state_code = 'example string', ), + model = 'example string', + override_region = 'example string', + parent_enterprise_name = 'example string', + portal_status = 'ENUM_VALUE', + region = 'example string', + role = 'ENUM_VALUE', + serial_num = 'example string', + site = 'example string', + site_id = 1234567891011, + stale = True, + status = 'ENUM_VALUE', + sw_name = 'example string', + sw_version = 'example string', + tt_conn_count = 123, + upgrade_summary = graphiant_sdk.models.upgrade_upgrade_summary.upgradeUpgradeSummary( + device_id = 1234567891011, + end_of_life = True, + last_discovered_ts = , + last_running_version = graphiant_sdk.models.upgrade_sw_version.upgradeSwVersion( + name = 'example string', + release = 'ENUM_VALUE', + version = 'example string', ), + last_upgrade_ts = , + ready_for_activation_version = graphiant_sdk.models.upgrade_sw_version.upgradeSwVersion( + name = 'example string', + release = 'ENUM_VALUE', + version = 'example string', ), + running_version = , + schedule = graphiant_sdk.models.upgrade_schedule.upgradeSchedule( + action = 'ENUM_VALUE', + device_id = 1234567891011, + download_progress = 123, + failure_reason = 'example string', + state = 'ENUM_VALUE', + ts = , + version = , ), + status = 'ENUM_VALUE', ), ) + ] + ) + else: + return V1EdgesSummaryPostResponse( + ) + """ + + def testV1EdgesSummaryPostResponse(self): + """Test V1EdgesSummaryPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py b/test/test_v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py new file mode 100644 index 00000000..f65da660 --- /dev/null +++ b/test/test_v1_extranets_b2b_peering_match_service_to_customer_id_delete_response.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_extranets_b2b_peering_match_service_to_customer_id_delete_response import V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse + +class TestV1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse(unittest.TestCase): + """V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse: + """Test V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse` + """ + model = V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse() + if include_optional: + return V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse( + activity_id = 'example string', + consumer_activity_id = 'example string' + ) + else: + return V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse( + ) + """ + + def testV1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse(self): + """Test V1ExtranetsB2bPeeringMatchServiceToCustomerIdDeleteResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_global_ntps_device_get_response.py b/test/test_v1_global_ntps_device_get_response.py new file mode 100644 index 00000000..ce947835 --- /dev/null +++ b/test/test_v1_global_ntps_device_get_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_global_ntps_device_get_response import V1GlobalNtpsDeviceGetResponse + +class TestV1GlobalNtpsDeviceGetResponse(unittest.TestCase): + """V1GlobalNtpsDeviceGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1GlobalNtpsDeviceGetResponse: + """Test V1GlobalNtpsDeviceGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1GlobalNtpsDeviceGetResponse` + """ + model = V1GlobalNtpsDeviceGetResponse() + if include_optional: + return V1GlobalNtpsDeviceGetResponse( + ntps = [ + graphiant_sdk.models.mana_v2_ntp.manaV2Ntp( + domains = [ + 'example string' + ], + error_message = 'example string', + global_id = 1234567891011, + id = 1234567891011, + name = 'example string', + status = 'ENUM_VALUE', ) + ] + ) + else: + return V1GlobalNtpsDeviceGetResponse( + ) + """ + + def testV1GlobalNtpsDeviceGetResponse(self): + """Test V1GlobalNtpsDeviceGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_global_ntps_post_request.py b/test/test_v1_global_ntps_post_request.py new file mode 100644 index 00000000..1122357a --- /dev/null +++ b/test/test_v1_global_ntps_post_request.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_global_ntps_post_request import V1GlobalNtpsPostRequest + +class TestV1GlobalNtpsPostRequest(unittest.TestCase): + """V1GlobalNtpsPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1GlobalNtpsPostRequest: + """Test V1GlobalNtpsPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1GlobalNtpsPostRequest` + """ + model = V1GlobalNtpsPostRequest() + if include_optional: + return V1GlobalNtpsPostRequest( + ids = [ + 1234567891011 + ] + ) + else: + return V1GlobalNtpsPostRequest( + ) + """ + + def testV1GlobalNtpsPostRequest(self): + """Test V1GlobalNtpsPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_global_ntps_post_response.py b/test/test_v1_global_ntps_post_response.py new file mode 100644 index 00000000..80fd938b --- /dev/null +++ b/test/test_v1_global_ntps_post_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_global_ntps_post_response import V1GlobalNtpsPostResponse + +class TestV1GlobalNtpsPostResponse(unittest.TestCase): + """V1GlobalNtpsPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1GlobalNtpsPostResponse: + """Test V1GlobalNtpsPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1GlobalNtpsPostResponse` + """ + model = V1GlobalNtpsPostResponse() + if include_optional: + return V1GlobalNtpsPostResponse( + ntps = [ + graphiant_sdk.models.mana_v2_ntp.manaV2Ntp( + domains = [ + 'example string' + ], + error_message = 'example string', + global_id = 1234567891011, + id = 1234567891011, + name = 'example string', + status = 'ENUM_VALUE', ) + ] + ) + else: + return V1GlobalNtpsPostResponse( + ) + """ + + def testV1GlobalNtpsPostResponse(self): + """Test V1GlobalNtpsPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_global_ntps_site_get_response.py b/test/test_v1_global_ntps_site_get_response.py new file mode 100644 index 00000000..e7be12bb --- /dev/null +++ b/test/test_v1_global_ntps_site_get_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_global_ntps_site_get_response import V1GlobalNtpsSiteGetResponse + +class TestV1GlobalNtpsSiteGetResponse(unittest.TestCase): + """V1GlobalNtpsSiteGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1GlobalNtpsSiteGetResponse: + """Test V1GlobalNtpsSiteGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1GlobalNtpsSiteGetResponse` + """ + model = V1GlobalNtpsSiteGetResponse() + if include_optional: + return V1GlobalNtpsSiteGetResponse( + ntps = [ + graphiant_sdk.models.mana_v2_ntp.manaV2Ntp( + domains = [ + 'example string' + ], + error_message = 'example string', + global_id = 1234567891011, + id = 1234567891011, + name = 'example string', + status = 'ENUM_VALUE', ) + ] + ) + else: + return V1GlobalNtpsSiteGetResponse( + ) + """ + + def testV1GlobalNtpsSiteGetResponse(self): + """Test V1GlobalNtpsSiteGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()