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,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 PrincipalForGrantPermissionInput(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
|
+
'id': 'str',
|
|
37
|
+
'operator': 'str',
|
|
38
|
+
'type': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'id': 'Id',
|
|
43
|
+
'operator': 'Operator',
|
|
44
|
+
'type': 'Type'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, id=None, operator=None, type=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""PrincipalForGrantPermissionInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._id = None
|
|
54
|
+
self._operator = None
|
|
55
|
+
self._type = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if id is not None:
|
|
59
|
+
self.id = id
|
|
60
|
+
if operator is not None:
|
|
61
|
+
self.operator = operator
|
|
62
|
+
if type is not None:
|
|
63
|
+
self.type = type
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def id(self):
|
|
67
|
+
"""Gets the id of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The id of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._id
|
|
74
|
+
|
|
75
|
+
@id.setter
|
|
76
|
+
def id(self, id):
|
|
77
|
+
"""Sets the id of this PrincipalForGrantPermissionInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param id: The id of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
81
|
+
:type: str
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._id = id
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def operator(self):
|
|
88
|
+
"""Gets the operator of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The operator of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._operator
|
|
95
|
+
|
|
96
|
+
@operator.setter
|
|
97
|
+
def operator(self, operator):
|
|
98
|
+
"""Sets the operator of this PrincipalForGrantPermissionInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param operator: The operator of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._operator = operator
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def type(self):
|
|
109
|
+
"""Gets the type of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The type of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._type
|
|
116
|
+
|
|
117
|
+
@type.setter
|
|
118
|
+
def type(self, type):
|
|
119
|
+
"""Sets the type of this PrincipalForGrantPermissionInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param type: The type of this PrincipalForGrantPermissionInput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._type = type
|
|
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(PrincipalForGrantPermissionInput, 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, PrincipalForGrantPermissionInput):
|
|
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, PrincipalForGrantPermissionInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,227 @@
|
|
|
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 ProviderOptionsForCreateIdentityProviderOAuthInput(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
|
+
'auto_linking': 'str',
|
|
37
|
+
'is_auto_creation': 'bool',
|
|
38
|
+
'is_auto_update': 'bool',
|
|
39
|
+
'is_creation_allowed': 'bool',
|
|
40
|
+
'is_linking_allowed': 'bool'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'auto_linking': 'AutoLinking',
|
|
45
|
+
'is_auto_creation': 'IsAutoCreation',
|
|
46
|
+
'is_auto_update': 'IsAutoUpdate',
|
|
47
|
+
'is_creation_allowed': 'IsCreationAllowed',
|
|
48
|
+
'is_linking_allowed': 'IsLinkingAllowed'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, auto_linking=None, is_auto_creation=None, is_auto_update=None, is_creation_allowed=None, is_linking_allowed=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ProviderOptionsForCreateIdentityProviderOAuthInput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._auto_linking = None
|
|
58
|
+
self._is_auto_creation = None
|
|
59
|
+
self._is_auto_update = None
|
|
60
|
+
self._is_creation_allowed = None
|
|
61
|
+
self._is_linking_allowed = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if auto_linking is not None:
|
|
65
|
+
self.auto_linking = auto_linking
|
|
66
|
+
if is_auto_creation is not None:
|
|
67
|
+
self.is_auto_creation = is_auto_creation
|
|
68
|
+
if is_auto_update is not None:
|
|
69
|
+
self.is_auto_update = is_auto_update
|
|
70
|
+
if is_creation_allowed is not None:
|
|
71
|
+
self.is_creation_allowed = is_creation_allowed
|
|
72
|
+
if is_linking_allowed is not None:
|
|
73
|
+
self.is_linking_allowed = is_linking_allowed
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def auto_linking(self):
|
|
77
|
+
"""Gets the auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._auto_linking
|
|
84
|
+
|
|
85
|
+
@auto_linking.setter
|
|
86
|
+
def auto_linking(self, auto_linking):
|
|
87
|
+
"""Sets the auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthInput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param auto_linking: The auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
91
|
+
:type: str
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._auto_linking = auto_linking
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def is_auto_creation(self):
|
|
98
|
+
"""Gets the is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
102
|
+
:rtype: bool
|
|
103
|
+
"""
|
|
104
|
+
return self._is_auto_creation
|
|
105
|
+
|
|
106
|
+
@is_auto_creation.setter
|
|
107
|
+
def is_auto_creation(self, is_auto_creation):
|
|
108
|
+
"""Sets the is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthInput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param is_auto_creation: The is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
112
|
+
:type: bool
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._is_auto_creation = is_auto_creation
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def is_auto_update(self):
|
|
119
|
+
"""Gets the is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
123
|
+
:rtype: bool
|
|
124
|
+
"""
|
|
125
|
+
return self._is_auto_update
|
|
126
|
+
|
|
127
|
+
@is_auto_update.setter
|
|
128
|
+
def is_auto_update(self, is_auto_update):
|
|
129
|
+
"""Sets the is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthInput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param is_auto_update: The is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
133
|
+
:type: bool
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._is_auto_update = is_auto_update
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def is_creation_allowed(self):
|
|
140
|
+
"""Gets the is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
144
|
+
:rtype: bool
|
|
145
|
+
"""
|
|
146
|
+
return self._is_creation_allowed
|
|
147
|
+
|
|
148
|
+
@is_creation_allowed.setter
|
|
149
|
+
def is_creation_allowed(self, is_creation_allowed):
|
|
150
|
+
"""Sets the is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param is_creation_allowed: The is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
154
|
+
:type: bool
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._is_creation_allowed = is_creation_allowed
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def is_linking_allowed(self):
|
|
161
|
+
"""Gets the is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
165
|
+
:rtype: bool
|
|
166
|
+
"""
|
|
167
|
+
return self._is_linking_allowed
|
|
168
|
+
|
|
169
|
+
@is_linking_allowed.setter
|
|
170
|
+
def is_linking_allowed(self, is_linking_allowed):
|
|
171
|
+
"""Sets the is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param is_linking_allowed: The is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthInput. # noqa: E501
|
|
175
|
+
:type: bool
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._is_linking_allowed = is_linking_allowed
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ProviderOptionsForCreateIdentityProviderOAuthInput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ProviderOptionsForCreateIdentityProviderOAuthInput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ProviderOptionsForCreateIdentityProviderOAuthInput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,227 @@
|
|
|
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 ProviderOptionsForCreateIdentityProviderOAuthOutput(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
|
+
'auto_linking': 'str',
|
|
37
|
+
'is_auto_creation': 'bool',
|
|
38
|
+
'is_auto_update': 'bool',
|
|
39
|
+
'is_creation_allowed': 'bool',
|
|
40
|
+
'is_linking_allowed': 'bool'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'auto_linking': 'AutoLinking',
|
|
45
|
+
'is_auto_creation': 'IsAutoCreation',
|
|
46
|
+
'is_auto_update': 'IsAutoUpdate',
|
|
47
|
+
'is_creation_allowed': 'IsCreationAllowed',
|
|
48
|
+
'is_linking_allowed': 'IsLinkingAllowed'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, auto_linking=None, is_auto_creation=None, is_auto_update=None, is_creation_allowed=None, is_linking_allowed=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ProviderOptionsForCreateIdentityProviderOAuthOutput - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._auto_linking = None
|
|
58
|
+
self._is_auto_creation = None
|
|
59
|
+
self._is_auto_update = None
|
|
60
|
+
self._is_creation_allowed = None
|
|
61
|
+
self._is_linking_allowed = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if auto_linking is not None:
|
|
65
|
+
self.auto_linking = auto_linking
|
|
66
|
+
if is_auto_creation is not None:
|
|
67
|
+
self.is_auto_creation = is_auto_creation
|
|
68
|
+
if is_auto_update is not None:
|
|
69
|
+
self.is_auto_update = is_auto_update
|
|
70
|
+
if is_creation_allowed is not None:
|
|
71
|
+
self.is_creation_allowed = is_creation_allowed
|
|
72
|
+
if is_linking_allowed is not None:
|
|
73
|
+
self.is_linking_allowed = is_linking_allowed
|
|
74
|
+
|
|
75
|
+
@property
|
|
76
|
+
def auto_linking(self):
|
|
77
|
+
"""Gets the auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:return: The auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
83
|
+
return self._auto_linking
|
|
84
|
+
|
|
85
|
+
@auto_linking.setter
|
|
86
|
+
def auto_linking(self, auto_linking):
|
|
87
|
+
"""Sets the auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthOutput.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:param auto_linking: The auto_linking of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
91
|
+
:type: str
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
self._auto_linking = auto_linking
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
def is_auto_creation(self):
|
|
98
|
+
"""Gets the is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
102
|
+
:rtype: bool
|
|
103
|
+
"""
|
|
104
|
+
return self._is_auto_creation
|
|
105
|
+
|
|
106
|
+
@is_auto_creation.setter
|
|
107
|
+
def is_auto_creation(self, is_auto_creation):
|
|
108
|
+
"""Sets the is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthOutput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param is_auto_creation: The is_auto_creation of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
112
|
+
:type: bool
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._is_auto_creation = is_auto_creation
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def is_auto_update(self):
|
|
119
|
+
"""Gets the is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:return: The is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
123
|
+
:rtype: bool
|
|
124
|
+
"""
|
|
125
|
+
return self._is_auto_update
|
|
126
|
+
|
|
127
|
+
@is_auto_update.setter
|
|
128
|
+
def is_auto_update(self, is_auto_update):
|
|
129
|
+
"""Sets the is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthOutput.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param is_auto_update: The is_auto_update of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
133
|
+
:type: bool
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
self._is_auto_update = is_auto_update
|
|
137
|
+
|
|
138
|
+
@property
|
|
139
|
+
def is_creation_allowed(self):
|
|
140
|
+
"""Gets the is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
144
|
+
:rtype: bool
|
|
145
|
+
"""
|
|
146
|
+
return self._is_creation_allowed
|
|
147
|
+
|
|
148
|
+
@is_creation_allowed.setter
|
|
149
|
+
def is_creation_allowed(self, is_creation_allowed):
|
|
150
|
+
"""Sets the is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param is_creation_allowed: The is_creation_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
154
|
+
:type: bool
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._is_creation_allowed = is_creation_allowed
|
|
158
|
+
|
|
159
|
+
@property
|
|
160
|
+
def is_linking_allowed(self):
|
|
161
|
+
"""Gets the is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
:return: The is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
165
|
+
:rtype: bool
|
|
166
|
+
"""
|
|
167
|
+
return self._is_linking_allowed
|
|
168
|
+
|
|
169
|
+
@is_linking_allowed.setter
|
|
170
|
+
def is_linking_allowed(self, is_linking_allowed):
|
|
171
|
+
"""Sets the is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:param is_linking_allowed: The is_linking_allowed of this ProviderOptionsForCreateIdentityProviderOAuthOutput. # noqa: E501
|
|
175
|
+
:type: bool
|
|
176
|
+
"""
|
|
177
|
+
|
|
178
|
+
self._is_linking_allowed = is_linking_allowed
|
|
179
|
+
|
|
180
|
+
def to_dict(self):
|
|
181
|
+
"""Returns the model properties as a dict"""
|
|
182
|
+
result = {}
|
|
183
|
+
|
|
184
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
185
|
+
value = getattr(self, attr)
|
|
186
|
+
if isinstance(value, list):
|
|
187
|
+
result[attr] = list(map(
|
|
188
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
189
|
+
value
|
|
190
|
+
))
|
|
191
|
+
elif hasattr(value, "to_dict"):
|
|
192
|
+
result[attr] = value.to_dict()
|
|
193
|
+
elif isinstance(value, dict):
|
|
194
|
+
result[attr] = dict(map(
|
|
195
|
+
lambda item: (item[0], item[1].to_dict())
|
|
196
|
+
if hasattr(item[1], "to_dict") else item,
|
|
197
|
+
value.items()
|
|
198
|
+
))
|
|
199
|
+
else:
|
|
200
|
+
result[attr] = value
|
|
201
|
+
if issubclass(ProviderOptionsForCreateIdentityProviderOAuthOutput, dict):
|
|
202
|
+
for key, value in self.items():
|
|
203
|
+
result[key] = value
|
|
204
|
+
|
|
205
|
+
return result
|
|
206
|
+
|
|
207
|
+
def to_str(self):
|
|
208
|
+
"""Returns the string representation of the model"""
|
|
209
|
+
return pprint.pformat(self.to_dict())
|
|
210
|
+
|
|
211
|
+
def __repr__(self):
|
|
212
|
+
"""For `print` and `pprint`"""
|
|
213
|
+
return self.to_str()
|
|
214
|
+
|
|
215
|
+
def __eq__(self, other):
|
|
216
|
+
"""Returns true if both objects are equal"""
|
|
217
|
+
if not isinstance(other, ProviderOptionsForCreateIdentityProviderOAuthOutput):
|
|
218
|
+
return False
|
|
219
|
+
|
|
220
|
+
return self.to_dict() == other.to_dict()
|
|
221
|
+
|
|
222
|
+
def __ne__(self, other):
|
|
223
|
+
"""Returns true if both objects are not equal"""
|
|
224
|
+
if not isinstance(other, ProviderOptionsForCreateIdentityProviderOAuthOutput):
|
|
225
|
+
return True
|
|
226
|
+
|
|
227
|
+
return self.to_dict() != other.to_dict()
|