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,201 @@
|
|
|
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 ApiKeyAuthConfigForCreateApiKeyInput(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': 'str',
|
|
37
|
+
'api_key_metadata': 'list[ApiKeyMetadataForCreateApiKeyInput]',
|
|
38
|
+
'api_key_name': 'str',
|
|
39
|
+
'expiry_timestamp': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'api_key': 'ApiKey',
|
|
44
|
+
'api_key_metadata': 'ApiKeyMetadata',
|
|
45
|
+
'api_key_name': 'ApiKeyName',
|
|
46
|
+
'expiry_timestamp': 'ExpiryTimestamp'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, api_key=None, api_key_metadata=None, api_key_name=None, expiry_timestamp=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ApiKeyAuthConfigForCreateApiKeyInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._api_key = None
|
|
56
|
+
self._api_key_metadata = None
|
|
57
|
+
self._api_key_name = None
|
|
58
|
+
self._expiry_timestamp = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if api_key is not None:
|
|
62
|
+
self.api_key = api_key
|
|
63
|
+
if api_key_metadata is not None:
|
|
64
|
+
self.api_key_metadata = api_key_metadata
|
|
65
|
+
if api_key_name is not None:
|
|
66
|
+
self.api_key_name = api_key_name
|
|
67
|
+
if expiry_timestamp is not None:
|
|
68
|
+
self.expiry_timestamp = expiry_timestamp
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def api_key(self):
|
|
72
|
+
"""Gets the api_key of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The api_key of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._api_key
|
|
79
|
+
|
|
80
|
+
@api_key.setter
|
|
81
|
+
def api_key(self, api_key):
|
|
82
|
+
"""Sets the api_key of this ApiKeyAuthConfigForCreateApiKeyInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param api_key: The api_key of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
86
|
+
:type: str
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._api_key = api_key
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def api_key_metadata(self):
|
|
93
|
+
"""Gets the api_key_metadata of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The api_key_metadata of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
97
|
+
:rtype: list[ApiKeyMetadataForCreateApiKeyInput]
|
|
98
|
+
"""
|
|
99
|
+
return self._api_key_metadata
|
|
100
|
+
|
|
101
|
+
@api_key_metadata.setter
|
|
102
|
+
def api_key_metadata(self, api_key_metadata):
|
|
103
|
+
"""Sets the api_key_metadata of this ApiKeyAuthConfigForCreateApiKeyInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param api_key_metadata: The api_key_metadata of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
107
|
+
:type: list[ApiKeyMetadataForCreateApiKeyInput]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._api_key_metadata = api_key_metadata
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def api_key_name(self):
|
|
114
|
+
"""Gets the api_key_name of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The api_key_name of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._api_key_name
|
|
121
|
+
|
|
122
|
+
@api_key_name.setter
|
|
123
|
+
def api_key_name(self, api_key_name):
|
|
124
|
+
"""Sets the api_key_name of this ApiKeyAuthConfigForCreateApiKeyInput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param api_key_name: The api_key_name of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._api_key_name = api_key_name
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def expiry_timestamp(self):
|
|
135
|
+
"""Gets the expiry_timestamp of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The expiry_timestamp of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._expiry_timestamp
|
|
142
|
+
|
|
143
|
+
@expiry_timestamp.setter
|
|
144
|
+
def expiry_timestamp(self, expiry_timestamp):
|
|
145
|
+
"""Sets the expiry_timestamp of this ApiKeyAuthConfigForCreateApiKeyInput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param expiry_timestamp: The expiry_timestamp of this ApiKeyAuthConfigForCreateApiKeyInput. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._expiry_timestamp = expiry_timestamp
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ApiKeyAuthConfigForCreateApiKeyInput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateApiKeyInput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateApiKeyInput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 ApiKeyAuthConfigForCreateInboundAuthConfigInput(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': 'str',
|
|
37
|
+
'api_key_metadata': 'list[ApiKeyMetadataForCreateInboundAuthConfigInput]',
|
|
38
|
+
'api_key_name': 'str',
|
|
39
|
+
'expiry_timestamp': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'api_key': 'ApiKey',
|
|
44
|
+
'api_key_metadata': 'ApiKeyMetadata',
|
|
45
|
+
'api_key_name': 'ApiKeyName',
|
|
46
|
+
'expiry_timestamp': 'ExpiryTimestamp'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, api_key=None, api_key_metadata=None, api_key_name=None, expiry_timestamp=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ApiKeyAuthConfigForCreateInboundAuthConfigInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._api_key = None
|
|
56
|
+
self._api_key_metadata = None
|
|
57
|
+
self._api_key_name = None
|
|
58
|
+
self._expiry_timestamp = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if api_key is not None:
|
|
62
|
+
self.api_key = api_key
|
|
63
|
+
if api_key_metadata is not None:
|
|
64
|
+
self.api_key_metadata = api_key_metadata
|
|
65
|
+
if api_key_name is not None:
|
|
66
|
+
self.api_key_name = api_key_name
|
|
67
|
+
if expiry_timestamp is not None:
|
|
68
|
+
self.expiry_timestamp = expiry_timestamp
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def api_key(self):
|
|
72
|
+
"""Gets the api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._api_key
|
|
79
|
+
|
|
80
|
+
@api_key.setter
|
|
81
|
+
def api_key(self, api_key):
|
|
82
|
+
"""Sets the api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param api_key: The api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
86
|
+
:type: str
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._api_key = api_key
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def api_key_metadata(self):
|
|
93
|
+
"""Gets the api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
97
|
+
:rtype: list[ApiKeyMetadataForCreateInboundAuthConfigInput]
|
|
98
|
+
"""
|
|
99
|
+
return self._api_key_metadata
|
|
100
|
+
|
|
101
|
+
@api_key_metadata.setter
|
|
102
|
+
def api_key_metadata(self, api_key_metadata):
|
|
103
|
+
"""Sets the api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param api_key_metadata: The api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
107
|
+
:type: list[ApiKeyMetadataForCreateInboundAuthConfigInput]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._api_key_metadata = api_key_metadata
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def api_key_name(self):
|
|
114
|
+
"""Gets the api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._api_key_name
|
|
121
|
+
|
|
122
|
+
@api_key_name.setter
|
|
123
|
+
def api_key_name(self, api_key_name):
|
|
124
|
+
"""Sets the api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigInput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param api_key_name: The api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._api_key_name = api_key_name
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def expiry_timestamp(self):
|
|
135
|
+
"""Gets the expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._expiry_timestamp
|
|
142
|
+
|
|
143
|
+
@expiry_timestamp.setter
|
|
144
|
+
def expiry_timestamp(self, expiry_timestamp):
|
|
145
|
+
"""Sets the expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigInput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param expiry_timestamp: The expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigInput. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._expiry_timestamp = expiry_timestamp
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ApiKeyAuthConfigForCreateInboundAuthConfigInput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateInboundAuthConfigInput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateInboundAuthConfigInput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 ApiKeyAuthConfigForCreateInboundAuthConfigOutput(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': 'str',
|
|
37
|
+
'api_key_metadata': 'list[ApiKeyMetadataForCreateInboundAuthConfigOutput]',
|
|
38
|
+
'api_key_name': 'str',
|
|
39
|
+
'expiry_timestamp': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'api_key': 'ApiKey',
|
|
44
|
+
'api_key_metadata': 'ApiKeyMetadata',
|
|
45
|
+
'api_key_name': 'ApiKeyName',
|
|
46
|
+
'expiry_timestamp': 'ExpiryTimestamp'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, api_key=None, api_key_metadata=None, api_key_name=None, expiry_timestamp=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ApiKeyAuthConfigForCreateInboundAuthConfigOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._api_key = None
|
|
56
|
+
self._api_key_metadata = None
|
|
57
|
+
self._api_key_name = None
|
|
58
|
+
self._expiry_timestamp = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if api_key is not None:
|
|
62
|
+
self.api_key = api_key
|
|
63
|
+
if api_key_metadata is not None:
|
|
64
|
+
self.api_key_metadata = api_key_metadata
|
|
65
|
+
if api_key_name is not None:
|
|
66
|
+
self.api_key_name = api_key_name
|
|
67
|
+
if expiry_timestamp is not None:
|
|
68
|
+
self.expiry_timestamp = expiry_timestamp
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def api_key(self):
|
|
72
|
+
"""Gets the api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
76
|
+
:rtype: str
|
|
77
|
+
"""
|
|
78
|
+
return self._api_key
|
|
79
|
+
|
|
80
|
+
@api_key.setter
|
|
81
|
+
def api_key(self, api_key):
|
|
82
|
+
"""Sets the api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param api_key: The api_key of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
86
|
+
:type: str
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._api_key = api_key
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def api_key_metadata(self):
|
|
93
|
+
"""Gets the api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
97
|
+
:rtype: list[ApiKeyMetadataForCreateInboundAuthConfigOutput]
|
|
98
|
+
"""
|
|
99
|
+
return self._api_key_metadata
|
|
100
|
+
|
|
101
|
+
@api_key_metadata.setter
|
|
102
|
+
def api_key_metadata(self, api_key_metadata):
|
|
103
|
+
"""Sets the api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param api_key_metadata: The api_key_metadata of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
107
|
+
:type: list[ApiKeyMetadataForCreateInboundAuthConfigOutput]
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._api_key_metadata = api_key_metadata
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def api_key_name(self):
|
|
114
|
+
"""Gets the api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._api_key_name
|
|
121
|
+
|
|
122
|
+
@api_key_name.setter
|
|
123
|
+
def api_key_name(self, api_key_name):
|
|
124
|
+
"""Sets the api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param api_key_name: The api_key_name of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._api_key_name = api_key_name
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def expiry_timestamp(self):
|
|
135
|
+
"""Gets the expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._expiry_timestamp
|
|
142
|
+
|
|
143
|
+
@expiry_timestamp.setter
|
|
144
|
+
def expiry_timestamp(self, expiry_timestamp):
|
|
145
|
+
"""Sets the expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param expiry_timestamp: The expiry_timestamp of this ApiKeyAuthConfigForCreateInboundAuthConfigOutput. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._expiry_timestamp = expiry_timestamp
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ApiKeyAuthConfigForCreateInboundAuthConfigOutput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateInboundAuthConfigOutput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ApiKeyAuthConfigForCreateInboundAuthConfigOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|