volcengine-python-sdk 4.0.27__py2.py3-none-any.whl → 4.0.29__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.29.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.29.dist-info}/RECORD +278 -17
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.29.dist-info}/top_level.txt +1 -0
- volcenginesdkarkruntime/_client.py +7 -6
- volcenginesdkarkruntime/_utils/_key_agreement.py +18 -14
- volcenginesdkarkruntime/resources/batch_chat/completions.py +10 -141
- volcenginesdkarkruntime/resources/beta/chat/completions.py +10 -0
- volcenginesdkarkruntime/resources/chat/completions.py +9 -206
- volcenginesdkarkruntime/resources/encryption.py +209 -0
- volcenginesdkarkruntime/resources/images/images.py +72 -55
- volcenginesdkarkruntime/types/content_generation/content_generation_task.py +15 -0
- volcenginesdkarkruntime/types/images/__init__.py +2 -2
- volcenginesdkarkruntime/types/images/images.py +7 -1
- volcenginesdkarkruntime/types/shared/reasoning_effort.py +17 -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.29.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.29.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.27.dist-info → volcengine_python_sdk-4.0.29.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,357 @@
|
|
|
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 InboundAuthConfigForListInboundAuthConfigsOutput(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
|
+
'api_key_auth_configs': 'list[ApiKeyAuthConfigForListInboundAuthConfigsOutput]',
|
|
37
|
+
'auth_type': 'str',
|
|
38
|
+
'config_name': 'str',
|
|
39
|
+
'created_at': 'str',
|
|
40
|
+
'description': 'str',
|
|
41
|
+
'inbound_auth_config_id': 'str',
|
|
42
|
+
'instance_id': 'str',
|
|
43
|
+
'jwt_auth_config': 'JwtAuthConfigForListInboundAuthConfigsOutput',
|
|
44
|
+
'trn': 'str',
|
|
45
|
+
'updated_at': 'str'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'api_key_auth_configs': 'ApiKeyAuthConfigs',
|
|
50
|
+
'auth_type': 'AuthType',
|
|
51
|
+
'config_name': 'ConfigName',
|
|
52
|
+
'created_at': 'CreatedAt',
|
|
53
|
+
'description': 'Description',
|
|
54
|
+
'inbound_auth_config_id': 'InboundAuthConfigId',
|
|
55
|
+
'instance_id': 'InstanceId',
|
|
56
|
+
'jwt_auth_config': 'JwtAuthConfig',
|
|
57
|
+
'trn': 'Trn',
|
|
58
|
+
'updated_at': 'UpdatedAt'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
def __init__(self, api_key_auth_configs=None, auth_type=None, config_name=None, created_at=None, description=None, inbound_auth_config_id=None, instance_id=None, jwt_auth_config=None, trn=None, updated_at=None, _configuration=None): # noqa: E501
|
|
62
|
+
"""InboundAuthConfigForListInboundAuthConfigsOutput - a model defined in Swagger""" # noqa: E501
|
|
63
|
+
if _configuration is None:
|
|
64
|
+
_configuration = Configuration()
|
|
65
|
+
self._configuration = _configuration
|
|
66
|
+
|
|
67
|
+
self._api_key_auth_configs = None
|
|
68
|
+
self._auth_type = None
|
|
69
|
+
self._config_name = None
|
|
70
|
+
self._created_at = None
|
|
71
|
+
self._description = None
|
|
72
|
+
self._inbound_auth_config_id = None
|
|
73
|
+
self._instance_id = None
|
|
74
|
+
self._jwt_auth_config = None
|
|
75
|
+
self._trn = None
|
|
76
|
+
self._updated_at = None
|
|
77
|
+
self.discriminator = None
|
|
78
|
+
|
|
79
|
+
if api_key_auth_configs is not None:
|
|
80
|
+
self.api_key_auth_configs = api_key_auth_configs
|
|
81
|
+
if auth_type is not None:
|
|
82
|
+
self.auth_type = auth_type
|
|
83
|
+
if config_name is not None:
|
|
84
|
+
self.config_name = config_name
|
|
85
|
+
if created_at is not None:
|
|
86
|
+
self.created_at = created_at
|
|
87
|
+
if description is not None:
|
|
88
|
+
self.description = description
|
|
89
|
+
if inbound_auth_config_id is not None:
|
|
90
|
+
self.inbound_auth_config_id = inbound_auth_config_id
|
|
91
|
+
if instance_id is not None:
|
|
92
|
+
self.instance_id = instance_id
|
|
93
|
+
if jwt_auth_config is not None:
|
|
94
|
+
self.jwt_auth_config = jwt_auth_config
|
|
95
|
+
if trn is not None:
|
|
96
|
+
self.trn = trn
|
|
97
|
+
if updated_at is not None:
|
|
98
|
+
self.updated_at = updated_at
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def api_key_auth_configs(self):
|
|
102
|
+
"""Gets the api_key_auth_configs of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:return: The api_key_auth_configs of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
106
|
+
:rtype: list[ApiKeyAuthConfigForListInboundAuthConfigsOutput]
|
|
107
|
+
"""
|
|
108
|
+
return self._api_key_auth_configs
|
|
109
|
+
|
|
110
|
+
@api_key_auth_configs.setter
|
|
111
|
+
def api_key_auth_configs(self, api_key_auth_configs):
|
|
112
|
+
"""Sets the api_key_auth_configs of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param api_key_auth_configs: The api_key_auth_configs of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
116
|
+
:type: list[ApiKeyAuthConfigForListInboundAuthConfigsOutput]
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
self._api_key_auth_configs = api_key_auth_configs
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def auth_type(self):
|
|
123
|
+
"""Gets the auth_type of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:return: The auth_type of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
127
|
+
:rtype: str
|
|
128
|
+
"""
|
|
129
|
+
return self._auth_type
|
|
130
|
+
|
|
131
|
+
@auth_type.setter
|
|
132
|
+
def auth_type(self, auth_type):
|
|
133
|
+
"""Sets the auth_type of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
:param auth_type: The auth_type of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
137
|
+
:type: str
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
self._auth_type = auth_type
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def config_name(self):
|
|
144
|
+
"""Gets the config_name of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:return: The config_name of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
148
|
+
:rtype: str
|
|
149
|
+
"""
|
|
150
|
+
return self._config_name
|
|
151
|
+
|
|
152
|
+
@config_name.setter
|
|
153
|
+
def config_name(self, config_name):
|
|
154
|
+
"""Sets the config_name of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
:param config_name: The config_name of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
158
|
+
:type: str
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
self._config_name = config_name
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def created_at(self):
|
|
165
|
+
"""Gets the created_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:return: The created_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._created_at
|
|
172
|
+
|
|
173
|
+
@created_at.setter
|
|
174
|
+
def created_at(self, created_at):
|
|
175
|
+
"""Sets the created_at of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param created_at: The created_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
179
|
+
:type: str
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
self._created_at = created_at
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def description(self):
|
|
186
|
+
"""Gets the description of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:return: The description of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
190
|
+
:rtype: str
|
|
191
|
+
"""
|
|
192
|
+
return self._description
|
|
193
|
+
|
|
194
|
+
@description.setter
|
|
195
|
+
def description(self, description):
|
|
196
|
+
"""Sets the description of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param description: The description of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
200
|
+
:type: str
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
self._description = description
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def inbound_auth_config_id(self):
|
|
207
|
+
"""Gets the inbound_auth_config_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:return: The inbound_auth_config_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
211
|
+
:rtype: str
|
|
212
|
+
"""
|
|
213
|
+
return self._inbound_auth_config_id
|
|
214
|
+
|
|
215
|
+
@inbound_auth_config_id.setter
|
|
216
|
+
def inbound_auth_config_id(self, inbound_auth_config_id):
|
|
217
|
+
"""Sets the inbound_auth_config_id of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
:param inbound_auth_config_id: The inbound_auth_config_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
221
|
+
:type: str
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
self._inbound_auth_config_id = inbound_auth_config_id
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
def instance_id(self):
|
|
228
|
+
"""Gets the instance_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:return: The instance_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._instance_id
|
|
235
|
+
|
|
236
|
+
@instance_id.setter
|
|
237
|
+
def instance_id(self, instance_id):
|
|
238
|
+
"""Sets the instance_id of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
:param instance_id: The instance_id of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
242
|
+
:type: str
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
self._instance_id = instance_id
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def jwt_auth_config(self):
|
|
249
|
+
"""Gets the jwt_auth_config of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:return: The jwt_auth_config of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
253
|
+
:rtype: JwtAuthConfigForListInboundAuthConfigsOutput
|
|
254
|
+
"""
|
|
255
|
+
return self._jwt_auth_config
|
|
256
|
+
|
|
257
|
+
@jwt_auth_config.setter
|
|
258
|
+
def jwt_auth_config(self, jwt_auth_config):
|
|
259
|
+
"""Sets the jwt_auth_config of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
:param jwt_auth_config: The jwt_auth_config of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
263
|
+
:type: JwtAuthConfigForListInboundAuthConfigsOutput
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
self._jwt_auth_config = jwt_auth_config
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def trn(self):
|
|
270
|
+
"""Gets the trn of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
:return: The trn of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
274
|
+
:rtype: str
|
|
275
|
+
"""
|
|
276
|
+
return self._trn
|
|
277
|
+
|
|
278
|
+
@trn.setter
|
|
279
|
+
def trn(self, trn):
|
|
280
|
+
"""Sets the trn of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
:param trn: The trn of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
284
|
+
:type: str
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
self._trn = trn
|
|
288
|
+
|
|
289
|
+
@property
|
|
290
|
+
def updated_at(self):
|
|
291
|
+
"""Gets the updated_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:return: The updated_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._updated_at
|
|
298
|
+
|
|
299
|
+
@updated_at.setter
|
|
300
|
+
def updated_at(self, updated_at):
|
|
301
|
+
"""Sets the updated_at of this InboundAuthConfigForListInboundAuthConfigsOutput.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
:param updated_at: The updated_at of this InboundAuthConfigForListInboundAuthConfigsOutput. # noqa: E501
|
|
305
|
+
:type: str
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
self._updated_at = updated_at
|
|
309
|
+
|
|
310
|
+
def to_dict(self):
|
|
311
|
+
"""Returns the model properties as a dict"""
|
|
312
|
+
result = {}
|
|
313
|
+
|
|
314
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
315
|
+
value = getattr(self, attr)
|
|
316
|
+
if isinstance(value, list):
|
|
317
|
+
result[attr] = list(map(
|
|
318
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
319
|
+
value
|
|
320
|
+
))
|
|
321
|
+
elif hasattr(value, "to_dict"):
|
|
322
|
+
result[attr] = value.to_dict()
|
|
323
|
+
elif isinstance(value, dict):
|
|
324
|
+
result[attr] = dict(map(
|
|
325
|
+
lambda item: (item[0], item[1].to_dict())
|
|
326
|
+
if hasattr(item[1], "to_dict") else item,
|
|
327
|
+
value.items()
|
|
328
|
+
))
|
|
329
|
+
else:
|
|
330
|
+
result[attr] = value
|
|
331
|
+
if issubclass(InboundAuthConfigForListInboundAuthConfigsOutput, dict):
|
|
332
|
+
for key, value in self.items():
|
|
333
|
+
result[key] = value
|
|
334
|
+
|
|
335
|
+
return result
|
|
336
|
+
|
|
337
|
+
def to_str(self):
|
|
338
|
+
"""Returns the string representation of the model"""
|
|
339
|
+
return pprint.pformat(self.to_dict())
|
|
340
|
+
|
|
341
|
+
def __repr__(self):
|
|
342
|
+
"""For `print` and `pprint`"""
|
|
343
|
+
return self.to_str()
|
|
344
|
+
|
|
345
|
+
def __eq__(self, other):
|
|
346
|
+
"""Returns true if both objects are equal"""
|
|
347
|
+
if not isinstance(other, InboundAuthConfigForListInboundAuthConfigsOutput):
|
|
348
|
+
return False
|
|
349
|
+
|
|
350
|
+
return self.to_dict() == other.to_dict()
|
|
351
|
+
|
|
352
|
+
def __ne__(self, other):
|
|
353
|
+
"""Returns true if both objects are not equal"""
|
|
354
|
+
if not isinstance(other, InboundAuthConfigForListInboundAuthConfigsOutput):
|
|
355
|
+
return True
|
|
356
|
+
|
|
357
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
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 JwtAuthConfigForBatchGetInboundAuthConfigOutput(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
|
+
'allowed_audiences': 'list[str]',
|
|
37
|
+
'allowed_clients': 'list[str]',
|
|
38
|
+
'discovery_url': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'allowed_audiences': 'AllowedAudiences',
|
|
43
|
+
'allowed_clients': 'AllowedClients',
|
|
44
|
+
'discovery_url': 'DiscoveryUrl'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, allowed_audiences=None, allowed_clients=None, discovery_url=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""JwtAuthConfigForBatchGetInboundAuthConfigOutput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._allowed_audiences = None
|
|
54
|
+
self._allowed_clients = None
|
|
55
|
+
self._discovery_url = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if allowed_audiences is not None:
|
|
59
|
+
self.allowed_audiences = allowed_audiences
|
|
60
|
+
if allowed_clients is not None:
|
|
61
|
+
self.allowed_clients = allowed_clients
|
|
62
|
+
if discovery_url is not None:
|
|
63
|
+
self.discovery_url = discovery_url
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def allowed_audiences(self):
|
|
67
|
+
"""Gets the allowed_audiences of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The allowed_audiences of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
71
|
+
:rtype: list[str]
|
|
72
|
+
"""
|
|
73
|
+
return self._allowed_audiences
|
|
74
|
+
|
|
75
|
+
@allowed_audiences.setter
|
|
76
|
+
def allowed_audiences(self, allowed_audiences):
|
|
77
|
+
"""Sets the allowed_audiences of this JwtAuthConfigForBatchGetInboundAuthConfigOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param allowed_audiences: The allowed_audiences of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
81
|
+
:type: list[str]
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._allowed_audiences = allowed_audiences
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def allowed_clients(self):
|
|
88
|
+
"""Gets the allowed_clients of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The allowed_clients of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
92
|
+
:rtype: list[str]
|
|
93
|
+
"""
|
|
94
|
+
return self._allowed_clients
|
|
95
|
+
|
|
96
|
+
@allowed_clients.setter
|
|
97
|
+
def allowed_clients(self, allowed_clients):
|
|
98
|
+
"""Sets the allowed_clients of this JwtAuthConfigForBatchGetInboundAuthConfigOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param allowed_clients: The allowed_clients of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
102
|
+
:type: list[str]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._allowed_clients = allowed_clients
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def discovery_url(self):
|
|
109
|
+
"""Gets the discovery_url of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The discovery_url of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._discovery_url
|
|
116
|
+
|
|
117
|
+
@discovery_url.setter
|
|
118
|
+
def discovery_url(self, discovery_url):
|
|
119
|
+
"""Sets the discovery_url of this JwtAuthConfigForBatchGetInboundAuthConfigOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param discovery_url: The discovery_url of this JwtAuthConfigForBatchGetInboundAuthConfigOutput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._discovery_url = discovery_url
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(JwtAuthConfigForBatchGetInboundAuthConfigOutput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, JwtAuthConfigForBatchGetInboundAuthConfigOutput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, JwtAuthConfigForBatchGetInboundAuthConfigOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
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 JwtAuthConfigForCreateInboundAuthConfigInput(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
|
+
'allowed_audiences': 'list[str]',
|
|
37
|
+
'allowed_clients': 'list[str]',
|
|
38
|
+
'discovery_url': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'allowed_audiences': 'AllowedAudiences',
|
|
43
|
+
'allowed_clients': 'AllowedClients',
|
|
44
|
+
'discovery_url': 'DiscoveryUrl'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, allowed_audiences=None, allowed_clients=None, discovery_url=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""JwtAuthConfigForCreateInboundAuthConfigInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._allowed_audiences = None
|
|
54
|
+
self._allowed_clients = None
|
|
55
|
+
self._discovery_url = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if allowed_audiences is not None:
|
|
59
|
+
self.allowed_audiences = allowed_audiences
|
|
60
|
+
if allowed_clients is not None:
|
|
61
|
+
self.allowed_clients = allowed_clients
|
|
62
|
+
if discovery_url is not None:
|
|
63
|
+
self.discovery_url = discovery_url
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def allowed_audiences(self):
|
|
67
|
+
"""Gets the allowed_audiences of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The allowed_audiences of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
71
|
+
:rtype: list[str]
|
|
72
|
+
"""
|
|
73
|
+
return self._allowed_audiences
|
|
74
|
+
|
|
75
|
+
@allowed_audiences.setter
|
|
76
|
+
def allowed_audiences(self, allowed_audiences):
|
|
77
|
+
"""Sets the allowed_audiences of this JwtAuthConfigForCreateInboundAuthConfigInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param allowed_audiences: The allowed_audiences of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
81
|
+
:type: list[str]
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._allowed_audiences = allowed_audiences
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def allowed_clients(self):
|
|
88
|
+
"""Gets the allowed_clients of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The allowed_clients of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
92
|
+
:rtype: list[str]
|
|
93
|
+
"""
|
|
94
|
+
return self._allowed_clients
|
|
95
|
+
|
|
96
|
+
@allowed_clients.setter
|
|
97
|
+
def allowed_clients(self, allowed_clients):
|
|
98
|
+
"""Sets the allowed_clients of this JwtAuthConfigForCreateInboundAuthConfigInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param allowed_clients: The allowed_clients of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
102
|
+
:type: list[str]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._allowed_clients = allowed_clients
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def discovery_url(self):
|
|
109
|
+
"""Gets the discovery_url of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The discovery_url of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._discovery_url
|
|
116
|
+
|
|
117
|
+
@discovery_url.setter
|
|
118
|
+
def discovery_url(self, discovery_url):
|
|
119
|
+
"""Sets the discovery_url of this JwtAuthConfigForCreateInboundAuthConfigInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param discovery_url: The discovery_url of this JwtAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._discovery_url = discovery_url
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(JwtAuthConfigForCreateInboundAuthConfigInput, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, JwtAuthConfigForCreateInboundAuthConfigInput):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, JwtAuthConfigForCreateInboundAuthConfigInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|