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,331 @@
|
|
|
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 ConfigForCreateOauth2CredentialProviderInput(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
|
+
'client_id': 'str',
|
|
37
|
+
'client_secret': 'str',
|
|
38
|
+
'custom_parameters': 'CustomParametersForCreateOauth2CredentialProviderInput',
|
|
39
|
+
'flow': 'str',
|
|
40
|
+
'force_authentication': 'bool',
|
|
41
|
+
'max_expires': 'int',
|
|
42
|
+
'oauth2_discovery': 'Oauth2DiscoveryForCreateOauth2CredentialProviderInput',
|
|
43
|
+
'redirect_url': 'str',
|
|
44
|
+
'scopes': 'list[str]'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'client_id': 'ClientId',
|
|
49
|
+
'client_secret': 'ClientSecret',
|
|
50
|
+
'custom_parameters': 'CustomParameters',
|
|
51
|
+
'flow': 'Flow',
|
|
52
|
+
'force_authentication': 'ForceAuthentication',
|
|
53
|
+
'max_expires': 'MaxExpires',
|
|
54
|
+
'oauth2_discovery': 'Oauth2Discovery',
|
|
55
|
+
'redirect_url': 'RedirectUrl',
|
|
56
|
+
'scopes': 'Scopes'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, client_id=None, client_secret=None, custom_parameters=None, flow=None, force_authentication=None, max_expires=None, oauth2_discovery=None, redirect_url=None, scopes=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""ConfigForCreateOauth2CredentialProviderInput - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._client_id = None
|
|
66
|
+
self._client_secret = None
|
|
67
|
+
self._custom_parameters = None
|
|
68
|
+
self._flow = None
|
|
69
|
+
self._force_authentication = None
|
|
70
|
+
self._max_expires = None
|
|
71
|
+
self._oauth2_discovery = None
|
|
72
|
+
self._redirect_url = None
|
|
73
|
+
self._scopes = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if client_id is not None:
|
|
77
|
+
self.client_id = client_id
|
|
78
|
+
if client_secret is not None:
|
|
79
|
+
self.client_secret = client_secret
|
|
80
|
+
if custom_parameters is not None:
|
|
81
|
+
self.custom_parameters = custom_parameters
|
|
82
|
+
if flow is not None:
|
|
83
|
+
self.flow = flow
|
|
84
|
+
if force_authentication is not None:
|
|
85
|
+
self.force_authentication = force_authentication
|
|
86
|
+
if max_expires is not None:
|
|
87
|
+
self.max_expires = max_expires
|
|
88
|
+
if oauth2_discovery is not None:
|
|
89
|
+
self.oauth2_discovery = oauth2_discovery
|
|
90
|
+
if redirect_url is not None:
|
|
91
|
+
self.redirect_url = redirect_url
|
|
92
|
+
if scopes is not None:
|
|
93
|
+
self.scopes = scopes
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def client_id(self):
|
|
97
|
+
"""Gets the client_id of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The client_id of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._client_id
|
|
104
|
+
|
|
105
|
+
@client_id.setter
|
|
106
|
+
def client_id(self, client_id):
|
|
107
|
+
"""Sets the client_id of this ConfigForCreateOauth2CredentialProviderInput.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param client_id: The client_id of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
111
|
+
:type: str
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._client_id = client_id
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def client_secret(self):
|
|
118
|
+
"""Gets the client_secret of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The client_secret of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._client_secret
|
|
125
|
+
|
|
126
|
+
@client_secret.setter
|
|
127
|
+
def client_secret(self, client_secret):
|
|
128
|
+
"""Sets the client_secret of this ConfigForCreateOauth2CredentialProviderInput.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param client_secret: The client_secret of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
132
|
+
:type: str
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._client_secret = client_secret
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def custom_parameters(self):
|
|
139
|
+
"""Gets the custom_parameters of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The custom_parameters of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
143
|
+
:rtype: CustomParametersForCreateOauth2CredentialProviderInput
|
|
144
|
+
"""
|
|
145
|
+
return self._custom_parameters
|
|
146
|
+
|
|
147
|
+
@custom_parameters.setter
|
|
148
|
+
def custom_parameters(self, custom_parameters):
|
|
149
|
+
"""Sets the custom_parameters of this ConfigForCreateOauth2CredentialProviderInput.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param custom_parameters: The custom_parameters of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
153
|
+
:type: CustomParametersForCreateOauth2CredentialProviderInput
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._custom_parameters = custom_parameters
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def flow(self):
|
|
160
|
+
"""Gets the flow of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:return: The flow of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._flow
|
|
167
|
+
|
|
168
|
+
@flow.setter
|
|
169
|
+
def flow(self, flow):
|
|
170
|
+
"""Sets the flow of this ConfigForCreateOauth2CredentialProviderInput.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param flow: The flow of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
174
|
+
:type: str
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
self._flow = flow
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def force_authentication(self):
|
|
181
|
+
"""Gets the force_authentication of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The force_authentication of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
185
|
+
:rtype: bool
|
|
186
|
+
"""
|
|
187
|
+
return self._force_authentication
|
|
188
|
+
|
|
189
|
+
@force_authentication.setter
|
|
190
|
+
def force_authentication(self, force_authentication):
|
|
191
|
+
"""Sets the force_authentication of this ConfigForCreateOauth2CredentialProviderInput.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param force_authentication: The force_authentication of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
195
|
+
:type: bool
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
self._force_authentication = force_authentication
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def max_expires(self):
|
|
202
|
+
"""Gets the max_expires of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:return: The max_expires of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
206
|
+
:rtype: int
|
|
207
|
+
"""
|
|
208
|
+
return self._max_expires
|
|
209
|
+
|
|
210
|
+
@max_expires.setter
|
|
211
|
+
def max_expires(self, max_expires):
|
|
212
|
+
"""Sets the max_expires of this ConfigForCreateOauth2CredentialProviderInput.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param max_expires: The max_expires of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
216
|
+
:type: int
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
self._max_expires = max_expires
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def oauth2_discovery(self):
|
|
223
|
+
"""Gets the oauth2_discovery of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:return: The oauth2_discovery of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
227
|
+
:rtype: Oauth2DiscoveryForCreateOauth2CredentialProviderInput
|
|
228
|
+
"""
|
|
229
|
+
return self._oauth2_discovery
|
|
230
|
+
|
|
231
|
+
@oauth2_discovery.setter
|
|
232
|
+
def oauth2_discovery(self, oauth2_discovery):
|
|
233
|
+
"""Sets the oauth2_discovery of this ConfigForCreateOauth2CredentialProviderInput.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param oauth2_discovery: The oauth2_discovery of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
237
|
+
:type: Oauth2DiscoveryForCreateOauth2CredentialProviderInput
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
self._oauth2_discovery = oauth2_discovery
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def redirect_url(self):
|
|
244
|
+
"""Gets the redirect_url of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The redirect_url of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._redirect_url
|
|
251
|
+
|
|
252
|
+
@redirect_url.setter
|
|
253
|
+
def redirect_url(self, redirect_url):
|
|
254
|
+
"""Sets the redirect_url of this ConfigForCreateOauth2CredentialProviderInput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param redirect_url: The redirect_url of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
258
|
+
:type: str
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._redirect_url = redirect_url
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def scopes(self):
|
|
265
|
+
"""Gets the scopes of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:return: The scopes of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
269
|
+
:rtype: list[str]
|
|
270
|
+
"""
|
|
271
|
+
return self._scopes
|
|
272
|
+
|
|
273
|
+
@scopes.setter
|
|
274
|
+
def scopes(self, scopes):
|
|
275
|
+
"""Sets the scopes of this ConfigForCreateOauth2CredentialProviderInput.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param scopes: The scopes of this ConfigForCreateOauth2CredentialProviderInput. # noqa: E501
|
|
279
|
+
:type: list[str]
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
self._scopes = scopes
|
|
283
|
+
|
|
284
|
+
def to_dict(self):
|
|
285
|
+
"""Returns the model properties as a dict"""
|
|
286
|
+
result = {}
|
|
287
|
+
|
|
288
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
289
|
+
value = getattr(self, attr)
|
|
290
|
+
if isinstance(value, list):
|
|
291
|
+
result[attr] = list(map(
|
|
292
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
293
|
+
value
|
|
294
|
+
))
|
|
295
|
+
elif hasattr(value, "to_dict"):
|
|
296
|
+
result[attr] = value.to_dict()
|
|
297
|
+
elif isinstance(value, dict):
|
|
298
|
+
result[attr] = dict(map(
|
|
299
|
+
lambda item: (item[0], item[1].to_dict())
|
|
300
|
+
if hasattr(item[1], "to_dict") else item,
|
|
301
|
+
value.items()
|
|
302
|
+
))
|
|
303
|
+
else:
|
|
304
|
+
result[attr] = value
|
|
305
|
+
if issubclass(ConfigForCreateOauth2CredentialProviderInput, dict):
|
|
306
|
+
for key, value in self.items():
|
|
307
|
+
result[key] = value
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def to_str(self):
|
|
312
|
+
"""Returns the string representation of the model"""
|
|
313
|
+
return pprint.pformat(self.to_dict())
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print` and `pprint`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, ConfigForCreateOauth2CredentialProviderInput):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.to_dict() == other.to_dict()
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
if not isinstance(other, ConfigForCreateOauth2CredentialProviderInput):
|
|
329
|
+
return True
|
|
330
|
+
|
|
331
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,331 @@
|
|
|
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 ConfigForGetOauth2CredentialProviderOutput(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
|
+
'client_id': 'str',
|
|
37
|
+
'client_secret': 'str',
|
|
38
|
+
'custom_parameters': 'CustomParametersForGetOauth2CredentialProviderOutput',
|
|
39
|
+
'flow': 'str',
|
|
40
|
+
'force_authentication': 'bool',
|
|
41
|
+
'max_expires': 'int',
|
|
42
|
+
'oauth2_discovery': 'Oauth2DiscoveryForGetOauth2CredentialProviderOutput',
|
|
43
|
+
'redirect_url': 'str',
|
|
44
|
+
'scopes': 'list[str]'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'client_id': 'ClientId',
|
|
49
|
+
'client_secret': 'ClientSecret',
|
|
50
|
+
'custom_parameters': 'CustomParameters',
|
|
51
|
+
'flow': 'Flow',
|
|
52
|
+
'force_authentication': 'ForceAuthentication',
|
|
53
|
+
'max_expires': 'MaxExpires',
|
|
54
|
+
'oauth2_discovery': 'Oauth2Discovery',
|
|
55
|
+
'redirect_url': 'RedirectUrl',
|
|
56
|
+
'scopes': 'Scopes'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, client_id=None, client_secret=None, custom_parameters=None, flow=None, force_authentication=None, max_expires=None, oauth2_discovery=None, redirect_url=None, scopes=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""ConfigForGetOauth2CredentialProviderOutput - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._client_id = None
|
|
66
|
+
self._client_secret = None
|
|
67
|
+
self._custom_parameters = None
|
|
68
|
+
self._flow = None
|
|
69
|
+
self._force_authentication = None
|
|
70
|
+
self._max_expires = None
|
|
71
|
+
self._oauth2_discovery = None
|
|
72
|
+
self._redirect_url = None
|
|
73
|
+
self._scopes = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if client_id is not None:
|
|
77
|
+
self.client_id = client_id
|
|
78
|
+
if client_secret is not None:
|
|
79
|
+
self.client_secret = client_secret
|
|
80
|
+
if custom_parameters is not None:
|
|
81
|
+
self.custom_parameters = custom_parameters
|
|
82
|
+
if flow is not None:
|
|
83
|
+
self.flow = flow
|
|
84
|
+
if force_authentication is not None:
|
|
85
|
+
self.force_authentication = force_authentication
|
|
86
|
+
if max_expires is not None:
|
|
87
|
+
self.max_expires = max_expires
|
|
88
|
+
if oauth2_discovery is not None:
|
|
89
|
+
self.oauth2_discovery = oauth2_discovery
|
|
90
|
+
if redirect_url is not None:
|
|
91
|
+
self.redirect_url = redirect_url
|
|
92
|
+
if scopes is not None:
|
|
93
|
+
self.scopes = scopes
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def client_id(self):
|
|
97
|
+
"""Gets the client_id of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The client_id of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._client_id
|
|
104
|
+
|
|
105
|
+
@client_id.setter
|
|
106
|
+
def client_id(self, client_id):
|
|
107
|
+
"""Sets the client_id of this ConfigForGetOauth2CredentialProviderOutput.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param client_id: The client_id of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
111
|
+
:type: str
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._client_id = client_id
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def client_secret(self):
|
|
118
|
+
"""Gets the client_secret of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The client_secret of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._client_secret
|
|
125
|
+
|
|
126
|
+
@client_secret.setter
|
|
127
|
+
def client_secret(self, client_secret):
|
|
128
|
+
"""Sets the client_secret of this ConfigForGetOauth2CredentialProviderOutput.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param client_secret: The client_secret of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
132
|
+
:type: str
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._client_secret = client_secret
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def custom_parameters(self):
|
|
139
|
+
"""Gets the custom_parameters of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The custom_parameters of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
143
|
+
:rtype: CustomParametersForGetOauth2CredentialProviderOutput
|
|
144
|
+
"""
|
|
145
|
+
return self._custom_parameters
|
|
146
|
+
|
|
147
|
+
@custom_parameters.setter
|
|
148
|
+
def custom_parameters(self, custom_parameters):
|
|
149
|
+
"""Sets the custom_parameters of this ConfigForGetOauth2CredentialProviderOutput.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param custom_parameters: The custom_parameters of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
153
|
+
:type: CustomParametersForGetOauth2CredentialProviderOutput
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._custom_parameters = custom_parameters
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def flow(self):
|
|
160
|
+
"""Gets the flow of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:return: The flow of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._flow
|
|
167
|
+
|
|
168
|
+
@flow.setter
|
|
169
|
+
def flow(self, flow):
|
|
170
|
+
"""Sets the flow of this ConfigForGetOauth2CredentialProviderOutput.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param flow: The flow of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
174
|
+
:type: str
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
self._flow = flow
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def force_authentication(self):
|
|
181
|
+
"""Gets the force_authentication of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The force_authentication of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
185
|
+
:rtype: bool
|
|
186
|
+
"""
|
|
187
|
+
return self._force_authentication
|
|
188
|
+
|
|
189
|
+
@force_authentication.setter
|
|
190
|
+
def force_authentication(self, force_authentication):
|
|
191
|
+
"""Sets the force_authentication of this ConfigForGetOauth2CredentialProviderOutput.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param force_authentication: The force_authentication of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
195
|
+
:type: bool
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
self._force_authentication = force_authentication
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def max_expires(self):
|
|
202
|
+
"""Gets the max_expires of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:return: The max_expires of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
206
|
+
:rtype: int
|
|
207
|
+
"""
|
|
208
|
+
return self._max_expires
|
|
209
|
+
|
|
210
|
+
@max_expires.setter
|
|
211
|
+
def max_expires(self, max_expires):
|
|
212
|
+
"""Sets the max_expires of this ConfigForGetOauth2CredentialProviderOutput.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param max_expires: The max_expires of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
216
|
+
:type: int
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
self._max_expires = max_expires
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def oauth2_discovery(self):
|
|
223
|
+
"""Gets the oauth2_discovery of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:return: The oauth2_discovery of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
227
|
+
:rtype: Oauth2DiscoveryForGetOauth2CredentialProviderOutput
|
|
228
|
+
"""
|
|
229
|
+
return self._oauth2_discovery
|
|
230
|
+
|
|
231
|
+
@oauth2_discovery.setter
|
|
232
|
+
def oauth2_discovery(self, oauth2_discovery):
|
|
233
|
+
"""Sets the oauth2_discovery of this ConfigForGetOauth2CredentialProviderOutput.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param oauth2_discovery: The oauth2_discovery of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
237
|
+
:type: Oauth2DiscoveryForGetOauth2CredentialProviderOutput
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
self._oauth2_discovery = oauth2_discovery
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def redirect_url(self):
|
|
244
|
+
"""Gets the redirect_url of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The redirect_url of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._redirect_url
|
|
251
|
+
|
|
252
|
+
@redirect_url.setter
|
|
253
|
+
def redirect_url(self, redirect_url):
|
|
254
|
+
"""Sets the redirect_url of this ConfigForGetOauth2CredentialProviderOutput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param redirect_url: The redirect_url of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
258
|
+
:type: str
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._redirect_url = redirect_url
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def scopes(self):
|
|
265
|
+
"""Gets the scopes of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:return: The scopes of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
269
|
+
:rtype: list[str]
|
|
270
|
+
"""
|
|
271
|
+
return self._scopes
|
|
272
|
+
|
|
273
|
+
@scopes.setter
|
|
274
|
+
def scopes(self, scopes):
|
|
275
|
+
"""Sets the scopes of this ConfigForGetOauth2CredentialProviderOutput.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param scopes: The scopes of this ConfigForGetOauth2CredentialProviderOutput. # noqa: E501
|
|
279
|
+
:type: list[str]
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
self._scopes = scopes
|
|
283
|
+
|
|
284
|
+
def to_dict(self):
|
|
285
|
+
"""Returns the model properties as a dict"""
|
|
286
|
+
result = {}
|
|
287
|
+
|
|
288
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
289
|
+
value = getattr(self, attr)
|
|
290
|
+
if isinstance(value, list):
|
|
291
|
+
result[attr] = list(map(
|
|
292
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
293
|
+
value
|
|
294
|
+
))
|
|
295
|
+
elif hasattr(value, "to_dict"):
|
|
296
|
+
result[attr] = value.to_dict()
|
|
297
|
+
elif isinstance(value, dict):
|
|
298
|
+
result[attr] = dict(map(
|
|
299
|
+
lambda item: (item[0], item[1].to_dict())
|
|
300
|
+
if hasattr(item[1], "to_dict") else item,
|
|
301
|
+
value.items()
|
|
302
|
+
))
|
|
303
|
+
else:
|
|
304
|
+
result[attr] = value
|
|
305
|
+
if issubclass(ConfigForGetOauth2CredentialProviderOutput, dict):
|
|
306
|
+
for key, value in self.items():
|
|
307
|
+
result[key] = value
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def to_str(self):
|
|
312
|
+
"""Returns the string representation of the model"""
|
|
313
|
+
return pprint.pformat(self.to_dict())
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print` and `pprint`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, ConfigForGetOauth2CredentialProviderOutput):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.to_dict() == other.to_dict()
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
if not isinstance(other, ConfigForGetOauth2CredentialProviderOutput):
|
|
329
|
+
return True
|
|
330
|
+
|
|
331
|
+
return self.to_dict() != other.to_dict()
|