volcengine-python-sdk 4.0.27__py2.py3-none-any.whl → 4.0.28__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/RECORD +267 -8
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/top_level.txt +1 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkid/__init__.py +276 -0
- volcenginesdkid/api/__init__.py +6 -0
- volcenginesdkid/api/id_api.py +7891 -0
- volcenginesdkid/models/__init__.py +272 -0
- volcenginesdkid/models/api_key_auth_config_for_batch_get_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_api_key_input.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_input.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_get_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_list_inbound_auth_configs_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_update_inbound_auth_config_input.py +201 -0
- volcenginesdkid/models/api_key_credential_provider_for_batch_get_api_key_credential_providers_output.py +201 -0
- volcenginesdkid/models/api_key_credential_provider_for_list_api_key_credential_providers_output.py +201 -0
- volcenginesdkid/models/api_key_metadata_for_batch_get_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_api_key_credential_provider_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_api_key_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_api_key_credential_provider_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_resource_api_key_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_list_inbound_auth_configs_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_update_api_key_credential_provider_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_update_inbound_auth_config_input.py +149 -0
- volcenginesdkid/models/attach_inbound_auth_config_request.py +151 -0
- volcenginesdkid/models/attach_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/authorization_server_metadata_for_create_oauth2_credential_provider_input.py +201 -0
- volcenginesdkid/models/authorization_server_metadata_for_get_oauth2_credential_provider_output.py +201 -0
- volcenginesdkid/models/authorization_server_metadata_for_update_oauth2_credential_provider_input.py +201 -0
- volcenginesdkid/models/batch_get_api_key_credential_providers_request.py +149 -0
- volcenginesdkid/models/batch_get_api_key_credential_providers_response.py +123 -0
- volcenginesdkid/models/batch_get_inbound_auth_config_request.py +123 -0
- volcenginesdkid/models/batch_get_inbound_auth_config_response.py +123 -0
- volcenginesdkid/models/batch_get_oauth2_credential_providers_request.py +149 -0
- volcenginesdkid/models/batch_get_oauth2_credential_providers_response.py +123 -0
- volcenginesdkid/models/check_api_key_request.py +124 -0
- volcenginesdkid/models/check_api_key_response.py +95 -0
- volcenginesdkid/models/check_permission_request.py +254 -0
- volcenginesdkid/models/check_permission_response.py +149 -0
- volcenginesdkid/models/config_for_create_oauth2_credential_provider_input.py +331 -0
- volcenginesdkid/models/config_for_get_oauth2_credential_provider_output.py +331 -0
- volcenginesdkid/models/config_for_update_oauth2_credential_provider_input.py +331 -0
- volcenginesdkid/models/create_api_key_credential_provider_request.py +203 -0
- volcenginesdkid/models/create_api_key_credential_provider_response.py +175 -0
- volcenginesdkid/models/create_api_key_request.py +150 -0
- volcenginesdkid/models/create_api_key_response.py +95 -0
- volcenginesdkid/models/create_identity_provider_o_auth_request.py +419 -0
- volcenginesdkid/models/create_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/create_identity_provider_oidc_request.py +365 -0
- volcenginesdkid/models/create_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/create_inbound_auth_config_request.py +254 -0
- volcenginesdkid/models/create_inbound_auth_config_response.py +357 -0
- volcenginesdkid/models/create_namespace_request.py +149 -0
- volcenginesdkid/models/create_namespace_response.py +175 -0
- volcenginesdkid/models/create_oauth2_credential_provider_request.py +206 -0
- volcenginesdkid/models/create_oauth2_credential_provider_response.py +175 -0
- volcenginesdkid/models/create_policy_request.py +149 -0
- volcenginesdkid/models/create_policy_response.py +175 -0
- volcenginesdkid/models/create_user_pool_client_request.py +230 -0
- volcenginesdkid/models/create_user_pool_client_response.py +461 -0
- volcenginesdkid/models/create_user_pool_request.py +150 -0
- volcenginesdkid/models/create_user_pool_response.py +383 -0
- volcenginesdkid/models/create_user_request.py +410 -0
- volcenginesdkid/models/create_user_response.py +773 -0
- volcenginesdkid/models/create_users_csv_request.py +124 -0
- volcenginesdkid/models/create_users_csv_response.py +201 -0
- volcenginesdkid/models/create_users_request.py +150 -0
- volcenginesdkid/models/create_users_response.py +201 -0
- volcenginesdkid/models/create_workload_identity_request.py +228 -0
- volcenginesdkid/models/create_workload_identity_response.py +305 -0
- volcenginesdkid/models/create_workload_pool_request.py +149 -0
- volcenginesdkid/models/create_workload_pool_response.py +253 -0
- volcenginesdkid/models/credential_provider_for_list_credential_providers_output.py +253 -0
- volcenginesdkid/models/custom_parameters_for_create_oauth2_credential_provider_input.py +123 -0
- volcenginesdkid/models/custom_parameters_for_get_oauth2_credential_provider_output.py +123 -0
- volcenginesdkid/models/custom_parameters_for_get_resource_oauth2_token_input.py +123 -0
- volcenginesdkid/models/custom_parameters_for_update_oauth2_credential_provider_input.py +123 -0
- volcenginesdkid/models/data_for_list_identity_providers_o_auth_output.py +409 -0
- volcenginesdkid/models/data_for_list_identity_providers_oidc_output.py +357 -0
- volcenginesdkid/models/data_for_list_identity_providers_output.py +227 -0
- volcenginesdkid/models/data_for_list_policies_output.py +175 -0
- volcenginesdkid/models/data_for_list_user_pool_clients_output.py +253 -0
- volcenginesdkid/models/data_for_list_user_pools_output.py +279 -0
- volcenginesdkid/models/data_for_list_users_output.py +773 -0
- volcenginesdkid/models/delete_api_key_credential_provider_request.py +150 -0
- volcenginesdkid/models/delete_api_key_credential_provider_response.py +95 -0
- volcenginesdkid/models/delete_api_key_request.py +151 -0
- volcenginesdkid/models/delete_api_key_response.py +95 -0
- volcenginesdkid/models/delete_identity_provider_o_auth_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_o_auth_response.py +123 -0
- volcenginesdkid/models/delete_identity_provider_oidc_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_oidc_response.py +123 -0
- volcenginesdkid/models/delete_identity_provider_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_response.py +123 -0
- volcenginesdkid/models/delete_inbound_auth_config_request.py +124 -0
- volcenginesdkid/models/delete_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/delete_namespace_request.py +123 -0
- volcenginesdkid/models/delete_namespace_response.py +149 -0
- volcenginesdkid/models/delete_oauth2_credential_provider_request.py +150 -0
- volcenginesdkid/models/delete_oauth2_credential_provider_response.py +95 -0
- volcenginesdkid/models/delete_policy_request.py +149 -0
- volcenginesdkid/models/delete_policy_response.py +149 -0
- volcenginesdkid/models/delete_user_pool_client_request.py +151 -0
- volcenginesdkid/models/delete_user_pool_client_response.py +123 -0
- volcenginesdkid/models/delete_user_pool_request.py +124 -0
- volcenginesdkid/models/delete_user_pool_response.py +123 -0
- volcenginesdkid/models/delete_users_request.py +150 -0
- volcenginesdkid/models/delete_users_response.py +201 -0
- volcenginesdkid/models/delete_workload_identity_request.py +150 -0
- volcenginesdkid/models/delete_workload_identity_response.py +95 -0
- volcenginesdkid/models/delete_workload_pool_request.py +123 -0
- volcenginesdkid/models/delete_workload_pool_response.py +95 -0
- volcenginesdkid/models/detach_inbound_auth_config_request.py +151 -0
- volcenginesdkid/models/detach_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/entity_for_check_permission_input.py +149 -0
- volcenginesdkid/models/entry_for_create_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/entry_for_get_oauth2_credential_provider_output.py +149 -0
- volcenginesdkid/models/entry_for_get_resource_oauth2_token_input.py +149 -0
- volcenginesdkid/models/entry_for_update_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/filter_for_list_identity_providers_input.py +149 -0
- volcenginesdkid/models/filter_for_list_user_pool_clients_input.py +175 -0
- volcenginesdkid/models/filter_for_list_user_pools_input.py +201 -0
- volcenginesdkid/models/filter_for_list_users_input.py +435 -0
- volcenginesdkid/models/get_api_key_credential_provider_request.py +150 -0
- volcenginesdkid/models/get_api_key_credential_provider_response.py +279 -0
- volcenginesdkid/models/get_identity_provider_o_auth_request.py +151 -0
- volcenginesdkid/models/get_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/get_identity_provider_oidc_request.py +151 -0
- volcenginesdkid/models/get_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/get_inbound_auth_config_request.py +124 -0
- volcenginesdkid/models/get_inbound_auth_config_response.py +357 -0
- volcenginesdkid/models/get_namespace_request.py +149 -0
- volcenginesdkid/models/get_namespace_response.py +201 -0
- volcenginesdkid/models/get_oauth2_credential_provider_request.py +150 -0
- volcenginesdkid/models/get_oauth2_credential_provider_response.py +305 -0
- volcenginesdkid/models/get_policy_request.py +149 -0
- volcenginesdkid/models/get_policy_response.py +175 -0
- volcenginesdkid/models/get_resource_api_key_request.py +177 -0
- volcenginesdkid/models/get_resource_api_key_response.py +149 -0
- volcenginesdkid/models/get_resource_oauth2_token_request.py +307 -0
- volcenginesdkid/models/get_resource_oauth2_token_response.py +149 -0
- volcenginesdkid/models/get_user_csv_template_request.py +124 -0
- volcenginesdkid/models/get_user_csv_template_response.py +95 -0
- volcenginesdkid/models/get_user_pool_client_request.py +151 -0
- volcenginesdkid/models/get_user_pool_client_response.py +461 -0
- volcenginesdkid/models/get_user_pool_request.py +124 -0
- volcenginesdkid/models/get_user_pool_response.py +383 -0
- volcenginesdkid/models/get_user_request.py +151 -0
- volcenginesdkid/models/get_user_response.py +773 -0
- volcenginesdkid/models/get_workload_access_token_for_jwt_request.py +176 -0
- volcenginesdkid/models/get_workload_access_token_for_jwt_response.py +149 -0
- volcenginesdkid/models/get_workload_access_token_for_user_id_request.py +176 -0
- volcenginesdkid/models/get_workload_access_token_for_user_id_response.py +149 -0
- volcenginesdkid/models/get_workload_access_token_request.py +149 -0
- volcenginesdkid/models/get_workload_access_token_response.py +149 -0
- volcenginesdkid/models/get_workload_identity_request.py +150 -0
- volcenginesdkid/models/get_workload_identity_response.py +305 -0
- volcenginesdkid/models/get_workload_pool_request.py +149 -0
- volcenginesdkid/models/get_workload_pool_response.py +253 -0
- volcenginesdkid/models/grant_permission_request.py +228 -0
- volcenginesdkid/models/grant_permission_response.py +175 -0
- volcenginesdkid/models/id_token_for_create_user_pool_client_output.py +123 -0
- volcenginesdkid/models/id_token_for_get_user_pool_client_output.py +123 -0
- volcenginesdkid/models/id_token_for_update_user_pool_client_input.py +123 -0
- volcenginesdkid/models/id_token_for_update_user_pool_client_output.py +123 -0
- volcenginesdkid/models/inbound_auth_config_for_batch_get_inbound_auth_config_output.py +357 -0
- volcenginesdkid/models/inbound_auth_config_for_list_inbound_auth_configs_output.py +357 -0
- volcenginesdkid/models/jwt_auth_config_for_batch_get_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_input.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_get_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_list_inbound_auth_configs_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_update_inbound_auth_config_input.py +175 -0
- volcenginesdkid/models/list_api_key_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_api_key_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_o_auth_request.py +124 -0
- volcenginesdkid/models/list_identity_providers_o_auth_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_oidc_request.py +124 -0
- volcenginesdkid/models/list_identity_providers_oidc_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_request.py +204 -0
- volcenginesdkid/models/list_identity_providers_response.py +201 -0
- volcenginesdkid/models/list_inbound_auth_configs_request.py +203 -0
- volcenginesdkid/models/list_inbound_auth_configs_response.py +201 -0
- volcenginesdkid/models/list_namespaces_request.py +149 -0
- volcenginesdkid/models/list_namespaces_response.py +201 -0
- volcenginesdkid/models/list_oauth2_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_oauth2_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_policies_request.py +123 -0
- volcenginesdkid/models/list_policies_response.py +123 -0
- volcenginesdkid/models/list_user_pool_clients_request.py +256 -0
- volcenginesdkid/models/list_user_pool_clients_response.py +201 -0
- volcenginesdkid/models/list_user_pools_request.py +229 -0
- volcenginesdkid/models/list_user_pools_response.py +201 -0
- volcenginesdkid/models/list_users_request.py +256 -0
- volcenginesdkid/models/list_users_response.py +201 -0
- volcenginesdkid/models/list_workload_identities_request.py +209 -0
- volcenginesdkid/models/list_workload_identities_response.py +201 -0
- volcenginesdkid/models/list_workload_pools_request.py +157 -0
- volcenginesdkid/models/list_workload_pools_response.py +201 -0
- volcenginesdkid/models/oauth2_callback_request.py +178 -0
- volcenginesdkid/models/oauth2_callback_response.py +123 -0
- volcenginesdkid/models/oauth2_credential_provider_for_batch_get_oauth2_credential_providers_output.py +227 -0
- volcenginesdkid/models/oauth2_credential_provider_for_list_oauth2_credential_providers_output.py +227 -0
- volcenginesdkid/models/oauth2_discovery_for_create_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/oauth2_discovery_for_get_oauth2_credential_provider_output.py +149 -0
- volcenginesdkid/models/oauth2_discovery_for_update_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/operation_for_check_permission_input.py +149 -0
- volcenginesdkid/models/operation_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/original_caller_for_check_permission_input.py +149 -0
- volcenginesdkid/models/original_caller_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/parent_for_check_permission_input.py +149 -0
- volcenginesdkid/models/principal_for_check_permission_input.py +149 -0
- volcenginesdkid/models/principal_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_input.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_input.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_get_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_get_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_list_identity_providers_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_list_identity_providers_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_input.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_input.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/reference_for_check_permission_input.py +149 -0
- volcenginesdkid/models/refresh_token_for_create_user_pool_client_output.py +227 -0
- volcenginesdkid/models/refresh_token_for_get_user_pool_client_output.py +227 -0
- volcenginesdkid/models/refresh_token_for_update_user_pool_client_input.py +227 -0
- volcenginesdkid/models/refresh_token_for_update_user_pool_client_output.py +227 -0
- volcenginesdkid/models/resource_for_check_permission_input.py +149 -0
- volcenginesdkid/models/resource_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/update_api_key_credential_provider_request.py +202 -0
- volcenginesdkid/models/update_api_key_credential_provider_response.py +227 -0
- volcenginesdkid/models/update_identity_provider_o_auth_request.py +440 -0
- volcenginesdkid/models/update_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/update_identity_provider_oidc_request.py +388 -0
- volcenginesdkid/models/update_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/update_inbound_auth_config_request.py +202 -0
- volcenginesdkid/models/update_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/update_namespace_request.py +149 -0
- volcenginesdkid/models/update_namespace_response.py +149 -0
- volcenginesdkid/models/update_oauth2_credential_provider_request.py +176 -0
- volcenginesdkid/models/update_oauth2_credential_provider_response.py +227 -0
- volcenginesdkid/models/update_user_pool_client_request.py +359 -0
- volcenginesdkid/models/update_user_pool_client_response.py +461 -0
- volcenginesdkid/models/update_user_pool_request.py +176 -0
- volcenginesdkid/models/update_user_pool_response.py +383 -0
- volcenginesdkid/models/update_user_request.py +411 -0
- volcenginesdkid/models/update_user_response.py +773 -0
- volcenginesdkid/models/update_workload_identity_request.py +202 -0
- volcenginesdkid/models/update_workload_identity_response.py +95 -0
- volcenginesdkid/models/update_workload_pool_request.py +149 -0
- volcenginesdkid/models/update_workload_pool_response.py +95 -0
- volcenginesdkid/models/user_for_create_users_input.py +383 -0
- volcenginesdkid/models/workload_identity_for_list_workload_identities_output.py +305 -0
- volcenginesdkid/models/workload_pool_for_list_workload_pools_output.py +253 -0
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
id
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DeleteWorkloadIdentityRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'name': 'str',
|
|
37
|
+
'workload_pool_name': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'name': 'Name',
|
|
42
|
+
'workload_pool_name': 'WorkloadPoolName'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, name=None, workload_pool_name=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""DeleteWorkloadIdentityRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._name = None
|
|
52
|
+
self._workload_pool_name = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.name = name
|
|
56
|
+
if workload_pool_name is not None:
|
|
57
|
+
self.workload_pool_name = workload_pool_name
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def name(self):
|
|
61
|
+
"""Gets the name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
65
|
+
:rtype: str
|
|
66
|
+
"""
|
|
67
|
+
return self._name
|
|
68
|
+
|
|
69
|
+
@name.setter
|
|
70
|
+
def name(self, name):
|
|
71
|
+
"""Sets the name of this DeleteWorkloadIdentityRequest.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param name: The name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
75
|
+
:type: str
|
|
76
|
+
"""
|
|
77
|
+
if self._configuration.client_side_validation and name is None:
|
|
78
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
79
|
+
|
|
80
|
+
self._name = name
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def workload_pool_name(self):
|
|
84
|
+
"""Gets the workload_pool_name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:return: The workload_pool_name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
88
|
+
:rtype: str
|
|
89
|
+
"""
|
|
90
|
+
return self._workload_pool_name
|
|
91
|
+
|
|
92
|
+
@workload_pool_name.setter
|
|
93
|
+
def workload_pool_name(self, workload_pool_name):
|
|
94
|
+
"""Sets the workload_pool_name of this DeleteWorkloadIdentityRequest.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param workload_pool_name: The workload_pool_name of this DeleteWorkloadIdentityRequest. # noqa: E501
|
|
98
|
+
:type: str
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
self._workload_pool_name = workload_pool_name
|
|
102
|
+
|
|
103
|
+
def to_dict(self):
|
|
104
|
+
"""Returns the model properties as a dict"""
|
|
105
|
+
result = {}
|
|
106
|
+
|
|
107
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
108
|
+
value = getattr(self, attr)
|
|
109
|
+
if isinstance(value, list):
|
|
110
|
+
result[attr] = list(map(
|
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
112
|
+
value
|
|
113
|
+
))
|
|
114
|
+
elif hasattr(value, "to_dict"):
|
|
115
|
+
result[attr] = value.to_dict()
|
|
116
|
+
elif isinstance(value, dict):
|
|
117
|
+
result[attr] = dict(map(
|
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
|
120
|
+
value.items()
|
|
121
|
+
))
|
|
122
|
+
else:
|
|
123
|
+
result[attr] = value
|
|
124
|
+
if issubclass(DeleteWorkloadIdentityRequest, dict):
|
|
125
|
+
for key, value in self.items():
|
|
126
|
+
result[key] = value
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
|
|
130
|
+
def to_str(self):
|
|
131
|
+
"""Returns the string representation of the model"""
|
|
132
|
+
return pprint.pformat(self.to_dict())
|
|
133
|
+
|
|
134
|
+
def __repr__(self):
|
|
135
|
+
"""For `print` and `pprint`"""
|
|
136
|
+
return self.to_str()
|
|
137
|
+
|
|
138
|
+
def __eq__(self, other):
|
|
139
|
+
"""Returns true if both objects are equal"""
|
|
140
|
+
if not isinstance(other, DeleteWorkloadIdentityRequest):
|
|
141
|
+
return False
|
|
142
|
+
|
|
143
|
+
return self.to_dict() == other.to_dict()
|
|
144
|
+
|
|
145
|
+
def __ne__(self, other):
|
|
146
|
+
"""Returns true if both objects are not equal"""
|
|
147
|
+
if not isinstance(other, DeleteWorkloadIdentityRequest):
|
|
148
|
+
return True
|
|
149
|
+
|
|
150
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
id
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DeleteWorkloadIdentityResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""DeleteWorkloadIdentityResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(DeleteWorkloadIdentityResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, DeleteWorkloadIdentityResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, DeleteWorkloadIdentityResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
id
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DeleteWorkloadPoolRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'workload_pool_name': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'workload_pool_name': 'WorkloadPoolName'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, workload_pool_name=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""DeleteWorkloadPoolRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._workload_pool_name = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if workload_pool_name is not None:
|
|
53
|
+
self.workload_pool_name = workload_pool_name
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def workload_pool_name(self):
|
|
57
|
+
"""Gets the workload_pool_name of this DeleteWorkloadPoolRequest. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The workload_pool_name of this DeleteWorkloadPoolRequest. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._workload_pool_name
|
|
64
|
+
|
|
65
|
+
@workload_pool_name.setter
|
|
66
|
+
def workload_pool_name(self, workload_pool_name):
|
|
67
|
+
"""Sets the workload_pool_name of this DeleteWorkloadPoolRequest.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param workload_pool_name: The workload_pool_name of this DeleteWorkloadPoolRequest. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._workload_pool_name = workload_pool_name
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(DeleteWorkloadPoolRequest, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, DeleteWorkloadPoolRequest):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, DeleteWorkloadPoolRequest):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
id
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DeleteWorkloadPoolResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""DeleteWorkloadPoolResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(DeleteWorkloadPoolResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, DeleteWorkloadPoolResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, DeleteWorkloadPoolResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
id
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DetachInboundAuthConfigRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'inbound_auth_config_id': 'str',
|
|
37
|
+
'instance_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'inbound_auth_config_id': 'InboundAuthConfigId',
|
|
42
|
+
'instance_id': 'InstanceId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, inbound_auth_config_id=None, instance_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""DetachInboundAuthConfigRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._inbound_auth_config_id = None
|
|
52
|
+
self._instance_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.inbound_auth_config_id = inbound_auth_config_id
|
|
56
|
+
self.instance_id = instance_id
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def inbound_auth_config_id(self):
|
|
60
|
+
"""Gets the inbound_auth_config_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The inbound_auth_config_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._inbound_auth_config_id
|
|
67
|
+
|
|
68
|
+
@inbound_auth_config_id.setter
|
|
69
|
+
def inbound_auth_config_id(self, inbound_auth_config_id):
|
|
70
|
+
"""Sets the inbound_auth_config_id of this DetachInboundAuthConfigRequest.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param inbound_auth_config_id: The inbound_auth_config_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
74
|
+
:type: str
|
|
75
|
+
"""
|
|
76
|
+
if self._configuration.client_side_validation and inbound_auth_config_id is None:
|
|
77
|
+
raise ValueError("Invalid value for `inbound_auth_config_id`, must not be `None`") # noqa: E501
|
|
78
|
+
|
|
79
|
+
self._inbound_auth_config_id = inbound_auth_config_id
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def instance_id(self):
|
|
83
|
+
"""Gets the instance_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The instance_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._instance_id
|
|
90
|
+
|
|
91
|
+
@instance_id.setter
|
|
92
|
+
def instance_id(self, instance_id):
|
|
93
|
+
"""Sets the instance_id of this DetachInboundAuthConfigRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param instance_id: The instance_id of this DetachInboundAuthConfigRequest. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
if self._configuration.client_side_validation and instance_id is None:
|
|
100
|
+
raise ValueError("Invalid value for `instance_id`, must not be `None`") # noqa: E501
|
|
101
|
+
|
|
102
|
+
self._instance_id = instance_id
|
|
103
|
+
|
|
104
|
+
def to_dict(self):
|
|
105
|
+
"""Returns the model properties as a dict"""
|
|
106
|
+
result = {}
|
|
107
|
+
|
|
108
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
+
value = getattr(self, attr)
|
|
110
|
+
if isinstance(value, list):
|
|
111
|
+
result[attr] = list(map(
|
|
112
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
+
value
|
|
114
|
+
))
|
|
115
|
+
elif hasattr(value, "to_dict"):
|
|
116
|
+
result[attr] = value.to_dict()
|
|
117
|
+
elif isinstance(value, dict):
|
|
118
|
+
result[attr] = dict(map(
|
|
119
|
+
lambda item: (item[0], item[1].to_dict())
|
|
120
|
+
if hasattr(item[1], "to_dict") else item,
|
|
121
|
+
value.items()
|
|
122
|
+
))
|
|
123
|
+
else:
|
|
124
|
+
result[attr] = value
|
|
125
|
+
if issubclass(DetachInboundAuthConfigRequest, dict):
|
|
126
|
+
for key, value in self.items():
|
|
127
|
+
result[key] = value
|
|
128
|
+
|
|
129
|
+
return result
|
|
130
|
+
|
|
131
|
+
def to_str(self):
|
|
132
|
+
"""Returns the string representation of the model"""
|
|
133
|
+
return pprint.pformat(self.to_dict())
|
|
134
|
+
|
|
135
|
+
def __repr__(self):
|
|
136
|
+
"""For `print` and `pprint`"""
|
|
137
|
+
return self.to_str()
|
|
138
|
+
|
|
139
|
+
def __eq__(self, other):
|
|
140
|
+
"""Returns true if both objects are equal"""
|
|
141
|
+
if not isinstance(other, DetachInboundAuthConfigRequest):
|
|
142
|
+
return False
|
|
143
|
+
|
|
144
|
+
return self.to_dict() == other.to_dict()
|
|
145
|
+
|
|
146
|
+
def __ne__(self, other):
|
|
147
|
+
"""Returns true if both objects are not equal"""
|
|
148
|
+
if not isinstance(other, DetachInboundAuthConfigRequest):
|
|
149
|
+
return True
|
|
150
|
+
|
|
151
|
+
return self.to_dict() != other.to_dict()
|