diff --git a/pyproject.toml b/pyproject.toml index a3b6d42..6b75ce1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ classifiers = [ ] requires-python = ">=3.10" dependencies = [ - "huaweicloudsdkcore>=3.1.0", + "huaweicloudsdkagentidentity>=3.1.0", "huaweicloudsdkiam>=3.1.0", "huaweicloudsdkswr>=3.1.0", "starlette>=0.46.2", @@ -132,7 +132,7 @@ Changelog = "https://github.com/huaweicloud/agentarts-sdk-python/blob/main/CHANG agentarts = "agentarts.toolkit.main:cli" [tool.uv.build-backend] -module-name = ["agentarts", "huaweicloudsdkagentidentity"] +module-name = ["agentarts"] module-root = "src" [tool.black] diff --git a/src/huaweicloudsdkagentidentity/__init__.py b/src/huaweicloudsdkagentidentity/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/huaweicloudsdkagentidentity/v1/__init__.py b/src/huaweicloudsdkagentidentity/v1/__init__.py deleted file mode 100644 index 55406a2..0000000 --- a/src/huaweicloudsdkagentidentity/v1/__init__.py +++ /dev/null @@ -1,324 +0,0 @@ - - -from huaweicloudsdkagentidentity.v1.agentidentity_async_client import AgentIdentityAsyncClient -from huaweicloudsdkagentidentity.v1.agentidentity_client import AgentIdentityClient -from huaweicloudsdkagentidentity.v1.model.agency_urn import AgencyUrn -from huaweicloudsdkagentidentity.v1.model.allowed_resource_oauth2_return_url import ( - AllowedResourceOauth2ReturnUrl, -) -from huaweicloudsdkagentidentity.v1.model.api_key_credential_provider import ( - ApiKeyCredentialProvider, -) -from huaweicloudsdkagentidentity.v1.model.api_key_credential_provider_summary import ( - ApiKeyCredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.api_key_info import ApiKeyInfo -from huaweicloudsdkagentidentity.v1.model.authorizer_configuration import AuthorizerConfiguration -from huaweicloudsdkagentidentity.v1.model.authorizer_type import AuthorizerType -from huaweicloudsdkagentidentity.v1.model.authorizing_claim_match_value import ( - AuthorizingClaimMatchValue, -) -from huaweicloudsdkagentidentity.v1.model.claim_match_value import ClaimMatchValue -from huaweicloudsdkagentidentity.v1.model.client_id import ClientId -from huaweicloudsdkagentidentity.v1.model.client_secret import ClientSecret -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_request import ( - CompleteResourceTokenAuthRequest, -) -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_request_body import ( - CompleteResourceTokenAuthRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_response import ( - CompleteResourceTokenAuthResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_req_body import ( - CreateApiKeyCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_request import ( - CreateApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_response import ( - CreateApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_req_body import ( - CreateOauth2CredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_request import ( - CreateOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_response import ( - CreateOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_req_body import ( - CreateStsCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_request import ( - CreateStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_response import ( - CreateStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_request import ( - CreateWorkloadAccessTokenForJwtRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_request_body import ( - CreateWorkloadAccessTokenForJwtRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_response import ( - CreateWorkloadAccessTokenForJwtResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_request import ( - CreateWorkloadAccessTokenForUserIdRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_request_body import ( - CreateWorkloadAccessTokenForUserIdRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_response import ( - CreateWorkloadAccessTokenForUserIdResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_request import ( - CreateWorkloadAccessTokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_request_body import ( - CreateWorkloadAccessTokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_response import ( - CreateWorkloadAccessTokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_req_body import ( - CreateWorkloadIdentityReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_request import ( - CreateWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_response import ( - CreateWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.created_by import CreatedBy -from huaweicloudsdkagentidentity.v1.model.credential_provider_name import CredentialProviderName -from huaweicloudsdkagentidentity.v1.model.credential_provider_vendor import CredentialProviderVendor -from huaweicloudsdkagentidentity.v1.model.custom_claim_validation import CustomClaimValidation -from huaweicloudsdkagentidentity.v1.model.custom_jwt_authorizer_configuration import ( - CustomJWTAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.custom_oauth2_provider_config_input import ( - CustomOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.custom_oauth2_provider_config_output import ( - CustomOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.delete_api_key_credential_provider_request import ( - DeleteApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_api_key_credential_provider_response import ( - DeleteApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_oauth2_credential_provider_request import ( - DeleteOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_oauth2_credential_provider_response import ( - DeleteOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_sts_credential_provider_request import ( - DeleteStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_sts_credential_provider_response import ( - DeleteStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_workload_identity_request import ( - DeleteWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_workload_identity_response import ( - DeleteWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.discovery_url import DiscoveryUrl -from huaweicloudsdkagentidentity.v1.model.get_api_key_credential_provider_request import ( - GetApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_api_key_credential_provider_response import ( - GetApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_oauth2_credential_provider_request import ( - GetOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_oauth2_credential_provider_response import ( - GetOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_request import ( - GetResourceApiKeyRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_request_body import ( - GetResourceApiKeyRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_response import ( - GetResourceApiKeyResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_request import ( - GetResourceOauth2TokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_request_body import ( - GetResourceOauth2TokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_response import ( - GetResourceOauth2TokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_request import ( - GetResourceStsTokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_request_body import ( - GetResourceStsTokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response import ( - GetResourceStsTokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response_body_assumed_agency import ( - GetResourceStsTokenResponseBodyAssumedAgency, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response_body_credentials import ( - GetResourceStsTokenResponseBodyCredentials, -) -from huaweicloudsdkagentidentity.v1.model.get_sts_credential_provider_request import ( - GetStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_sts_credential_provider_response import ( - GetStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_token_vault_request import GetTokenVaultRequest -from huaweicloudsdkagentidentity.v1.model.get_token_vault_response import GetTokenVaultResponse -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_authorizer_configuration_request import ( - GetWorkloadIdentityAuthorizerConfigurationRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_authorizer_configuration_response import ( - GetWorkloadIdentityAuthorizerConfigurationResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_request import ( - GetWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_response import ( - GetWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.github_oauth2_provider_config_input import ( - GithubOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.github_oauth2_provider_config_output import ( - GithubOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.google_oauth2_provider_config_input import ( - GoogleOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.google_oauth2_provider_config_output import ( - GoogleOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.key_auth_authorizer_configuration import ( - KeyAuthAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.kms_configuration import KmsConfiguration -from huaweicloudsdkagentidentity.v1.model.kms_key_id import KmsKeyId -from huaweicloudsdkagentidentity.v1.model.kms_key_type import KmsKeyType -from huaweicloudsdkagentidentity.v1.model.limit import Limit -from huaweicloudsdkagentidentity.v1.model.list_api_key_credential_providers_request import ( - ListApiKeyCredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_api_key_credential_providers_response import ( - ListApiKeyCredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_oauth2_credential_providers_request import ( - ListOauth2CredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_oauth2_credential_providers_response import ( - ListOauth2CredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_sts_credential_providers_request import ( - ListStsCredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_sts_credential_providers_response import ( - ListStsCredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_workload_identities_request import ( - ListWorkloadIdentitiesRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_workload_identities_response import ( - ListWorkloadIdentitiesResponse, -) -from huaweicloudsdkagentidentity.v1.model.marker import Marker -from huaweicloudsdkagentidentity.v1.model.microsoft_oauth2_provider_config_input import ( - MicrosoftOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.microsoft_oauth2_provider_config_output import ( - MicrosoftOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_authorization_server_metadata import ( - Oauth2AuthorizationServerMetadata, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_authorize_request import Oauth2AuthorizeRequest -from huaweicloudsdkagentidentity.v1.model.oauth2_authorize_response import Oauth2AuthorizeResponse -from huaweicloudsdkagentidentity.v1.model.oauth2_callback_request import Oauth2CallbackRequest -from huaweicloudsdkagentidentity.v1.model.oauth2_callback_response import Oauth2CallbackResponse -from huaweicloudsdkagentidentity.v1.model.oauth2_credential_provider import Oauth2CredentialProvider -from huaweicloudsdkagentidentity.v1.model.oauth2_credential_provider_summary import ( - Oauth2CredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_discovery import Oauth2Discovery -from huaweicloudsdkagentidentity.v1.model.oauth2_provider_config_input import ( - Oauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_provider_config_output import ( - Oauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.page_info import PageInfo -from huaweicloudsdkagentidentity.v1.model.rich_authorization_detail import RichAuthorizationDetail -from huaweicloudsdkagentidentity.v1.model.secret import Secret -from huaweicloudsdkagentidentity.v1.model.sts_credential_provider import StsCredentialProvider -from huaweicloudsdkagentidentity.v1.model.sts_credential_provider_summary import ( - StsCredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.sts_tag import StsTag -from huaweicloudsdkagentidentity.v1.model.tag import Tag -from huaweicloudsdkagentidentity.v1.model.token_vault import TokenVault -from huaweicloudsdkagentidentity.v1.model.token_vault_id import TokenVaultId -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_req_body import ( - UpdateApiKeyCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_request import ( - UpdateApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_response import ( - UpdateApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_req_body import ( - UpdateOauth2CredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_request import ( - UpdateOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_response import ( - UpdateOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_req_body import ( - UpdateStsCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_request import ( - UpdateStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_response import ( - UpdateStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_req_body import ( - UpdateWorkloadIdentityReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_request import ( - UpdateWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_response import ( - UpdateWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.user_identifier import UserIdentifier -from huaweicloudsdkagentidentity.v1.model.utc_date_time import UtcDateTime -from huaweicloudsdkagentidentity.v1.model.workload_access_token import WorkloadAccessToken -from huaweicloudsdkagentidentity.v1.model.workload_identity import WorkloadIdentity -from huaweicloudsdkagentidentity.v1.model.workload_identity_authorizer_configuration import ( - WorkloadIdentityAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.workload_identity_name import WorkloadIdentityName -from huaweicloudsdkagentidentity.v1.model.workload_identity_summary import WorkloadIdentitySummary -from huaweicloudsdkagentidentity.v1.model.workload_identity_urn import WorkloadIdentityUrn - diff --git a/src/huaweicloudsdkagentidentity/v1/agentidentity_async_client.py b/src/huaweicloudsdkagentidentity/v1/agentidentity_async_client.py deleted file mode 100644 index 13dcf4b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/agentidentity_async_client.py +++ /dev/null @@ -1,2090 +0,0 @@ - - -import importlib -import warnings - -from huaweicloudsdkcore.client import Client, ClientBuilder -from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest -from huaweicloudsdkcore.utils import http_utils - -try: - from huaweicloudsdkcore.invoker.invoker import AsyncInvoker -except ImportError as e: - warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkagentidentity'", stacklevel=2) - - -class AgentIdentityAsyncClient(Client): - def __init__(self): - super().__init__() - self.model_package = importlib.import_module("huaweicloudsdkagentidentity.v1.model") - - @classmethod - def new_builder(cls, clazz=None): - if not clazz: - client_builder = ClientBuilder(cls) - else: - if clazz.__name__ != "AgentIdentityAsyncClient": - msg = "client type error, support client type is AgentIdentityAsyncClient" - raise TypeError(msg) - client_builder = ClientBuilder(clazz) - - - - return client_builder - - def create_api_key_credential_provider_async(self, request): - r"""创建API密钥凭证提供者 - - Creates a new API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderResponse` - """ - http_info = self._create_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_api_key_credential_provider_async_invoker(self, request): - http_info = self._create_api_key_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_api_key_credential_provider_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/api-key-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_api_key_credential_provider_async(self, request): - r"""删除API密钥凭证提供者 - - Deletes an API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteApiKeyCredentialProviderResponse` - """ - http_info = self._delete_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_api_key_credential_provider_async_invoker(self, request): - http_info = self._delete_api_key_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_api_key_credential_provider_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_api_key_credential_provider_async(self, request): - r"""查询API密钥凭证提供者详情 - - Gets details of an API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetApiKeyCredentialProviderResponse` - """ - http_info = self._get_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_api_key_credential_provider_async_invoker(self, request): - http_info = self._get_api_key_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_api_key_credential_provider_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_api_key_credential_providers_async(self, request): - r"""查询API密钥凭证提供者列表 - - Lists API key credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListApiKeyCredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListApiKeyCredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListApiKeyCredentialProvidersResponse` - """ - http_info = self._list_api_key_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_api_key_credential_providers_async_invoker(self, request): - http_info = self._list_api_key_credential_providers_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_api_key_credential_providers_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/api-key-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListApiKeyCredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_api_key_credential_provider_async(self, request): - r"""更新API密钥凭证提供者 - - Updates the API key of an existing API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderResponse` - """ - http_info = self._update_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_api_key_credential_provider_async_invoker(self, request): - http_info = self._update_api_key_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_api_key_credential_provider_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def complete_resource_token_auth_async(self, request): - r"""Confirm user authentication session for OAuth2.0 tokens - - Confirms the user authentication session to obtain OAuth2.0 tokens for a resource - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CompleteResourceTokenAuth - :type request: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthResponse` - """ - http_info = self._complete_resource_token_auth_http_info(request) - return self._call_api(**http_info) - - def complete_resource_token_auth_async_invoker(self, request): - http_info = self._complete_resource_token_auth_http_info(request) - return AsyncInvoker(self, http_info) - - def _complete_resource_token_auth_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/resource-token-auth/complete", - "request_type": request.__class__.__name__, - "response_type": "CompleteResourceTokenAuthResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_api_key_async(self, request): - r"""Retrieve API key from resource credential provider - - Retrieves the API key associated with a specified resource credential provider - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetResourceApiKey - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyResponse` - """ - http_info = self._get_resource_api_key_http_info(request) - return self._call_api(**http_info) - - def get_resource_api_key_async_invoker(self, request): - http_info = self._get_resource_api_key_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_resource_api_key_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/api-key", - "request_type": request.__class__.__name__, - "response_type": "GetResourceApiKeyResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_oauth2_token_async(self, request): - r"""Retrieve OAuth2.0 token from resource credential provider - - Returns the OAuth2.0 token for the specified resource using the configured flow - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetResourceOauth2Token - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenResponse` - """ - http_info = self._get_resource_oauth2_token_http_info(request) - return self._call_api(**http_info) - - def get_resource_oauth2_token_async_invoker(self, request): - http_info = self._get_resource_oauth2_token_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_resource_oauth2_token_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/oauth2/token", - "request_type": request.__class__.__name__, - "response_type": "GetResourceOauth2TokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_sts_token_async(self, request): - r"""Retrieve STS credentials from STS credential provider - - Retrieves temporary STS credentials from a specified STS credential provider - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetResourceStsToken - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponse` - """ - http_info = self._get_resource_sts_token_http_info(request) - return self._call_api(**http_info) - - def get_resource_sts_token_async_invoker(self, request): - http_info = self._get_resource_sts_token_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_resource_sts_token_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/sts/token", - "request_type": request.__class__.__name__, - "response_type": "GetResourceStsTokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def oauth2_authorize_async(self, request): - r"""OAuth2.0 Pushed Authorization Request (PAR) standard authorize API - - Core OAuth2 authorization endpoint following RFC 9126 PAR spec, only accepts authorization request via request_uri parameter to trigger user authorization flow - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for Oauth2Authorize - :type request: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizeRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizeResponse` - """ - http_info = self._oauth2_authorize_http_info(request) - return self._call_api(**http_info) - - def oauth2_authorize_async_invoker(self, request): - http_info = self._oauth2_authorize_http_info(request) - return AsyncInvoker(self, http_info) - - def _oauth2_authorize_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2/authorize", - "request_type": request.__class__.__name__, - "response_type": "Oauth2AuthorizeResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "request_uri" in local_var_params: - query_params.append(("request_uri", local_var_params["request_uri"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def oauth2_callback_async(self, request): - r"""OAuth2.0 Standard Authorization Callback API - - OAuth2 redirect callback endpoint to receive authorization result after user consent/denial - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for Oauth2Callback - :type request: :class:`huaweicloudsdkagentidentity.v1.Oauth2CallbackRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2CallbackResponse` - """ - http_info = self._oauth2_callback_http_info(request) - return self._call_api(**http_info) - - def oauth2_callback_async_invoker(self, request): - http_info = self._oauth2_callback_http_info(request) - return AsyncInvoker(self, http_info) - - def _oauth2_callback_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2/callback/{credential_provider_id}", - "request_type": request.__class__.__name__, - "response_type": "Oauth2CallbackResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_id" in local_var_params: - path_params["credential_provider_id"] = local_var_params["credential_provider_id"] - - query_params = [] - if "code" in local_var_params: - query_params.append(("code", local_var_params["code"])) - if "state" in local_var_params: - query_params.append(("state", local_var_params["state"])) - if "error" in local_var_params: - query_params.append(("error", local_var_params["error"])) - if "error_description" in local_var_params: - query_params.append(("error_description", local_var_params["error_description"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_oauth2_credential_provider_async(self, request): - r"""创建OAuth2凭证提供者 - - Creates a new OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderResponse` - """ - http_info = self._create_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_oauth2_credential_provider_async_invoker(self, request): - http_info = self._create_oauth2_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_oauth2_credential_provider_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/oauth2-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_oauth2_credential_provider_async(self, request): - r"""删除OAuth2凭证提供者 - - Deletes an OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteOauth2CredentialProviderResponse` - """ - http_info = self._delete_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_oauth2_credential_provider_async_invoker(self, request): - http_info = self._delete_oauth2_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_oauth2_credential_provider_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_oauth2_credential_provider_async(self, request): - r"""查询OAuth2凭证提供者详情 - - Gets details of an OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetOauth2CredentialProviderResponse` - """ - http_info = self._get_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_oauth2_credential_provider_async_invoker(self, request): - http_info = self._get_oauth2_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_oauth2_credential_provider_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_oauth2_credential_providers_async(self, request): - r"""查询OAuth2凭证提供者列表 - - Lists OAuth2 credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListOauth2CredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListOauth2CredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListOauth2CredentialProvidersResponse` - """ - http_info = self._list_oauth2_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_oauth2_credential_providers_async_invoker(self, request): - http_info = self._list_oauth2_credential_providers_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_oauth2_credential_providers_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListOauth2CredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_oauth2_credential_provider_async(self, request): - r"""更新OAuth2凭证提供者 - - Updates an existing OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderResponse` - """ - http_info = self._update_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_oauth2_credential_provider_async_invoker(self, request): - http_info = self._update_oauth2_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_oauth2_credential_provider_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_sts_credential_provider_async(self, request): - r"""创建STS凭证提供者 - - Creates a new STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderResponse` - """ - http_info = self._create_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_sts_credential_provider_async_invoker(self, request): - http_info = self._create_sts_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_sts_credential_provider_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/sts-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_sts_credential_provider_async(self, request): - r"""删除STS凭证提供者 - - Deletes an STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteStsCredentialProviderResponse` - """ - http_info = self._delete_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_sts_credential_provider_async_invoker(self, request): - http_info = self._delete_sts_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_sts_credential_provider_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_sts_credential_provider_async(self, request): - r"""查询STS凭证提供者详情 - - Gets details of an STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetStsCredentialProviderResponse` - """ - http_info = self._get_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_sts_credential_provider_async_invoker(self, request): - http_info = self._get_sts_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_sts_credential_provider_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_sts_credential_providers_async(self, request): - r"""查询STS凭证提供者列表 - - Lists STS credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListStsCredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListStsCredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListStsCredentialProvidersResponse` - """ - http_info = self._list_sts_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_sts_credential_providers_async_invoker(self, request): - http_info = self._list_sts_credential_providers_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_sts_credential_providers_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/sts-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListStsCredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_sts_credential_provider_async(self, request): - r"""更新STS凭证提供者 - - Updates an existing STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderResponse` - """ - http_info = self._update_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_sts_credential_provider_async_invoker(self, request): - http_info = self._update_sts_credential_provider_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_sts_credential_provider_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_token_vault_async(self, request): - r"""查询令牌保管库详情 - - Gets details of a token vault. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetTokenVault - :type request: :class:`huaweicloudsdkagentidentity.v1.GetTokenVaultRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetTokenVaultResponse` - """ - http_info = self._get_token_vault_http_info(request) - return self._call_api(**http_info) - - def get_token_vault_async_invoker(self, request): - http_info = self._get_token_vault_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_token_vault_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/token-vaults/{token_vault_id}", - "request_type": request.__class__.__name__, - "response_type": "GetTokenVaultResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "token_vault_id" in local_var_params: - path_params["token_vault_id"] = local_var_params["token_vault_id"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token_async(self, request): - r"""Create workload access token (not acting on behalf of a user) - - Retrieves a workload access token for agentic workloads that do not act on behalf of a user - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateWorkloadAccessToken - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenResponse` - """ - http_info = self._create_workload_access_token_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_async_invoker(self, request): - http_info = self._create_workload_access_token_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_workload_access_token_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token_for_jwt_async(self, request): - r"""Create workload access token using JWT (acting on behalf of a user) - - Retrieves a workload access token for agentic workloads acting on behalf of a user, using a JWT token - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateWorkloadAccessTokenForJwt - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtResponse` - """ - http_info = self._create_workload_access_token_for_jwt_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_for_jwt_async_invoker(self, request): - http_info = self._create_workload_access_token_for_jwt_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_workload_access_token_for_jwt_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token-for-jwt", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenForJwtResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token_for_user_id_async(self, request): - r"""Create workload access token using user ID (acting on behalf of a user) - - Retrieves a workload access token for agentic workloads acting on behalf of a user, using the user's ID - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateWorkloadAccessTokenForUserId - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdResponse` - """ - http_info = self._create_workload_access_token_for_user_id_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_for_user_id_async_invoker(self, request): - http_info = self._create_workload_access_token_for_user_id_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_workload_access_token_for_user_id_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token-for-user-id", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenForUserIdResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_identity_async(self, request): - r"""创建工作负载身份 - - Creates a new workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for CreateWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityResponse` - """ - http_info = self._create_workload_identity_http_info(request) - return self._call_api(**http_info) - - def create_workload_identity_async_invoker(self, request): - http_info = self._create_workload_identity_http_info(request) - return AsyncInvoker(self, http_info) - - def _create_workload_identity_http_info(self, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-identities", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_workload_identity_async(self, request): - r"""删除工作负载身份 - - Deletes a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for DeleteWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteWorkloadIdentityResponse` - """ - http_info = self._delete_workload_identity_http_info(request) - return self._call_api(**http_info) - - def delete_workload_identity_async_invoker(self, request): - http_info = self._delete_workload_identity_http_info(request) - return AsyncInvoker(self, http_info) - - def _delete_workload_identity_http_info(self, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_workload_identity_async(self, request): - r"""查询工作负载身份详情 - - Gets details of a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityResponse` - """ - http_info = self._get_workload_identity_http_info(request) - return self._call_api(**http_info) - - def get_workload_identity_async_invoker(self, request): - http_info = self._get_workload_identity_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_workload_identity_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "GetWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_workload_identity_authorizer_configuration_async(self, request): - r"""查询工作负载身份的授权配置 - - Gets the authorizer configuration of a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for GetWorkloadIdentityAuthorizerConfiguration - :type request: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityAuthorizerConfigurationRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityAuthorizerConfigurationResponse` - """ - http_info = self._get_workload_identity_authorizer_configuration_http_info(request) - return self._call_api(**http_info) - - def get_workload_identity_authorizer_configuration_async_invoker(self, request): - http_info = self._get_workload_identity_authorizer_configuration_http_info(request) - return AsyncInvoker(self, http_info) - - def _get_workload_identity_authorizer_configuration_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities/{workload_identity_name}/authorizer-configuration", - "request_type": request.__class__.__name__, - "response_type": "GetWorkloadIdentityAuthorizerConfigurationResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_workload_identities_async(self, request): - r"""查询工作负载身份列表 - - Lists workload identities. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for ListWorkloadIdentities - :type request: :class:`huaweicloudsdkagentidentity.v1.ListWorkloadIdentitiesRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListWorkloadIdentitiesResponse` - """ - http_info = self._list_workload_identities_http_info(request) - return self._call_api(**http_info) - - def list_workload_identities_async_invoker(self, request): - http_info = self._list_workload_identities_http_info(request) - return AsyncInvoker(self, http_info) - - def _list_workload_identities_http_info(self, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities", - "request_type": request.__class__.__name__, - "response_type": "ListWorkloadIdentitiesResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_workload_identity_async(self, request): - r"""更新工作负载身份 - - Updates an existing workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - - :param request: Request instance for UpdateWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityResponse` - """ - http_info = self._update_workload_identity_http_info(request) - return self._call_api(**http_info) - - def update_workload_identity_async_invoker(self, request): - http_info = self._update_workload_identity_http_info(request) - return AsyncInvoker(self, http_info) - - def _update_workload_identity_http_info(self, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def _call_api(self, **kwargs): - try: - kwargs["async_request"] = True - return self.do_http_request(**kwargs) - except TypeError: - import inspect - params = inspect.signature(self.do_http_request).parameters - http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} - return self.do_http_request(**http_info) - - def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, - post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, - collection_formats=None, request_type=None): - """Makes the HTTP request and returns deserialized data. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param cname: Used for obs endpoint. - :param auth_settings: Auth Settings names for the request. - :param response_type: Response data type. - :param response_headers: Header should be added to response data. - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param request_type: Request data type. - :return: - Return the response directly. - """ - return self.do_http_request( - method=method, - resource_path=resource_path, - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - post_params=post_params, - cname=cname, - response_type=response_type, - response_headers=response_headers, - collection_formats=collection_formats, - request_type=request_type, - async_request=True) diff --git a/src/huaweicloudsdkagentidentity/v1/agentidentity_client.py b/src/huaweicloudsdkagentidentity/v1/agentidentity_client.py deleted file mode 100644 index 00478b8..0000000 --- a/src/huaweicloudsdkagentidentity/v1/agentidentity_client.py +++ /dev/null @@ -1,2087 +0,0 @@ - - -import importlib -import warnings - -from huaweicloudsdkcore.client import Client, ClientBuilder -from huaweicloudsdkcore.sdk_stream_request import SdkStreamRequest -from huaweicloudsdkcore.utils import http_utils - -try: - from huaweicloudsdkcore.invoker.invoker import SyncInvoker -except ImportError as e: - warnings.warn(str(e) + ", please check if you are using the same versions of 'huaweicloudsdkcore' and 'huaweicloudsdkagentidentity'", stacklevel=2) - - -class AgentIdentityClient(Client): - def __init__(self): - super().__init__() - self.model_package = importlib.import_module("huaweicloudsdkagentidentity.v1.model") - - @classmethod - def new_builder(cls, clazz=None): - if not clazz: - client_builder = ClientBuilder(cls) - else: - if clazz.__name__ != "AgentIdentityClient": - msg = "client type error, support client type is AgentIdentityClient" - raise TypeError(msg) - client_builder = ClientBuilder(clazz) - - - - return client_builder - - def create_api_key_credential_provider(self, request): - r"""创建API密钥凭证提供者 - - Creates a new API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderResponse` - """ - http_info = self._create_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_api_key_credential_provider_invoker(self, request): - http_info = self._create_api_key_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_api_key_credential_provider_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/api-key-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_api_key_credential_provider(self, request): - r"""删除API密钥凭证提供者 - - Deletes an API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteApiKeyCredentialProviderResponse` - """ - http_info = self._delete_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_api_key_credential_provider_invoker(self, request): - http_info = self._delete_api_key_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_api_key_credential_provider_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_api_key_credential_provider(self, request): - r"""查询API密钥凭证提供者详情 - - Gets details of an API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetApiKeyCredentialProviderResponse` - """ - http_info = self._get_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_api_key_credential_provider_invoker(self, request): - http_info = self._get_api_key_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_api_key_credential_provider_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_api_key_credential_providers(self, request): - r"""查询API密钥凭证提供者列表 - - Lists API key credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListApiKeyCredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListApiKeyCredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListApiKeyCredentialProvidersResponse` - """ - http_info = self._list_api_key_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_api_key_credential_providers_invoker(self, request): - http_info = self._list_api_key_credential_providers_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_api_key_credential_providers_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/api-key-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListApiKeyCredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_api_key_credential_provider(self, request): - r"""更新API密钥凭证提供者 - - Updates the API key of an existing API key credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateApiKeyCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderResponse` - """ - http_info = self._update_api_key_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_api_key_credential_provider_invoker(self, request): - http_info = self._update_api_key_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_api_key_credential_provider_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/api-key-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateApiKeyCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def complete_resource_token_auth(self, request): - r"""Confirm user authentication session for OAuth2.0 tokens - - Confirms the user authentication session to obtain OAuth2.0 tokens for a resource - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CompleteResourceTokenAuth - :type request: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthResponse` - """ - http_info = self._complete_resource_token_auth_http_info(request) - return self._call_api(**http_info) - - def complete_resource_token_auth_invoker(self, request): - http_info = self._complete_resource_token_auth_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _complete_resource_token_auth_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/resource-token-auth/complete", - "request_type": request.__class__.__name__, - "response_type": "CompleteResourceTokenAuthResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_api_key(self, request): - r"""Retrieve API key from resource credential provider - - Retrieves the API key associated with a specified resource credential provider - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetResourceApiKey - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyResponse` - """ - http_info = self._get_resource_api_key_http_info(request) - return self._call_api(**http_info) - - def get_resource_api_key_invoker(self, request): - http_info = self._get_resource_api_key_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_resource_api_key_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/api-key", - "request_type": request.__class__.__name__, - "response_type": "GetResourceApiKeyResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_oauth2_token(self, request): - r"""Retrieve OAuth2.0 token from resource credential provider - - Returns the OAuth2.0 token for the specified resource using the configured flow - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetResourceOauth2Token - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenResponse` - """ - http_info = self._get_resource_oauth2_token_http_info(request) - return self._call_api(**http_info) - - def get_resource_oauth2_token_invoker(self, request): - http_info = self._get_resource_oauth2_token_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_resource_oauth2_token_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/oauth2/token", - "request_type": request.__class__.__name__, - "response_type": "GetResourceOauth2TokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_resource_sts_token(self, request): - r"""Retrieve STS credentials from STS credential provider - - Retrieves temporary STS credentials from a specified STS credential provider - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetResourceStsToken - :type request: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponse` - """ - http_info = self._get_resource_sts_token_http_info(request) - return self._call_api(**http_info) - - def get_resource_sts_token_invoker(self, request): - http_info = self._get_resource_sts_token_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_resource_sts_token_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/sts/token", - "request_type": request.__class__.__name__, - "response_type": "GetResourceStsTokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def oauth2_authorize(self, request): - r"""OAuth2.0 Pushed Authorization Request (PAR) standard authorize API - - Core OAuth2 authorization endpoint following RFC 9126 PAR spec, only accepts authorization request via request_uri parameter to trigger user authorization flow - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for Oauth2Authorize - :type request: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizeRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizeResponse` - """ - http_info = self._oauth2_authorize_http_info(request) - return self._call_api(**http_info) - - def oauth2_authorize_invoker(self, request): - http_info = self._oauth2_authorize_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _oauth2_authorize_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2/authorize", - "request_type": request.__class__.__name__, - "response_type": "Oauth2AuthorizeResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "request_uri" in local_var_params: - query_params.append(("request_uri", local_var_params["request_uri"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def oauth2_callback(self, request): - r"""OAuth2.0 Standard Authorization Callback API - - OAuth2 redirect callback endpoint to receive authorization result after user consent/denial - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for Oauth2Callback - :type request: :class:`huaweicloudsdkagentidentity.v1.Oauth2CallbackRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2CallbackResponse` - """ - http_info = self._oauth2_callback_http_info(request) - return self._call_api(**http_info) - - def oauth2_callback_invoker(self, request): - http_info = self._oauth2_callback_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _oauth2_callback_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2/callback/{credential_provider_id}", - "request_type": request.__class__.__name__, - "response_type": "Oauth2CallbackResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_id" in local_var_params: - path_params["credential_provider_id"] = local_var_params["credential_provider_id"] - - query_params = [] - if "code" in local_var_params: - query_params.append(("code", local_var_params["code"])) - if "state" in local_var_params: - query_params.append(("state", local_var_params["state"])) - if "error" in local_var_params: - query_params.append(("error", local_var_params["error"])) - if "error_description" in local_var_params: - query_params.append(("error_description", local_var_params["error_description"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_oauth2_credential_provider(self, request): - r"""创建OAuth2凭证提供者 - - Creates a new OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderResponse` - """ - http_info = self._create_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_oauth2_credential_provider_invoker(self, request): - http_info = self._create_oauth2_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_oauth2_credential_provider_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/oauth2-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_oauth2_credential_provider(self, request): - r"""删除OAuth2凭证提供者 - - Deletes an OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteOauth2CredentialProviderResponse` - """ - http_info = self._delete_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_oauth2_credential_provider_invoker(self, request): - http_info = self._delete_oauth2_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_oauth2_credential_provider_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_oauth2_credential_provider(self, request): - r"""查询OAuth2凭证提供者详情 - - Gets details of an OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetOauth2CredentialProviderResponse` - """ - http_info = self._get_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_oauth2_credential_provider_invoker(self, request): - http_info = self._get_oauth2_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_oauth2_credential_provider_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_oauth2_credential_providers(self, request): - r"""查询OAuth2凭证提供者列表 - - Lists OAuth2 credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListOauth2CredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListOauth2CredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListOauth2CredentialProvidersResponse` - """ - http_info = self._list_oauth2_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_oauth2_credential_providers_invoker(self, request): - http_info = self._list_oauth2_credential_providers_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_oauth2_credential_providers_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/oauth2-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListOauth2CredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_oauth2_credential_provider(self, request): - r"""更新OAuth2凭证提供者 - - Updates an existing OAuth2 credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateOauth2CredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderResponse` - """ - http_info = self._update_oauth2_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_oauth2_credential_provider_invoker(self, request): - http_info = self._update_oauth2_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_oauth2_credential_provider_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/oauth2-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateOauth2CredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_sts_credential_provider(self, request): - r"""创建STS凭证提供者 - - Creates a new STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderResponse` - """ - http_info = self._create_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def create_sts_credential_provider_invoker(self, request): - http_info = self._create_sts_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_sts_credential_provider_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/sts-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "CreateStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_sts_credential_provider(self, request): - r"""删除STS凭证提供者 - - Deletes an STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteStsCredentialProviderResponse` - """ - http_info = self._delete_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def delete_sts_credential_provider_invoker(self, request): - http_info = self._delete_sts_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_sts_credential_provider_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_sts_credential_provider(self, request): - r"""查询STS凭证提供者详情 - - Gets details of an STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.GetStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetStsCredentialProviderResponse` - """ - http_info = self._get_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def get_sts_credential_provider_invoker(self, request): - http_info = self._get_sts_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_sts_credential_provider_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "GetStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_sts_credential_providers(self, request): - r"""查询STS凭证提供者列表 - - Lists STS credential providers. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListStsCredentialProviders - :type request: :class:`huaweicloudsdkagentidentity.v1.ListStsCredentialProvidersRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListStsCredentialProvidersResponse` - """ - http_info = self._list_sts_credential_providers_http_info(request) - return self._call_api(**http_info) - - def list_sts_credential_providers_invoker(self, request): - http_info = self._list_sts_credential_providers_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_sts_credential_providers_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/sts-credential-providers", - "request_type": request.__class__.__name__, - "response_type": "ListStsCredentialProvidersResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_sts_credential_provider(self, request): - r"""更新STS凭证提供者 - - Updates an existing STS credential provider. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateStsCredentialProvider - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderResponse` - """ - http_info = self._update_sts_credential_provider_http_info(request) - return self._call_api(**http_info) - - def update_sts_credential_provider_invoker(self, request): - http_info = self._update_sts_credential_provider_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_sts_credential_provider_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/sts-credential-providers/{credential_provider_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateStsCredentialProviderResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "credential_provider_name" in local_var_params: - path_params["credential_provider_name"] = local_var_params["credential_provider_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_token_vault(self, request): - r"""查询令牌保管库详情 - - Gets details of a token vault. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetTokenVault - :type request: :class:`huaweicloudsdkagentidentity.v1.GetTokenVaultRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetTokenVaultResponse` - """ - http_info = self._get_token_vault_http_info(request) - return self._call_api(**http_info) - - def get_token_vault_invoker(self, request): - http_info = self._get_token_vault_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_token_vault_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/token-vaults/{token_vault_id}", - "request_type": request.__class__.__name__, - "response_type": "GetTokenVaultResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "token_vault_id" in local_var_params: - path_params["token_vault_id"] = local_var_params["token_vault_id"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token(self, request): - r"""Create workload access token (not acting on behalf of a user) - - Retrieves a workload access token for agentic workloads that do not act on behalf of a user - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateWorkloadAccessToken - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenResponse` - """ - http_info = self._create_workload_access_token_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_invoker(self, request): - http_info = self._create_workload_access_token_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_workload_access_token_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token_for_jwt(self, request): - r"""Create workload access token using JWT (acting on behalf of a user) - - Retrieves a workload access token for agentic workloads acting on behalf of a user, using a JWT token - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateWorkloadAccessTokenForJwt - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtResponse` - """ - http_info = self._create_workload_access_token_for_jwt_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_for_jwt_invoker(self, request): - http_info = self._create_workload_access_token_for_jwt_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_workload_access_token_for_jwt_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token-for-jwt", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenForJwtResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_access_token_for_user_id(self, request): - r"""Create workload access token using user ID (acting on behalf of a user) - - Retrieves a workload access token for agentic workloads acting on behalf of a user, using the user's ID - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateWorkloadAccessTokenForUserId - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdResponse` - """ - http_info = self._create_workload_access_token_for_user_id_http_info(request) - return self._call_api(**http_info) - - def create_workload_access_token_for_user_id_invoker(self, request): - http_info = self._create_workload_access_token_for_user_id_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_workload_access_token_for_user_id_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-access-token-for-user-id", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadAccessTokenForUserIdResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def create_workload_identity(self, request): - r"""创建工作负载身份 - - Creates a new workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for CreateWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityResponse` - """ - http_info = self._create_workload_identity_http_info(request) - return self._call_api(**http_info) - - def create_workload_identity_invoker(self, request): - http_info = self._create_workload_identity_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _create_workload_identity_http_info(cls, request): - http_info = { - "method": "POST", - "resource_path": "/v1/workload-identities", - "request_type": request.__class__.__name__, - "response_type": "CreateWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def delete_workload_identity(self, request): - r"""删除工作负载身份 - - Deletes a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for DeleteWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.DeleteWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.DeleteWorkloadIdentityResponse` - """ - http_info = self._delete_workload_identity_http_info(request) - return self._call_api(**http_info) - - def delete_workload_identity_invoker(self, request): - http_info = self._delete_workload_identity_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _delete_workload_identity_http_info(cls, request): - http_info = { - "method": "DELETE", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "DeleteWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_workload_identity(self, request): - r"""查询工作负载身份详情 - - Gets details of a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityResponse` - """ - http_info = self._get_workload_identity_http_info(request) - return self._call_api(**http_info) - - def get_workload_identity_invoker(self, request): - http_info = self._get_workload_identity_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_workload_identity_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "GetWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def get_workload_identity_authorizer_configuration(self, request): - r"""查询工作负载身份的授权配置 - - Gets the authorizer configuration of a workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for GetWorkloadIdentityAuthorizerConfiguration - :type request: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityAuthorizerConfigurationRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetWorkloadIdentityAuthorizerConfigurationResponse` - """ - http_info = self._get_workload_identity_authorizer_configuration_http_info(request) - return self._call_api(**http_info) - - def get_workload_identity_authorizer_configuration_invoker(self, request): - http_info = self._get_workload_identity_authorizer_configuration_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _get_workload_identity_authorizer_configuration_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities/{workload_identity_name}/authorizer-configuration", - "request_type": request.__class__.__name__, - "response_type": "GetWorkloadIdentityAuthorizerConfigurationResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def list_workload_identities(self, request): - r"""查询工作负载身份列表 - - Lists workload identities. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for ListWorkloadIdentities - :type request: :class:`huaweicloudsdkagentidentity.v1.ListWorkloadIdentitiesRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.ListWorkloadIdentitiesResponse` - """ - http_info = self._list_workload_identities_http_info(request) - return self._call_api(**http_info) - - def list_workload_identities_invoker(self, request): - http_info = self._list_workload_identities_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _list_workload_identities_http_info(cls, request): - http_info = { - "method": "GET", - "resource_path": "/v1/workload-identities", - "request_type": request.__class__.__name__, - "response_type": "ListWorkloadIdentitiesResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - - query_params = [] - if "limit" in local_var_params: - query_params.append(("limit", local_var_params["limit"])) - if "marker" in local_var_params: - query_params.append(("marker", local_var_params["marker"])) - - header_params = {} - - form_params = {} - - body = None - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def update_workload_identity(self, request): - r"""更新工作负载身份 - - Updates an existing workload identity. - - Please refer to HUAWEI cloud API Explorer for details. - - :param request: Request instance for UpdateWorkloadIdentity - :type request: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityRequest` - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityResponse` - """ - http_info = self._update_workload_identity_http_info(request) - return self._call_api(**http_info) - - def update_workload_identity_invoker(self, request): - http_info = self._update_workload_identity_http_info(request) - return SyncInvoker(self, http_info) - - @classmethod - def _update_workload_identity_http_info(cls, request): - http_info = { - "method": "PUT", - "resource_path": "/v1/workload-identities/{workload_identity_name}", - "request_type": request.__class__.__name__, - "response_type": "UpdateWorkloadIdentityResponse" - } - - local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)} - - cname = None - - collection_formats = {} - - path_params = {} - if "workload_identity_name" in local_var_params: - path_params["workload_identity_name"] = local_var_params["workload_identity_name"] - - query_params = [] - - header_params = {} - - form_params = {} - - body = None - if "body" in local_var_params: - body = local_var_params["body"] - if isinstance(request, SdkStreamRequest): - body = request.get_file_stream() - - response_headers = [] - - header_params["Content-Type"] = http_utils.select_header_content_type( - ["application/json"]) - - - http_info["cname"] = cname - http_info["collection_formats"] = collection_formats - http_info["path_params"] = path_params - http_info["query_params"] = query_params - http_info["header_params"] = header_params - http_info["post_params"] = form_params - http_info["body"] = body - http_info["response_headers"] = response_headers - - return http_info - - def _call_api(self, **kwargs): - try: - return self.do_http_request(**kwargs) - except TypeError: - import inspect - params = inspect.signature(self.do_http_request).parameters - http_info = {param_name: kwargs.get(param_name) for param_name in params if param_name in kwargs} - return self.do_http_request(**http_info) - - def call_api(self, resource_path, method, path_params=None, query_params=None, header_params=None, body=None, - post_params=None, cname=None, response_type=None, response_headers=None, auth_settings=None, - collection_formats=None, request_type=None): - """Makes the HTTP request and returns deserialized data. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be placed in the request header. - :param body: Request body. - :param post_params: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param cname: Used for obs endpoint. - :param auth_settings: Auth Settings names for the request. - :param response_type: Response data type. - :param response_headers: Header should be added to response data. - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :param request_type: Request data type. - :return: - Return the response directly. - """ - return self.do_http_request( - method=method, - resource_path=resource_path, - path_params=path_params, - query_params=query_params, - header_params=header_params, - body=body, - post_params=post_params, - cname=cname, - response_type=response_type, - response_headers=response_headers, - collection_formats=collection_formats, - request_type=request_type) diff --git a/src/huaweicloudsdkagentidentity/v1/model/__init__.py b/src/huaweicloudsdkagentidentity/v1/model/__init__.py deleted file mode 100644 index 49e2bdc..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/__init__.py +++ /dev/null @@ -1,322 +0,0 @@ - - -# import models into model package -from huaweicloudsdkagentidentity.v1.model.agency_urn import AgencyUrn -from huaweicloudsdkagentidentity.v1.model.allowed_resource_oauth2_return_url import ( - AllowedResourceOauth2ReturnUrl, -) -from huaweicloudsdkagentidentity.v1.model.api_key_credential_provider import ( - ApiKeyCredentialProvider, -) -from huaweicloudsdkagentidentity.v1.model.api_key_credential_provider_summary import ( - ApiKeyCredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.api_key_info import ApiKeyInfo -from huaweicloudsdkagentidentity.v1.model.authorizer_configuration import AuthorizerConfiguration -from huaweicloudsdkagentidentity.v1.model.authorizer_type import AuthorizerType -from huaweicloudsdkagentidentity.v1.model.authorizing_claim_match_value import ( - AuthorizingClaimMatchValue, -) -from huaweicloudsdkagentidentity.v1.model.claim_match_value import ClaimMatchValue -from huaweicloudsdkagentidentity.v1.model.client_id import ClientId -from huaweicloudsdkagentidentity.v1.model.client_secret import ClientSecret -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_request import ( - CompleteResourceTokenAuthRequest, -) -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_request_body import ( - CompleteResourceTokenAuthRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.complete_resource_token_auth_response import ( - CompleteResourceTokenAuthResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_req_body import ( - CreateApiKeyCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_request import ( - CreateApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_api_key_credential_provider_response import ( - CreateApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_req_body import ( - CreateOauth2CredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_request import ( - CreateOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_oauth2_credential_provider_response import ( - CreateOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_req_body import ( - CreateStsCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_request import ( - CreateStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_sts_credential_provider_response import ( - CreateStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_request import ( - CreateWorkloadAccessTokenForJwtRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_request_body import ( - CreateWorkloadAccessTokenForJwtRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_jwt_response import ( - CreateWorkloadAccessTokenForJwtResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_request import ( - CreateWorkloadAccessTokenForUserIdRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_request_body import ( - CreateWorkloadAccessTokenForUserIdRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_for_user_id_response import ( - CreateWorkloadAccessTokenForUserIdResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_request import ( - CreateWorkloadAccessTokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_request_body import ( - CreateWorkloadAccessTokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_access_token_response import ( - CreateWorkloadAccessTokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_req_body import ( - CreateWorkloadIdentityReqBody, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_request import ( - CreateWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.create_workload_identity_response import ( - CreateWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.created_by import CreatedBy -from huaweicloudsdkagentidentity.v1.model.credential_provider_name import CredentialProviderName -from huaweicloudsdkagentidentity.v1.model.credential_provider_vendor import CredentialProviderVendor -from huaweicloudsdkagentidentity.v1.model.custom_claim_validation import CustomClaimValidation -from huaweicloudsdkagentidentity.v1.model.custom_jwt_authorizer_configuration import ( - CustomJWTAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.custom_oauth2_provider_config_input import ( - CustomOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.custom_oauth2_provider_config_output import ( - CustomOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.delete_api_key_credential_provider_request import ( - DeleteApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_api_key_credential_provider_response import ( - DeleteApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_oauth2_credential_provider_request import ( - DeleteOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_oauth2_credential_provider_response import ( - DeleteOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_sts_credential_provider_request import ( - DeleteStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_sts_credential_provider_response import ( - DeleteStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.delete_workload_identity_request import ( - DeleteWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.delete_workload_identity_response import ( - DeleteWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.discovery_url import DiscoveryUrl -from huaweicloudsdkagentidentity.v1.model.get_api_key_credential_provider_request import ( - GetApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_api_key_credential_provider_response import ( - GetApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_oauth2_credential_provider_request import ( - GetOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_oauth2_credential_provider_response import ( - GetOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_request import ( - GetResourceApiKeyRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_request_body import ( - GetResourceApiKeyRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_api_key_response import ( - GetResourceApiKeyResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_request import ( - GetResourceOauth2TokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_request_body import ( - GetResourceOauth2TokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_oauth2_token_response import ( - GetResourceOauth2TokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_request import ( - GetResourceStsTokenRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_request_body import ( - GetResourceStsTokenRequestBody, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response import ( - GetResourceStsTokenResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response_body_assumed_agency import ( - GetResourceStsTokenResponseBodyAssumedAgency, -) -from huaweicloudsdkagentidentity.v1.model.get_resource_sts_token_response_body_credentials import ( - GetResourceStsTokenResponseBodyCredentials, -) -from huaweicloudsdkagentidentity.v1.model.get_sts_credential_provider_request import ( - GetStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_sts_credential_provider_response import ( - GetStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_token_vault_request import GetTokenVaultRequest -from huaweicloudsdkagentidentity.v1.model.get_token_vault_response import GetTokenVaultResponse -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_authorizer_configuration_request import ( - GetWorkloadIdentityAuthorizerConfigurationRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_authorizer_configuration_response import ( - GetWorkloadIdentityAuthorizerConfigurationResponse, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_request import ( - GetWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.get_workload_identity_response import ( - GetWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.github_oauth2_provider_config_input import ( - GithubOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.github_oauth2_provider_config_output import ( - GithubOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.google_oauth2_provider_config_input import ( - GoogleOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.google_oauth2_provider_config_output import ( - GoogleOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.key_auth_authorizer_configuration import ( - KeyAuthAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.kms_configuration import KmsConfiguration -from huaweicloudsdkagentidentity.v1.model.kms_key_id import KmsKeyId -from huaweicloudsdkagentidentity.v1.model.kms_key_type import KmsKeyType -from huaweicloudsdkagentidentity.v1.model.limit import Limit -from huaweicloudsdkagentidentity.v1.model.list_api_key_credential_providers_request import ( - ListApiKeyCredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_api_key_credential_providers_response import ( - ListApiKeyCredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_oauth2_credential_providers_request import ( - ListOauth2CredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_oauth2_credential_providers_response import ( - ListOauth2CredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_sts_credential_providers_request import ( - ListStsCredentialProvidersRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_sts_credential_providers_response import ( - ListStsCredentialProvidersResponse, -) -from huaweicloudsdkagentidentity.v1.model.list_workload_identities_request import ( - ListWorkloadIdentitiesRequest, -) -from huaweicloudsdkagentidentity.v1.model.list_workload_identities_response import ( - ListWorkloadIdentitiesResponse, -) -from huaweicloudsdkagentidentity.v1.model.marker import Marker -from huaweicloudsdkagentidentity.v1.model.microsoft_oauth2_provider_config_input import ( - MicrosoftOauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.microsoft_oauth2_provider_config_output import ( - MicrosoftOauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_authorization_server_metadata import ( - Oauth2AuthorizationServerMetadata, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_authorize_request import Oauth2AuthorizeRequest -from huaweicloudsdkagentidentity.v1.model.oauth2_authorize_response import Oauth2AuthorizeResponse -from huaweicloudsdkagentidentity.v1.model.oauth2_callback_request import Oauth2CallbackRequest -from huaweicloudsdkagentidentity.v1.model.oauth2_callback_response import Oauth2CallbackResponse -from huaweicloudsdkagentidentity.v1.model.oauth2_credential_provider import Oauth2CredentialProvider -from huaweicloudsdkagentidentity.v1.model.oauth2_credential_provider_summary import ( - Oauth2CredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_discovery import Oauth2Discovery -from huaweicloudsdkagentidentity.v1.model.oauth2_provider_config_input import ( - Oauth2ProviderConfigInput, -) -from huaweicloudsdkagentidentity.v1.model.oauth2_provider_config_output import ( - Oauth2ProviderConfigOutput, -) -from huaweicloudsdkagentidentity.v1.model.page_info import PageInfo -from huaweicloudsdkagentidentity.v1.model.rich_authorization_detail import RichAuthorizationDetail -from huaweicloudsdkagentidentity.v1.model.secret import Secret -from huaweicloudsdkagentidentity.v1.model.sts_credential_provider import StsCredentialProvider -from huaweicloudsdkagentidentity.v1.model.sts_credential_provider_summary import ( - StsCredentialProviderSummary, -) -from huaweicloudsdkagentidentity.v1.model.sts_tag import StsTag -from huaweicloudsdkagentidentity.v1.model.tag import Tag -from huaweicloudsdkagentidentity.v1.model.token_vault import TokenVault -from huaweicloudsdkagentidentity.v1.model.token_vault_id import TokenVaultId -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_req_body import ( - UpdateApiKeyCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_request import ( - UpdateApiKeyCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_api_key_credential_provider_response import ( - UpdateApiKeyCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_req_body import ( - UpdateOauth2CredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_request import ( - UpdateOauth2CredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_oauth2_credential_provider_response import ( - UpdateOauth2CredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_req_body import ( - UpdateStsCredentialProviderReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_request import ( - UpdateStsCredentialProviderRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_sts_credential_provider_response import ( - UpdateStsCredentialProviderResponse, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_req_body import ( - UpdateWorkloadIdentityReqBody, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_request import ( - UpdateWorkloadIdentityRequest, -) -from huaweicloudsdkagentidentity.v1.model.update_workload_identity_response import ( - UpdateWorkloadIdentityResponse, -) -from huaweicloudsdkagentidentity.v1.model.user_identifier import UserIdentifier -from huaweicloudsdkagentidentity.v1.model.utc_date_time import UtcDateTime -from huaweicloudsdkagentidentity.v1.model.workload_access_token import WorkloadAccessToken -from huaweicloudsdkagentidentity.v1.model.workload_identity import WorkloadIdentity -from huaweicloudsdkagentidentity.v1.model.workload_identity_authorizer_configuration import ( - WorkloadIdentityAuthorizerConfiguration, -) -from huaweicloudsdkagentidentity.v1.model.workload_identity_name import WorkloadIdentityName -from huaweicloudsdkagentidentity.v1.model.workload_identity_summary import WorkloadIdentitySummary -from huaweicloudsdkagentidentity.v1.model.workload_identity_urn import WorkloadIdentityUrn diff --git a/src/huaweicloudsdkagentidentity/v1/model/agency_urn.py b/src/huaweicloudsdkagentidentity/v1/model/agency_urn.py deleted file mode 100644 index d38dc7b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/agency_urn.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AgencyUrn: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""AgencyUrn - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AgencyUrn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/allowed_resource_oauth2_return_url.py b/src/huaweicloudsdkagentidentity/v1/model/allowed_resource_oauth2_return_url.py deleted file mode 100644 index f9b9ae0..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/allowed_resource_oauth2_return_url.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AllowedResourceOauth2ReturnUrl: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""AllowedResourceOauth2ReturnUrl - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AllowedResourceOauth2ReturnUrl): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider.py b/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider.py deleted file mode 100644 index ea71a9e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider.py +++ /dev/null @@ -1,239 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ApiKeyCredentialProvider: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "api_key_secret": "Secret", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "api_key_secret": "api_key_secret", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, api_key_secret=None, created_at=None, updated_at=None, tags=None): - r"""ApiKeyCredentialProvider - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: The Uniform Resource Name (URN) of the credential provider. - :type urn: str - :param api_key_secret: - :type api_key_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._api_key_secret = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.api_key_secret = api_key_secret - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this ApiKeyCredentialProvider. - - The name of the credential provider. - - :return: The name of this ApiKeyCredentialProvider. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this ApiKeyCredentialProvider. - - The name of the credential provider. - - :param name: The name of this ApiKeyCredentialProvider. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this ApiKeyCredentialProvider. - - The Uniform Resource Name (URN) of the credential provider. - - :return: The urn of this ApiKeyCredentialProvider. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this ApiKeyCredentialProvider. - - The Uniform Resource Name (URN) of the credential provider. - - :param urn: The urn of this ApiKeyCredentialProvider. - :type urn: str - """ - self._urn = urn - - @property - def api_key_secret(self): - r"""Gets the api_key_secret of this ApiKeyCredentialProvider. - - :return: The api_key_secret of this ApiKeyCredentialProvider. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - return self._api_key_secret - - @api_key_secret.setter - def api_key_secret(self, api_key_secret): - r"""Sets the api_key_secret of this ApiKeyCredentialProvider. - - :param api_key_secret: The api_key_secret of this ApiKeyCredentialProvider. - :type api_key_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - self._api_key_secret = api_key_secret - - @property - def created_at(self): - r"""Gets the created_at of this ApiKeyCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this ApiKeyCredentialProvider. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this ApiKeyCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this ApiKeyCredentialProvider. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this ApiKeyCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this ApiKeyCredentialProvider. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this ApiKeyCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this ApiKeyCredentialProvider. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this ApiKeyCredentialProvider. - - 自定义标签列表。 - - :return: The tags of this ApiKeyCredentialProvider. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this ApiKeyCredentialProvider. - - 自定义标签列表。 - - :param tags: The tags of this ApiKeyCredentialProvider. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ApiKeyCredentialProvider): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider_summary.py b/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider_summary.py deleted file mode 100644 index 938cf53..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/api_key_credential_provider_summary.py +++ /dev/null @@ -1,215 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ApiKeyCredentialProviderSummary: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, created_at=None, updated_at=None, tags=None): - r"""ApiKeyCredentialProviderSummary - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: The Uniform Resource Name (URN) of the credential provider. - :type urn: str - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this ApiKeyCredentialProviderSummary. - - The name of the credential provider. - - :return: The name of this ApiKeyCredentialProviderSummary. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this ApiKeyCredentialProviderSummary. - - The name of the credential provider. - - :param name: The name of this ApiKeyCredentialProviderSummary. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this ApiKeyCredentialProviderSummary. - - The Uniform Resource Name (URN) of the credential provider. - - :return: The urn of this ApiKeyCredentialProviderSummary. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this ApiKeyCredentialProviderSummary. - - The Uniform Resource Name (URN) of the credential provider. - - :param urn: The urn of this ApiKeyCredentialProviderSummary. - :type urn: str - """ - self._urn = urn - - @property - def created_at(self): - r"""Gets the created_at of this ApiKeyCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this ApiKeyCredentialProviderSummary. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this ApiKeyCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this ApiKeyCredentialProviderSummary. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this ApiKeyCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this ApiKeyCredentialProviderSummary. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this ApiKeyCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this ApiKeyCredentialProviderSummary. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this ApiKeyCredentialProviderSummary. - - 自定义标签列表。 - - :return: The tags of this ApiKeyCredentialProviderSummary. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this ApiKeyCredentialProviderSummary. - - 自定义标签列表。 - - :param tags: The tags of this ApiKeyCredentialProviderSummary. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ApiKeyCredentialProviderSummary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/api_key_info.py b/src/huaweicloudsdkagentidentity/v1/model/api_key_info.py deleted file mode 100644 index baeea85..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/api_key_info.py +++ /dev/null @@ -1,131 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ApiKeyInfo: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "api_key": "str", - "api_key_name": "str" - } - - attribute_map = { - "api_key": "api_key", - "api_key_name": "api_key_name" - } - - def __init__(self, api_key=None, api_key_name=None): - r"""ApiKeyInfo - - The model defined in huaweicloud sdk - - :param api_key: The API key values. During rotation, any one of the keys can be used. If empty, a random string will be generated. - :type api_key: str - :param api_key_name: The name of the API key. - :type api_key_name: str - """ - - - - self._api_key = None - self._api_key_name = None - self.discriminator = None - - self.api_key = api_key - if api_key_name is not None: - self.api_key_name = api_key_name - - @property - def api_key(self): - r"""Gets the api_key of this ApiKeyInfo. - - The API key values. During rotation, any one of the keys can be used. If empty, a random string will be generated. - - :return: The api_key of this ApiKeyInfo. - :rtype: str - """ - return self._api_key - - @api_key.setter - def api_key(self, api_key): - r"""Sets the api_key of this ApiKeyInfo. - - The API key values. During rotation, any one of the keys can be used. If empty, a random string will be generated. - - :param api_key: The api_key of this ApiKeyInfo. - :type api_key: str - """ - self._api_key = api_key - - @property - def api_key_name(self): - r"""Gets the api_key_name of this ApiKeyInfo. - - The name of the API key. - - :return: The api_key_name of this ApiKeyInfo. - :rtype: str - """ - return self._api_key_name - - @api_key_name.setter - def api_key_name(self, api_key_name): - r"""Sets the api_key_name of this ApiKeyInfo. - - The name of the API key. - - :param api_key_name: The api_key_name of this ApiKeyInfo. - :type api_key_name: str - """ - self._api_key_name = api_key_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ApiKeyInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/authorizer_configuration.py b/src/huaweicloudsdkagentidentity/v1/model/authorizer_configuration.py deleted file mode 100644 index d7dc228..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/authorizer_configuration.py +++ /dev/null @@ -1,124 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AuthorizerConfiguration: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "custom_jwt": "CustomJWTAuthorizerConfiguration", - "key_auth": "KeyAuthAuthorizerConfiguration" - } - - attribute_map = { - "custom_jwt": "custom_jwt", - "key_auth": "key_auth" - } - - def __init__(self, custom_jwt=None, key_auth=None): - r"""AuthorizerConfiguration - - The model defined in huaweicloud sdk - - :param custom_jwt: - :type custom_jwt: :class:`huaweicloudsdkagentidentity.v1.CustomJWTAuthorizerConfiguration` - :param key_auth: - :type key_auth: :class:`huaweicloudsdkagentidentity.v1.KeyAuthAuthorizerConfiguration` - """ - - - - self._custom_jwt = None - self._key_auth = None - self.discriminator = None - - if custom_jwt is not None: - self.custom_jwt = custom_jwt - if key_auth is not None: - self.key_auth = key_auth - - @property - def custom_jwt(self): - r"""Gets the custom_jwt of this AuthorizerConfiguration. - - :return: The custom_jwt of this AuthorizerConfiguration. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CustomJWTAuthorizerConfiguration` - """ - return self._custom_jwt - - @custom_jwt.setter - def custom_jwt(self, custom_jwt): - r"""Sets the custom_jwt of this AuthorizerConfiguration. - - :param custom_jwt: The custom_jwt of this AuthorizerConfiguration. - :type custom_jwt: :class:`huaweicloudsdkagentidentity.v1.CustomJWTAuthorizerConfiguration` - """ - self._custom_jwt = custom_jwt - - @property - def key_auth(self): - r"""Gets the key_auth of this AuthorizerConfiguration. - - :return: The key_auth of this AuthorizerConfiguration. - :rtype: :class:`huaweicloudsdkagentidentity.v1.KeyAuthAuthorizerConfiguration` - """ - return self._key_auth - - @key_auth.setter - def key_auth(self, key_auth): - r"""Sets the key_auth of this AuthorizerConfiguration. - - :param key_auth: The key_auth of this AuthorizerConfiguration. - :type key_auth: :class:`huaweicloudsdkagentidentity.v1.KeyAuthAuthorizerConfiguration` - """ - self._key_auth = key_auth - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AuthorizerConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/authorizer_type.py b/src/huaweicloudsdkagentidentity/v1/model/authorizer_type.py deleted file mode 100644 index d4c1d32..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/authorizer_type.py +++ /dev/null @@ -1,78 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AuthorizerType: - """ - allowed enum values - """ - CUSTOM_JWT = "CUSTOM_JWT" - IAM = "IAM" - API_KEY = "API_KEY" - NONE = "NONE" - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""AuthorizerType - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AuthorizerType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/authorizing_claim_match_value.py b/src/huaweicloudsdkagentidentity/v1/model/authorizing_claim_match_value.py deleted file mode 100644 index 46acdab..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/authorizing_claim_match_value.py +++ /dev/null @@ -1,126 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class AuthorizingClaimMatchValue: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "claim_match_operator": "str", - "claim_match_value": "ClaimMatchValue" - } - - attribute_map = { - "claim_match_operator": "claim_match_operator", - "claim_match_value": "claim_match_value" - } - - def __init__(self, claim_match_operator=None, claim_match_value=None): - r"""AuthorizingClaimMatchValue - - The model defined in huaweicloud sdk - - :param claim_match_operator: Defines the relationship between the claim field value and the value or values you're matching for. - :type claim_match_operator: str - :param claim_match_value: - :type claim_match_value: :class:`huaweicloudsdkagentidentity.v1.ClaimMatchValue` - """ - - - - self._claim_match_operator = None - self._claim_match_value = None - self.discriminator = None - - self.claim_match_operator = claim_match_operator - self.claim_match_value = claim_match_value - - @property - def claim_match_operator(self): - r"""Gets the claim_match_operator of this AuthorizingClaimMatchValue. - - Defines the relationship between the claim field value and the value or values you're matching for. - - :return: The claim_match_operator of this AuthorizingClaimMatchValue. - :rtype: str - """ - return self._claim_match_operator - - @claim_match_operator.setter - def claim_match_operator(self, claim_match_operator): - r"""Sets the claim_match_operator of this AuthorizingClaimMatchValue. - - Defines the relationship between the claim field value and the value or values you're matching for. - - :param claim_match_operator: The claim_match_operator of this AuthorizingClaimMatchValue. - :type claim_match_operator: str - """ - self._claim_match_operator = claim_match_operator - - @property - def claim_match_value(self): - r"""Gets the claim_match_value of this AuthorizingClaimMatchValue. - - :return: The claim_match_value of this AuthorizingClaimMatchValue. - :rtype: :class:`huaweicloudsdkagentidentity.v1.ClaimMatchValue` - """ - return self._claim_match_value - - @claim_match_value.setter - def claim_match_value(self, claim_match_value): - r"""Sets the claim_match_value of this AuthorizingClaimMatchValue. - - :param claim_match_value: The claim_match_value of this AuthorizingClaimMatchValue. - :type claim_match_value: :class:`huaweicloudsdkagentidentity.v1.ClaimMatchValue` - """ - self._claim_match_value = claim_match_value - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, AuthorizingClaimMatchValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/claim_match_value.py b/src/huaweicloudsdkagentidentity/v1/model/claim_match_value.py deleted file mode 100644 index 13f61e7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/claim_match_value.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ClaimMatchValue: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "match_value_string": "str", - "match_value_string_list": "list[str]" - } - - attribute_map = { - "match_value_string": "match_value_string", - "match_value_string_list": "match_value_string_list" - } - - def __init__(self, match_value_string=None, match_value_string_list=None): - r"""ClaimMatchValue - - The model defined in huaweicloud sdk - - :param match_value_string: The string value to match for. - :type match_value_string: str - :param match_value_string_list: - :type match_value_string_list: list[str] - """ - - - - self._match_value_string = None - self._match_value_string_list = None - self.discriminator = None - - if match_value_string is not None: - self.match_value_string = match_value_string - if match_value_string_list is not None: - self.match_value_string_list = match_value_string_list - - @property - def match_value_string(self): - r"""Gets the match_value_string of this ClaimMatchValue. - - The string value to match for. - - :return: The match_value_string of this ClaimMatchValue. - :rtype: str - """ - return self._match_value_string - - @match_value_string.setter - def match_value_string(self, match_value_string): - r"""Sets the match_value_string of this ClaimMatchValue. - - The string value to match for. - - :param match_value_string: The match_value_string of this ClaimMatchValue. - :type match_value_string: str - """ - self._match_value_string = match_value_string - - @property - def match_value_string_list(self): - r"""Gets the match_value_string_list of this ClaimMatchValue. - - :return: The match_value_string_list of this ClaimMatchValue. - :rtype: list[str] - """ - return self._match_value_string_list - - @match_value_string_list.setter - def match_value_string_list(self, match_value_string_list): - r"""Sets the match_value_string_list of this ClaimMatchValue. - - :param match_value_string_list: The match_value_string_list of this ClaimMatchValue. - :type match_value_string_list: list[str] - """ - self._match_value_string_list = match_value_string_list - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ClaimMatchValue): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/client_id.py b/src/huaweicloudsdkagentidentity/v1/model/client_id.py deleted file mode 100644 index 1b4b2cc..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/client_id.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ClientId: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""ClientId - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ClientId): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/client_secret.py b/src/huaweicloudsdkagentidentity/v1/model/client_secret.py deleted file mode 100644 index daea07d..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/client_secret.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ClientSecret: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""ClientSecret - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ClientSecret): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request.py b/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request.py deleted file mode 100644 index 6b93cb4..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CompleteResourceTokenAuthRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CompleteResourceTokenAuthRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CompleteResourceTokenAuthRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CompleteResourceTokenAuthRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CompleteResourceTokenAuthRequest. - - :return: The body of this CompleteResourceTokenAuthRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CompleteResourceTokenAuthRequest. - - :param body: The body of this CompleteResourceTokenAuthRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CompleteResourceTokenAuthRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CompleteResourceTokenAuthRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request_body.py deleted file mode 100644 index 97c66f3..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_request_body.py +++ /dev/null @@ -1,126 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CompleteResourceTokenAuthRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "session_uri": "str", - "user_identifier": "UserIdentifier" - } - - attribute_map = { - "session_uri": "session_uri", - "user_identifier": "user_identifier" - } - - def __init__(self, session_uri=None, user_identifier=None): - r"""CompleteResourceTokenAuthRequestBody - - The model defined in huaweicloud sdk - - :param session_uri: Unique identifier for the user's authentication session (tracks OAuth2 flow state) - :type session_uri: str - :param user_identifier: - :type user_identifier: :class:`huaweicloudsdkagentidentity.v1.UserIdentifier` - """ - - - - self._session_uri = None - self._user_identifier = None - self.discriminator = None - - self.session_uri = session_uri - self.user_identifier = user_identifier - - @property - def session_uri(self): - r"""Gets the session_uri of this CompleteResourceTokenAuthRequestBody. - - Unique identifier for the user's authentication session (tracks OAuth2 flow state) - - :return: The session_uri of this CompleteResourceTokenAuthRequestBody. - :rtype: str - """ - return self._session_uri - - @session_uri.setter - def session_uri(self, session_uri): - r"""Sets the session_uri of this CompleteResourceTokenAuthRequestBody. - - Unique identifier for the user's authentication session (tracks OAuth2 flow state) - - :param session_uri: The session_uri of this CompleteResourceTokenAuthRequestBody. - :type session_uri: str - """ - self._session_uri = session_uri - - @property - def user_identifier(self): - r"""Gets the user_identifier of this CompleteResourceTokenAuthRequestBody. - - :return: The user_identifier of this CompleteResourceTokenAuthRequestBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.UserIdentifier` - """ - return self._user_identifier - - @user_identifier.setter - def user_identifier(self, user_identifier): - r"""Sets the user_identifier of this CompleteResourceTokenAuthRequestBody. - - :param user_identifier: The user_identifier of this CompleteResourceTokenAuthRequestBody. - :type user_identifier: :class:`huaweicloudsdkagentidentity.v1.UserIdentifier` - """ - self._user_identifier = user_identifier - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CompleteResourceTokenAuthRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_response.py b/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_response.py deleted file mode 100644 index 803429f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/complete_resource_token_auth_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CompleteResourceTokenAuthResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""CompleteResourceTokenAuthResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("CompleteResourceTokenAuthResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CompleteResourceTokenAuthResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_req_body.py deleted file mode 100644 index 1eb2f65..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_req_body.py +++ /dev/null @@ -1,159 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateApiKeyCredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "api_key": "str", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "api_key": "api_key", - "tags": "tags" - } - - def __init__(self, name=None, api_key=None, tags=None): - r"""CreateApiKeyCredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param api_key: The API key used to authenticate with the external provider. - :type api_key: str - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._api_key = None - self._tags = None - self.discriminator = None - - self.name = name - self.api_key = api_key - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this CreateApiKeyCredentialProviderReqBody. - - The name of the credential provider. - - :return: The name of this CreateApiKeyCredentialProviderReqBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this CreateApiKeyCredentialProviderReqBody. - - The name of the credential provider. - - :param name: The name of this CreateApiKeyCredentialProviderReqBody. - :type name: str - """ - self._name = name - - @property - def api_key(self): - r"""Gets the api_key of this CreateApiKeyCredentialProviderReqBody. - - The API key used to authenticate with the external provider. - - :return: The api_key of this CreateApiKeyCredentialProviderReqBody. - :rtype: str - """ - return self._api_key - - @api_key.setter - def api_key(self, api_key): - r"""Sets the api_key of this CreateApiKeyCredentialProviderReqBody. - - The API key used to authenticate with the external provider. - - :param api_key: The api_key of this CreateApiKeyCredentialProviderReqBody. - :type api_key: str - """ - self._api_key = api_key - - @property - def tags(self): - r"""Gets the tags of this CreateApiKeyCredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this CreateApiKeyCredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this CreateApiKeyCredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this CreateApiKeyCredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateApiKeyCredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_request.py deleted file mode 100644 index cd0186a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateApiKeyCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateApiKeyCredentialProviderReqBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateApiKeyCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateApiKeyCredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderReqBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateApiKeyCredentialProviderRequest. - - :return: The body of this CreateApiKeyCredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateApiKeyCredentialProviderRequest. - - :param body: The body of this CreateApiKeyCredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateApiKeyCredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateApiKeyCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_response.py deleted file mode 100644 index f018869..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_api_key_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateApiKeyCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "ApiKeyCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""CreateApiKeyCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this CreateApiKeyCredentialProviderResponse. - - :return: The credential_provider of this CreateApiKeyCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this CreateApiKeyCredentialProviderResponse. - - :param credential_provider: The credential_provider of this CreateApiKeyCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("CreateApiKeyCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateApiKeyCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_req_body.py deleted file mode 100644 index 53ec527..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_req_body.py +++ /dev/null @@ -1,179 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateOauth2CredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "credential_provider_vendor": "CredentialProviderVendor", - "oauth2_provider_config_input": "Oauth2ProviderConfigInput", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "credential_provider_vendor": "credential_provider_vendor", - "oauth2_provider_config_input": "oauth2_provider_config_input", - "tags": "tags" - } - - def __init__(self, name=None, credential_provider_vendor=None, oauth2_provider_config_input=None, tags=None): - r"""CreateOauth2CredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param credential_provider_vendor: - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - :param oauth2_provider_config_input: - :type oauth2_provider_config_input: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._credential_provider_vendor = None - self._oauth2_provider_config_input = None - self._tags = None - self.discriminator = None - - self.name = name - self.credential_provider_vendor = credential_provider_vendor - self.oauth2_provider_config_input = oauth2_provider_config_input - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this CreateOauth2CredentialProviderReqBody. - - The name of the credential provider. - - :return: The name of this CreateOauth2CredentialProviderReqBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this CreateOauth2CredentialProviderReqBody. - - The name of the credential provider. - - :param name: The name of this CreateOauth2CredentialProviderReqBody. - :type name: str - """ - self._name = name - - @property - def credential_provider_vendor(self): - r"""Gets the credential_provider_vendor of this CreateOauth2CredentialProviderReqBody. - - :return: The credential_provider_vendor of this CreateOauth2CredentialProviderReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - return self._credential_provider_vendor - - @credential_provider_vendor.setter - def credential_provider_vendor(self, credential_provider_vendor): - r"""Sets the credential_provider_vendor of this CreateOauth2CredentialProviderReqBody. - - :param credential_provider_vendor: The credential_provider_vendor of this CreateOauth2CredentialProviderReqBody. - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - self._credential_provider_vendor = credential_provider_vendor - - @property - def oauth2_provider_config_input(self): - r"""Gets the oauth2_provider_config_input of this CreateOauth2CredentialProviderReqBody. - - :return: The oauth2_provider_config_input of this CreateOauth2CredentialProviderReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - """ - return self._oauth2_provider_config_input - - @oauth2_provider_config_input.setter - def oauth2_provider_config_input(self, oauth2_provider_config_input): - r"""Sets the oauth2_provider_config_input of this CreateOauth2CredentialProviderReqBody. - - :param oauth2_provider_config_input: The oauth2_provider_config_input of this CreateOauth2CredentialProviderReqBody. - :type oauth2_provider_config_input: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - """ - self._oauth2_provider_config_input = oauth2_provider_config_input - - @property - def tags(self): - r"""Gets the tags of this CreateOauth2CredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this CreateOauth2CredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this CreateOauth2CredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this CreateOauth2CredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateOauth2CredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_request.py deleted file mode 100644 index 4826b57..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateOauth2CredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateOauth2CredentialProviderReqBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateOauth2CredentialProviderRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateOauth2CredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderReqBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateOauth2CredentialProviderRequest. - - :return: The body of this CreateOauth2CredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateOauth2CredentialProviderRequest. - - :param body: The body of this CreateOauth2CredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateOauth2CredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateOauth2CredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_response.py deleted file mode 100644 index b299d83..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_oauth2_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateOauth2CredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "Oauth2CredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""CreateOauth2CredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this CreateOauth2CredentialProviderResponse. - - :return: The credential_provider of this CreateOauth2CredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this CreateOauth2CredentialProviderResponse. - - :param credential_provider: The credential_provider of this CreateOauth2CredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("CreateOauth2CredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateOauth2CredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_req_body.py deleted file mode 100644 index 7e2ca66..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_req_body.py +++ /dev/null @@ -1,159 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateStsCredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "agency_urn": "str", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "agency_urn": "agency_urn", - "tags": "tags" - } - - def __init__(self, name=None, agency_urn=None, tags=None): - r"""CreateStsCredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param agency_urn: The URN of the agency used to obtain IAM temporary credentials. - :type agency_urn: str - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._agency_urn = None - self._tags = None - self.discriminator = None - - self.name = name - self.agency_urn = agency_urn - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this CreateStsCredentialProviderReqBody. - - The name of the credential provider. - - :return: The name of this CreateStsCredentialProviderReqBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this CreateStsCredentialProviderReqBody. - - The name of the credential provider. - - :param name: The name of this CreateStsCredentialProviderReqBody. - :type name: str - """ - self._name = name - - @property - def agency_urn(self): - r"""Gets the agency_urn of this CreateStsCredentialProviderReqBody. - - The URN of the agency used to obtain IAM temporary credentials. - - :return: The agency_urn of this CreateStsCredentialProviderReqBody. - :rtype: str - """ - return self._agency_urn - - @agency_urn.setter - def agency_urn(self, agency_urn): - r"""Sets the agency_urn of this CreateStsCredentialProviderReqBody. - - The URN of the agency used to obtain IAM temporary credentials. - - :param agency_urn: The agency_urn of this CreateStsCredentialProviderReqBody. - :type agency_urn: str - """ - self._agency_urn = agency_urn - - @property - def tags(self): - r"""Gets the tags of this CreateStsCredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this CreateStsCredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this CreateStsCredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this CreateStsCredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateStsCredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_request.py deleted file mode 100644 index 504a6de..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateStsCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateStsCredentialProviderReqBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateStsCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateStsCredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderReqBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateStsCredentialProviderRequest. - - :return: The body of this CreateStsCredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateStsCredentialProviderRequest. - - :param body: The body of this CreateStsCredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateStsCredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateStsCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_response.py deleted file mode 100644 index d9d3cc3..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_sts_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateStsCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "StsCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""CreateStsCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this CreateStsCredentialProviderResponse. - - :return: The credential_provider of this CreateStsCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this CreateStsCredentialProviderResponse. - - :param credential_provider: The credential_provider of this CreateStsCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("CreateStsCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateStsCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request.py deleted file mode 100644 index 7ca92d9..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForJwtRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateWorkloadAccessTokenForJwtRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateWorkloadAccessTokenForJwtRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateWorkloadAccessTokenForJwtRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateWorkloadAccessTokenForJwtRequest. - - :return: The body of this CreateWorkloadAccessTokenForJwtRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateWorkloadAccessTokenForJwtRequest. - - :param body: The body of this CreateWorkloadAccessTokenForJwtRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForJwtRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForJwtRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request_body.py deleted file mode 100644 index 02544cc..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_request_body.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForJwtRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_name": "str", - "user_token": "str" - } - - attribute_map = { - "workload_name": "workload_name", - "user_token": "user_token" - } - - def __init__(self, workload_name=None, user_token=None): - r"""CreateWorkloadAccessTokenForJwtRequestBody - - The model defined in huaweicloud sdk - - :param workload_name: The unique identifier for the registered workload - :type workload_name: str - :param user_token: The OAuth 2.0 token issued by the user's identity provider - :type user_token: str - """ - - - - self._workload_name = None - self._user_token = None - self.discriminator = None - - self.workload_name = workload_name - self.user_token = user_token - - @property - def workload_name(self): - r"""Gets the workload_name of this CreateWorkloadAccessTokenForJwtRequestBody. - - The unique identifier for the registered workload - - :return: The workload_name of this CreateWorkloadAccessTokenForJwtRequestBody. - :rtype: str - """ - return self._workload_name - - @workload_name.setter - def workload_name(self, workload_name): - r"""Sets the workload_name of this CreateWorkloadAccessTokenForJwtRequestBody. - - The unique identifier for the registered workload - - :param workload_name: The workload_name of this CreateWorkloadAccessTokenForJwtRequestBody. - :type workload_name: str - """ - self._workload_name = workload_name - - @property - def user_token(self): - r"""Gets the user_token of this CreateWorkloadAccessTokenForJwtRequestBody. - - The OAuth 2.0 token issued by the user's identity provider - - :return: The user_token of this CreateWorkloadAccessTokenForJwtRequestBody. - :rtype: str - """ - return self._user_token - - @user_token.setter - def user_token(self, user_token): - r"""Sets the user_token of this CreateWorkloadAccessTokenForJwtRequestBody. - - The OAuth 2.0 token issued by the user's identity provider - - :param user_token: The user_token of this CreateWorkloadAccessTokenForJwtRequestBody. - :type user_token: str - """ - self._user_token = user_token - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForJwtRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_response.py deleted file mode 100644 index 8216e49..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_jwt_response.py +++ /dev/null @@ -1,107 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForJwtResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_access_token": "str" - } - - attribute_map = { - "workload_access_token": "workload_access_token" - } - - def __init__(self, workload_access_token=None): - r"""CreateWorkloadAccessTokenForJwtResponse - - The model defined in huaweicloud sdk - - :param workload_access_token: An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - :type workload_access_token: str - """ - - super().__init__() - - self._workload_access_token = None - self.discriminator = None - - if workload_access_token is not None: - self.workload_access_token = workload_access_token - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this CreateWorkloadAccessTokenForJwtResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :return: The workload_access_token of this CreateWorkloadAccessTokenForJwtResponse. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this CreateWorkloadAccessTokenForJwtResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :param workload_access_token: The workload_access_token of this CreateWorkloadAccessTokenForJwtResponse. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - def to_dict(self): - import warnings - warnings.warn("CreateWorkloadAccessTokenForJwtResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForJwtResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request.py deleted file mode 100644 index c5d443a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForUserIdRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateWorkloadAccessTokenForUserIdRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateWorkloadAccessTokenForUserIdRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateWorkloadAccessTokenForUserIdRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateWorkloadAccessTokenForUserIdRequest. - - :return: The body of this CreateWorkloadAccessTokenForUserIdRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateWorkloadAccessTokenForUserIdRequest. - - :param body: The body of this CreateWorkloadAccessTokenForUserIdRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenForUserIdRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForUserIdRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request_body.py deleted file mode 100644 index e6dc23e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_request_body.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForUserIdRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_name": "str", - "user_id": "str" - } - - attribute_map = { - "workload_name": "workload_name", - "user_id": "user_id" - } - - def __init__(self, workload_name=None, user_id=None): - r"""CreateWorkloadAccessTokenForUserIdRequestBody - - The model defined in huaweicloud sdk - - :param workload_name: The unique identifier for the registered workload - :type workload_name: str - :param user_id: The ID of the user for whom to retrieve the access token - :type user_id: str - """ - - - - self._workload_name = None - self._user_id = None - self.discriminator = None - - self.workload_name = workload_name - self.user_id = user_id - - @property - def workload_name(self): - r"""Gets the workload_name of this CreateWorkloadAccessTokenForUserIdRequestBody. - - The unique identifier for the registered workload - - :return: The workload_name of this CreateWorkloadAccessTokenForUserIdRequestBody. - :rtype: str - """ - return self._workload_name - - @workload_name.setter - def workload_name(self, workload_name): - r"""Sets the workload_name of this CreateWorkloadAccessTokenForUserIdRequestBody. - - The unique identifier for the registered workload - - :param workload_name: The workload_name of this CreateWorkloadAccessTokenForUserIdRequestBody. - :type workload_name: str - """ - self._workload_name = workload_name - - @property - def user_id(self): - r"""Gets the user_id of this CreateWorkloadAccessTokenForUserIdRequestBody. - - The ID of the user for whom to retrieve the access token - - :return: The user_id of this CreateWorkloadAccessTokenForUserIdRequestBody. - :rtype: str - """ - return self._user_id - - @user_id.setter - def user_id(self, user_id): - r"""Sets the user_id of this CreateWorkloadAccessTokenForUserIdRequestBody. - - The ID of the user for whom to retrieve the access token - - :param user_id: The user_id of this CreateWorkloadAccessTokenForUserIdRequestBody. - :type user_id: str - """ - self._user_id = user_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForUserIdRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_response.py deleted file mode 100644 index e52e091..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_for_user_id_response.py +++ /dev/null @@ -1,107 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenForUserIdResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_access_token": "str" - } - - attribute_map = { - "workload_access_token": "workload_access_token" - } - - def __init__(self, workload_access_token=None): - r"""CreateWorkloadAccessTokenForUserIdResponse - - The model defined in huaweicloud sdk - - :param workload_access_token: An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - :type workload_access_token: str - """ - - super().__init__() - - self._workload_access_token = None - self.discriminator = None - - if workload_access_token is not None: - self.workload_access_token = workload_access_token - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this CreateWorkloadAccessTokenForUserIdResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :return: The workload_access_token of this CreateWorkloadAccessTokenForUserIdResponse. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this CreateWorkloadAccessTokenForUserIdResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :param workload_access_token: The workload_access_token of this CreateWorkloadAccessTokenForUserIdResponse. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - def to_dict(self): - import warnings - warnings.warn("CreateWorkloadAccessTokenForUserIdResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenForUserIdResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request.py deleted file mode 100644 index 8964cd3..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateWorkloadAccessTokenRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateWorkloadAccessTokenRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateWorkloadAccessTokenRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateWorkloadAccessTokenRequest. - - :return: The body of this CreateWorkloadAccessTokenRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateWorkloadAccessTokenRequest. - - :param body: The body of this CreateWorkloadAccessTokenRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadAccessTokenRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request_body.py deleted file mode 100644 index 3166ac0..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_request_body.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_name": "str" - } - - attribute_map = { - "workload_name": "workload_name" - } - - def __init__(self, workload_name=None): - r"""CreateWorkloadAccessTokenRequestBody - - The model defined in huaweicloud sdk - - :param workload_name: The unique identifier for the registered workload - :type workload_name: str - """ - - - - self._workload_name = None - self.discriminator = None - - self.workload_name = workload_name - - @property - def workload_name(self): - r"""Gets the workload_name of this CreateWorkloadAccessTokenRequestBody. - - The unique identifier for the registered workload - - :return: The workload_name of this CreateWorkloadAccessTokenRequestBody. - :rtype: str - """ - return self._workload_name - - @workload_name.setter - def workload_name(self, workload_name): - r"""Sets the workload_name of this CreateWorkloadAccessTokenRequestBody. - - The unique identifier for the registered workload - - :param workload_name: The workload_name of this CreateWorkloadAccessTokenRequestBody. - :type workload_name: str - """ - self._workload_name = workload_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_response.py deleted file mode 100644 index 6a6de43..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_access_token_response.py +++ /dev/null @@ -1,107 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadAccessTokenResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_access_token": "str" - } - - attribute_map = { - "workload_access_token": "workload_access_token" - } - - def __init__(self, workload_access_token=None): - r"""CreateWorkloadAccessTokenResponse - - The model defined in huaweicloud sdk - - :param workload_access_token: An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - :type workload_access_token: str - """ - - super().__init__() - - self._workload_access_token = None - self.discriminator = None - - if workload_access_token is not None: - self.workload_access_token = workload_access_token - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this CreateWorkloadAccessTokenResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :return: The workload_access_token of this CreateWorkloadAccessTokenResponse. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this CreateWorkloadAccessTokenResponse. - - An opaque token representing the identity of both the workload and the user (or just the workload if not acting on behalf of a user) - - :param workload_access_token: The workload_access_token of this CreateWorkloadAccessTokenResponse. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - def to_dict(self): - import warnings - warnings.warn("CreateWorkloadAccessTokenResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadAccessTokenResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_req_body.py deleted file mode 100644 index 3b0b7de..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_req_body.py +++ /dev/null @@ -1,205 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadIdentityReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "allowed_resource_oauth2_return_urls": "list[str]", - "authorizer_type": "AuthorizerType", - "authorizer_configuration": "AuthorizerConfiguration", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "allowed_resource_oauth2_return_urls": "allowed_resource_oauth2_return_urls", - "authorizer_type": "authorizer_type", - "authorizer_configuration": "authorizer_configuration", - "tags": "tags" - } - - def __init__(self, name=None, allowed_resource_oauth2_return_urls=None, authorizer_type=None, authorizer_configuration=None, tags=None): - r"""CreateWorkloadIdentityReqBody - - The model defined in huaweicloud sdk - - :param name: The name of the workload identity. - :type name: str - :param allowed_resource_oauth2_return_urls: - :type allowed_resource_oauth2_return_urls: list[str] - :param authorizer_type: - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - :param authorizer_configuration: - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._allowed_resource_oauth2_return_urls = None - self._authorizer_type = None - self._authorizer_configuration = None - self._tags = None - self.discriminator = None - - self.name = name - if allowed_resource_oauth2_return_urls is not None: - self.allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - self.authorizer_type = authorizer_type - if authorizer_configuration is not None: - self.authorizer_configuration = authorizer_configuration - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this CreateWorkloadIdentityReqBody. - - The name of the workload identity. - - :return: The name of this CreateWorkloadIdentityReqBody. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this CreateWorkloadIdentityReqBody. - - The name of the workload identity. - - :param name: The name of this CreateWorkloadIdentityReqBody. - :type name: str - """ - self._name = name - - @property - def allowed_resource_oauth2_return_urls(self): - r"""Gets the allowed_resource_oauth2_return_urls of this CreateWorkloadIdentityReqBody. - - :return: The allowed_resource_oauth2_return_urls of this CreateWorkloadIdentityReqBody. - :rtype: list[str] - """ - return self._allowed_resource_oauth2_return_urls - - @allowed_resource_oauth2_return_urls.setter - def allowed_resource_oauth2_return_urls(self, allowed_resource_oauth2_return_urls): - r"""Sets the allowed_resource_oauth2_return_urls of this CreateWorkloadIdentityReqBody. - - :param allowed_resource_oauth2_return_urls: The allowed_resource_oauth2_return_urls of this CreateWorkloadIdentityReqBody. - :type allowed_resource_oauth2_return_urls: list[str] - """ - self._allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - - @property - def authorizer_type(self): - r"""Gets the authorizer_type of this CreateWorkloadIdentityReqBody. - - :return: The authorizer_type of this CreateWorkloadIdentityReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - return self._authorizer_type - - @authorizer_type.setter - def authorizer_type(self, authorizer_type): - r"""Sets the authorizer_type of this CreateWorkloadIdentityReqBody. - - :param authorizer_type: The authorizer_type of this CreateWorkloadIdentityReqBody. - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - self._authorizer_type = authorizer_type - - @property - def authorizer_configuration(self): - r"""Gets the authorizer_configuration of this CreateWorkloadIdentityReqBody. - - :return: The authorizer_configuration of this CreateWorkloadIdentityReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - return self._authorizer_configuration - - @authorizer_configuration.setter - def authorizer_configuration(self, authorizer_configuration): - r"""Sets the authorizer_configuration of this CreateWorkloadIdentityReqBody. - - :param authorizer_configuration: The authorizer_configuration of this CreateWorkloadIdentityReqBody. - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - self._authorizer_configuration = authorizer_configuration - - @property - def tags(self): - r"""Gets the tags of this CreateWorkloadIdentityReqBody. - - 自定义标签列表。 - - :return: The tags of this CreateWorkloadIdentityReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this CreateWorkloadIdentityReqBody. - - 自定义标签列表。 - - :param tags: The tags of this CreateWorkloadIdentityReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadIdentityReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_request.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_request.py deleted file mode 100644 index 26136c7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadIdentityRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "CreateWorkloadIdentityReqBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""CreateWorkloadIdentityRequest - - The model defined in huaweicloud sdk - - :param body: Body of the CreateWorkloadIdentityRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityReqBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this CreateWorkloadIdentityRequest. - - :return: The body of this CreateWorkloadIdentityRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this CreateWorkloadIdentityRequest. - - :param body: The body of this CreateWorkloadIdentityRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.CreateWorkloadIdentityReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadIdentityRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_response.py b/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_response.py deleted file mode 100644 index 550a1bd..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/create_workload_identity_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreateWorkloadIdentityResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity": "WorkloadIdentity" - } - - attribute_map = { - "workload_identity": "workload_identity" - } - - def __init__(self, workload_identity=None): - r"""CreateWorkloadIdentityResponse - - The model defined in huaweicloud sdk - - :param workload_identity: - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - - super().__init__() - - self._workload_identity = None - self.discriminator = None - - if workload_identity is not None: - self.workload_identity = workload_identity - - @property - def workload_identity(self): - r"""Gets the workload_identity of this CreateWorkloadIdentityResponse. - - :return: The workload_identity of this CreateWorkloadIdentityResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - return self._workload_identity - - @workload_identity.setter - def workload_identity(self, workload_identity): - r"""Sets the workload_identity of this CreateWorkloadIdentityResponse. - - :param workload_identity: The workload_identity of this CreateWorkloadIdentityResponse. - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - self._workload_identity = workload_identity - - def to_dict(self): - import warnings - warnings.warn("CreateWorkloadIdentityResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreateWorkloadIdentityResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/created_by.py b/src/huaweicloudsdkagentidentity/v1/model/created_by.py deleted file mode 100644 index 869c69c..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/created_by.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CreatedBy: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "type": "str", - "identifier": "str" - } - - attribute_map = { - "type": "type", - "identifier": "identifier" - } - - def __init__(self, type=None, identifier=None): - r"""CreatedBy - - The model defined in huaweicloud sdk - - :param type: 工作负载身份创建者类型 - :type type: str - :param identifier: 工作负载身份创建者标识 - :type identifier: str - """ - - - - self._type = None - self._identifier = None - self.discriminator = None - - self.type = type - self.identifier = identifier - - @property - def type(self): - r"""Gets the type of this CreatedBy. - - 工作负载身份创建者类型 - - :return: The type of this CreatedBy. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - r"""Sets the type of this CreatedBy. - - 工作负载身份创建者类型 - - :param type: The type of this CreatedBy. - :type type: str - """ - self._type = type - - @property - def identifier(self): - r"""Gets the identifier of this CreatedBy. - - 工作负载身份创建者标识 - - :return: The identifier of this CreatedBy. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - r"""Sets the identifier of this CreatedBy. - - 工作负载身份创建者标识 - - :param identifier: The identifier of this CreatedBy. - :type identifier: str - """ - self._identifier = identifier - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CreatedBy): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/credential_provider_name.py b/src/huaweicloudsdkagentidentity/v1/model/credential_provider_name.py deleted file mode 100644 index 24ea9de..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/credential_provider_name.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CredentialProviderName: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""CredentialProviderName - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CredentialProviderName): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/credential_provider_vendor.py b/src/huaweicloudsdkagentidentity/v1/model/credential_provider_vendor.py deleted file mode 100644 index 63436f4..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/credential_provider_vendor.py +++ /dev/null @@ -1,78 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CredentialProviderVendor: - """ - allowed enum values - """ - MICROSOFTOAUTH2 = "MicrosoftOauth2" - GOOGLEOAUTH2 = "GoogleOauth2" - GITHUBOAUTH2 = "GithubOauth2" - CUSTOMOAUTH2 = "CustomOauth2" - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""CredentialProviderVendor - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CredentialProviderVendor): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/custom_claim_validation.py b/src/huaweicloudsdkagentidentity/v1/model/custom_claim_validation.py deleted file mode 100644 index 07d789e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/custom_claim_validation.py +++ /dev/null @@ -1,154 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CustomClaimValidation: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "authorizing_claim_match_value": "AuthorizingClaimMatchValue", - "inbound_token_claim_name": "str", - "inbound_token_claim_value_type": "str" - } - - attribute_map = { - "authorizing_claim_match_value": "authorizing_claim_match_value", - "inbound_token_claim_name": "inbound_token_claim_name", - "inbound_token_claim_value_type": "inbound_token_claim_value_type" - } - - def __init__(self, authorizing_claim_match_value=None, inbound_token_claim_name=None, inbound_token_claim_value_type=None): - r"""CustomClaimValidation - - The model defined in huaweicloud sdk - - :param authorizing_claim_match_value: - :type authorizing_claim_match_value: :class:`huaweicloudsdkagentidentity.v1.AuthorizingClaimMatchValue` - :param inbound_token_claim_name: The name of the custom claim field to check. - :type inbound_token_claim_name: str - :param inbound_token_claim_value_type: The data type of the claim value to check for. - :type inbound_token_claim_value_type: str - """ - - - - self._authorizing_claim_match_value = None - self._inbound_token_claim_name = None - self._inbound_token_claim_value_type = None - self.discriminator = None - - self.authorizing_claim_match_value = authorizing_claim_match_value - self.inbound_token_claim_name = inbound_token_claim_name - self.inbound_token_claim_value_type = inbound_token_claim_value_type - - @property - def authorizing_claim_match_value(self): - r"""Gets the authorizing_claim_match_value of this CustomClaimValidation. - - :return: The authorizing_claim_match_value of this CustomClaimValidation. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizingClaimMatchValue` - """ - return self._authorizing_claim_match_value - - @authorizing_claim_match_value.setter - def authorizing_claim_match_value(self, authorizing_claim_match_value): - r"""Sets the authorizing_claim_match_value of this CustomClaimValidation. - - :param authorizing_claim_match_value: The authorizing_claim_match_value of this CustomClaimValidation. - :type authorizing_claim_match_value: :class:`huaweicloudsdkagentidentity.v1.AuthorizingClaimMatchValue` - """ - self._authorizing_claim_match_value = authorizing_claim_match_value - - @property - def inbound_token_claim_name(self): - r"""Gets the inbound_token_claim_name of this CustomClaimValidation. - - The name of the custom claim field to check. - - :return: The inbound_token_claim_name of this CustomClaimValidation. - :rtype: str - """ - return self._inbound_token_claim_name - - @inbound_token_claim_name.setter - def inbound_token_claim_name(self, inbound_token_claim_name): - r"""Sets the inbound_token_claim_name of this CustomClaimValidation. - - The name of the custom claim field to check. - - :param inbound_token_claim_name: The inbound_token_claim_name of this CustomClaimValidation. - :type inbound_token_claim_name: str - """ - self._inbound_token_claim_name = inbound_token_claim_name - - @property - def inbound_token_claim_value_type(self): - r"""Gets the inbound_token_claim_value_type of this CustomClaimValidation. - - The data type of the claim value to check for. - - :return: The inbound_token_claim_value_type of this CustomClaimValidation. - :rtype: str - """ - return self._inbound_token_claim_value_type - - @inbound_token_claim_value_type.setter - def inbound_token_claim_value_type(self, inbound_token_claim_value_type): - r"""Sets the inbound_token_claim_value_type of this CustomClaimValidation. - - The data type of the claim value to check for. - - :param inbound_token_claim_value_type: The inbound_token_claim_value_type of this CustomClaimValidation. - :type inbound_token_claim_value_type: str - """ - self._inbound_token_claim_value_type = inbound_token_claim_value_type - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CustomClaimValidation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/custom_jwt_authorizer_configuration.py b/src/huaweicloudsdkagentidentity/v1/model/custom_jwt_authorizer_configuration.py deleted file mode 100644 index 857add7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/custom_jwt_authorizer_configuration.py +++ /dev/null @@ -1,206 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CustomJWTAuthorizerConfiguration: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "discovery_url": "str", - "allowed_audience": "list[str]", - "allowed_clients": "list[str]", - "allowed_scopes": "list[str]", - "custom_claims": "list[CustomClaimValidation]" - } - - attribute_map = { - "discovery_url": "discovery_url", - "allowed_audience": "allowed_audience", - "allowed_clients": "allowed_clients", - "allowed_scopes": "allowed_scopes", - "custom_claims": "custom_claims" - } - - def __init__(self, discovery_url=None, allowed_audience=None, allowed_clients=None, allowed_scopes=None, custom_claims=None): - r"""CustomJWTAuthorizerConfiguration - - The model defined in huaweicloud sdk - - :param discovery_url: This URL is used to fetch OpenID Connect configuration. - :type discovery_url: str - :param allowed_audience: - :type allowed_audience: list[str] - :param allowed_clients: - :type allowed_clients: list[str] - :param allowed_scopes: - :type allowed_scopes: list[str] - :param custom_claims: Custom claim validation rules applied to inbound JWTs. - :type custom_claims: list[:class:`huaweicloudsdkagentidentity.v1.CustomClaimValidation`] - """ - - - - self._discovery_url = None - self._allowed_audience = None - self._allowed_clients = None - self._allowed_scopes = None - self._custom_claims = None - self.discriminator = None - - self.discovery_url = discovery_url - if allowed_audience is not None: - self.allowed_audience = allowed_audience - if allowed_clients is not None: - self.allowed_clients = allowed_clients - if allowed_scopes is not None: - self.allowed_scopes = allowed_scopes - if custom_claims is not None: - self.custom_claims = custom_claims - - @property - def discovery_url(self): - r"""Gets the discovery_url of this CustomJWTAuthorizerConfiguration. - - This URL is used to fetch OpenID Connect configuration. - - :return: The discovery_url of this CustomJWTAuthorizerConfiguration. - :rtype: str - """ - return self._discovery_url - - @discovery_url.setter - def discovery_url(self, discovery_url): - r"""Sets the discovery_url of this CustomJWTAuthorizerConfiguration. - - This URL is used to fetch OpenID Connect configuration. - - :param discovery_url: The discovery_url of this CustomJWTAuthorizerConfiguration. - :type discovery_url: str - """ - self._discovery_url = discovery_url - - @property - def allowed_audience(self): - r"""Gets the allowed_audience of this CustomJWTAuthorizerConfiguration. - - :return: The allowed_audience of this CustomJWTAuthorizerConfiguration. - :rtype: list[str] - """ - return self._allowed_audience - - @allowed_audience.setter - def allowed_audience(self, allowed_audience): - r"""Sets the allowed_audience of this CustomJWTAuthorizerConfiguration. - - :param allowed_audience: The allowed_audience of this CustomJWTAuthorizerConfiguration. - :type allowed_audience: list[str] - """ - self._allowed_audience = allowed_audience - - @property - def allowed_clients(self): - r"""Gets the allowed_clients of this CustomJWTAuthorizerConfiguration. - - :return: The allowed_clients of this CustomJWTAuthorizerConfiguration. - :rtype: list[str] - """ - return self._allowed_clients - - @allowed_clients.setter - def allowed_clients(self, allowed_clients): - r"""Sets the allowed_clients of this CustomJWTAuthorizerConfiguration. - - :param allowed_clients: The allowed_clients of this CustomJWTAuthorizerConfiguration. - :type allowed_clients: list[str] - """ - self._allowed_clients = allowed_clients - - @property - def allowed_scopes(self): - r"""Gets the allowed_scopes of this CustomJWTAuthorizerConfiguration. - - :return: The allowed_scopes of this CustomJWTAuthorizerConfiguration. - :rtype: list[str] - """ - return self._allowed_scopes - - @allowed_scopes.setter - def allowed_scopes(self, allowed_scopes): - r"""Sets the allowed_scopes of this CustomJWTAuthorizerConfiguration. - - :param allowed_scopes: The allowed_scopes of this CustomJWTAuthorizerConfiguration. - :type allowed_scopes: list[str] - """ - self._allowed_scopes = allowed_scopes - - @property - def custom_claims(self): - r"""Gets the custom_claims of this CustomJWTAuthorizerConfiguration. - - Custom claim validation rules applied to inbound JWTs. - - :return: The custom_claims of this CustomJWTAuthorizerConfiguration. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.CustomClaimValidation`] - """ - return self._custom_claims - - @custom_claims.setter - def custom_claims(self, custom_claims): - r"""Sets the custom_claims of this CustomJWTAuthorizerConfiguration. - - Custom claim validation rules applied to inbound JWTs. - - :param custom_claims: The custom_claims of this CustomJWTAuthorizerConfiguration. - :type custom_claims: list[:class:`huaweicloudsdkagentidentity.v1.CustomClaimValidation`] - """ - self._custom_claims = custom_claims - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CustomJWTAuthorizerConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_input.py b/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_input.py deleted file mode 100644 index 43172db..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_input.py +++ /dev/null @@ -1,154 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CustomOauth2ProviderConfigInput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "client_id": "str", - "client_secret": "str", - "oauth2_discovery": "Oauth2Discovery" - } - - attribute_map = { - "client_id": "client_id", - "client_secret": "client_secret", - "oauth2_discovery": "oauth2_discovery" - } - - def __init__(self, client_id=None, client_secret=None, oauth2_discovery=None): - r"""CustomOauth2ProviderConfigInput - - The model defined in huaweicloud sdk - - :param client_id: Client ID for OAuth2 application. - :type client_id: str - :param client_secret: Client secret for OAuth2 application. - :type client_secret: str - :param oauth2_discovery: - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - - - - self._client_id = None - self._client_secret = None - self._oauth2_discovery = None - self.discriminator = None - - self.client_id = client_id - self.client_secret = client_secret - self.oauth2_discovery = oauth2_discovery - - @property - def client_id(self): - r"""Gets the client_id of this CustomOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :return: The client_id of this CustomOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this CustomOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this CustomOauth2ProviderConfigInput. - :type client_id: str - """ - self._client_id = client_id - - @property - def client_secret(self): - r"""Gets the client_secret of this CustomOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :return: The client_secret of this CustomOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - r"""Sets the client_secret of this CustomOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :param client_secret: The client_secret of this CustomOauth2ProviderConfigInput. - :type client_secret: str - """ - self._client_secret = client_secret - - @property - def oauth2_discovery(self): - r"""Gets the oauth2_discovery of this CustomOauth2ProviderConfigInput. - - :return: The oauth2_discovery of this CustomOauth2ProviderConfigInput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - return self._oauth2_discovery - - @oauth2_discovery.setter - def oauth2_discovery(self, oauth2_discovery): - r"""Sets the oauth2_discovery of this CustomOauth2ProviderConfigInput. - - :param oauth2_discovery: The oauth2_discovery of this CustomOauth2ProviderConfigInput. - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - self._oauth2_discovery = oauth2_discovery - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CustomOauth2ProviderConfigInput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_output.py b/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_output.py deleted file mode 100644 index 4ae384f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/custom_oauth2_provider_config_output.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class CustomOauth2ProviderConfigOutput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "oauth2_discovery": "Oauth2Discovery", - "client_id": "str" - } - - attribute_map = { - "oauth2_discovery": "oauth2_discovery", - "client_id": "client_id" - } - - def __init__(self, oauth2_discovery=None, client_id=None): - r"""CustomOauth2ProviderConfigOutput - - The model defined in huaweicloud sdk - - :param oauth2_discovery: - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - :param client_id: Client ID for OAuth2 application. - :type client_id: str - """ - - - - self._oauth2_discovery = None - self._client_id = None - self.discriminator = None - - self.oauth2_discovery = oauth2_discovery - if client_id is not None: - self.client_id = client_id - - @property - def oauth2_discovery(self): - r"""Gets the oauth2_discovery of this CustomOauth2ProviderConfigOutput. - - :return: The oauth2_discovery of this CustomOauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - return self._oauth2_discovery - - @oauth2_discovery.setter - def oauth2_discovery(self, oauth2_discovery): - r"""Sets the oauth2_discovery of this CustomOauth2ProviderConfigOutput. - - :param oauth2_discovery: The oauth2_discovery of this CustomOauth2ProviderConfigOutput. - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - self._oauth2_discovery = oauth2_discovery - - @property - def client_id(self): - r"""Gets the client_id of this CustomOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :return: The client_id of this CustomOauth2ProviderConfigOutput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this CustomOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this CustomOauth2ProviderConfigOutput. - :type client_id: str - """ - self._client_id = client_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, CustomOauth2ProviderConfigOutput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_request.py deleted file mode 100644 index ae27aa0..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteApiKeyCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""DeleteApiKeyCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this DeleteApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this DeleteApiKeyCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this DeleteApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this DeleteApiKeyCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteApiKeyCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_response.py deleted file mode 100644 index 4b49b7d..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_api_key_credential_provider_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteApiKeyCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""DeleteApiKeyCredentialProviderResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("DeleteApiKeyCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteApiKeyCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_request.py deleted file mode 100644 index 06679fe..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteOauth2CredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""DeleteOauth2CredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this DeleteOauth2CredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this DeleteOauth2CredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this DeleteOauth2CredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this DeleteOauth2CredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteOauth2CredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_response.py deleted file mode 100644 index da12060..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_oauth2_credential_provider_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteOauth2CredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""DeleteOauth2CredentialProviderResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("DeleteOauth2CredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteOauth2CredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_request.py deleted file mode 100644 index 5850743..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteStsCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""DeleteStsCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this DeleteStsCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this DeleteStsCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this DeleteStsCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this DeleteStsCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteStsCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_response.py deleted file mode 100644 index dd7ea97..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_sts_credential_provider_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteStsCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""DeleteStsCredentialProviderResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("DeleteStsCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteStsCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_request.py b/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_request.py deleted file mode 100644 index fd3c8f4..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteWorkloadIdentityRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_name": "str" - } - - attribute_map = { - "workload_identity_name": "workload_identity_name" - } - - def __init__(self, workload_identity_name=None): - r"""DeleteWorkloadIdentityRequest - - The model defined in huaweicloud sdk - - :param workload_identity_name: The name of the workload identity. - :type workload_identity_name: str - """ - - - - self._workload_identity_name = None - self.discriminator = None - - self.workload_identity_name = workload_identity_name - - @property - def workload_identity_name(self): - r"""Gets the workload_identity_name of this DeleteWorkloadIdentityRequest. - - The name of the workload identity. - - :return: The workload_identity_name of this DeleteWorkloadIdentityRequest. - :rtype: str - """ - return self._workload_identity_name - - @workload_identity_name.setter - def workload_identity_name(self, workload_identity_name): - r"""Sets the workload_identity_name of this DeleteWorkloadIdentityRequest. - - The name of the workload identity. - - :param workload_identity_name: The workload_identity_name of this DeleteWorkloadIdentityRequest. - :type workload_identity_name: str - """ - self._workload_identity_name = workload_identity_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteWorkloadIdentityRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_response.py b/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_response.py deleted file mode 100644 index 0fa1f44..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/delete_workload_identity_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DeleteWorkloadIdentityResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""DeleteWorkloadIdentityResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("DeleteWorkloadIdentityResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DeleteWorkloadIdentityResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/discovery_url.py b/src/huaweicloudsdkagentidentity/v1/model/discovery_url.py deleted file mode 100644 index c7447ce..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/discovery_url.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class DiscoveryUrl: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""DiscoveryUrl - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DiscoveryUrl): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_request.py deleted file mode 100644 index b3f6520..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetApiKeyCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""GetApiKeyCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this GetApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this GetApiKeyCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this GetApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this GetApiKeyCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetApiKeyCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_response.py deleted file mode 100644 index eb702ec..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_api_key_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetApiKeyCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "ApiKeyCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""GetApiKeyCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this GetApiKeyCredentialProviderResponse. - - :return: The credential_provider of this GetApiKeyCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this GetApiKeyCredentialProviderResponse. - - :param credential_provider: The credential_provider of this GetApiKeyCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("GetApiKeyCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetApiKeyCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_request.py deleted file mode 100644 index 559c93c..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetOauth2CredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""GetOauth2CredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this GetOauth2CredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this GetOauth2CredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this GetOauth2CredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this GetOauth2CredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetOauth2CredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_response.py deleted file mode 100644 index 88e3998..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_oauth2_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetOauth2CredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "Oauth2CredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""GetOauth2CredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this GetOauth2CredentialProviderResponse. - - :return: The credential_provider of this GetOauth2CredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this GetOauth2CredentialProviderResponse. - - :param credential_provider: The credential_provider of this GetOauth2CredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("GetOauth2CredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetOauth2CredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request.py deleted file mode 100644 index df45d2e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceApiKeyRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "GetResourceApiKeyRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""GetResourceApiKeyRequest - - The model defined in huaweicloud sdk - - :param body: Body of the GetResourceApiKeyRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this GetResourceApiKeyRequest. - - :return: The body of this GetResourceApiKeyRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this GetResourceApiKeyRequest. - - :param body: The body of this GetResourceApiKeyRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceApiKeyRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceApiKeyRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request_body.py deleted file mode 100644 index f73ad9b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_request_body.py +++ /dev/null @@ -1,131 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceApiKeyRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "resource_credential_provider_name": "str", - "workload_access_token": "str" - } - - attribute_map = { - "resource_credential_provider_name": "resource_credential_provider_name", - "workload_access_token": "workload_access_token" - } - - def __init__(self, resource_credential_provider_name=None, workload_access_token=None): - r"""GetResourceApiKeyRequestBody - - The model defined in huaweicloud sdk - - :param resource_credential_provider_name: Name of the resource credential provider to retrieve API key from - :type resource_credential_provider_name: str - :param workload_access_token: Identity token of the workload requesting the API key - :type workload_access_token: str - """ - - - - self._resource_credential_provider_name = None - self._workload_access_token = None - self.discriminator = None - - self.resource_credential_provider_name = resource_credential_provider_name - if workload_access_token is not None: - self.workload_access_token = workload_access_token - - @property - def resource_credential_provider_name(self): - r"""Gets the resource_credential_provider_name of this GetResourceApiKeyRequestBody. - - Name of the resource credential provider to retrieve API key from - - :return: The resource_credential_provider_name of this GetResourceApiKeyRequestBody. - :rtype: str - """ - return self._resource_credential_provider_name - - @resource_credential_provider_name.setter - def resource_credential_provider_name(self, resource_credential_provider_name): - r"""Sets the resource_credential_provider_name of this GetResourceApiKeyRequestBody. - - Name of the resource credential provider to retrieve API key from - - :param resource_credential_provider_name: The resource_credential_provider_name of this GetResourceApiKeyRequestBody. - :type resource_credential_provider_name: str - """ - self._resource_credential_provider_name = resource_credential_provider_name - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this GetResourceApiKeyRequestBody. - - Identity token of the workload requesting the API key - - :return: The workload_access_token of this GetResourceApiKeyRequestBody. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this GetResourceApiKeyRequestBody. - - Identity token of the workload requesting the API key - - :param workload_access_token: The workload_access_token of this GetResourceApiKeyRequestBody. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceApiKeyRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_response.py deleted file mode 100644 index b406353..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_api_key_response.py +++ /dev/null @@ -1,107 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceApiKeyResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "api_key": "str" - } - - attribute_map = { - "api_key": "api_key" - } - - def __init__(self, api_key=None): - r"""GetResourceApiKeyResponse - - The model defined in huaweicloud sdk - - :param api_key: API key associated with the requested resource - :type api_key: str - """ - - super().__init__() - - self._api_key = None - self.discriminator = None - - if api_key is not None: - self.api_key = api_key - - @property - def api_key(self): - r"""Gets the api_key of this GetResourceApiKeyResponse. - - API key associated with the requested resource - - :return: The api_key of this GetResourceApiKeyResponse. - :rtype: str - """ - return self._api_key - - @api_key.setter - def api_key(self, api_key): - r"""Sets the api_key of this GetResourceApiKeyResponse. - - API key associated with the requested resource - - :param api_key: The api_key of this GetResourceApiKeyResponse. - :type api_key: str - """ - self._api_key = api_key - - def to_dict(self): - import warnings - warnings.warn("GetResourceApiKeyResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceApiKeyResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request.py deleted file mode 100644 index 16fee70..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceOauth2TokenRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "GetResourceOauth2TokenRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""GetResourceOauth2TokenRequest - - The model defined in huaweicloud sdk - - :param body: Body of the GetResourceOauth2TokenRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this GetResourceOauth2TokenRequest. - - :return: The body of this GetResourceOauth2TokenRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this GetResourceOauth2TokenRequest. - - :param body: The body of this GetResourceOauth2TokenRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceOauth2TokenRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceOauth2TokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request_body.py deleted file mode 100644 index b3c1f35..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_request_body.py +++ /dev/null @@ -1,362 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceOauth2TokenRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "custom_parameters": "dict(str, str)", - "custom_state": "str", - "force_authentication": "bool", - "oauth2_flow": "str", - "resource_credential_provider_name": "str", - "resource_oauth2_return_url": "str", - "scopes": "list[str]", - "session_uri": "str", - "workload_access_token": "str", - "authorization_details": "list[RichAuthorizationDetail]" - } - - attribute_map = { - "custom_parameters": "custom_parameters", - "custom_state": "custom_state", - "force_authentication": "force_authentication", - "oauth2_flow": "oauth2_flow", - "resource_credential_provider_name": "resource_credential_provider_name", - "resource_oauth2_return_url": "resource_oauth2_return_url", - "scopes": "scopes", - "session_uri": "session_uri", - "workload_access_token": "workload_access_token", - "authorization_details": "authorization_details" - } - - def __init__(self, custom_parameters=None, custom_state=None, force_authentication=None, oauth2_flow=None, resource_credential_provider_name=None, resource_oauth2_return_url=None, scopes=None, session_uri=None, workload_access_token=None, authorization_details=None): - r"""GetResourceOauth2TokenRequestBody - - The model defined in huaweicloud sdk - - :param custom_parameters: Additional custom parameters for the authorization request (does not override standard OAuth2 parameters) - :type custom_parameters: dict(str, str) - :param custom_state: Opaque string for CSRF protection (returned in callback URL response as standard state parameter) - :type custom_state: str - :param force_authentication: Whether to initiate a new 3LO flow regardless of existing sessions - :type force_authentication: bool - :param oauth2_flow: Type of OAuth2 flow to perform - :type oauth2_flow: str - :param resource_credential_provider_name: Name of the resource's credential provider - :type resource_credential_provider_name: str - :param resource_oauth2_return_url: Callback URL to redirect after token retrieval (must be configured for workload identity) - :type resource_oauth2_return_url: str - :param scopes: OAuth scopes being requested (coarse-grained permissions, supplemented by rich_authorization_details for fine-grained control) - :type scopes: list[str] - :param session_uri: Unique identifier for the user's authentication session (tracks OAuth2 flow state) - :type session_uri: str - :param workload_access_token: Identity token of the workload requesting the OAuth2 token - :type workload_access_token: str - :param authorization_details: RFC 9396 Rich Authorization Request (RAR) details: fine-grained authorization metadata to enforce precise access control, compatible with both USER_FEDERATION and M2M OAuth2 flows. This replaces the limitations of broad OAuth2 scopes with resource+action level granularity - :type authorization_details: list[:class:`huaweicloudsdkagentidentity.v1.RichAuthorizationDetail`] - """ - - - - self._custom_parameters = None - self._custom_state = None - self._force_authentication = None - self._oauth2_flow = None - self._resource_credential_provider_name = None - self._resource_oauth2_return_url = None - self._scopes = None - self._session_uri = None - self._workload_access_token = None - self._authorization_details = None - self.discriminator = None - - if custom_parameters is not None: - self.custom_parameters = custom_parameters - if custom_state is not None: - self.custom_state = custom_state - if force_authentication is not None: - self.force_authentication = force_authentication - self.oauth2_flow = oauth2_flow - self.resource_credential_provider_name = resource_credential_provider_name - if resource_oauth2_return_url is not None: - self.resource_oauth2_return_url = resource_oauth2_return_url - if scopes is not None: - self.scopes = scopes - if session_uri is not None: - self.session_uri = session_uri - if workload_access_token is not None: - self.workload_access_token = workload_access_token - if authorization_details is not None: - self.authorization_details = authorization_details - - @property - def custom_parameters(self): - r"""Gets the custom_parameters of this GetResourceOauth2TokenRequestBody. - - Additional custom parameters for the authorization request (does not override standard OAuth2 parameters) - - :return: The custom_parameters of this GetResourceOauth2TokenRequestBody. - :rtype: dict(str, str) - """ - return self._custom_parameters - - @custom_parameters.setter - def custom_parameters(self, custom_parameters): - r"""Sets the custom_parameters of this GetResourceOauth2TokenRequestBody. - - Additional custom parameters for the authorization request (does not override standard OAuth2 parameters) - - :param custom_parameters: The custom_parameters of this GetResourceOauth2TokenRequestBody. - :type custom_parameters: dict(str, str) - """ - self._custom_parameters = custom_parameters - - @property - def custom_state(self): - r"""Gets the custom_state of this GetResourceOauth2TokenRequestBody. - - Opaque string for CSRF protection (returned in callback URL response as standard state parameter) - - :return: The custom_state of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._custom_state - - @custom_state.setter - def custom_state(self, custom_state): - r"""Sets the custom_state of this GetResourceOauth2TokenRequestBody. - - Opaque string for CSRF protection (returned in callback URL response as standard state parameter) - - :param custom_state: The custom_state of this GetResourceOauth2TokenRequestBody. - :type custom_state: str - """ - self._custom_state = custom_state - - @property - def force_authentication(self): - r"""Gets the force_authentication of this GetResourceOauth2TokenRequestBody. - - Whether to initiate a new 3LO flow regardless of existing sessions - - :return: The force_authentication of this GetResourceOauth2TokenRequestBody. - :rtype: bool - """ - return self._force_authentication - - @force_authentication.setter - def force_authentication(self, force_authentication): - r"""Sets the force_authentication of this GetResourceOauth2TokenRequestBody. - - Whether to initiate a new 3LO flow regardless of existing sessions - - :param force_authentication: The force_authentication of this GetResourceOauth2TokenRequestBody. - :type force_authentication: bool - """ - self._force_authentication = force_authentication - - @property - def oauth2_flow(self): - r"""Gets the oauth2_flow of this GetResourceOauth2TokenRequestBody. - - Type of OAuth2 flow to perform - - :return: The oauth2_flow of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._oauth2_flow - - @oauth2_flow.setter - def oauth2_flow(self, oauth2_flow): - r"""Sets the oauth2_flow of this GetResourceOauth2TokenRequestBody. - - Type of OAuth2 flow to perform - - :param oauth2_flow: The oauth2_flow of this GetResourceOauth2TokenRequestBody. - :type oauth2_flow: str - """ - self._oauth2_flow = oauth2_flow - - @property - def resource_credential_provider_name(self): - r"""Gets the resource_credential_provider_name of this GetResourceOauth2TokenRequestBody. - - Name of the resource's credential provider - - :return: The resource_credential_provider_name of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._resource_credential_provider_name - - @resource_credential_provider_name.setter - def resource_credential_provider_name(self, resource_credential_provider_name): - r"""Sets the resource_credential_provider_name of this GetResourceOauth2TokenRequestBody. - - Name of the resource's credential provider - - :param resource_credential_provider_name: The resource_credential_provider_name of this GetResourceOauth2TokenRequestBody. - :type resource_credential_provider_name: str - """ - self._resource_credential_provider_name = resource_credential_provider_name - - @property - def resource_oauth2_return_url(self): - r"""Gets the resource_oauth2_return_url of this GetResourceOauth2TokenRequestBody. - - Callback URL to redirect after token retrieval (must be configured for workload identity) - - :return: The resource_oauth2_return_url of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._resource_oauth2_return_url - - @resource_oauth2_return_url.setter - def resource_oauth2_return_url(self, resource_oauth2_return_url): - r"""Sets the resource_oauth2_return_url of this GetResourceOauth2TokenRequestBody. - - Callback URL to redirect after token retrieval (must be configured for workload identity) - - :param resource_oauth2_return_url: The resource_oauth2_return_url of this GetResourceOauth2TokenRequestBody. - :type resource_oauth2_return_url: str - """ - self._resource_oauth2_return_url = resource_oauth2_return_url - - @property - def scopes(self): - r"""Gets the scopes of this GetResourceOauth2TokenRequestBody. - - OAuth scopes being requested (coarse-grained permissions, supplemented by rich_authorization_details for fine-grained control) - - :return: The scopes of this GetResourceOauth2TokenRequestBody. - :rtype: list[str] - """ - return self._scopes - - @scopes.setter - def scopes(self, scopes): - r"""Sets the scopes of this GetResourceOauth2TokenRequestBody. - - OAuth scopes being requested (coarse-grained permissions, supplemented by rich_authorization_details for fine-grained control) - - :param scopes: The scopes of this GetResourceOauth2TokenRequestBody. - :type scopes: list[str] - """ - self._scopes = scopes - - @property - def session_uri(self): - r"""Gets the session_uri of this GetResourceOauth2TokenRequestBody. - - Unique identifier for the user's authentication session (tracks OAuth2 flow state) - - :return: The session_uri of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._session_uri - - @session_uri.setter - def session_uri(self, session_uri): - r"""Sets the session_uri of this GetResourceOauth2TokenRequestBody. - - Unique identifier for the user's authentication session (tracks OAuth2 flow state) - - :param session_uri: The session_uri of this GetResourceOauth2TokenRequestBody. - :type session_uri: str - """ - self._session_uri = session_uri - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this GetResourceOauth2TokenRequestBody. - - Identity token of the workload requesting the OAuth2 token - - :return: The workload_access_token of this GetResourceOauth2TokenRequestBody. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this GetResourceOauth2TokenRequestBody. - - Identity token of the workload requesting the OAuth2 token - - :param workload_access_token: The workload_access_token of this GetResourceOauth2TokenRequestBody. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - @property - def authorization_details(self): - r"""Gets the authorization_details of this GetResourceOauth2TokenRequestBody. - - RFC 9396 Rich Authorization Request (RAR) details: fine-grained authorization metadata to enforce precise access control, compatible with both USER_FEDERATION and M2M OAuth2 flows. This replaces the limitations of broad OAuth2 scopes with resource+action level granularity - - :return: The authorization_details of this GetResourceOauth2TokenRequestBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.RichAuthorizationDetail`] - """ - return self._authorization_details - - @authorization_details.setter - def authorization_details(self, authorization_details): - r"""Sets the authorization_details of this GetResourceOauth2TokenRequestBody. - - RFC 9396 Rich Authorization Request (RAR) details: fine-grained authorization metadata to enforce precise access control, compatible with both USER_FEDERATION and M2M OAuth2 flows. This replaces the limitations of broad OAuth2 scopes with resource+action level granularity - - :param authorization_details: The authorization_details of this GetResourceOauth2TokenRequestBody. - :type authorization_details: list[:class:`huaweicloudsdkagentidentity.v1.RichAuthorizationDetail`] - """ - self._authorization_details = authorization_details - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceOauth2TokenRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_response.py deleted file mode 100644 index f9a0331..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_oauth2_token_response.py +++ /dev/null @@ -1,194 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceOauth2TokenResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "access_token": "str", - "authorization_url": "str", - "session_status": "str", - "session_uri": "str" - } - - attribute_map = { - "access_token": "access_token", - "authorization_url": "authorization_url", - "session_status": "session_status", - "session_uri": "session_uri" - } - - def __init__(self, access_token=None, authorization_url=None, session_status=None, session_uri=None): - r"""GetResourceOauth2TokenResponse - - The model defined in huaweicloud sdk - - :param access_token: OAuth2.0 access token to use (embedded with RAR authorization details claims if rich_authorization_details were requested) - :type access_token: str - :param authorization_url: URL to initiate authorization (provided when user authorization is required, includes encoded RAR details for user consent) - :type authorization_url: str - :param session_status: Status of the user's authorization session (determines next steps in OAuth2 flow) - :type session_status: str - :param session_uri: Unique identifier for the user's authentication session (matches request session_uri) - :type session_uri: str - """ - - super().__init__() - - self._access_token = None - self._authorization_url = None - self._session_status = None - self._session_uri = None - self.discriminator = None - - if access_token is not None: - self.access_token = access_token - if authorization_url is not None: - self.authorization_url = authorization_url - if session_status is not None: - self.session_status = session_status - if session_uri is not None: - self.session_uri = session_uri - - @property - def access_token(self): - r"""Gets the access_token of this GetResourceOauth2TokenResponse. - - OAuth2.0 access token to use (embedded with RAR authorization details claims if rich_authorization_details were requested) - - :return: The access_token of this GetResourceOauth2TokenResponse. - :rtype: str - """ - return self._access_token - - @access_token.setter - def access_token(self, access_token): - r"""Sets the access_token of this GetResourceOauth2TokenResponse. - - OAuth2.0 access token to use (embedded with RAR authorization details claims if rich_authorization_details were requested) - - :param access_token: The access_token of this GetResourceOauth2TokenResponse. - :type access_token: str - """ - self._access_token = access_token - - @property - def authorization_url(self): - r"""Gets the authorization_url of this GetResourceOauth2TokenResponse. - - URL to initiate authorization (provided when user authorization is required, includes encoded RAR details for user consent) - - :return: The authorization_url of this GetResourceOauth2TokenResponse. - :rtype: str - """ - return self._authorization_url - - @authorization_url.setter - def authorization_url(self, authorization_url): - r"""Sets the authorization_url of this GetResourceOauth2TokenResponse. - - URL to initiate authorization (provided when user authorization is required, includes encoded RAR details for user consent) - - :param authorization_url: The authorization_url of this GetResourceOauth2TokenResponse. - :type authorization_url: str - """ - self._authorization_url = authorization_url - - @property - def session_status(self): - r"""Gets the session_status of this GetResourceOauth2TokenResponse. - - Status of the user's authorization session (determines next steps in OAuth2 flow) - - :return: The session_status of this GetResourceOauth2TokenResponse. - :rtype: str - """ - return self._session_status - - @session_status.setter - def session_status(self, session_status): - r"""Sets the session_status of this GetResourceOauth2TokenResponse. - - Status of the user's authorization session (determines next steps in OAuth2 flow) - - :param session_status: The session_status of this GetResourceOauth2TokenResponse. - :type session_status: str - """ - self._session_status = session_status - - @property - def session_uri(self): - r"""Gets the session_uri of this GetResourceOauth2TokenResponse. - - Unique identifier for the user's authentication session (matches request session_uri) - - :return: The session_uri of this GetResourceOauth2TokenResponse. - :rtype: str - """ - return self._session_uri - - @session_uri.setter - def session_uri(self, session_uri): - r"""Sets the session_uri of this GetResourceOauth2TokenResponse. - - Unique identifier for the user's authentication session (matches request session_uri) - - :param session_uri: The session_uri of this GetResourceOauth2TokenResponse. - :type session_uri: str - """ - self._session_uri = session_uri - - def to_dict(self): - import warnings - warnings.warn("GetResourceOauth2TokenResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceOauth2TokenResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request.py deleted file mode 100644 index 17865e7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request.py +++ /dev/null @@ -1,99 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceStsTokenRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "body": "GetResourceStsTokenRequestBody" - } - - attribute_map = { - "body": "body" - } - - def __init__(self, body=None): - r"""GetResourceStsTokenRequest - - The model defined in huaweicloud sdk - - :param body: Body of the GetResourceStsTokenRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenRequestBody` - """ - - - - self._body = None - self.discriminator = None - - if body is not None: - self.body = body - - @property - def body(self): - r"""Gets the body of this GetResourceStsTokenRequest. - - :return: The body of this GetResourceStsTokenRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenRequestBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this GetResourceStsTokenRequest. - - :param body: The body of this GetResourceStsTokenRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenRequestBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceStsTokenRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request_body.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request_body.py deleted file mode 100644 index d05f8b2..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_request_body.py +++ /dev/null @@ -1,304 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceStsTokenRequestBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "resource_credential_provider_name": "str", - "workload_access_token": "str", - "agency_session_name": "str", - "duration_seconds": "int", - "policy": "str", - "source_identity": "str", - "tags": "list[StsTag]", - "transitive_tag_keys": "list[str]" - } - - attribute_map = { - "resource_credential_provider_name": "resource_credential_provider_name", - "workload_access_token": "workload_access_token", - "agency_session_name": "agency_session_name", - "duration_seconds": "duration_seconds", - "policy": "policy", - "source_identity": "source_identity", - "tags": "tags", - "transitive_tag_keys": "transitive_tag_keys" - } - - def __init__(self, resource_credential_provider_name=None, workload_access_token=None, agency_session_name=None, duration_seconds=None, policy=None, source_identity=None, tags=None, transitive_tag_keys=None): - r"""GetResourceStsTokenRequestBody - - The model defined in huaweicloud sdk - - :param resource_credential_provider_name: Name of the STS credential provider to retrieve STS credentials from - :type resource_credential_provider_name: str - :param workload_access_token: Identity token of the workload requesting the STS token - :type workload_access_token: str - :param agency_session_name: An identifier for the assumed agency session - :type agency_session_name: str - :param duration_seconds: The duration, in seconds, of the agency session - :type duration_seconds: int - :param policy: An IAM policy in JSON format that you want to use as an inline session policy - :type policy: str - :param source_identity: The source identity specified by the principal that is calling the operation - :type source_identity: str - :param tags: A list of tags - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.StsTag`] - :param transitive_tag_keys: A list of keys for session tags that you want to set as transitive - :type transitive_tag_keys: list[str] - """ - - - - self._resource_credential_provider_name = None - self._workload_access_token = None - self._agency_session_name = None - self._duration_seconds = None - self._policy = None - self._source_identity = None - self._tags = None - self._transitive_tag_keys = None - self.discriminator = None - - self.resource_credential_provider_name = resource_credential_provider_name - if workload_access_token is not None: - self.workload_access_token = workload_access_token - self.agency_session_name = agency_session_name - if duration_seconds is not None: - self.duration_seconds = duration_seconds - if policy is not None: - self.policy = policy - if source_identity is not None: - self.source_identity = source_identity - if tags is not None: - self.tags = tags - if transitive_tag_keys is not None: - self.transitive_tag_keys = transitive_tag_keys - - @property - def resource_credential_provider_name(self): - r"""Gets the resource_credential_provider_name of this GetResourceStsTokenRequestBody. - - Name of the STS credential provider to retrieve STS credentials from - - :return: The resource_credential_provider_name of this GetResourceStsTokenRequestBody. - :rtype: str - """ - return self._resource_credential_provider_name - - @resource_credential_provider_name.setter - def resource_credential_provider_name(self, resource_credential_provider_name): - r"""Sets the resource_credential_provider_name of this GetResourceStsTokenRequestBody. - - Name of the STS credential provider to retrieve STS credentials from - - :param resource_credential_provider_name: The resource_credential_provider_name of this GetResourceStsTokenRequestBody. - :type resource_credential_provider_name: str - """ - self._resource_credential_provider_name = resource_credential_provider_name - - @property - def workload_access_token(self): - r"""Gets the workload_access_token of this GetResourceStsTokenRequestBody. - - Identity token of the workload requesting the STS token - - :return: The workload_access_token of this GetResourceStsTokenRequestBody. - :rtype: str - """ - return self._workload_access_token - - @workload_access_token.setter - def workload_access_token(self, workload_access_token): - r"""Sets the workload_access_token of this GetResourceStsTokenRequestBody. - - Identity token of the workload requesting the STS token - - :param workload_access_token: The workload_access_token of this GetResourceStsTokenRequestBody. - :type workload_access_token: str - """ - self._workload_access_token = workload_access_token - - @property - def agency_session_name(self): - r"""Gets the agency_session_name of this GetResourceStsTokenRequestBody. - - An identifier for the assumed agency session - - :return: The agency_session_name of this GetResourceStsTokenRequestBody. - :rtype: str - """ - return self._agency_session_name - - @agency_session_name.setter - def agency_session_name(self, agency_session_name): - r"""Sets the agency_session_name of this GetResourceStsTokenRequestBody. - - An identifier for the assumed agency session - - :param agency_session_name: The agency_session_name of this GetResourceStsTokenRequestBody. - :type agency_session_name: str - """ - self._agency_session_name = agency_session_name - - @property - def duration_seconds(self): - r"""Gets the duration_seconds of this GetResourceStsTokenRequestBody. - - The duration, in seconds, of the agency session - - :return: The duration_seconds of this GetResourceStsTokenRequestBody. - :rtype: int - """ - return self._duration_seconds - - @duration_seconds.setter - def duration_seconds(self, duration_seconds): - r"""Sets the duration_seconds of this GetResourceStsTokenRequestBody. - - The duration, in seconds, of the agency session - - :param duration_seconds: The duration_seconds of this GetResourceStsTokenRequestBody. - :type duration_seconds: int - """ - self._duration_seconds = duration_seconds - - @property - def policy(self): - r"""Gets the policy of this GetResourceStsTokenRequestBody. - - An IAM policy in JSON format that you want to use as an inline session policy - - :return: The policy of this GetResourceStsTokenRequestBody. - :rtype: str - """ - return self._policy - - @policy.setter - def policy(self, policy): - r"""Sets the policy of this GetResourceStsTokenRequestBody. - - An IAM policy in JSON format that you want to use as an inline session policy - - :param policy: The policy of this GetResourceStsTokenRequestBody. - :type policy: str - """ - self._policy = policy - - @property - def source_identity(self): - r"""Gets the source_identity of this GetResourceStsTokenRequestBody. - - The source identity specified by the principal that is calling the operation - - :return: The source_identity of this GetResourceStsTokenRequestBody. - :rtype: str - """ - return self._source_identity - - @source_identity.setter - def source_identity(self, source_identity): - r"""Sets the source_identity of this GetResourceStsTokenRequestBody. - - The source identity specified by the principal that is calling the operation - - :param source_identity: The source_identity of this GetResourceStsTokenRequestBody. - :type source_identity: str - """ - self._source_identity = source_identity - - @property - def tags(self): - r"""Gets the tags of this GetResourceStsTokenRequestBody. - - A list of tags - - :return: The tags of this GetResourceStsTokenRequestBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.StsTag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this GetResourceStsTokenRequestBody. - - A list of tags - - :param tags: The tags of this GetResourceStsTokenRequestBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.StsTag`] - """ - self._tags = tags - - @property - def transitive_tag_keys(self): - r"""Gets the transitive_tag_keys of this GetResourceStsTokenRequestBody. - - A list of keys for session tags that you want to set as transitive - - :return: The transitive_tag_keys of this GetResourceStsTokenRequestBody. - :rtype: list[str] - """ - return self._transitive_tag_keys - - @transitive_tag_keys.setter - def transitive_tag_keys(self, transitive_tag_keys): - r"""Sets the transitive_tag_keys of this GetResourceStsTokenRequestBody. - - A list of keys for session tags that you want to set as transitive - - :param transitive_tag_keys: The transitive_tag_keys of this GetResourceStsTokenRequestBody. - :type transitive_tag_keys: list[str] - """ - self._transitive_tag_keys = transitive_tag_keys - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceStsTokenRequestBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response.py deleted file mode 100644 index 624eebb..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response.py +++ /dev/null @@ -1,157 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceStsTokenResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "source_identity": "str", - "assumed_agency": "GetResourceStsTokenResponseBodyAssumedAgency", - "credentials": "GetResourceStsTokenResponseBodyCredentials" - } - - attribute_map = { - "source_identity": "source_identity", - "assumed_agency": "assumed_agency", - "credentials": "credentials" - } - - def __init__(self, source_identity=None, assumed_agency=None, credentials=None): - r"""GetResourceStsTokenResponse - - The model defined in huaweicloud sdk - - :param source_identity: The source identity specified by the principal that is calling the operation - :type source_identity: str - :param assumed_agency: - :type assumed_agency: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyAssumedAgency` - :param credentials: - :type credentials: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyCredentials` - """ - - super().__init__() - - self._source_identity = None - self._assumed_agency = None - self._credentials = None - self.discriminator = None - - if source_identity is not None: - self.source_identity = source_identity - if assumed_agency is not None: - self.assumed_agency = assumed_agency - if credentials is not None: - self.credentials = credentials - - @property - def source_identity(self): - r"""Gets the source_identity of this GetResourceStsTokenResponse. - - The source identity specified by the principal that is calling the operation - - :return: The source_identity of this GetResourceStsTokenResponse. - :rtype: str - """ - return self._source_identity - - @source_identity.setter - def source_identity(self, source_identity): - r"""Sets the source_identity of this GetResourceStsTokenResponse. - - The source identity specified by the principal that is calling the operation - - :param source_identity: The source_identity of this GetResourceStsTokenResponse. - :type source_identity: str - """ - self._source_identity = source_identity - - @property - def assumed_agency(self): - r"""Gets the assumed_agency of this GetResourceStsTokenResponse. - - :return: The assumed_agency of this GetResourceStsTokenResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyAssumedAgency` - """ - return self._assumed_agency - - @assumed_agency.setter - def assumed_agency(self, assumed_agency): - r"""Sets the assumed_agency of this GetResourceStsTokenResponse. - - :param assumed_agency: The assumed_agency of this GetResourceStsTokenResponse. - :type assumed_agency: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyAssumedAgency` - """ - self._assumed_agency = assumed_agency - - @property - def credentials(self): - r"""Gets the credentials of this GetResourceStsTokenResponse. - - :return: The credentials of this GetResourceStsTokenResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyCredentials` - """ - return self._credentials - - @credentials.setter - def credentials(self, credentials): - r"""Sets the credentials of this GetResourceStsTokenResponse. - - :param credentials: The credentials of this GetResourceStsTokenResponse. - :type credentials: :class:`huaweicloudsdkagentidentity.v1.GetResourceStsTokenResponseBodyCredentials` - """ - self._credentials = credentials - - def to_dict(self): - import warnings - warnings.warn("GetResourceStsTokenResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceStsTokenResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_assumed_agency.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_assumed_agency.py deleted file mode 100644 index 39b3173..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_assumed_agency.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceStsTokenResponseBodyAssumedAgency: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "urn": "str", - "id": "str" - } - - attribute_map = { - "urn": "urn", - "id": "id" - } - - def __init__(self, urn=None, id=None): - r"""GetResourceStsTokenResponseBodyAssumedAgency - - The model defined in huaweicloud sdk - - :param urn: The URN of the assumed agency - :type urn: str - :param id: A unique identifier that contains the agency ID and the agency session name - :type id: str - """ - - - - self._urn = None - self._id = None - self.discriminator = None - - self.urn = urn - self.id = id - - @property - def urn(self): - r"""Gets the urn of this GetResourceStsTokenResponseBodyAssumedAgency. - - The URN of the assumed agency - - :return: The urn of this GetResourceStsTokenResponseBodyAssumedAgency. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this GetResourceStsTokenResponseBodyAssumedAgency. - - The URN of the assumed agency - - :param urn: The urn of this GetResourceStsTokenResponseBodyAssumedAgency. - :type urn: str - """ - self._urn = urn - - @property - def id(self): - r"""Gets the id of this GetResourceStsTokenResponseBodyAssumedAgency. - - A unique identifier that contains the agency ID and the agency session name - - :return: The id of this GetResourceStsTokenResponseBodyAssumedAgency. - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - r"""Sets the id of this GetResourceStsTokenResponseBodyAssumedAgency. - - A unique identifier that contains the agency ID and the agency session name - - :param id: The id of this GetResourceStsTokenResponseBodyAssumedAgency. - :type id: str - """ - self._id = id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceStsTokenResponseBodyAssumedAgency): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_credentials.py b/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_credentials.py deleted file mode 100644 index af2329a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_resource_sts_token_response_body_credentials.py +++ /dev/null @@ -1,186 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetResourceStsTokenResponseBodyCredentials: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "access_key_id": "str", - "expiration": "datetime", - "secret_access_key": "str", - "security_token": "str" - } - - attribute_map = { - "access_key_id": "access_key_id", - "expiration": "expiration", - "secret_access_key": "secret_access_key", - "security_token": "security_token" - } - - def __init__(self, access_key_id=None, expiration=None, secret_access_key=None, security_token=None): - r"""GetResourceStsTokenResponseBodyCredentials - - The model defined in huaweicloud sdk - - :param access_key_id: The access key ID that identifies the temporary security credentials - :type access_key_id: str - :param expiration: The date and time on which the current credentials expire - :type expiration: datetime - :param secret_access_key: The secret access key that can be used to sign requests - :type secret_access_key: str - :param security_token: The token that users must pass to the service API to use the temporary credentials - :type security_token: str - """ - - - - self._access_key_id = None - self._expiration = None - self._secret_access_key = None - self._security_token = None - self.discriminator = None - - self.access_key_id = access_key_id - self.expiration = expiration - self.secret_access_key = secret_access_key - self.security_token = security_token - - @property - def access_key_id(self): - r"""Gets the access_key_id of this GetResourceStsTokenResponseBodyCredentials. - - The access key ID that identifies the temporary security credentials - - :return: The access_key_id of this GetResourceStsTokenResponseBodyCredentials. - :rtype: str - """ - return self._access_key_id - - @access_key_id.setter - def access_key_id(self, access_key_id): - r"""Sets the access_key_id of this GetResourceStsTokenResponseBodyCredentials. - - The access key ID that identifies the temporary security credentials - - :param access_key_id: The access_key_id of this GetResourceStsTokenResponseBodyCredentials. - :type access_key_id: str - """ - self._access_key_id = access_key_id - - @property - def expiration(self): - r"""Gets the expiration of this GetResourceStsTokenResponseBodyCredentials. - - The date and time on which the current credentials expire - - :return: The expiration of this GetResourceStsTokenResponseBodyCredentials. - :rtype: datetime - """ - return self._expiration - - @expiration.setter - def expiration(self, expiration): - r"""Sets the expiration of this GetResourceStsTokenResponseBodyCredentials. - - The date and time on which the current credentials expire - - :param expiration: The expiration of this GetResourceStsTokenResponseBodyCredentials. - :type expiration: datetime - """ - self._expiration = expiration - - @property - def secret_access_key(self): - r"""Gets the secret_access_key of this GetResourceStsTokenResponseBodyCredentials. - - The secret access key that can be used to sign requests - - :return: The secret_access_key of this GetResourceStsTokenResponseBodyCredentials. - :rtype: str - """ - return self._secret_access_key - - @secret_access_key.setter - def secret_access_key(self, secret_access_key): - r"""Sets the secret_access_key of this GetResourceStsTokenResponseBodyCredentials. - - The secret access key that can be used to sign requests - - :param secret_access_key: The secret_access_key of this GetResourceStsTokenResponseBodyCredentials. - :type secret_access_key: str - """ - self._secret_access_key = secret_access_key - - @property - def security_token(self): - r"""Gets the security_token of this GetResourceStsTokenResponseBodyCredentials. - - The token that users must pass to the service API to use the temporary credentials - - :return: The security_token of this GetResourceStsTokenResponseBodyCredentials. - :rtype: str - """ - return self._security_token - - @security_token.setter - def security_token(self, security_token): - r"""Sets the security_token of this GetResourceStsTokenResponseBodyCredentials. - - The token that users must pass to the service API to use the temporary credentials - - :param security_token: The security_token of this GetResourceStsTokenResponseBodyCredentials. - :type security_token: str - """ - self._security_token = security_token - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetResourceStsTokenResponseBodyCredentials): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_request.py deleted file mode 100644 index 5be3bd9..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetStsCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name" - } - - def __init__(self, credential_provider_name=None): - r"""GetStsCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - """ - - - - self._credential_provider_name = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this GetStsCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this GetStsCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this GetStsCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this GetStsCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetStsCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_response.py deleted file mode 100644 index 675fb12..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_sts_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetStsCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "StsCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""GetStsCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this GetStsCredentialProviderResponse. - - :return: The credential_provider of this GetStsCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this GetStsCredentialProviderResponse. - - :param credential_provider: The credential_provider of this GetStsCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("GetStsCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetStsCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_request.py deleted file mode 100644 index 746f581..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetTokenVaultRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "token_vault_id": "str" - } - - attribute_map = { - "token_vault_id": "token_vault_id" - } - - def __init__(self, token_vault_id=None): - r"""GetTokenVaultRequest - - The model defined in huaweicloud sdk - - :param token_vault_id: The unique identifier of the token vault. - :type token_vault_id: str - """ - - - - self._token_vault_id = None - self.discriminator = None - - self.token_vault_id = token_vault_id - - @property - def token_vault_id(self): - r"""Gets the token_vault_id of this GetTokenVaultRequest. - - The unique identifier of the token vault. - - :return: The token_vault_id of this GetTokenVaultRequest. - :rtype: str - """ - return self._token_vault_id - - @token_vault_id.setter - def token_vault_id(self, token_vault_id): - r"""Sets the token_vault_id of this GetTokenVaultRequest. - - The unique identifier of the token vault. - - :param token_vault_id: The token_vault_id of this GetTokenVaultRequest. - :type token_vault_id: str - """ - self._token_vault_id = token_vault_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetTokenVaultRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_response.py deleted file mode 100644 index 4c3b7cd..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_token_vault_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetTokenVaultResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "token_vault": "TokenVault" - } - - attribute_map = { - "token_vault": "token_vault" - } - - def __init__(self, token_vault=None): - r"""GetTokenVaultResponse - - The model defined in huaweicloud sdk - - :param token_vault: - :type token_vault: :class:`huaweicloudsdkagentidentity.v1.TokenVault` - """ - - super().__init__() - - self._token_vault = None - self.discriminator = None - - if token_vault is not None: - self.token_vault = token_vault - - @property - def token_vault(self): - r"""Gets the token_vault of this GetTokenVaultResponse. - - :return: The token_vault of this GetTokenVaultResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.TokenVault` - """ - return self._token_vault - - @token_vault.setter - def token_vault(self, token_vault): - r"""Sets the token_vault of this GetTokenVaultResponse. - - :param token_vault: The token_vault of this GetTokenVaultResponse. - :type token_vault: :class:`huaweicloudsdkagentidentity.v1.TokenVault` - """ - self._token_vault = token_vault - - def to_dict(self): - import warnings - warnings.warn("GetTokenVaultResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetTokenVaultResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_request.py deleted file mode 100644 index 61b96e2..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetWorkloadIdentityAuthorizerConfigurationRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_name": "str" - } - - attribute_map = { - "workload_identity_name": "workload_identity_name" - } - - def __init__(self, workload_identity_name=None): - r"""GetWorkloadIdentityAuthorizerConfigurationRequest - - The model defined in huaweicloud sdk - - :param workload_identity_name: The name of the workload identity. - :type workload_identity_name: str - """ - - - - self._workload_identity_name = None - self.discriminator = None - - self.workload_identity_name = workload_identity_name - - @property - def workload_identity_name(self): - r"""Gets the workload_identity_name of this GetWorkloadIdentityAuthorizerConfigurationRequest. - - The name of the workload identity. - - :return: The workload_identity_name of this GetWorkloadIdentityAuthorizerConfigurationRequest. - :rtype: str - """ - return self._workload_identity_name - - @workload_identity_name.setter - def workload_identity_name(self, workload_identity_name): - r"""Sets the workload_identity_name of this GetWorkloadIdentityAuthorizerConfigurationRequest. - - The name of the workload identity. - - :param workload_identity_name: The workload_identity_name of this GetWorkloadIdentityAuthorizerConfigurationRequest. - :type workload_identity_name: str - """ - self._workload_identity_name = workload_identity_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetWorkloadIdentityAuthorizerConfigurationRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_response.py deleted file mode 100644 index ea20ca7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_authorizer_configuration_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetWorkloadIdentityAuthorizerConfigurationResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_authorizer_configuration": "WorkloadIdentityAuthorizerConfiguration" - } - - attribute_map = { - "workload_identity_authorizer_configuration": "workload_identity_authorizer_configuration" - } - - def __init__(self, workload_identity_authorizer_configuration=None): - r"""GetWorkloadIdentityAuthorizerConfigurationResponse - - The model defined in huaweicloud sdk - - :param workload_identity_authorizer_configuration: - :type workload_identity_authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentityAuthorizerConfiguration` - """ - - super().__init__() - - self._workload_identity_authorizer_configuration = None - self.discriminator = None - - if workload_identity_authorizer_configuration is not None: - self.workload_identity_authorizer_configuration = workload_identity_authorizer_configuration - - @property - def workload_identity_authorizer_configuration(self): - r"""Gets the workload_identity_authorizer_configuration of this GetWorkloadIdentityAuthorizerConfigurationResponse. - - :return: The workload_identity_authorizer_configuration of this GetWorkloadIdentityAuthorizerConfigurationResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentityAuthorizerConfiguration` - """ - return self._workload_identity_authorizer_configuration - - @workload_identity_authorizer_configuration.setter - def workload_identity_authorizer_configuration(self, workload_identity_authorizer_configuration): - r"""Sets the workload_identity_authorizer_configuration of this GetWorkloadIdentityAuthorizerConfigurationResponse. - - :param workload_identity_authorizer_configuration: The workload_identity_authorizer_configuration of this GetWorkloadIdentityAuthorizerConfigurationResponse. - :type workload_identity_authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentityAuthorizerConfiguration` - """ - self._workload_identity_authorizer_configuration = workload_identity_authorizer_configuration - - def to_dict(self): - import warnings - warnings.warn("GetWorkloadIdentityAuthorizerConfigurationResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetWorkloadIdentityAuthorizerConfigurationResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_request.py b/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_request.py deleted file mode 100644 index 01ac701..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetWorkloadIdentityRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_name": "str" - } - - attribute_map = { - "workload_identity_name": "workload_identity_name" - } - - def __init__(self, workload_identity_name=None): - r"""GetWorkloadIdentityRequest - - The model defined in huaweicloud sdk - - :param workload_identity_name: The name of the workload identity. - :type workload_identity_name: str - """ - - - - self._workload_identity_name = None - self.discriminator = None - - self.workload_identity_name = workload_identity_name - - @property - def workload_identity_name(self): - r"""Gets the workload_identity_name of this GetWorkloadIdentityRequest. - - The name of the workload identity. - - :return: The workload_identity_name of this GetWorkloadIdentityRequest. - :rtype: str - """ - return self._workload_identity_name - - @workload_identity_name.setter - def workload_identity_name(self, workload_identity_name): - r"""Sets the workload_identity_name of this GetWorkloadIdentityRequest. - - The name of the workload identity. - - :param workload_identity_name: The workload_identity_name of this GetWorkloadIdentityRequest. - :type workload_identity_name: str - """ - self._workload_identity_name = workload_identity_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetWorkloadIdentityRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_response.py b/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_response.py deleted file mode 100644 index 1b317f3..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/get_workload_identity_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GetWorkloadIdentityResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity": "WorkloadIdentity" - } - - attribute_map = { - "workload_identity": "workload_identity" - } - - def __init__(self, workload_identity=None): - r"""GetWorkloadIdentityResponse - - The model defined in huaweicloud sdk - - :param workload_identity: - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - - super().__init__() - - self._workload_identity = None - self.discriminator = None - - if workload_identity is not None: - self.workload_identity = workload_identity - - @property - def workload_identity(self): - r"""Gets the workload_identity of this GetWorkloadIdentityResponse. - - :return: The workload_identity of this GetWorkloadIdentityResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - return self._workload_identity - - @workload_identity.setter - def workload_identity(self, workload_identity): - r"""Sets the workload_identity of this GetWorkloadIdentityResponse. - - :param workload_identity: The workload_identity of this GetWorkloadIdentityResponse. - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - self._workload_identity = workload_identity - - def to_dict(self): - import warnings - warnings.warn("GetWorkloadIdentityResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GetWorkloadIdentityResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_input.py b/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_input.py deleted file mode 100644 index 24893a0..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_input.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GithubOauth2ProviderConfigInput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "client_id": "str", - "client_secret": "str" - } - - attribute_map = { - "client_id": "client_id", - "client_secret": "client_secret" - } - - def __init__(self, client_id=None, client_secret=None): - r"""GithubOauth2ProviderConfigInput - - The model defined in huaweicloud sdk - - :param client_id: Client ID for OAuth2 application. - :type client_id: str - :param client_secret: Client secret for OAuth2 application. - :type client_secret: str - """ - - - - self._client_id = None - self._client_secret = None - self.discriminator = None - - self.client_id = client_id - self.client_secret = client_secret - - @property - def client_id(self): - r"""Gets the client_id of this GithubOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :return: The client_id of this GithubOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this GithubOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this GithubOauth2ProviderConfigInput. - :type client_id: str - """ - self._client_id = client_id - - @property - def client_secret(self): - r"""Gets the client_secret of this GithubOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :return: The client_secret of this GithubOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - r"""Sets the client_secret of this GithubOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :param client_secret: The client_secret of this GithubOauth2ProviderConfigInput. - :type client_secret: str - """ - self._client_secret = client_secret - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GithubOauth2ProviderConfigInput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_output.py b/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_output.py deleted file mode 100644 index 6674091..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/github_oauth2_provider_config_output.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GithubOauth2ProviderConfigOutput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "oauth2_discovery": "Oauth2Discovery", - "client_id": "str" - } - - attribute_map = { - "oauth2_discovery": "oauth2_discovery", - "client_id": "client_id" - } - - def __init__(self, oauth2_discovery=None, client_id=None): - r"""GithubOauth2ProviderConfigOutput - - The model defined in huaweicloud sdk - - :param oauth2_discovery: - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - :param client_id: Client ID for OAuth2 application. - :type client_id: str - """ - - - - self._oauth2_discovery = None - self._client_id = None - self.discriminator = None - - self.oauth2_discovery = oauth2_discovery - if client_id is not None: - self.client_id = client_id - - @property - def oauth2_discovery(self): - r"""Gets the oauth2_discovery of this GithubOauth2ProviderConfigOutput. - - :return: The oauth2_discovery of this GithubOauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - return self._oauth2_discovery - - @oauth2_discovery.setter - def oauth2_discovery(self, oauth2_discovery): - r"""Sets the oauth2_discovery of this GithubOauth2ProviderConfigOutput. - - :param oauth2_discovery: The oauth2_discovery of this GithubOauth2ProviderConfigOutput. - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - self._oauth2_discovery = oauth2_discovery - - @property - def client_id(self): - r"""Gets the client_id of this GithubOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :return: The client_id of this GithubOauth2ProviderConfigOutput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this GithubOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this GithubOauth2ProviderConfigOutput. - :type client_id: str - """ - self._client_id = client_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GithubOauth2ProviderConfigOutput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_input.py b/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_input.py deleted file mode 100644 index 36dc4de..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_input.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GoogleOauth2ProviderConfigInput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "client_id": "str", - "client_secret": "str" - } - - attribute_map = { - "client_id": "client_id", - "client_secret": "client_secret" - } - - def __init__(self, client_id=None, client_secret=None): - r"""GoogleOauth2ProviderConfigInput - - The model defined in huaweicloud sdk - - :param client_id: Client ID for OAuth2 application. - :type client_id: str - :param client_secret: Client secret for OAuth2 application. - :type client_secret: str - """ - - - - self._client_id = None - self._client_secret = None - self.discriminator = None - - self.client_id = client_id - self.client_secret = client_secret - - @property - def client_id(self): - r"""Gets the client_id of this GoogleOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :return: The client_id of this GoogleOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this GoogleOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this GoogleOauth2ProviderConfigInput. - :type client_id: str - """ - self._client_id = client_id - - @property - def client_secret(self): - r"""Gets the client_secret of this GoogleOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :return: The client_secret of this GoogleOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - r"""Sets the client_secret of this GoogleOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :param client_secret: The client_secret of this GoogleOauth2ProviderConfigInput. - :type client_secret: str - """ - self._client_secret = client_secret - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GoogleOauth2ProviderConfigInput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_output.py b/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_output.py deleted file mode 100644 index 39137e7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/google_oauth2_provider_config_output.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class GoogleOauth2ProviderConfigOutput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "oauth2_discovery": "Oauth2Discovery", - "client_id": "str" - } - - attribute_map = { - "oauth2_discovery": "oauth2_discovery", - "client_id": "client_id" - } - - def __init__(self, oauth2_discovery=None, client_id=None): - r"""GoogleOauth2ProviderConfigOutput - - The model defined in huaweicloud sdk - - :param oauth2_discovery: - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - :param client_id: Client ID for OAuth2 application. - :type client_id: str - """ - - - - self._oauth2_discovery = None - self._client_id = None - self.discriminator = None - - self.oauth2_discovery = oauth2_discovery - if client_id is not None: - self.client_id = client_id - - @property - def oauth2_discovery(self): - r"""Gets the oauth2_discovery of this GoogleOauth2ProviderConfigOutput. - - :return: The oauth2_discovery of this GoogleOauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - return self._oauth2_discovery - - @oauth2_discovery.setter - def oauth2_discovery(self, oauth2_discovery): - r"""Sets the oauth2_discovery of this GoogleOauth2ProviderConfigOutput. - - :param oauth2_discovery: The oauth2_discovery of this GoogleOauth2ProviderConfigOutput. - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - self._oauth2_discovery = oauth2_discovery - - @property - def client_id(self): - r"""Gets the client_id of this GoogleOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :return: The client_id of this GoogleOauth2ProviderConfigOutput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this GoogleOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this GoogleOauth2ProviderConfigOutput. - :type client_id: str - """ - self._client_id = client_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GoogleOauth2ProviderConfigOutput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/key_auth_authorizer_configuration.py b/src/huaweicloudsdkagentidentity/v1/model/key_auth_authorizer_configuration.py deleted file mode 100644 index 12922ec..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/key_auth_authorizer_configuration.py +++ /dev/null @@ -1,98 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class KeyAuthAuthorizerConfiguration: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "api_keys": "list[ApiKeyInfo]" - } - - attribute_map = { - "api_keys": "api_keys" - } - - def __init__(self, api_keys=None): - r"""KeyAuthAuthorizerConfiguration - - The model defined in huaweicloud sdk - - :param api_keys: - :type api_keys: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyInfo`] - """ - - - - self._api_keys = None - self.discriminator = None - - self.api_keys = api_keys - - @property - def api_keys(self): - r"""Gets the api_keys of this KeyAuthAuthorizerConfiguration. - - :return: The api_keys of this KeyAuthAuthorizerConfiguration. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyInfo`] - """ - return self._api_keys - - @api_keys.setter - def api_keys(self, api_keys): - r"""Sets the api_keys of this KeyAuthAuthorizerConfiguration. - - :param api_keys: The api_keys of this KeyAuthAuthorizerConfiguration. - :type api_keys: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyInfo`] - """ - self._api_keys = api_keys - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, KeyAuthAuthorizerConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/kms_configuration.py b/src/huaweicloudsdkagentidentity/v1/model/kms_configuration.py deleted file mode 100644 index 3b4b30b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/kms_configuration.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class KmsConfiguration: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "key_type": "KmsKeyType", - "kms_key_id": "str" - } - - attribute_map = { - "key_type": "key_type", - "kms_key_id": "kms_key_id" - } - - def __init__(self, key_type=None, kms_key_id=None): - r"""KmsConfiguration - - The model defined in huaweicloud sdk - - :param key_type: - :type key_type: :class:`huaweicloudsdkagentidentity.v1.KmsKeyType` - :param kms_key_id: The identifier of the KMS key used for the token vault. - :type kms_key_id: str - """ - - - - self._key_type = None - self._kms_key_id = None - self.discriminator = None - - self.key_type = key_type - if kms_key_id is not None: - self.kms_key_id = kms_key_id - - @property - def key_type(self): - r"""Gets the key_type of this KmsConfiguration. - - :return: The key_type of this KmsConfiguration. - :rtype: :class:`huaweicloudsdkagentidentity.v1.KmsKeyType` - """ - return self._key_type - - @key_type.setter - def key_type(self, key_type): - r"""Sets the key_type of this KmsConfiguration. - - :param key_type: The key_type of this KmsConfiguration. - :type key_type: :class:`huaweicloudsdkagentidentity.v1.KmsKeyType` - """ - self._key_type = key_type - - @property - def kms_key_id(self): - r"""Gets the kms_key_id of this KmsConfiguration. - - The identifier of the KMS key used for the token vault. - - :return: The kms_key_id of this KmsConfiguration. - :rtype: str - """ - return self._kms_key_id - - @kms_key_id.setter - def kms_key_id(self, kms_key_id): - r"""Sets the kms_key_id of this KmsConfiguration. - - The identifier of the KMS key used for the token vault. - - :param kms_key_id: The kms_key_id of this KmsConfiguration. - :type kms_key_id: str - """ - self._kms_key_id = kms_key_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, KmsConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/kms_key_id.py b/src/huaweicloudsdkagentidentity/v1/model/kms_key_id.py deleted file mode 100644 index b72ea9b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/kms_key_id.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class KmsKeyId: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""KmsKeyId - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, KmsKeyId): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/kms_key_type.py b/src/huaweicloudsdkagentidentity/v1/model/kms_key_type.py deleted file mode 100644 index 5ba4b3f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/kms_key_type.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class KmsKeyType: - """ - allowed enum values - """ - CUSTOMERMANAGEDKEY = "CustomerManagedKey" - SERVICEMANAGEDKEY = "ServiceManagedKey" - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""KmsKeyType - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, KmsKeyType): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/limit.py b/src/huaweicloudsdkagentidentity/v1/model/limit.py deleted file mode 100644 index 70d2c3a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/limit.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Limit: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""Limit - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Limit): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_request.py b/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_request.py deleted file mode 100644 index bcff5ea..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_request.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListApiKeyCredentialProvidersRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "limit": "int", - "marker": "str" - } - - attribute_map = { - "limit": "limit", - "marker": "marker" - } - - def __init__(self, limit=None, marker=None): - r"""ListApiKeyCredentialProvidersRequest - - The model defined in huaweicloud sdk - - :param limit: 每页显示的条目数量。 - :type limit: int - :param marker: 分页标记。 - :type marker: str - """ - - - - self._limit = None - self._marker = None - self.discriminator = None - - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def limit(self): - r"""Gets the limit of this ListApiKeyCredentialProvidersRequest. - - 每页显示的条目数量。 - - :return: The limit of this ListApiKeyCredentialProvidersRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - r"""Sets the limit of this ListApiKeyCredentialProvidersRequest. - - 每页显示的条目数量。 - - :param limit: The limit of this ListApiKeyCredentialProvidersRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - r"""Gets the marker of this ListApiKeyCredentialProvidersRequest. - - 分页标记。 - - :return: The marker of this ListApiKeyCredentialProvidersRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - r"""Sets the marker of this ListApiKeyCredentialProvidersRequest. - - 分页标记。 - - :param marker: The marker of this ListApiKeyCredentialProvidersRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListApiKeyCredentialProvidersRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_response.py b/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_response.py deleted file mode 100644 index 32648f0..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_api_key_credential_providers_response.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListApiKeyCredentialProvidersResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_providers": "list[ApiKeyCredentialProviderSummary]", - "page_info": "PageInfo" - } - - attribute_map = { - "credential_providers": "credential_providers", - "page_info": "page_info" - } - - def __init__(self, credential_providers=None, page_info=None): - r"""ListApiKeyCredentialProvidersResponse - - The model defined in huaweicloud sdk - - :param credential_providers: - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProviderSummary`] - :param page_info: - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - - super().__init__() - - self._credential_providers = None - self._page_info = None - self.discriminator = None - - if credential_providers is not None: - self.credential_providers = credential_providers - if page_info is not None: - self.page_info = page_info - - @property - def credential_providers(self): - r"""Gets the credential_providers of this ListApiKeyCredentialProvidersResponse. - - :return: The credential_providers of this ListApiKeyCredentialProvidersResponse. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProviderSummary`] - """ - return self._credential_providers - - @credential_providers.setter - def credential_providers(self, credential_providers): - r"""Sets the credential_providers of this ListApiKeyCredentialProvidersResponse. - - :param credential_providers: The credential_providers of this ListApiKeyCredentialProvidersResponse. - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProviderSummary`] - """ - self._credential_providers = credential_providers - - @property - def page_info(self): - r"""Gets the page_info of this ListApiKeyCredentialProvidersResponse. - - :return: The page_info of this ListApiKeyCredentialProvidersResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - r"""Sets the page_info of this ListApiKeyCredentialProvidersResponse. - - :param page_info: The page_info of this ListApiKeyCredentialProvidersResponse. - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - self._page_info = page_info - - def to_dict(self): - import warnings - warnings.warn("ListApiKeyCredentialProvidersResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListApiKeyCredentialProvidersResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_request.py b/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_request.py deleted file mode 100644 index f19d1e7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_request.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListOauth2CredentialProvidersRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "limit": "int", - "marker": "str" - } - - attribute_map = { - "limit": "limit", - "marker": "marker" - } - - def __init__(self, limit=None, marker=None): - r"""ListOauth2CredentialProvidersRequest - - The model defined in huaweicloud sdk - - :param limit: 每页显示的条目数量。 - :type limit: int - :param marker: 分页标记。 - :type marker: str - """ - - - - self._limit = None - self._marker = None - self.discriminator = None - - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def limit(self): - r"""Gets the limit of this ListOauth2CredentialProvidersRequest. - - 每页显示的条目数量。 - - :return: The limit of this ListOauth2CredentialProvidersRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - r"""Sets the limit of this ListOauth2CredentialProvidersRequest. - - 每页显示的条目数量。 - - :param limit: The limit of this ListOauth2CredentialProvidersRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - r"""Gets the marker of this ListOauth2CredentialProvidersRequest. - - 分页标记。 - - :return: The marker of this ListOauth2CredentialProvidersRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - r"""Sets the marker of this ListOauth2CredentialProvidersRequest. - - 分页标记。 - - :param marker: The marker of this ListOauth2CredentialProvidersRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListOauth2CredentialProvidersRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_response.py b/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_response.py deleted file mode 100644 index 52468e8..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_oauth2_credential_providers_response.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListOauth2CredentialProvidersResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_providers": "list[Oauth2CredentialProviderSummary]", - "page_info": "PageInfo" - } - - attribute_map = { - "credential_providers": "credential_providers", - "page_info": "page_info" - } - - def __init__(self, credential_providers=None, page_info=None): - r"""ListOauth2CredentialProvidersResponse - - The model defined in huaweicloud sdk - - :param credential_providers: - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProviderSummary`] - :param page_info: - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - - super().__init__() - - self._credential_providers = None - self._page_info = None - self.discriminator = None - - if credential_providers is not None: - self.credential_providers = credential_providers - if page_info is not None: - self.page_info = page_info - - @property - def credential_providers(self): - r"""Gets the credential_providers of this ListOauth2CredentialProvidersResponse. - - :return: The credential_providers of this ListOauth2CredentialProvidersResponse. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProviderSummary`] - """ - return self._credential_providers - - @credential_providers.setter - def credential_providers(self, credential_providers): - r"""Sets the credential_providers of this ListOauth2CredentialProvidersResponse. - - :param credential_providers: The credential_providers of this ListOauth2CredentialProvidersResponse. - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProviderSummary`] - """ - self._credential_providers = credential_providers - - @property - def page_info(self): - r"""Gets the page_info of this ListOauth2CredentialProvidersResponse. - - :return: The page_info of this ListOauth2CredentialProvidersResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - r"""Sets the page_info of this ListOauth2CredentialProvidersResponse. - - :param page_info: The page_info of this ListOauth2CredentialProvidersResponse. - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - self._page_info = page_info - - def to_dict(self): - import warnings - warnings.warn("ListOauth2CredentialProvidersResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListOauth2CredentialProvidersResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_request.py b/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_request.py deleted file mode 100644 index 0bc0fa8..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_request.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListStsCredentialProvidersRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "limit": "int", - "marker": "str" - } - - attribute_map = { - "limit": "limit", - "marker": "marker" - } - - def __init__(self, limit=None, marker=None): - r"""ListStsCredentialProvidersRequest - - The model defined in huaweicloud sdk - - :param limit: 每页显示的条目数量。 - :type limit: int - :param marker: 分页标记。 - :type marker: str - """ - - - - self._limit = None - self._marker = None - self.discriminator = None - - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def limit(self): - r"""Gets the limit of this ListStsCredentialProvidersRequest. - - 每页显示的条目数量。 - - :return: The limit of this ListStsCredentialProvidersRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - r"""Sets the limit of this ListStsCredentialProvidersRequest. - - 每页显示的条目数量。 - - :param limit: The limit of this ListStsCredentialProvidersRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - r"""Gets the marker of this ListStsCredentialProvidersRequest. - - 分页标记。 - - :return: The marker of this ListStsCredentialProvidersRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - r"""Sets the marker of this ListStsCredentialProvidersRequest. - - 分页标记。 - - :param marker: The marker of this ListStsCredentialProvidersRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListStsCredentialProvidersRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_response.py b/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_response.py deleted file mode 100644 index a39ba07..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_sts_credential_providers_response.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListStsCredentialProvidersResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_providers": "list[StsCredentialProviderSummary]", - "page_info": "PageInfo" - } - - attribute_map = { - "credential_providers": "credential_providers", - "page_info": "page_info" - } - - def __init__(self, credential_providers=None, page_info=None): - r"""ListStsCredentialProvidersResponse - - The model defined in huaweicloud sdk - - :param credential_providers: - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.StsCredentialProviderSummary`] - :param page_info: - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - - super().__init__() - - self._credential_providers = None - self._page_info = None - self.discriminator = None - - if credential_providers is not None: - self.credential_providers = credential_providers - if page_info is not None: - self.page_info = page_info - - @property - def credential_providers(self): - r"""Gets the credential_providers of this ListStsCredentialProvidersResponse. - - :return: The credential_providers of this ListStsCredentialProvidersResponse. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.StsCredentialProviderSummary`] - """ - return self._credential_providers - - @credential_providers.setter - def credential_providers(self, credential_providers): - r"""Sets the credential_providers of this ListStsCredentialProvidersResponse. - - :param credential_providers: The credential_providers of this ListStsCredentialProvidersResponse. - :type credential_providers: list[:class:`huaweicloudsdkagentidentity.v1.StsCredentialProviderSummary`] - """ - self._credential_providers = credential_providers - - @property - def page_info(self): - r"""Gets the page_info of this ListStsCredentialProvidersResponse. - - :return: The page_info of this ListStsCredentialProvidersResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - r"""Sets the page_info of this ListStsCredentialProvidersResponse. - - :param page_info: The page_info of this ListStsCredentialProvidersResponse. - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - self._page_info = page_info - - def to_dict(self): - import warnings - warnings.warn("ListStsCredentialProvidersResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListStsCredentialProvidersResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_request.py b/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_request.py deleted file mode 100644 index 2e287e5..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_request.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListWorkloadIdentitiesRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "limit": "int", - "marker": "str" - } - - attribute_map = { - "limit": "limit", - "marker": "marker" - } - - def __init__(self, limit=None, marker=None): - r"""ListWorkloadIdentitiesRequest - - The model defined in huaweicloud sdk - - :param limit: 每页显示的条目数量。 - :type limit: int - :param marker: 分页标记。 - :type marker: str - """ - - - - self._limit = None - self._marker = None - self.discriminator = None - - if limit is not None: - self.limit = limit - if marker is not None: - self.marker = marker - - @property - def limit(self): - r"""Gets the limit of this ListWorkloadIdentitiesRequest. - - 每页显示的条目数量。 - - :return: The limit of this ListWorkloadIdentitiesRequest. - :rtype: int - """ - return self._limit - - @limit.setter - def limit(self, limit): - r"""Sets the limit of this ListWorkloadIdentitiesRequest. - - 每页显示的条目数量。 - - :param limit: The limit of this ListWorkloadIdentitiesRequest. - :type limit: int - """ - self._limit = limit - - @property - def marker(self): - r"""Gets the marker of this ListWorkloadIdentitiesRequest. - - 分页标记。 - - :return: The marker of this ListWorkloadIdentitiesRequest. - :rtype: str - """ - return self._marker - - @marker.setter - def marker(self, marker): - r"""Sets the marker of this ListWorkloadIdentitiesRequest. - - 分页标记。 - - :param marker: The marker of this ListWorkloadIdentitiesRequest. - :type marker: str - """ - self._marker = marker - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListWorkloadIdentitiesRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_response.py b/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_response.py deleted file mode 100644 index ac1136c..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/list_workload_identities_response.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class ListWorkloadIdentitiesResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identities": "list[WorkloadIdentitySummary]", - "page_info": "PageInfo" - } - - attribute_map = { - "workload_identities": "workload_identities", - "page_info": "page_info" - } - - def __init__(self, workload_identities=None, page_info=None): - r"""ListWorkloadIdentitiesResponse - - The model defined in huaweicloud sdk - - :param workload_identities: - :type workload_identities: list[:class:`huaweicloudsdkagentidentity.v1.WorkloadIdentitySummary`] - :param page_info: - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - - super().__init__() - - self._workload_identities = None - self._page_info = None - self.discriminator = None - - if workload_identities is not None: - self.workload_identities = workload_identities - if page_info is not None: - self.page_info = page_info - - @property - def workload_identities(self): - r"""Gets the workload_identities of this ListWorkloadIdentitiesResponse. - - :return: The workload_identities of this ListWorkloadIdentitiesResponse. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.WorkloadIdentitySummary`] - """ - return self._workload_identities - - @workload_identities.setter - def workload_identities(self, workload_identities): - r"""Sets the workload_identities of this ListWorkloadIdentitiesResponse. - - :param workload_identities: The workload_identities of this ListWorkloadIdentitiesResponse. - :type workload_identities: list[:class:`huaweicloudsdkagentidentity.v1.WorkloadIdentitySummary`] - """ - self._workload_identities = workload_identities - - @property - def page_info(self): - r"""Gets the page_info of this ListWorkloadIdentitiesResponse. - - :return: The page_info of this ListWorkloadIdentitiesResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - return self._page_info - - @page_info.setter - def page_info(self, page_info): - r"""Sets the page_info of this ListWorkloadIdentitiesResponse. - - :param page_info: The page_info of this ListWorkloadIdentitiesResponse. - :type page_info: :class:`huaweicloudsdkagentidentity.v1.PageInfo` - """ - self._page_info = page_info - - def to_dict(self): - import warnings - warnings.warn("ListWorkloadIdentitiesResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, ListWorkloadIdentitiesResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/marker.py b/src/huaweicloudsdkagentidentity/v1/model/marker.py deleted file mode 100644 index 9ba6e9f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/marker.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Marker: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""Marker - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Marker): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_input.py b/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_input.py deleted file mode 100644 index 405e333..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_input.py +++ /dev/null @@ -1,158 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class MicrosoftOauth2ProviderConfigInput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "client_id": "str", - "client_secret": "str", - "tenant_id": "str" - } - - attribute_map = { - "client_id": "client_id", - "client_secret": "client_secret", - "tenant_id": "tenant_id" - } - - def __init__(self, client_id=None, client_secret=None, tenant_id=None): - r"""MicrosoftOauth2ProviderConfigInput - - The model defined in huaweicloud sdk - - :param client_id: Client ID for OAuth2 application. - :type client_id: str - :param client_secret: Client secret for OAuth2 application. - :type client_secret: str - :param tenant_id: The tenant ID for the Microsoft OAuth2 provider. - :type tenant_id: str - """ - - - - self._client_id = None - self._client_secret = None - self._tenant_id = None - self.discriminator = None - - self.client_id = client_id - self.client_secret = client_secret - self.tenant_id = tenant_id - - @property - def client_id(self): - r"""Gets the client_id of this MicrosoftOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :return: The client_id of this MicrosoftOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this MicrosoftOauth2ProviderConfigInput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this MicrosoftOauth2ProviderConfigInput. - :type client_id: str - """ - self._client_id = client_id - - @property - def client_secret(self): - r"""Gets the client_secret of this MicrosoftOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :return: The client_secret of this MicrosoftOauth2ProviderConfigInput. - :rtype: str - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - r"""Sets the client_secret of this MicrosoftOauth2ProviderConfigInput. - - Client secret for OAuth2 application. - - :param client_secret: The client_secret of this MicrosoftOauth2ProviderConfigInput. - :type client_secret: str - """ - self._client_secret = client_secret - - @property - def tenant_id(self): - r"""Gets the tenant_id of this MicrosoftOauth2ProviderConfigInput. - - The tenant ID for the Microsoft OAuth2 provider. - - :return: The tenant_id of this MicrosoftOauth2ProviderConfigInput. - :rtype: str - """ - return self._tenant_id - - @tenant_id.setter - def tenant_id(self, tenant_id): - r"""Sets the tenant_id of this MicrosoftOauth2ProviderConfigInput. - - The tenant ID for the Microsoft OAuth2 provider. - - :param tenant_id: The tenant_id of this MicrosoftOauth2ProviderConfigInput. - :type tenant_id: str - """ - self._tenant_id = tenant_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MicrosoftOauth2ProviderConfigInput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_output.py b/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_output.py deleted file mode 100644 index d6129bb..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/microsoft_oauth2_provider_config_output.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class MicrosoftOauth2ProviderConfigOutput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "oauth2_discovery": "Oauth2Discovery", - "client_id": "str" - } - - attribute_map = { - "oauth2_discovery": "oauth2_discovery", - "client_id": "client_id" - } - - def __init__(self, oauth2_discovery=None, client_id=None): - r"""MicrosoftOauth2ProviderConfigOutput - - The model defined in huaweicloud sdk - - :param oauth2_discovery: - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - :param client_id: Client ID for OAuth2 application. - :type client_id: str - """ - - - - self._oauth2_discovery = None - self._client_id = None - self.discriminator = None - - self.oauth2_discovery = oauth2_discovery - if client_id is not None: - self.client_id = client_id - - @property - def oauth2_discovery(self): - r"""Gets the oauth2_discovery of this MicrosoftOauth2ProviderConfigOutput. - - :return: The oauth2_discovery of this MicrosoftOauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - return self._oauth2_discovery - - @oauth2_discovery.setter - def oauth2_discovery(self, oauth2_discovery): - r"""Sets the oauth2_discovery of this MicrosoftOauth2ProviderConfigOutput. - - :param oauth2_discovery: The oauth2_discovery of this MicrosoftOauth2ProviderConfigOutput. - :type oauth2_discovery: :class:`huaweicloudsdkagentidentity.v1.Oauth2Discovery` - """ - self._oauth2_discovery = oauth2_discovery - - @property - def client_id(self): - r"""Gets the client_id of this MicrosoftOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :return: The client_id of this MicrosoftOauth2ProviderConfigOutput. - :rtype: str - """ - return self._client_id - - @client_id.setter - def client_id(self, client_id): - r"""Sets the client_id of this MicrosoftOauth2ProviderConfigOutput. - - Client ID for OAuth2 application. - - :param client_id: The client_id of this MicrosoftOauth2ProviderConfigOutput. - :type client_id: str - """ - self._client_id = client_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MicrosoftOauth2ProviderConfigOutput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorization_server_metadata.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorization_server_metadata.py deleted file mode 100644 index 5f7a944..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorization_server_metadata.py +++ /dev/null @@ -1,216 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2AuthorizationServerMetadata: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "authorization_endpoint": "str", - "issuer": "str", - "token_endpoint": "str", - "response_types": "list[str]", - "token_endpoint_auth_methods": "list[str]" - } - - attribute_map = { - "authorization_endpoint": "authorization_endpoint", - "issuer": "issuer", - "token_endpoint": "token_endpoint", - "response_types": "response_types", - "token_endpoint_auth_methods": "token_endpoint_auth_methods" - } - - def __init__(self, authorization_endpoint=None, issuer=None, token_endpoint=None, response_types=None, token_endpoint_auth_methods=None): - r"""Oauth2AuthorizationServerMetadata - - The model defined in huaweicloud sdk - - :param authorization_endpoint: Authorization endpoint of the authorization server. - :type authorization_endpoint: str - :param issuer: Issuer identifier of the authorization server. - :type issuer: str - :param token_endpoint: Token endpoint of the authorization server. - :type token_endpoint: str - :param response_types: Supported response types. - :type response_types: list[str] - :param token_endpoint_auth_methods: Client authentication methods supported by the token endpoint. - :type token_endpoint_auth_methods: list[str] - """ - - - - self._authorization_endpoint = None - self._issuer = None - self._token_endpoint = None - self._response_types = None - self._token_endpoint_auth_methods = None - self.discriminator = None - - self.authorization_endpoint = authorization_endpoint - self.issuer = issuer - self.token_endpoint = token_endpoint - if response_types is not None: - self.response_types = response_types - if token_endpoint_auth_methods is not None: - self.token_endpoint_auth_methods = token_endpoint_auth_methods - - @property - def authorization_endpoint(self): - r"""Gets the authorization_endpoint of this Oauth2AuthorizationServerMetadata. - - Authorization endpoint of the authorization server. - - :return: The authorization_endpoint of this Oauth2AuthorizationServerMetadata. - :rtype: str - """ - return self._authorization_endpoint - - @authorization_endpoint.setter - def authorization_endpoint(self, authorization_endpoint): - r"""Sets the authorization_endpoint of this Oauth2AuthorizationServerMetadata. - - Authorization endpoint of the authorization server. - - :param authorization_endpoint: The authorization_endpoint of this Oauth2AuthorizationServerMetadata. - :type authorization_endpoint: str - """ - self._authorization_endpoint = authorization_endpoint - - @property - def issuer(self): - r"""Gets the issuer of this Oauth2AuthorizationServerMetadata. - - Issuer identifier of the authorization server. - - :return: The issuer of this Oauth2AuthorizationServerMetadata. - :rtype: str - """ - return self._issuer - - @issuer.setter - def issuer(self, issuer): - r"""Sets the issuer of this Oauth2AuthorizationServerMetadata. - - Issuer identifier of the authorization server. - - :param issuer: The issuer of this Oauth2AuthorizationServerMetadata. - :type issuer: str - """ - self._issuer = issuer - - @property - def token_endpoint(self): - r"""Gets the token_endpoint of this Oauth2AuthorizationServerMetadata. - - Token endpoint of the authorization server. - - :return: The token_endpoint of this Oauth2AuthorizationServerMetadata. - :rtype: str - """ - return self._token_endpoint - - @token_endpoint.setter - def token_endpoint(self, token_endpoint): - r"""Sets the token_endpoint of this Oauth2AuthorizationServerMetadata. - - Token endpoint of the authorization server. - - :param token_endpoint: The token_endpoint of this Oauth2AuthorizationServerMetadata. - :type token_endpoint: str - """ - self._token_endpoint = token_endpoint - - @property - def response_types(self): - r"""Gets the response_types of this Oauth2AuthorizationServerMetadata. - - Supported response types. - - :return: The response_types of this Oauth2AuthorizationServerMetadata. - :rtype: list[str] - """ - return self._response_types - - @response_types.setter - def response_types(self, response_types): - r"""Sets the response_types of this Oauth2AuthorizationServerMetadata. - - Supported response types. - - :param response_types: The response_types of this Oauth2AuthorizationServerMetadata. - :type response_types: list[str] - """ - self._response_types = response_types - - @property - def token_endpoint_auth_methods(self): - r"""Gets the token_endpoint_auth_methods of this Oauth2AuthorizationServerMetadata. - - Client authentication methods supported by the token endpoint. - - :return: The token_endpoint_auth_methods of this Oauth2AuthorizationServerMetadata. - :rtype: list[str] - """ - return self._token_endpoint_auth_methods - - @token_endpoint_auth_methods.setter - def token_endpoint_auth_methods(self, token_endpoint_auth_methods): - r"""Sets the token_endpoint_auth_methods of this Oauth2AuthorizationServerMetadata. - - Client authentication methods supported by the token endpoint. - - :param token_endpoint_auth_methods: The token_endpoint_auth_methods of this Oauth2AuthorizationServerMetadata. - :type token_endpoint_auth_methods: list[str] - """ - self._token_endpoint_auth_methods = token_endpoint_auth_methods - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2AuthorizationServerMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_request.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_request.py deleted file mode 100644 index 5e7e69b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_request.py +++ /dev/null @@ -1,102 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2AuthorizeRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "request_uri": "str" - } - - attribute_map = { - "request_uri": "request_uri" - } - - def __init__(self, request_uri=None): - r"""Oauth2AuthorizeRequest - - The model defined in huaweicloud sdk - - :param request_uri: OAuth 2.0 PAR standard request URI, references authorization parameters for the OAuth2 flow - :type request_uri: str - """ - - - - self._request_uri = None - self.discriminator = None - - self.request_uri = request_uri - - @property - def request_uri(self): - r"""Gets the request_uri of this Oauth2AuthorizeRequest. - - OAuth 2.0 PAR standard request URI, references authorization parameters for the OAuth2 flow - - :return: The request_uri of this Oauth2AuthorizeRequest. - :rtype: str - """ - return self._request_uri - - @request_uri.setter - def request_uri(self, request_uri): - r"""Sets the request_uri of this Oauth2AuthorizeRequest. - - OAuth 2.0 PAR standard request URI, references authorization parameters for the OAuth2 flow - - :param request_uri: The request_uri of this Oauth2AuthorizeRequest. - :type request_uri: str - """ - self._request_uri = request_uri - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2AuthorizeRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_response.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_response.py deleted file mode 100644 index d56fbfc..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_authorize_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2AuthorizeResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""Oauth2AuthorizeResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("Oauth2AuthorizeResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2AuthorizeResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_request.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_request.py deleted file mode 100644 index 5add1ef..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_request.py +++ /dev/null @@ -1,217 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2CallbackRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_id": "str", - "code": "str", - "state": "str", - "error": "str", - "error_description": "str" - } - - attribute_map = { - "credential_provider_id": "credential_provider_id", - "code": "code", - "state": "state", - "error": "error", - "error_description": "error_description" - } - - def __init__(self, credential_provider_id=None, code=None, state=None, error=None, error_description=None): - r"""Oauth2CallbackRequest - - The model defined in huaweicloud sdk - - :param credential_provider_id: Unique identifier of the credential provider - :type credential_provider_id: str - :param code: OAuth2.0 Standard Authorization Code - one-time use, short-lived token for access token exchange. Present ONLY on successful authorization. - :type code: str - :param state: OAuth2.0 Standard CSRF Protection State - opaque string, echo of original request state. PRESENT FOR BOTH SUCCESS AND ERROR. - :type state: str - :param error: OAuth2.0 Standard Error Code - present ONLY on authorization failure (denial/expiry/invalid). e.g. access_denied, invalid_scope, server_error - :type error: str - :param error_description: OAuth2.0 Standard Error Description - human-readable error message, paired with error param, URL-encoded for safe transmission - :type error_description: str - """ - - - - self._credential_provider_id = None - self._code = None - self._state = None - self._error = None - self._error_description = None - self.discriminator = None - - self.credential_provider_id = credential_provider_id - if code is not None: - self.code = code - self.state = state - if error is not None: - self.error = error - if error_description is not None: - self.error_description = error_description - - @property - def credential_provider_id(self): - r"""Gets the credential_provider_id of this Oauth2CallbackRequest. - - Unique identifier of the credential provider - - :return: The credential_provider_id of this Oauth2CallbackRequest. - :rtype: str - """ - return self._credential_provider_id - - @credential_provider_id.setter - def credential_provider_id(self, credential_provider_id): - r"""Sets the credential_provider_id of this Oauth2CallbackRequest. - - Unique identifier of the credential provider - - :param credential_provider_id: The credential_provider_id of this Oauth2CallbackRequest. - :type credential_provider_id: str - """ - self._credential_provider_id = credential_provider_id - - @property - def code(self): - r"""Gets the code of this Oauth2CallbackRequest. - - OAuth2.0 Standard Authorization Code - one-time use, short-lived token for access token exchange. Present ONLY on successful authorization. - - :return: The code of this Oauth2CallbackRequest. - :rtype: str - """ - return self._code - - @code.setter - def code(self, code): - r"""Sets the code of this Oauth2CallbackRequest. - - OAuth2.0 Standard Authorization Code - one-time use, short-lived token for access token exchange. Present ONLY on successful authorization. - - :param code: The code of this Oauth2CallbackRequest. - :type code: str - """ - self._code = code - - @property - def state(self): - r"""Gets the state of this Oauth2CallbackRequest. - - OAuth2.0 Standard CSRF Protection State - opaque string, echo of original request state. PRESENT FOR BOTH SUCCESS AND ERROR. - - :return: The state of this Oauth2CallbackRequest. - :rtype: str - """ - return self._state - - @state.setter - def state(self, state): - r"""Sets the state of this Oauth2CallbackRequest. - - OAuth2.0 Standard CSRF Protection State - opaque string, echo of original request state. PRESENT FOR BOTH SUCCESS AND ERROR. - - :param state: The state of this Oauth2CallbackRequest. - :type state: str - """ - self._state = state - - @property - def error(self): - r"""Gets the error of this Oauth2CallbackRequest. - - OAuth2.0 Standard Error Code - present ONLY on authorization failure (denial/expiry/invalid). e.g. access_denied, invalid_scope, server_error - - :return: The error of this Oauth2CallbackRequest. - :rtype: str - """ - return self._error - - @error.setter - def error(self, error): - r"""Sets the error of this Oauth2CallbackRequest. - - OAuth2.0 Standard Error Code - present ONLY on authorization failure (denial/expiry/invalid). e.g. access_denied, invalid_scope, server_error - - :param error: The error of this Oauth2CallbackRequest. - :type error: str - """ - self._error = error - - @property - def error_description(self): - r"""Gets the error_description of this Oauth2CallbackRequest. - - OAuth2.0 Standard Error Description - human-readable error message, paired with error param, URL-encoded for safe transmission - - :return: The error_description of this Oauth2CallbackRequest. - :rtype: str - """ - return self._error_description - - @error_description.setter - def error_description(self, error_description): - r"""Sets the error_description of this Oauth2CallbackRequest. - - OAuth2.0 Standard Error Description - human-readable error message, paired with error param, URL-encoded for safe transmission - - :param error_description: The error_description of this Oauth2CallbackRequest. - :type error_description: str - """ - self._error_description = error_description - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2CallbackRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_response.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_response.py deleted file mode 100644 index 95a439b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_callback_response.py +++ /dev/null @@ -1,76 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2CallbackResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""Oauth2CallbackResponse - - The model defined in huaweicloud sdk - - """ - - super().__init__() - self.discriminator = None - - def to_dict(self): - import warnings - warnings.warn("Oauth2CallbackResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2CallbackResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider.py deleted file mode 100644 index fb454cd..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider.py +++ /dev/null @@ -1,316 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2CredentialProvider: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "credential_provider_vendor": "CredentialProviderVendor", - "client_secret": "Secret", - "callback_url": "str", - "created_at": "datetime", - "updated_at": "datetime", - "oauth2_provider_config_output": "Oauth2ProviderConfigOutput", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "credential_provider_vendor": "credential_provider_vendor", - "client_secret": "client_secret", - "callback_url": "callback_url", - "created_at": "created_at", - "updated_at": "updated_at", - "oauth2_provider_config_output": "oauth2_provider_config_output", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, credential_provider_vendor=None, client_secret=None, callback_url=None, created_at=None, updated_at=None, oauth2_provider_config_output=None, tags=None): - r"""Oauth2CredentialProvider - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: 凭证提供者的唯一资源名称(URN)。 - :type urn: str - :param credential_provider_vendor: - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - :param client_secret: - :type client_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - :param callback_url: OAuth2 提供方认证完成后跳转回调的 URL。 - :type callback_url: str - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param oauth2_provider_config_output: - :type oauth2_provider_config_output: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigOutput` - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._credential_provider_vendor = None - self._client_secret = None - self._callback_url = None - self._created_at = None - self._updated_at = None - self._oauth2_provider_config_output = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.credential_provider_vendor = credential_provider_vendor - self.client_secret = client_secret - self.callback_url = callback_url - self.created_at = created_at - self.updated_at = updated_at - if oauth2_provider_config_output is not None: - self.oauth2_provider_config_output = oauth2_provider_config_output - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this Oauth2CredentialProvider. - - The name of the credential provider. - - :return: The name of this Oauth2CredentialProvider. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this Oauth2CredentialProvider. - - The name of the credential provider. - - :param name: The name of this Oauth2CredentialProvider. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this Oauth2CredentialProvider. - - 凭证提供者的唯一资源名称(URN)。 - - :return: The urn of this Oauth2CredentialProvider. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this Oauth2CredentialProvider. - - 凭证提供者的唯一资源名称(URN)。 - - :param urn: The urn of this Oauth2CredentialProvider. - :type urn: str - """ - self._urn = urn - - @property - def credential_provider_vendor(self): - r"""Gets the credential_provider_vendor of this Oauth2CredentialProvider. - - :return: The credential_provider_vendor of this Oauth2CredentialProvider. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - return self._credential_provider_vendor - - @credential_provider_vendor.setter - def credential_provider_vendor(self, credential_provider_vendor): - r"""Sets the credential_provider_vendor of this Oauth2CredentialProvider. - - :param credential_provider_vendor: The credential_provider_vendor of this Oauth2CredentialProvider. - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - self._credential_provider_vendor = credential_provider_vendor - - @property - def client_secret(self): - r"""Gets the client_secret of this Oauth2CredentialProvider. - - :return: The client_secret of this Oauth2CredentialProvider. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - return self._client_secret - - @client_secret.setter - def client_secret(self, client_secret): - r"""Sets the client_secret of this Oauth2CredentialProvider. - - :param client_secret: The client_secret of this Oauth2CredentialProvider. - :type client_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - self._client_secret = client_secret - - @property - def callback_url(self): - r"""Gets the callback_url of this Oauth2CredentialProvider. - - OAuth2 提供方认证完成后跳转回调的 URL。 - - :return: The callback_url of this Oauth2CredentialProvider. - :rtype: str - """ - return self._callback_url - - @callback_url.setter - def callback_url(self, callback_url): - r"""Sets the callback_url of this Oauth2CredentialProvider. - - OAuth2 提供方认证完成后跳转回调的 URL。 - - :param callback_url: The callback_url of this Oauth2CredentialProvider. - :type callback_url: str - """ - self._callback_url = callback_url - - @property - def created_at(self): - r"""Gets the created_at of this Oauth2CredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this Oauth2CredentialProvider. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this Oauth2CredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this Oauth2CredentialProvider. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this Oauth2CredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this Oauth2CredentialProvider. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this Oauth2CredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this Oauth2CredentialProvider. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def oauth2_provider_config_output(self): - r"""Gets the oauth2_provider_config_output of this Oauth2CredentialProvider. - - :return: The oauth2_provider_config_output of this Oauth2CredentialProvider. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigOutput` - """ - return self._oauth2_provider_config_output - - @oauth2_provider_config_output.setter - def oauth2_provider_config_output(self, oauth2_provider_config_output): - r"""Sets the oauth2_provider_config_output of this Oauth2CredentialProvider. - - :param oauth2_provider_config_output: The oauth2_provider_config_output of this Oauth2CredentialProvider. - :type oauth2_provider_config_output: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigOutput` - """ - self._oauth2_provider_config_output = oauth2_provider_config_output - - @property - def tags(self): - r"""Gets the tags of this Oauth2CredentialProvider. - - 自定义标签列表。 - - :return: The tags of this Oauth2CredentialProvider. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this Oauth2CredentialProvider. - - 自定义标签列表。 - - :param tags: The tags of this Oauth2CredentialProvider. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2CredentialProvider): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider_summary.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider_summary.py deleted file mode 100644 index ed2e0c1..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_credential_provider_summary.py +++ /dev/null @@ -1,239 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2CredentialProviderSummary: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "credential_provider_vendor": "CredentialProviderVendor", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "credential_provider_vendor": "credential_provider_vendor", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, credential_provider_vendor=None, created_at=None, updated_at=None, tags=None): - r"""Oauth2CredentialProviderSummary - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: 凭证提供者的唯一资源名称(URN)。 - :type urn: str - :param credential_provider_vendor: - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._credential_provider_vendor = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.credential_provider_vendor = credential_provider_vendor - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this Oauth2CredentialProviderSummary. - - The name of the credential provider. - - :return: The name of this Oauth2CredentialProviderSummary. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this Oauth2CredentialProviderSummary. - - The name of the credential provider. - - :param name: The name of this Oauth2CredentialProviderSummary. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this Oauth2CredentialProviderSummary. - - 凭证提供者的唯一资源名称(URN)。 - - :return: The urn of this Oauth2CredentialProviderSummary. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this Oauth2CredentialProviderSummary. - - 凭证提供者的唯一资源名称(URN)。 - - :param urn: The urn of this Oauth2CredentialProviderSummary. - :type urn: str - """ - self._urn = urn - - @property - def credential_provider_vendor(self): - r"""Gets the credential_provider_vendor of this Oauth2CredentialProviderSummary. - - :return: The credential_provider_vendor of this Oauth2CredentialProviderSummary. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - return self._credential_provider_vendor - - @credential_provider_vendor.setter - def credential_provider_vendor(self, credential_provider_vendor): - r"""Sets the credential_provider_vendor of this Oauth2CredentialProviderSummary. - - :param credential_provider_vendor: The credential_provider_vendor of this Oauth2CredentialProviderSummary. - :type credential_provider_vendor: :class:`huaweicloudsdkagentidentity.v1.CredentialProviderVendor` - """ - self._credential_provider_vendor = credential_provider_vendor - - @property - def created_at(self): - r"""Gets the created_at of this Oauth2CredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this Oauth2CredentialProviderSummary. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this Oauth2CredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this Oauth2CredentialProviderSummary. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this Oauth2CredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this Oauth2CredentialProviderSummary. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this Oauth2CredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this Oauth2CredentialProviderSummary. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this Oauth2CredentialProviderSummary. - - 自定义标签列表。 - - :return: The tags of this Oauth2CredentialProviderSummary. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this Oauth2CredentialProviderSummary. - - 自定义标签列表。 - - :param tags: The tags of this Oauth2CredentialProviderSummary. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2CredentialProviderSummary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_discovery.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_discovery.py deleted file mode 100644 index f7f4616..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_discovery.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2Discovery: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "discovery_url": "str", - "authorization_server_metadata": "Oauth2AuthorizationServerMetadata" - } - - attribute_map = { - "discovery_url": "discovery_url", - "authorization_server_metadata": "authorization_server_metadata" - } - - def __init__(self, discovery_url=None, authorization_server_metadata=None): - r"""Oauth2Discovery - - The model defined in huaweicloud sdk - - :param discovery_url: This URL is used to fetch OpenID Connect configuration. - :type discovery_url: str - :param authorization_server_metadata: - :type authorization_server_metadata: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizationServerMetadata` - """ - - - - self._discovery_url = None - self._authorization_server_metadata = None - self.discriminator = None - - if discovery_url is not None: - self.discovery_url = discovery_url - if authorization_server_metadata is not None: - self.authorization_server_metadata = authorization_server_metadata - - @property - def discovery_url(self): - r"""Gets the discovery_url of this Oauth2Discovery. - - This URL is used to fetch OpenID Connect configuration. - - :return: The discovery_url of this Oauth2Discovery. - :rtype: str - """ - return self._discovery_url - - @discovery_url.setter - def discovery_url(self, discovery_url): - r"""Sets the discovery_url of this Oauth2Discovery. - - This URL is used to fetch OpenID Connect configuration. - - :param discovery_url: The discovery_url of this Oauth2Discovery. - :type discovery_url: str - """ - self._discovery_url = discovery_url - - @property - def authorization_server_metadata(self): - r"""Gets the authorization_server_metadata of this Oauth2Discovery. - - :return: The authorization_server_metadata of this Oauth2Discovery. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizationServerMetadata` - """ - return self._authorization_server_metadata - - @authorization_server_metadata.setter - def authorization_server_metadata(self, authorization_server_metadata): - r"""Sets the authorization_server_metadata of this Oauth2Discovery. - - :param authorization_server_metadata: The authorization_server_metadata of this Oauth2Discovery. - :type authorization_server_metadata: :class:`huaweicloudsdkagentidentity.v1.Oauth2AuthorizationServerMetadata` - """ - self._authorization_server_metadata = authorization_server_metadata - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2Discovery): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_input.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_input.py deleted file mode 100644 index d2979d6..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_input.py +++ /dev/null @@ -1,174 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2ProviderConfigInput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "microsoft_oauth2_provider_config": "MicrosoftOauth2ProviderConfigInput", - "google_oauth2_provider_config": "GoogleOauth2ProviderConfigInput", - "github_oauth2_provider_config": "GithubOauth2ProviderConfigInput", - "custom_oauth2_provider_config": "CustomOauth2ProviderConfigInput" - } - - attribute_map = { - "microsoft_oauth2_provider_config": "microsoft_oauth2_provider_config", - "google_oauth2_provider_config": "google_oauth2_provider_config", - "github_oauth2_provider_config": "github_oauth2_provider_config", - "custom_oauth2_provider_config": "custom_oauth2_provider_config" - } - - def __init__(self, microsoft_oauth2_provider_config=None, google_oauth2_provider_config=None, github_oauth2_provider_config=None, custom_oauth2_provider_config=None): - r"""Oauth2ProviderConfigInput - - The model defined in huaweicloud sdk - - :param microsoft_oauth2_provider_config: - :type microsoft_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigInput` - :param google_oauth2_provider_config: - :type google_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigInput` - :param github_oauth2_provider_config: - :type github_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigInput` - :param custom_oauth2_provider_config: - :type custom_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigInput` - """ - - - - self._microsoft_oauth2_provider_config = None - self._google_oauth2_provider_config = None - self._github_oauth2_provider_config = None - self._custom_oauth2_provider_config = None - self.discriminator = None - - if microsoft_oauth2_provider_config is not None: - self.microsoft_oauth2_provider_config = microsoft_oauth2_provider_config - if google_oauth2_provider_config is not None: - self.google_oauth2_provider_config = google_oauth2_provider_config - if github_oauth2_provider_config is not None: - self.github_oauth2_provider_config = github_oauth2_provider_config - if custom_oauth2_provider_config is not None: - self.custom_oauth2_provider_config = custom_oauth2_provider_config - - @property - def microsoft_oauth2_provider_config(self): - r"""Gets the microsoft_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :return: The microsoft_oauth2_provider_config of this Oauth2ProviderConfigInput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigInput` - """ - return self._microsoft_oauth2_provider_config - - @microsoft_oauth2_provider_config.setter - def microsoft_oauth2_provider_config(self, microsoft_oauth2_provider_config): - r"""Sets the microsoft_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :param microsoft_oauth2_provider_config: The microsoft_oauth2_provider_config of this Oauth2ProviderConfigInput. - :type microsoft_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigInput` - """ - self._microsoft_oauth2_provider_config = microsoft_oauth2_provider_config - - @property - def google_oauth2_provider_config(self): - r"""Gets the google_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :return: The google_oauth2_provider_config of this Oauth2ProviderConfigInput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigInput` - """ - return self._google_oauth2_provider_config - - @google_oauth2_provider_config.setter - def google_oauth2_provider_config(self, google_oauth2_provider_config): - r"""Sets the google_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :param google_oauth2_provider_config: The google_oauth2_provider_config of this Oauth2ProviderConfigInput. - :type google_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigInput` - """ - self._google_oauth2_provider_config = google_oauth2_provider_config - - @property - def github_oauth2_provider_config(self): - r"""Gets the github_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :return: The github_oauth2_provider_config of this Oauth2ProviderConfigInput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigInput` - """ - return self._github_oauth2_provider_config - - @github_oauth2_provider_config.setter - def github_oauth2_provider_config(self, github_oauth2_provider_config): - r"""Sets the github_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :param github_oauth2_provider_config: The github_oauth2_provider_config of this Oauth2ProviderConfigInput. - :type github_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigInput` - """ - self._github_oauth2_provider_config = github_oauth2_provider_config - - @property - def custom_oauth2_provider_config(self): - r"""Gets the custom_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :return: The custom_oauth2_provider_config of this Oauth2ProviderConfigInput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigInput` - """ - return self._custom_oauth2_provider_config - - @custom_oauth2_provider_config.setter - def custom_oauth2_provider_config(self, custom_oauth2_provider_config): - r"""Sets the custom_oauth2_provider_config of this Oauth2ProviderConfigInput. - - :param custom_oauth2_provider_config: The custom_oauth2_provider_config of this Oauth2ProviderConfigInput. - :type custom_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigInput` - """ - self._custom_oauth2_provider_config = custom_oauth2_provider_config - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2ProviderConfigInput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_output.py b/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_output.py deleted file mode 100644 index 92fb433..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/oauth2_provider_config_output.py +++ /dev/null @@ -1,174 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Oauth2ProviderConfigOutput: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "microsoft_oauth2_provider_config": "MicrosoftOauth2ProviderConfigOutput", - "google_oauth2_provider_config": "GoogleOauth2ProviderConfigOutput", - "github_oauth2_provider_config": "GithubOauth2ProviderConfigOutput", - "custom_oauth2_provider_config": "CustomOauth2ProviderConfigOutput" - } - - attribute_map = { - "microsoft_oauth2_provider_config": "microsoft_oauth2_provider_config", - "google_oauth2_provider_config": "google_oauth2_provider_config", - "github_oauth2_provider_config": "github_oauth2_provider_config", - "custom_oauth2_provider_config": "custom_oauth2_provider_config" - } - - def __init__(self, microsoft_oauth2_provider_config=None, google_oauth2_provider_config=None, github_oauth2_provider_config=None, custom_oauth2_provider_config=None): - r"""Oauth2ProviderConfigOutput - - The model defined in huaweicloud sdk - - :param microsoft_oauth2_provider_config: - :type microsoft_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigOutput` - :param google_oauth2_provider_config: - :type google_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigOutput` - :param github_oauth2_provider_config: - :type github_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigOutput` - :param custom_oauth2_provider_config: - :type custom_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigOutput` - """ - - - - self._microsoft_oauth2_provider_config = None - self._google_oauth2_provider_config = None - self._github_oauth2_provider_config = None - self._custom_oauth2_provider_config = None - self.discriminator = None - - if microsoft_oauth2_provider_config is not None: - self.microsoft_oauth2_provider_config = microsoft_oauth2_provider_config - if google_oauth2_provider_config is not None: - self.google_oauth2_provider_config = google_oauth2_provider_config - if github_oauth2_provider_config is not None: - self.github_oauth2_provider_config = github_oauth2_provider_config - if custom_oauth2_provider_config is not None: - self.custom_oauth2_provider_config = custom_oauth2_provider_config - - @property - def microsoft_oauth2_provider_config(self): - r"""Gets the microsoft_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :return: The microsoft_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigOutput` - """ - return self._microsoft_oauth2_provider_config - - @microsoft_oauth2_provider_config.setter - def microsoft_oauth2_provider_config(self, microsoft_oauth2_provider_config): - r"""Sets the microsoft_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :param microsoft_oauth2_provider_config: The microsoft_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :type microsoft_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.MicrosoftOauth2ProviderConfigOutput` - """ - self._microsoft_oauth2_provider_config = microsoft_oauth2_provider_config - - @property - def google_oauth2_provider_config(self): - r"""Gets the google_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :return: The google_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigOutput` - """ - return self._google_oauth2_provider_config - - @google_oauth2_provider_config.setter - def google_oauth2_provider_config(self, google_oauth2_provider_config): - r"""Sets the google_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :param google_oauth2_provider_config: The google_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :type google_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GoogleOauth2ProviderConfigOutput` - """ - self._google_oauth2_provider_config = google_oauth2_provider_config - - @property - def github_oauth2_provider_config(self): - r"""Gets the github_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :return: The github_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigOutput` - """ - return self._github_oauth2_provider_config - - @github_oauth2_provider_config.setter - def github_oauth2_provider_config(self, github_oauth2_provider_config): - r"""Sets the github_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :param github_oauth2_provider_config: The github_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :type github_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.GithubOauth2ProviderConfigOutput` - """ - self._github_oauth2_provider_config = github_oauth2_provider_config - - @property - def custom_oauth2_provider_config(self): - r"""Gets the custom_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :return: The custom_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigOutput` - """ - return self._custom_oauth2_provider_config - - @custom_oauth2_provider_config.setter - def custom_oauth2_provider_config(self, custom_oauth2_provider_config): - r"""Sets the custom_oauth2_provider_config of this Oauth2ProviderConfigOutput. - - :param custom_oauth2_provider_config: The custom_oauth2_provider_config of this Oauth2ProviderConfigOutput. - :type custom_oauth2_provider_config: :class:`huaweicloudsdkagentidentity.v1.CustomOauth2ProviderConfigOutput` - """ - self._custom_oauth2_provider_config = custom_oauth2_provider_config - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Oauth2ProviderConfigOutput): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/page_info.py b/src/huaweicloudsdkagentidentity/v1/model/page_info.py deleted file mode 100644 index 72e24ad..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/page_info.py +++ /dev/null @@ -1,131 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class PageInfo: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "next_marker": "str", - "current_count": "int" - } - - attribute_map = { - "next_marker": "next_marker", - "current_count": "current_count" - } - - def __init__(self, next_marker=None, current_count=None): - r"""PageInfo - - The model defined in huaweicloud sdk - - :param next_marker: 如果存在,则表示还有后续的条目未显示在当前返回体中。请使用该值作为下一次请求的分页标记参数以获得下一页信息。请反复调用该接口直至该字段不存在。 - :type next_marker: str - :param current_count: 本页返回条目数量。 - :type current_count: int - """ - - - - self._next_marker = None - self._current_count = None - self.discriminator = None - - if next_marker is not None: - self.next_marker = next_marker - self.current_count = current_count - - @property - def next_marker(self): - r"""Gets the next_marker of this PageInfo. - - 如果存在,则表示还有后续的条目未显示在当前返回体中。请使用该值作为下一次请求的分页标记参数以获得下一页信息。请反复调用该接口直至该字段不存在。 - - :return: The next_marker of this PageInfo. - :rtype: str - """ - return self._next_marker - - @next_marker.setter - def next_marker(self, next_marker): - r"""Sets the next_marker of this PageInfo. - - 如果存在,则表示还有后续的条目未显示在当前返回体中。请使用该值作为下一次请求的分页标记参数以获得下一页信息。请反复调用该接口直至该字段不存在。 - - :param next_marker: The next_marker of this PageInfo. - :type next_marker: str - """ - self._next_marker = next_marker - - @property - def current_count(self): - r"""Gets the current_count of this PageInfo. - - 本页返回条目数量。 - - :return: The current_count of this PageInfo. - :rtype: int - """ - return self._current_count - - @current_count.setter - def current_count(self, current_count): - r"""Sets the current_count of this PageInfo. - - 本页返回条目数量。 - - :param current_count: The current_count of this PageInfo. - :type current_count: int - """ - self._current_count = current_count - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, PageInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/rich_authorization_detail.py b/src/huaweicloudsdkagentidentity/v1/model/rich_authorization_detail.py deleted file mode 100644 index 786f4ff..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/rich_authorization_detail.py +++ /dev/null @@ -1,276 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class RichAuthorizationDetail: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "type": "str", - "actions": "list[str]", - "locations": "list[str]", - "identifier": "str", - "datatypes": "list[str]", - "privileges": "list[str]", - "additional_rar_parameters": "dict(str, str)" - } - - attribute_map = { - "type": "type", - "actions": "actions", - "locations": "locations", - "identifier": "identifier", - "datatypes": "datatypes", - "privileges": "privileges", - "additional_rar_parameters": "additional_rar_parameters" - } - - def __init__(self, type=None, actions=None, locations=None, identifier=None, datatypes=None, privileges=None, additional_rar_parameters=None): - r"""RichAuthorizationDetail - - The model defined in huaweicloud sdk - - :param type: Mandatory RAR type identifier (RFC 9396 §2.1), e.g. payment_initiation, banking_accounts, crm_access, api_invocation - :type type: str - :param actions: An array of strings representing the kinds of actions to be taken at the resource - :type actions: list[str] - :param locations: An array of strings representing the location of the resource or RS. These strings are typically URIs identifying the location of the RS. This field can allow a client to specify a particular RS - :type locations: list[str] - :param identifier: A string identifier indicating a specific resource available at the API - :type identifier: str - :param datatypes: An array of strings representing the kinds of data being requested from the resource - :type datatypes: list[str] - :param privileges: An array of strings representing the types or levels of privilege being requested at the resource - :type privileges: list[str] - :param additional_rar_parameters: Extended custom RAR parameters (per RFC 9396 §3.2) - vendor-specific fine-grained auth metadata, does not conflict with standard OAuth2 params - :type additional_rar_parameters: dict(str, str) - """ - - - - self._type = None - self._actions = None - self._locations = None - self._identifier = None - self._datatypes = None - self._privileges = None - self._additional_rar_parameters = None - self.discriminator = None - - self.type = type - if actions is not None: - self.actions = actions - if locations is not None: - self.locations = locations - if identifier is not None: - self.identifier = identifier - if datatypes is not None: - self.datatypes = datatypes - if privileges is not None: - self.privileges = privileges - if additional_rar_parameters is not None: - self.additional_rar_parameters = additional_rar_parameters - - @property - def type(self): - r"""Gets the type of this RichAuthorizationDetail. - - Mandatory RAR type identifier (RFC 9396 §2.1), e.g. payment_initiation, banking_accounts, crm_access, api_invocation - - :return: The type of this RichAuthorizationDetail. - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - r"""Sets the type of this RichAuthorizationDetail. - - Mandatory RAR type identifier (RFC 9396 §2.1), e.g. payment_initiation, banking_accounts, crm_access, api_invocation - - :param type: The type of this RichAuthorizationDetail. - :type type: str - """ - self._type = type - - @property - def actions(self): - r"""Gets the actions of this RichAuthorizationDetail. - - An array of strings representing the kinds of actions to be taken at the resource - - :return: The actions of this RichAuthorizationDetail. - :rtype: list[str] - """ - return self._actions - - @actions.setter - def actions(self, actions): - r"""Sets the actions of this RichAuthorizationDetail. - - An array of strings representing the kinds of actions to be taken at the resource - - :param actions: The actions of this RichAuthorizationDetail. - :type actions: list[str] - """ - self._actions = actions - - @property - def locations(self): - r"""Gets the locations of this RichAuthorizationDetail. - - An array of strings representing the location of the resource or RS. These strings are typically URIs identifying the location of the RS. This field can allow a client to specify a particular RS - - :return: The locations of this RichAuthorizationDetail. - :rtype: list[str] - """ - return self._locations - - @locations.setter - def locations(self, locations): - r"""Sets the locations of this RichAuthorizationDetail. - - An array of strings representing the location of the resource or RS. These strings are typically URIs identifying the location of the RS. This field can allow a client to specify a particular RS - - :param locations: The locations of this RichAuthorizationDetail. - :type locations: list[str] - """ - self._locations = locations - - @property - def identifier(self): - r"""Gets the identifier of this RichAuthorizationDetail. - - A string identifier indicating a specific resource available at the API - - :return: The identifier of this RichAuthorizationDetail. - :rtype: str - """ - return self._identifier - - @identifier.setter - def identifier(self, identifier): - r"""Sets the identifier of this RichAuthorizationDetail. - - A string identifier indicating a specific resource available at the API - - :param identifier: The identifier of this RichAuthorizationDetail. - :type identifier: str - """ - self._identifier = identifier - - @property - def datatypes(self): - r"""Gets the datatypes of this RichAuthorizationDetail. - - An array of strings representing the kinds of data being requested from the resource - - :return: The datatypes of this RichAuthorizationDetail. - :rtype: list[str] - """ - return self._datatypes - - @datatypes.setter - def datatypes(self, datatypes): - r"""Sets the datatypes of this RichAuthorizationDetail. - - An array of strings representing the kinds of data being requested from the resource - - :param datatypes: The datatypes of this RichAuthorizationDetail. - :type datatypes: list[str] - """ - self._datatypes = datatypes - - @property - def privileges(self): - r"""Gets the privileges of this RichAuthorizationDetail. - - An array of strings representing the types or levels of privilege being requested at the resource - - :return: The privileges of this RichAuthorizationDetail. - :rtype: list[str] - """ - return self._privileges - - @privileges.setter - def privileges(self, privileges): - r"""Sets the privileges of this RichAuthorizationDetail. - - An array of strings representing the types or levels of privilege being requested at the resource - - :param privileges: The privileges of this RichAuthorizationDetail. - :type privileges: list[str] - """ - self._privileges = privileges - - @property - def additional_rar_parameters(self): - r"""Gets the additional_rar_parameters of this RichAuthorizationDetail. - - Extended custom RAR parameters (per RFC 9396 §3.2) - vendor-specific fine-grained auth metadata, does not conflict with standard OAuth2 params - - :return: The additional_rar_parameters of this RichAuthorizationDetail. - :rtype: dict(str, str) - """ - return self._additional_rar_parameters - - @additional_rar_parameters.setter - def additional_rar_parameters(self, additional_rar_parameters): - r"""Sets the additional_rar_parameters of this RichAuthorizationDetail. - - Extended custom RAR parameters (per RFC 9396 §3.2) - vendor-specific fine-grained auth metadata, does not conflict with standard OAuth2 params - - :param additional_rar_parameters: The additional_rar_parameters of this RichAuthorizationDetail. - :type additional_rar_parameters: dict(str, str) - """ - self._additional_rar_parameters = additional_rar_parameters - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RichAuthorizationDetail): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/secret.py b/src/huaweicloudsdkagentidentity/v1/model/secret.py deleted file mode 100644 index 8d78daf..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/secret.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Secret: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "secret_id": "str", - "secret_name": "str" - } - - attribute_map = { - "secret_id": "secret_id", - "secret_name": "secret_name" - } - - def __init__(self, secret_id=None, secret_name=None): - r"""Secret - - The model defined in huaweicloud sdk - - :param secret_id: The secret identifier. - :type secret_id: str - :param secret_name: The secret name. - :type secret_name: str - """ - - - - self._secret_id = None - self._secret_name = None - self.discriminator = None - - self.secret_id = secret_id - self.secret_name = secret_name - - @property - def secret_id(self): - r"""Gets the secret_id of this Secret. - - The secret identifier. - - :return: The secret_id of this Secret. - :rtype: str - """ - return self._secret_id - - @secret_id.setter - def secret_id(self, secret_id): - r"""Sets the secret_id of this Secret. - - The secret identifier. - - :param secret_id: The secret_id of this Secret. - :type secret_id: str - """ - self._secret_id = secret_id - - @property - def secret_name(self): - r"""Gets the secret_name of this Secret. - - The secret name. - - :return: The secret_name of this Secret. - :rtype: str - """ - return self._secret_name - - @secret_name.setter - def secret_name(self, secret_name): - r"""Sets the secret_name of this Secret. - - The secret name. - - :param secret_name: The secret_name of this Secret. - :type secret_name: str - """ - self._secret_name = secret_name - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Secret): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider.py b/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider.py deleted file mode 100644 index 27c5d16..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider.py +++ /dev/null @@ -1,243 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class StsCredentialProvider: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "agency_urn": "str", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "agency_urn": "agency_urn", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, agency_urn=None, created_at=None, updated_at=None, tags=None): - r"""StsCredentialProvider - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: 凭证提供者的唯一资源名称(URN)。 - :type urn: str - :param agency_urn: The URN of the agency used to obtain IAM temporary credentials. - :type agency_urn: str - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._agency_urn = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.agency_urn = agency_urn - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this StsCredentialProvider. - - The name of the credential provider. - - :return: The name of this StsCredentialProvider. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this StsCredentialProvider. - - The name of the credential provider. - - :param name: The name of this StsCredentialProvider. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this StsCredentialProvider. - - 凭证提供者的唯一资源名称(URN)。 - - :return: The urn of this StsCredentialProvider. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this StsCredentialProvider. - - 凭证提供者的唯一资源名称(URN)。 - - :param urn: The urn of this StsCredentialProvider. - :type urn: str - """ - self._urn = urn - - @property - def agency_urn(self): - r"""Gets the agency_urn of this StsCredentialProvider. - - The URN of the agency used to obtain IAM temporary credentials. - - :return: The agency_urn of this StsCredentialProvider. - :rtype: str - """ - return self._agency_urn - - @agency_urn.setter - def agency_urn(self, agency_urn): - r"""Sets the agency_urn of this StsCredentialProvider. - - The URN of the agency used to obtain IAM temporary credentials. - - :param agency_urn: The agency_urn of this StsCredentialProvider. - :type agency_urn: str - """ - self._agency_urn = agency_urn - - @property - def created_at(self): - r"""Gets the created_at of this StsCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this StsCredentialProvider. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this StsCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this StsCredentialProvider. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this StsCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this StsCredentialProvider. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this StsCredentialProvider. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this StsCredentialProvider. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this StsCredentialProvider. - - 自定义标签列表。 - - :return: The tags of this StsCredentialProvider. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this StsCredentialProvider. - - 自定义标签列表。 - - :param tags: The tags of this StsCredentialProvider. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, StsCredentialProvider): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider_summary.py b/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider_summary.py deleted file mode 100644 index 6d720b8..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/sts_credential_provider_summary.py +++ /dev/null @@ -1,243 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class StsCredentialProviderSummary: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "agency_urn": "str", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "agency_urn": "agency_urn", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, agency_urn=None, created_at=None, updated_at=None, tags=None): - r"""StsCredentialProviderSummary - - The model defined in huaweicloud sdk - - :param name: The name of the credential provider. - :type name: str - :param urn: 凭证提供者的唯一资源名称(URN)。 - :type urn: str - :param agency_urn: The URN of the agency used to obtain IAM temporary credentials. - :type agency_urn: str - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._agency_urn = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.agency_urn = agency_urn - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this StsCredentialProviderSummary. - - The name of the credential provider. - - :return: The name of this StsCredentialProviderSummary. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this StsCredentialProviderSummary. - - The name of the credential provider. - - :param name: The name of this StsCredentialProviderSummary. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this StsCredentialProviderSummary. - - 凭证提供者的唯一资源名称(URN)。 - - :return: The urn of this StsCredentialProviderSummary. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this StsCredentialProviderSummary. - - 凭证提供者的唯一资源名称(URN)。 - - :param urn: The urn of this StsCredentialProviderSummary. - :type urn: str - """ - self._urn = urn - - @property - def agency_urn(self): - r"""Gets the agency_urn of this StsCredentialProviderSummary. - - The URN of the agency used to obtain IAM temporary credentials. - - :return: The agency_urn of this StsCredentialProviderSummary. - :rtype: str - """ - return self._agency_urn - - @agency_urn.setter - def agency_urn(self, agency_urn): - r"""Sets the agency_urn of this StsCredentialProviderSummary. - - The URN of the agency used to obtain IAM temporary credentials. - - :param agency_urn: The agency_urn of this StsCredentialProviderSummary. - :type agency_urn: str - """ - self._agency_urn = agency_urn - - @property - def created_at(self): - r"""Gets the created_at of this StsCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this StsCredentialProviderSummary. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this StsCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this StsCredentialProviderSummary. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this StsCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this StsCredentialProviderSummary. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this StsCredentialProviderSummary. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this StsCredentialProviderSummary. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this StsCredentialProviderSummary. - - 自定义标签列表。 - - :return: The tags of this StsCredentialProviderSummary. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this StsCredentialProviderSummary. - - 自定义标签列表。 - - :param tags: The tags of this StsCredentialProviderSummary. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, StsCredentialProviderSummary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/sts_tag.py b/src/huaweicloudsdkagentidentity/v1/model/sts_tag.py deleted file mode 100644 index 364bf9d..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/sts_tag.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class StsTag: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "key": "str", - "value": "str" - } - - attribute_map = { - "key": "key", - "value": "value" - } - - def __init__(self, key=None, value=None): - r"""StsTag - - The model defined in huaweicloud sdk - - :param key: The key identifier, or name, of the tag - :type key: str - :param value: The string value that's associated with the key of the tag - :type value: str - """ - - - - self._key = None - self._value = None - self.discriminator = None - - self.key = key - self.value = value - - @property - def key(self): - r"""Gets the key of this StsTag. - - The key identifier, or name, of the tag - - :return: The key of this StsTag. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - r"""Sets the key of this StsTag. - - The key identifier, or name, of the tag - - :param key: The key of this StsTag. - :type key: str - """ - self._key = key - - @property - def value(self): - r"""Gets the value of this StsTag. - - The string value that's associated with the key of the tag - - :return: The value of this StsTag. - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - r"""Sets the value of this StsTag. - - The string value that's associated with the key of the tag - - :param value: The value of this StsTag. - :type value: str - """ - self._value = value - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, StsTag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/tag.py b/src/huaweicloudsdkagentidentity/v1/model/tag.py deleted file mode 100644 index 1f61fa9..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/tag.py +++ /dev/null @@ -1,130 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class Tag: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "key": "str", - "value": "str" - } - - attribute_map = { - "key": "key", - "value": "value" - } - - def __init__(self, key=None, value=None): - r"""Tag - - The model defined in huaweicloud sdk - - :param key: 标签键,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,但是首尾不能包含空格以及不能使用\"\\_sys\\_\"为开头,长度范围[1,128]。 - :type key: str - :param value: 标签值,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"/\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,可以是空字符串,长度范围[0,255]。 - :type value: str - """ - - - - self._key = None - self._value = None - self.discriminator = None - - self.key = key - self.value = value - - @property - def key(self): - r"""Gets the key of this Tag. - - 标签键,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,但是首尾不能包含空格以及不能使用\"\\_sys\\_\"为开头,长度范围[1,128]。 - - :return: The key of this Tag. - :rtype: str - """ - return self._key - - @key.setter - def key(self, key): - r"""Sets the key of this Tag. - - 标签键,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,但是首尾不能包含空格以及不能使用\"\\_sys\\_\"为开头,长度范围[1,128]。 - - :param key: The key of this Tag. - :type key: str - """ - self._key = key - - @property - def value(self): - r"""Gets the value of this Tag. - - 标签值,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"/\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,可以是空字符串,长度范围[0,255]。 - - :return: The value of this Tag. - :rtype: str - """ - return self._value - - @value.setter - def value(self, value): - r"""Sets the value of this Tag. - - 标签值,可以包含任意语种字母、数字、空格以及\"_\"、\".\"、\":\"、\"/\"、\"=\"、\"+\"、\"-\"、\"@\"符号的任意组合,可以是空字符串,长度范围[0,255]。 - - :param value: The value of this Tag. - :type value: str - """ - self._value = value - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Tag): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/token_vault.py b/src/huaweicloudsdkagentidentity/v1/model/token_vault.py deleted file mode 100644 index 0061cc7..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/token_vault.py +++ /dev/null @@ -1,183 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class TokenVault: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "token_vault_id": "str", - "kms_configuration": "KmsConfiguration", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "token_vault_id": "token_vault_id", - "kms_configuration": "kms_configuration", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, token_vault_id=None, kms_configuration=None, updated_at=None, tags=None): - r"""TokenVault - - The model defined in huaweicloud sdk - - :param token_vault_id: The unique identifier of the token vault. - :type token_vault_id: str - :param kms_configuration: - :type kms_configuration: :class:`huaweicloudsdkagentidentity.v1.KmsConfiguration` - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._token_vault_id = None - self._kms_configuration = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.token_vault_id = token_vault_id - self.kms_configuration = kms_configuration - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def token_vault_id(self): - r"""Gets the token_vault_id of this TokenVault. - - The unique identifier of the token vault. - - :return: The token_vault_id of this TokenVault. - :rtype: str - """ - return self._token_vault_id - - @token_vault_id.setter - def token_vault_id(self, token_vault_id): - r"""Sets the token_vault_id of this TokenVault. - - The unique identifier of the token vault. - - :param token_vault_id: The token_vault_id of this TokenVault. - :type token_vault_id: str - """ - self._token_vault_id = token_vault_id - - @property - def kms_configuration(self): - r"""Gets the kms_configuration of this TokenVault. - - :return: The kms_configuration of this TokenVault. - :rtype: :class:`huaweicloudsdkagentidentity.v1.KmsConfiguration` - """ - return self._kms_configuration - - @kms_configuration.setter - def kms_configuration(self, kms_configuration): - r"""Sets the kms_configuration of this TokenVault. - - :param kms_configuration: The kms_configuration of this TokenVault. - :type kms_configuration: :class:`huaweicloudsdkagentidentity.v1.KmsConfiguration` - """ - self._kms_configuration = kms_configuration - - @property - def updated_at(self): - r"""Gets the updated_at of this TokenVault. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this TokenVault. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this TokenVault. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this TokenVault. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this TokenVault. - - 自定义标签列表。 - - :return: The tags of this TokenVault. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this TokenVault. - - 自定义标签列表。 - - :param tags: The tags of this TokenVault. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TokenVault): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/token_vault_id.py b/src/huaweicloudsdkagentidentity/v1/model/token_vault_id.py deleted file mode 100644 index e2aa1e5..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/token_vault_id.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class TokenVaultId: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""TokenVaultId - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, TokenVaultId): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_req_body.py deleted file mode 100644 index 81582d5..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_req_body.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateApiKeyCredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "api_key": "str", - "tags": "list[Tag]" - } - - attribute_map = { - "api_key": "api_key", - "tags": "tags" - } - - def __init__(self, api_key=None, tags=None): - r"""UpdateApiKeyCredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param api_key: The updated API key for the credential provider. - :type api_key: str - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._api_key = None - self._tags = None - self.discriminator = None - - if api_key is not None: - self.api_key = api_key - if tags is not None: - self.tags = tags - - @property - def api_key(self): - r"""Gets the api_key of this UpdateApiKeyCredentialProviderReqBody. - - The updated API key for the credential provider. - - :return: The api_key of this UpdateApiKeyCredentialProviderReqBody. - :rtype: str - """ - return self._api_key - - @api_key.setter - def api_key(self, api_key): - r"""Sets the api_key of this UpdateApiKeyCredentialProviderReqBody. - - The updated API key for the credential provider. - - :param api_key: The api_key of this UpdateApiKeyCredentialProviderReqBody. - :type api_key: str - """ - self._api_key = api_key - - @property - def tags(self): - r"""Gets the tags of this UpdateApiKeyCredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this UpdateApiKeyCredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this UpdateApiKeyCredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this UpdateApiKeyCredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateApiKeyCredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_request.py deleted file mode 100644 index 3df5b36..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_request.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateApiKeyCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str", - "body": "UpdateApiKeyCredentialProviderReqBody" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name", - "body": "body" - } - - def __init__(self, credential_provider_name=None, body=None): - r"""UpdateApiKeyCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - :param body: Body of the UpdateApiKeyCredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderReqBody` - """ - - - - self._credential_provider_name = None - self._body = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - if body is not None: - self.body = body - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this UpdateApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this UpdateApiKeyCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this UpdateApiKeyCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this UpdateApiKeyCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - @property - def body(self): - r"""Gets the body of this UpdateApiKeyCredentialProviderRequest. - - :return: The body of this UpdateApiKeyCredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this UpdateApiKeyCredentialProviderRequest. - - :param body: The body of this UpdateApiKeyCredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateApiKeyCredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateApiKeyCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_response.py deleted file mode 100644 index 6a30760..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_api_key_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateApiKeyCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "ApiKeyCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""UpdateApiKeyCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this UpdateApiKeyCredentialProviderResponse. - - :return: The credential_provider of this UpdateApiKeyCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this UpdateApiKeyCredentialProviderResponse. - - :param credential_provider: The credential_provider of this UpdateApiKeyCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.ApiKeyCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("UpdateApiKeyCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateApiKeyCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_req_body.py deleted file mode 100644 index 170912b..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_req_body.py +++ /dev/null @@ -1,128 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateOauth2CredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "oauth2_provider_config_input": "Oauth2ProviderConfigInput", - "tags": "list[Tag]" - } - - attribute_map = { - "oauth2_provider_config_input": "oauth2_provider_config_input", - "tags": "tags" - } - - def __init__(self, oauth2_provider_config_input=None, tags=None): - r"""UpdateOauth2CredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param oauth2_provider_config_input: - :type oauth2_provider_config_input: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._oauth2_provider_config_input = None - self._tags = None - self.discriminator = None - - if oauth2_provider_config_input is not None: - self.oauth2_provider_config_input = oauth2_provider_config_input - if tags is not None: - self.tags = tags - - @property - def oauth2_provider_config_input(self): - r"""Gets the oauth2_provider_config_input of this UpdateOauth2CredentialProviderReqBody. - - :return: The oauth2_provider_config_input of this UpdateOauth2CredentialProviderReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - """ - return self._oauth2_provider_config_input - - @oauth2_provider_config_input.setter - def oauth2_provider_config_input(self, oauth2_provider_config_input): - r"""Sets the oauth2_provider_config_input of this UpdateOauth2CredentialProviderReqBody. - - :param oauth2_provider_config_input: The oauth2_provider_config_input of this UpdateOauth2CredentialProviderReqBody. - :type oauth2_provider_config_input: :class:`huaweicloudsdkagentidentity.v1.Oauth2ProviderConfigInput` - """ - self._oauth2_provider_config_input = oauth2_provider_config_input - - @property - def tags(self): - r"""Gets the tags of this UpdateOauth2CredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this UpdateOauth2CredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this UpdateOauth2CredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this UpdateOauth2CredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateOauth2CredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_request.py deleted file mode 100644 index 80a0c9e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_request.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateOauth2CredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str", - "body": "UpdateOauth2CredentialProviderReqBody" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name", - "body": "body" - } - - def __init__(self, credential_provider_name=None, body=None): - r"""UpdateOauth2CredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - :param body: Body of the UpdateOauth2CredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderReqBody` - """ - - - - self._credential_provider_name = None - self._body = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - if body is not None: - self.body = body - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this UpdateOauth2CredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this UpdateOauth2CredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this UpdateOauth2CredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this UpdateOauth2CredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - @property - def body(self): - r"""Gets the body of this UpdateOauth2CredentialProviderRequest. - - :return: The body of this UpdateOauth2CredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this UpdateOauth2CredentialProviderRequest. - - :param body: The body of this UpdateOauth2CredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateOauth2CredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateOauth2CredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_response.py deleted file mode 100644 index 9edfebe..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_oauth2_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateOauth2CredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "Oauth2CredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""UpdateOauth2CredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this UpdateOauth2CredentialProviderResponse. - - :return: The credential_provider of this UpdateOauth2CredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this UpdateOauth2CredentialProviderResponse. - - :param credential_provider: The credential_provider of this UpdateOauth2CredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.Oauth2CredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("UpdateOauth2CredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateOauth2CredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_req_body.py deleted file mode 100644 index a69a71a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_req_body.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateStsCredentialProviderReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "agency_urn": "str", - "tags": "list[Tag]" - } - - attribute_map = { - "agency_urn": "agency_urn", - "tags": "tags" - } - - def __init__(self, agency_urn=None, tags=None): - r"""UpdateStsCredentialProviderReqBody - - The model defined in huaweicloud sdk - - :param agency_urn: The URN of the agency used to obtain IAM temporary credentials. - :type agency_urn: str - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._agency_urn = None - self._tags = None - self.discriminator = None - - if agency_urn is not None: - self.agency_urn = agency_urn - if tags is not None: - self.tags = tags - - @property - def agency_urn(self): - r"""Gets the agency_urn of this UpdateStsCredentialProviderReqBody. - - The URN of the agency used to obtain IAM temporary credentials. - - :return: The agency_urn of this UpdateStsCredentialProviderReqBody. - :rtype: str - """ - return self._agency_urn - - @agency_urn.setter - def agency_urn(self, agency_urn): - r"""Sets the agency_urn of this UpdateStsCredentialProviderReqBody. - - The URN of the agency used to obtain IAM temporary credentials. - - :param agency_urn: The agency_urn of this UpdateStsCredentialProviderReqBody. - :type agency_urn: str - """ - self._agency_urn = agency_urn - - @property - def tags(self): - r"""Gets the tags of this UpdateStsCredentialProviderReqBody. - - 自定义标签列表。 - - :return: The tags of this UpdateStsCredentialProviderReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this UpdateStsCredentialProviderReqBody. - - 自定义标签列表。 - - :param tags: The tags of this UpdateStsCredentialProviderReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateStsCredentialProviderReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_request.py b/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_request.py deleted file mode 100644 index 0dba5bd..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_request.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateStsCredentialProviderRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider_name": "str", - "body": "UpdateStsCredentialProviderReqBody" - } - - attribute_map = { - "credential_provider_name": "credential_provider_name", - "body": "body" - } - - def __init__(self, credential_provider_name=None, body=None): - r"""UpdateStsCredentialProviderRequest - - The model defined in huaweicloud sdk - - :param credential_provider_name: The name of the credential provider. - :type credential_provider_name: str - :param body: Body of the UpdateStsCredentialProviderRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderReqBody` - """ - - - - self._credential_provider_name = None - self._body = None - self.discriminator = None - - self.credential_provider_name = credential_provider_name - if body is not None: - self.body = body - - @property - def credential_provider_name(self): - r"""Gets the credential_provider_name of this UpdateStsCredentialProviderRequest. - - The name of the credential provider. - - :return: The credential_provider_name of this UpdateStsCredentialProviderRequest. - :rtype: str - """ - return self._credential_provider_name - - @credential_provider_name.setter - def credential_provider_name(self, credential_provider_name): - r"""Sets the credential_provider_name of this UpdateStsCredentialProviderRequest. - - The name of the credential provider. - - :param credential_provider_name: The credential_provider_name of this UpdateStsCredentialProviderRequest. - :type credential_provider_name: str - """ - self._credential_provider_name = credential_provider_name - - @property - def body(self): - r"""Gets the body of this UpdateStsCredentialProviderRequest. - - :return: The body of this UpdateStsCredentialProviderRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this UpdateStsCredentialProviderRequest. - - :param body: The body of this UpdateStsCredentialProviderRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateStsCredentialProviderReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateStsCredentialProviderRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_response.py b/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_response.py deleted file mode 100644 index 10bfa9a..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_sts_credential_provider_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateStsCredentialProviderResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "credential_provider": "StsCredentialProvider" - } - - attribute_map = { - "credential_provider": "credential_provider" - } - - def __init__(self, credential_provider=None): - r"""UpdateStsCredentialProviderResponse - - The model defined in huaweicloud sdk - - :param credential_provider: - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - - super().__init__() - - self._credential_provider = None - self.discriminator = None - - if credential_provider is not None: - self.credential_provider = credential_provider - - @property - def credential_provider(self): - r"""Gets the credential_provider of this UpdateStsCredentialProviderResponse. - - :return: The credential_provider of this UpdateStsCredentialProviderResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - return self._credential_provider - - @credential_provider.setter - def credential_provider(self, credential_provider): - r"""Sets the credential_provider of this UpdateStsCredentialProviderResponse. - - :param credential_provider: The credential_provider of this UpdateStsCredentialProviderResponse. - :type credential_provider: :class:`huaweicloudsdkagentidentity.v1.StsCredentialProvider` - """ - self._credential_provider = credential_provider - - def to_dict(self): - import warnings - warnings.warn("UpdateStsCredentialProviderResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateStsCredentialProviderResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_req_body.py b/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_req_body.py deleted file mode 100644 index 6aea7a8..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_req_body.py +++ /dev/null @@ -1,153 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateWorkloadIdentityReqBody: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "allowed_resource_oauth2_return_urls": "list[str]", - "authorizer_configuration": "AuthorizerConfiguration", - "tags": "list[Tag]" - } - - attribute_map = { - "allowed_resource_oauth2_return_urls": "allowed_resource_oauth2_return_urls", - "authorizer_configuration": "authorizer_configuration", - "tags": "tags" - } - - def __init__(self, allowed_resource_oauth2_return_urls=None, authorizer_configuration=None, tags=None): - r"""UpdateWorkloadIdentityReqBody - - The model defined in huaweicloud sdk - - :param allowed_resource_oauth2_return_urls: - :type allowed_resource_oauth2_return_urls: list[str] - :param authorizer_configuration: - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._allowed_resource_oauth2_return_urls = None - self._authorizer_configuration = None - self._tags = None - self.discriminator = None - - if allowed_resource_oauth2_return_urls is not None: - self.allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - if authorizer_configuration is not None: - self.authorizer_configuration = authorizer_configuration - if tags is not None: - self.tags = tags - - @property - def allowed_resource_oauth2_return_urls(self): - r"""Gets the allowed_resource_oauth2_return_urls of this UpdateWorkloadIdentityReqBody. - - :return: The allowed_resource_oauth2_return_urls of this UpdateWorkloadIdentityReqBody. - :rtype: list[str] - """ - return self._allowed_resource_oauth2_return_urls - - @allowed_resource_oauth2_return_urls.setter - def allowed_resource_oauth2_return_urls(self, allowed_resource_oauth2_return_urls): - r"""Sets the allowed_resource_oauth2_return_urls of this UpdateWorkloadIdentityReqBody. - - :param allowed_resource_oauth2_return_urls: The allowed_resource_oauth2_return_urls of this UpdateWorkloadIdentityReqBody. - :type allowed_resource_oauth2_return_urls: list[str] - """ - self._allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - - @property - def authorizer_configuration(self): - r"""Gets the authorizer_configuration of this UpdateWorkloadIdentityReqBody. - - :return: The authorizer_configuration of this UpdateWorkloadIdentityReqBody. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - return self._authorizer_configuration - - @authorizer_configuration.setter - def authorizer_configuration(self, authorizer_configuration): - r"""Sets the authorizer_configuration of this UpdateWorkloadIdentityReqBody. - - :param authorizer_configuration: The authorizer_configuration of this UpdateWorkloadIdentityReqBody. - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - self._authorizer_configuration = authorizer_configuration - - @property - def tags(self): - r"""Gets the tags of this UpdateWorkloadIdentityReqBody. - - 自定义标签列表。 - - :return: The tags of this UpdateWorkloadIdentityReqBody. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this UpdateWorkloadIdentityReqBody. - - 自定义标签列表。 - - :param tags: The tags of this UpdateWorkloadIdentityReqBody. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateWorkloadIdentityReqBody): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_request.py b/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_request.py deleted file mode 100644 index 99734c4..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_request.py +++ /dev/null @@ -1,127 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateWorkloadIdentityRequest: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_name": "str", - "body": "UpdateWorkloadIdentityReqBody" - } - - attribute_map = { - "workload_identity_name": "workload_identity_name", - "body": "body" - } - - def __init__(self, workload_identity_name=None, body=None): - r"""UpdateWorkloadIdentityRequest - - The model defined in huaweicloud sdk - - :param workload_identity_name: The name of the workload identity. - :type workload_identity_name: str - :param body: Body of the UpdateWorkloadIdentityRequest - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityReqBody` - """ - - - - self._workload_identity_name = None - self._body = None - self.discriminator = None - - self.workload_identity_name = workload_identity_name - if body is not None: - self.body = body - - @property - def workload_identity_name(self): - r"""Gets the workload_identity_name of this UpdateWorkloadIdentityRequest. - - The name of the workload identity. - - :return: The workload_identity_name of this UpdateWorkloadIdentityRequest. - :rtype: str - """ - return self._workload_identity_name - - @workload_identity_name.setter - def workload_identity_name(self, workload_identity_name): - r"""Sets the workload_identity_name of this UpdateWorkloadIdentityRequest. - - The name of the workload identity. - - :param workload_identity_name: The workload_identity_name of this UpdateWorkloadIdentityRequest. - :type workload_identity_name: str - """ - self._workload_identity_name = workload_identity_name - - @property - def body(self): - r"""Gets the body of this UpdateWorkloadIdentityRequest. - - :return: The body of this UpdateWorkloadIdentityRequest. - :rtype: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityReqBody` - """ - return self._body - - @body.setter - def body(self, body): - r"""Sets the body of this UpdateWorkloadIdentityRequest. - - :param body: The body of this UpdateWorkloadIdentityRequest. - :type body: :class:`huaweicloudsdkagentidentity.v1.UpdateWorkloadIdentityReqBody` - """ - self._body = body - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateWorkloadIdentityRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_response.py b/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_response.py deleted file mode 100644 index 18a081f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/update_workload_identity_response.py +++ /dev/null @@ -1,103 +0,0 @@ - -from huaweicloudsdkcore.sdk_response import SdkResponse -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UpdateWorkloadIdentityResponse(SdkResponse): - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity": "WorkloadIdentity" - } - - attribute_map = { - "workload_identity": "workload_identity" - } - - def __init__(self, workload_identity=None): - r"""UpdateWorkloadIdentityResponse - - The model defined in huaweicloud sdk - - :param workload_identity: - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - - super().__init__() - - self._workload_identity = None - self.discriminator = None - - if workload_identity is not None: - self.workload_identity = workload_identity - - @property - def workload_identity(self): - r"""Gets the workload_identity of this UpdateWorkloadIdentityResponse. - - :return: The workload_identity of this UpdateWorkloadIdentityResponse. - :rtype: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - return self._workload_identity - - @workload_identity.setter - def workload_identity(self, workload_identity): - r"""Sets the workload_identity of this UpdateWorkloadIdentityResponse. - - :param workload_identity: The workload_identity of this UpdateWorkloadIdentityResponse. - :type workload_identity: :class:`huaweicloudsdkagentidentity.v1.WorkloadIdentity` - """ - self._workload_identity = workload_identity - - def to_dict(self): - import warnings - warnings.warn("UpdateWorkloadIdentityResponse.to_dict() is deprecated and no longer maintained, " - "use to_json_object() to get the response content.", DeprecationWarning, stacklevel=2) - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UpdateWorkloadIdentityResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/user_identifier.py b/src/huaweicloudsdkagentidentity/v1/model/user_identifier.py deleted file mode 100644 index 2376de2..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/user_identifier.py +++ /dev/null @@ -1,132 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UserIdentifier: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "user_token": "str", - "user_id": "str" - } - - attribute_map = { - "user_token": "user_token", - "user_id": "user_id" - } - - def __init__(self, user_token=None, user_id=None): - r"""UserIdentifier - - The model defined in huaweicloud sdk - - :param user_token: OAuth2.0 token for user identification - :type user_token: str - :param user_id: User ID for identification - :type user_id: str - """ - - - - self._user_token = None - self._user_id = None - self.discriminator = None - - if user_token is not None: - self.user_token = user_token - if user_id is not None: - self.user_id = user_id - - @property - def user_token(self): - r"""Gets the user_token of this UserIdentifier. - - OAuth2.0 token for user identification - - :return: The user_token of this UserIdentifier. - :rtype: str - """ - return self._user_token - - @user_token.setter - def user_token(self, user_token): - r"""Sets the user_token of this UserIdentifier. - - OAuth2.0 token for user identification - - :param user_token: The user_token of this UserIdentifier. - :type user_token: str - """ - self._user_token = user_token - - @property - def user_id(self): - r"""Gets the user_id of this UserIdentifier. - - User ID for identification - - :return: The user_id of this UserIdentifier. - :rtype: str - """ - return self._user_id - - @user_id.setter - def user_id(self, user_id): - r"""Sets the user_id of this UserIdentifier. - - User ID for identification - - :param user_id: The user_id of this UserIdentifier. - :type user_id: str - """ - self._user_id = user_id - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UserIdentifier): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/utc_date_time.py b/src/huaweicloudsdkagentidentity/v1/model/utc_date_time.py deleted file mode 100644 index 424f747..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/utc_date_time.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class UtcDateTime: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""UtcDateTime - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, UtcDateTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_access_token.py b/src/huaweicloudsdkagentidentity/v1/model/workload_access_token.py deleted file mode 100644 index cf66b2f..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_access_token.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadAccessToken: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""WorkloadAccessToken - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadAccessToken): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_identity.py b/src/huaweicloudsdkagentidentity/v1/model/workload_identity.py deleted file mode 100644 index b76d868..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_identity.py +++ /dev/null @@ -1,313 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadIdentity: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "allowed_resource_oauth2_return_urls": "list[str]", - "authorizer_type": "AuthorizerType", - "api_key_secret": "Secret", - "created_by": "CreatedBy", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "allowed_resource_oauth2_return_urls": "allowed_resource_oauth2_return_urls", - "authorizer_type": "authorizer_type", - "api_key_secret": "api_key_secret", - "created_by": "created_by", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, allowed_resource_oauth2_return_urls=None, authorizer_type=None, api_key_secret=None, created_by=None, created_at=None, updated_at=None, tags=None): - r"""WorkloadIdentity - - The model defined in huaweicloud sdk - - :param name: The name of the workload identity. - :type name: str - :param urn: The URN of the workload identity. - :type urn: str - :param allowed_resource_oauth2_return_urls: - :type allowed_resource_oauth2_return_urls: list[str] - :param authorizer_type: - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - :param api_key_secret: - :type api_key_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - :param created_by: - :type created_by: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._allowed_resource_oauth2_return_urls = None - self._authorizer_type = None - self._api_key_secret = None - self._created_by = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - if allowed_resource_oauth2_return_urls is not None: - self.allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - self.authorizer_type = authorizer_type - if api_key_secret is not None: - self.api_key_secret = api_key_secret - self.created_by = created_by - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this WorkloadIdentity. - - The name of the workload identity. - - :return: The name of this WorkloadIdentity. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this WorkloadIdentity. - - The name of the workload identity. - - :param name: The name of this WorkloadIdentity. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this WorkloadIdentity. - - The URN of the workload identity. - - :return: The urn of this WorkloadIdentity. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this WorkloadIdentity. - - The URN of the workload identity. - - :param urn: The urn of this WorkloadIdentity. - :type urn: str - """ - self._urn = urn - - @property - def allowed_resource_oauth2_return_urls(self): - r"""Gets the allowed_resource_oauth2_return_urls of this WorkloadIdentity. - - :return: The allowed_resource_oauth2_return_urls of this WorkloadIdentity. - :rtype: list[str] - """ - return self._allowed_resource_oauth2_return_urls - - @allowed_resource_oauth2_return_urls.setter - def allowed_resource_oauth2_return_urls(self, allowed_resource_oauth2_return_urls): - r"""Sets the allowed_resource_oauth2_return_urls of this WorkloadIdentity. - - :param allowed_resource_oauth2_return_urls: The allowed_resource_oauth2_return_urls of this WorkloadIdentity. - :type allowed_resource_oauth2_return_urls: list[str] - """ - self._allowed_resource_oauth2_return_urls = allowed_resource_oauth2_return_urls - - @property - def authorizer_type(self): - r"""Gets the authorizer_type of this WorkloadIdentity. - - :return: The authorizer_type of this WorkloadIdentity. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - return self._authorizer_type - - @authorizer_type.setter - def authorizer_type(self, authorizer_type): - r"""Sets the authorizer_type of this WorkloadIdentity. - - :param authorizer_type: The authorizer_type of this WorkloadIdentity. - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - self._authorizer_type = authorizer_type - - @property - def api_key_secret(self): - r"""Gets the api_key_secret of this WorkloadIdentity. - - :return: The api_key_secret of this WorkloadIdentity. - :rtype: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - return self._api_key_secret - - @api_key_secret.setter - def api_key_secret(self, api_key_secret): - r"""Sets the api_key_secret of this WorkloadIdentity. - - :param api_key_secret: The api_key_secret of this WorkloadIdentity. - :type api_key_secret: :class:`huaweicloudsdkagentidentity.v1.Secret` - """ - self._api_key_secret = api_key_secret - - @property - def created_by(self): - r"""Gets the created_by of this WorkloadIdentity. - - :return: The created_by of this WorkloadIdentity. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - """ - return self._created_by - - @created_by.setter - def created_by(self, created_by): - r"""Sets the created_by of this WorkloadIdentity. - - :param created_by: The created_by of this WorkloadIdentity. - :type created_by: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - """ - self._created_by = created_by - - @property - def created_at(self): - r"""Gets the created_at of this WorkloadIdentity. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this WorkloadIdentity. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this WorkloadIdentity. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this WorkloadIdentity. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this WorkloadIdentity. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this WorkloadIdentity. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this WorkloadIdentity. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this WorkloadIdentity. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this WorkloadIdentity. - - 自定义标签列表。 - - :return: The tags of this WorkloadIdentity. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this WorkloadIdentity. - - 自定义标签列表。 - - :param tags: The tags of this WorkloadIdentity. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadIdentity): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_authorizer_configuration.py b/src/huaweicloudsdkagentidentity/v1/model/workload_identity_authorizer_configuration.py deleted file mode 100644 index 35935b1..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_authorizer_configuration.py +++ /dev/null @@ -1,151 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadIdentityAuthorizerConfiguration: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "workload_identity_name": "str", - "authorizer_type": "AuthorizerType", - "authorizer_configuration": "AuthorizerConfiguration" - } - - attribute_map = { - "workload_identity_name": "workload_identity_name", - "authorizer_type": "authorizer_type", - "authorizer_configuration": "authorizer_configuration" - } - - def __init__(self, workload_identity_name=None, authorizer_type=None, authorizer_configuration=None): - r"""WorkloadIdentityAuthorizerConfiguration - - The model defined in huaweicloud sdk - - :param workload_identity_name: The name of the workload identity. - :type workload_identity_name: str - :param authorizer_type: - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - :param authorizer_configuration: - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - - - - self._workload_identity_name = None - self._authorizer_type = None - self._authorizer_configuration = None - self.discriminator = None - - self.workload_identity_name = workload_identity_name - self.authorizer_type = authorizer_type - if authorizer_configuration is not None: - self.authorizer_configuration = authorizer_configuration - - @property - def workload_identity_name(self): - r"""Gets the workload_identity_name of this WorkloadIdentityAuthorizerConfiguration. - - The name of the workload identity. - - :return: The workload_identity_name of this WorkloadIdentityAuthorizerConfiguration. - :rtype: str - """ - return self._workload_identity_name - - @workload_identity_name.setter - def workload_identity_name(self, workload_identity_name): - r"""Sets the workload_identity_name of this WorkloadIdentityAuthorizerConfiguration. - - The name of the workload identity. - - :param workload_identity_name: The workload_identity_name of this WorkloadIdentityAuthorizerConfiguration. - :type workload_identity_name: str - """ - self._workload_identity_name = workload_identity_name - - @property - def authorizer_type(self): - r"""Gets the authorizer_type of this WorkloadIdentityAuthorizerConfiguration. - - :return: The authorizer_type of this WorkloadIdentityAuthorizerConfiguration. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - return self._authorizer_type - - @authorizer_type.setter - def authorizer_type(self, authorizer_type): - r"""Sets the authorizer_type of this WorkloadIdentityAuthorizerConfiguration. - - :param authorizer_type: The authorizer_type of this WorkloadIdentityAuthorizerConfiguration. - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - self._authorizer_type = authorizer_type - - @property - def authorizer_configuration(self): - r"""Gets the authorizer_configuration of this WorkloadIdentityAuthorizerConfiguration. - - :return: The authorizer_configuration of this WorkloadIdentityAuthorizerConfiguration. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - return self._authorizer_configuration - - @authorizer_configuration.setter - def authorizer_configuration(self, authorizer_configuration): - r"""Sets the authorizer_configuration of this WorkloadIdentityAuthorizerConfiguration. - - :param authorizer_configuration: The authorizer_configuration of this WorkloadIdentityAuthorizerConfiguration. - :type authorizer_configuration: :class:`huaweicloudsdkagentidentity.v1.AuthorizerConfiguration` - """ - self._authorizer_configuration = authorizer_configuration - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadIdentityAuthorizerConfiguration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_name.py b/src/huaweicloudsdkagentidentity/v1/model/workload_identity_name.py deleted file mode 100644 index 3ebba6e..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_name.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadIdentityName: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""WorkloadIdentityName - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadIdentityName): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_summary.py b/src/huaweicloudsdkagentidentity/v1/model/workload_identity_summary.py deleted file mode 100644 index 4087623..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_summary.py +++ /dev/null @@ -1,263 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadIdentitySummary: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - "name": "str", - "urn": "str", - "authorizer_type": "AuthorizerType", - "created_by": "CreatedBy", - "created_at": "datetime", - "updated_at": "datetime", - "tags": "list[Tag]" - } - - attribute_map = { - "name": "name", - "urn": "urn", - "authorizer_type": "authorizer_type", - "created_by": "created_by", - "created_at": "created_at", - "updated_at": "updated_at", - "tags": "tags" - } - - def __init__(self, name=None, urn=None, authorizer_type=None, created_by=None, created_at=None, updated_at=None, tags=None): - r"""WorkloadIdentitySummary - - The model defined in huaweicloud sdk - - :param name: The name of the workload identity. - :type name: str - :param urn: The URN of the workload identity. - :type urn: str - :param authorizer_type: - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - :param created_by: - :type created_by: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - :param created_at: Timestamp in RFC 3339 format (UTC) - :type created_at: datetime - :param updated_at: Timestamp in RFC 3339 format (UTC) - :type updated_at: datetime - :param tags: 自定义标签列表。 - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - - - - self._name = None - self._urn = None - self._authorizer_type = None - self._created_by = None - self._created_at = None - self._updated_at = None - self._tags = None - self.discriminator = None - - self.name = name - self.urn = urn - self.authorizer_type = authorizer_type - self.created_by = created_by - self.created_at = created_at - self.updated_at = updated_at - if tags is not None: - self.tags = tags - - @property - def name(self): - r"""Gets the name of this WorkloadIdentitySummary. - - The name of the workload identity. - - :return: The name of this WorkloadIdentitySummary. - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - r"""Sets the name of this WorkloadIdentitySummary. - - The name of the workload identity. - - :param name: The name of this WorkloadIdentitySummary. - :type name: str - """ - self._name = name - - @property - def urn(self): - r"""Gets the urn of this WorkloadIdentitySummary. - - The URN of the workload identity. - - :return: The urn of this WorkloadIdentitySummary. - :rtype: str - """ - return self._urn - - @urn.setter - def urn(self, urn): - r"""Sets the urn of this WorkloadIdentitySummary. - - The URN of the workload identity. - - :param urn: The urn of this WorkloadIdentitySummary. - :type urn: str - """ - self._urn = urn - - @property - def authorizer_type(self): - r"""Gets the authorizer_type of this WorkloadIdentitySummary. - - :return: The authorizer_type of this WorkloadIdentitySummary. - :rtype: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - return self._authorizer_type - - @authorizer_type.setter - def authorizer_type(self, authorizer_type): - r"""Sets the authorizer_type of this WorkloadIdentitySummary. - - :param authorizer_type: The authorizer_type of this WorkloadIdentitySummary. - :type authorizer_type: :class:`huaweicloudsdkagentidentity.v1.AuthorizerType` - """ - self._authorizer_type = authorizer_type - - @property - def created_by(self): - r"""Gets the created_by of this WorkloadIdentitySummary. - - :return: The created_by of this WorkloadIdentitySummary. - :rtype: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - """ - return self._created_by - - @created_by.setter - def created_by(self, created_by): - r"""Sets the created_by of this WorkloadIdentitySummary. - - :param created_by: The created_by of this WorkloadIdentitySummary. - :type created_by: :class:`huaweicloudsdkagentidentity.v1.CreatedBy` - """ - self._created_by = created_by - - @property - def created_at(self): - r"""Gets the created_at of this WorkloadIdentitySummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The created_at of this WorkloadIdentitySummary. - :rtype: datetime - """ - return self._created_at - - @created_at.setter - def created_at(self, created_at): - r"""Sets the created_at of this WorkloadIdentitySummary. - - Timestamp in RFC 3339 format (UTC) - - :param created_at: The created_at of this WorkloadIdentitySummary. - :type created_at: datetime - """ - self._created_at = created_at - - @property - def updated_at(self): - r"""Gets the updated_at of this WorkloadIdentitySummary. - - Timestamp in RFC 3339 format (UTC) - - :return: The updated_at of this WorkloadIdentitySummary. - :rtype: datetime - """ - return self._updated_at - - @updated_at.setter - def updated_at(self, updated_at): - r"""Sets the updated_at of this WorkloadIdentitySummary. - - Timestamp in RFC 3339 format (UTC) - - :param updated_at: The updated_at of this WorkloadIdentitySummary. - :type updated_at: datetime - """ - self._updated_at = updated_at - - @property - def tags(self): - r"""Gets the tags of this WorkloadIdentitySummary. - - 自定义标签列表。 - - :return: The tags of this WorkloadIdentitySummary. - :rtype: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - return self._tags - - @tags.setter - def tags(self, tags): - r"""Sets the tags of this WorkloadIdentitySummary. - - 自定义标签列表。 - - :param tags: The tags of this WorkloadIdentitySummary. - :type tags: list[:class:`huaweicloudsdkagentidentity.v1.Tag`] - """ - self._tags = tags - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadIdentitySummary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_urn.py b/src/huaweicloudsdkagentidentity/v1/model/workload_identity_urn.py deleted file mode 100644 index 4688cbc..0000000 --- a/src/huaweicloudsdkagentidentity/v1/model/workload_identity_urn.py +++ /dev/null @@ -1,72 +0,0 @@ - -from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization - - -class WorkloadIdentityUrn: - - """ - Attributes: - openapi_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - sensitive_list = [] - - openapi_types = { - } - - attribute_map = { - } - - def __init__(self): - r"""WorkloadIdentityUrn - - The model defined in huaweicloud sdk - - """ - - - self.discriminator = None - - def to_dict(self): - result = {} - - for attr, _ in self.openapi_types.items(): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = [x.to_dict() if hasattr(x, "to_dict") else x for x in value] - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - elif attr in self.sensitive_list: - result[attr] = "****" - else: - result[attr] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - import simplejson as json - return json.dumps(sanitize_for_serialization(self), ensure_ascii=False) - - def __repr__(self): - """For `print`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, WorkloadIdentityUrn): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/src/huaweicloudsdkagentidentity/v1/region/__init__.py b/src/huaweicloudsdkagentidentity/v1/region/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/huaweicloudsdkagentidentity/v1/region/agentidentity_region.py b/src/huaweicloudsdkagentidentity/v1/region/agentidentity_region.py deleted file mode 100644 index 59bdcbe..0000000 --- a/src/huaweicloudsdkagentidentity/v1/region/agentidentity_region.py +++ /dev/null @@ -1,35 +0,0 @@ - -from huaweicloudsdkcore.region.provider import RegionProviderChain -from huaweicloudsdkcore.region.region import Region - - -class AgentIdentityRegion: - _PROVIDER = RegionProviderChain.get_default_region_provider_chain("AGENTIDENTITY") - - AP_SOUTHEAST_4 = Region("ap-southeast-4", - "https://agent-identity.ap-southeast-4.myhuaweicloud.com") - - static_fields = { - "ap-southeast-4": AP_SOUTHEAST_4, - } - - @classmethod - def value_of(cls, region_id, static_fields=None): - if not region_id: - msg = "Unexpected empty parameter: region_id" - raise KeyError(msg) - - fields = static_fields or cls.static_fields - - region = cls._PROVIDER.get_region(region_id) - if region: - return region - - if region_id in fields: - return fields.get(region_id) - - msg = ( - "region_id '{}' is not in the following supported regions of service 'AgentIdentity': [{}]".format( - region_id, ", ".join(sorted(fields.keys()))) - ) - raise KeyError(msg) diff --git a/uv.lock b/uv.lock index 6c57848..f85c54c 100644 --- a/uv.lock +++ b/uv.lock @@ -17,11 +17,174 @@ resolution-markers = [ "python_full_version < '3.11'", ] -[manifest] -members = [ - "basic-sdk-usage-example", - "huaweicloud-agentarts-sdk", - "huaweicloudsdkagentidentity", +[[package]] +name = "agentarts-sdk" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "cryptography" }, + { name = "docker" }, + { name = "huaweicloudsdkagentidentity" }, + { name = "huaweicloudsdkiam" }, + { name = "huaweicloudsdkswr" }, + { name = "pydantic" }, + { name = "pydantic-settings" }, + { name = "pyjwt" }, + { name = "python-dotenv" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "rich" }, + { name = "starlette" }, + { name = "tenacity" }, + { name = "typer" }, + { name = "uvicorn", extra = ["standard"] }, +] + +[package.optional-dependencies] +all = [ + { name = "asyncpg" }, + { name = "crewai" }, + { name = "fastapi" }, + { name = "huaweicloudsdkobs" }, + { name = "huaweicloudsdkswr" }, + { name = "langchain" }, + { name = "langchain-community" }, + { name = "langchain-core" }, + { name = "langgraph" }, + { name = "myst-parser", version = "4.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "myst-parser", version = "5.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "opentelemetry-instrumentation-fastapi" }, + { name = "opentelemetry-sdk" }, + { name = "prometheus-client" }, + { name = "pyautogen" }, + { name = "pymilvus" }, + { name = "redis" }, + { name = "sphinx", version = "8.1.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, + { name = "sphinx", version = "9.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, + { name = "sphinx-rtd-theme" }, + { name = "sqlalchemy", extra = ["asyncio"] }, +] +autogen = [ + { name = "pyautogen" }, +] +crewai = [ + { name = "crewai" }, +] +database = [ + { name = "asyncpg" }, + { name = "redis" }, + { name = "sqlalchemy", extra = ["asyncio"] }, +] +docs = [ + { name = "myst-parser", version = "4.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "myst-parser", version = "5.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "sphinx", version = "8.1.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, + { name = "sphinx", version = "9.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, + { name = "sphinx-rtd-theme" }, +] +huaweicloud = [ + { name = "huaweicloudsdkobs" }, + { name = "huaweicloudsdkswr" }, +] +langchain = [ + { name = "langchain" }, + { name = "langchain-community" }, + { name = "langchain-core" }, +] +langgraph = [ + { name = "langchain" }, + { name = "langchain-core" }, + { name = "langgraph" }, +] +monitoring = [ + { name = "opentelemetry-instrumentation-fastapi" }, + { name = "opentelemetry-sdk" }, + { name = "prometheus-client" }, +] +vector-stores = [ + { name = "pymilvus" }, +] +web = [ + { name = "fastapi" }, +] + +[package.dev-dependencies] +dev = [ + { name = "black" }, + { name = "flake8" }, + { name = "httpx" }, + { name = "isort" }, + { name = "mypy" }, + { name = "pre-commit" }, + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-cov" }, + { name = "pytest-mock" }, + { name = "ruff" }, + { name = "types-pyyaml" }, + { name = "types-redis" }, +] + +[package.metadata] +requires-dist = [ + { name = "agentarts-sdk", extras = ["web", "langchain", "langgraph", "autogen", "crewai", "vector-stores", "database", "monitoring", "huaweicloud", "docs"], marker = "extra == 'all'" }, + { name = "asyncpg", marker = "extra == 'database'", specifier = ">=0.29.0" }, + { name = "crewai", marker = "extra == 'crewai'", specifier = ">=0.1.0" }, + { name = "cryptography", specifier = ">=41.0.0" }, + { name = "docker", specifier = ">=7.0.0" }, + { name = "fastapi", marker = "extra == 'web'", specifier = ">=0.104.0" }, + { name = "huaweicloudsdkagentidentity", specifier = ">=3.1.0" }, + { name = "huaweicloudsdkiam", specifier = ">=3.1.0" }, + { name = "huaweicloudsdkobs", marker = "extra == 'huaweicloud'", specifier = ">=3.1.0" }, + { name = "huaweicloudsdkswr", specifier = ">=3.1.0" }, + { name = "huaweicloudsdkswr", marker = "extra == 'huaweicloud'", specifier = ">=3.1.0" }, + { name = "langchain", marker = "extra == 'langchain'", specifier = ">=0.1.0" }, + { name = "langchain", marker = "extra == 'langgraph'", specifier = ">=0.1.0" }, + { name = "langchain-community", marker = "extra == 'langchain'", specifier = ">=0.0.10" }, + { name = "langchain-core", marker = "extra == 'langchain'", specifier = ">=0.1.0" }, + { name = "langchain-core", marker = "extra == 'langgraph'", specifier = ">=0.1.0" }, + { name = "langgraph", marker = "extra == 'langgraph'", specifier = ">=1.0.0" }, + { name = "myst-parser", marker = "extra == 'docs'", specifier = ">=2.0.0" }, + { name = "opentelemetry-instrumentation-fastapi", marker = "extra == 'monitoring'", specifier = ">=0.41b0" }, + { name = "opentelemetry-sdk", marker = "extra == 'monitoring'", specifier = ">=1.20.0" }, + { name = "prometheus-client", marker = "extra == 'monitoring'", specifier = ">=0.19.0" }, + { name = "pyautogen", marker = "extra == 'autogen'", specifier = ">=0.2.0" }, + { name = "pydantic", specifier = ">=2.10.0" }, + { name = "pydantic-settings", specifier = ">=2.6.0" }, + { name = "pyjwt", specifier = ">=2.8.0" }, + { name = "pymilvus", marker = "extra == 'vector-stores'", specifier = ">=2.3.0" }, + { name = "python-dotenv", specifier = ">=1.0.0" }, + { name = "pyyaml", specifier = ">=6.0" }, + { name = "redis", marker = "extra == 'database'", specifier = ">=5.0.0" }, + { name = "requests", specifier = ">=2.31.0" }, + { name = "rich", specifier = ">=13.0.0" }, + { name = "sphinx", marker = "extra == 'docs'", specifier = ">=7.2.0" }, + { name = "sphinx-rtd-theme", marker = "extra == 'docs'", specifier = ">=1.3.0" }, + { name = "sqlalchemy", extras = ["asyncio"], marker = "extra == 'database'", specifier = ">=2.0.0" }, + { name = "starlette", specifier = ">=0.46.2" }, + { name = "tenacity", specifier = ">=8.2.0" }, + { name = "typer", specifier = ">=0.9.0" }, + { name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" }, +] +provides-extras = ["web", "langchain", "langgraph", "autogen", "crewai", "vector-stores", "database", "monitoring", "huaweicloud", "docs", "all"] + +[package.metadata.requires-dev] +dev = [ + { name = "black", specifier = ">=23.0.0" }, + { name = "flake8", specifier = ">=6.1.0" }, + { name = "httpx", specifier = ">=0.25.0" }, + { name = "isort", specifier = ">=5.12.0" }, + { name = "mypy", specifier = ">=1.5.0" }, + { name = "pre-commit", specifier = ">=3.5.0" }, + { name = "pytest", specifier = ">=7.4.0" }, + { name = "pytest-asyncio", specifier = ">=0.21.0" }, + { name = "pytest-cov", specifier = ">=4.1.0" }, + { name = "pytest-mock", specifier = ">=3.11.0" }, + { name = "ruff", specifier = ">=0.1.0" }, + { name = "types-pyyaml", specifier = ">=6.0.0" }, + { name = "types-redis", specifier = ">=4.6.0" }, ] [[package]] @@ -216,76 +379,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128", size = 9566, upload-time = "2020-05-11T07:59:49.499Z" }, ] -[[package]] -name = "appnope" -version = "0.1.4" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/35/5d/752690df9ef5b76e169e68d6a129fa6d08a7100ca7f754c89495db3c6019/appnope-0.1.4.tar.gz", hash = "sha256:1de3860566df9caf38f01f86f65e0e13e379af54f9e4bee1e66b48f2efffd1ee", size = 4170, upload-time = "2024-02-06T09:43:11.258Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/81/29/5ecc3a15d5a33e31b26c11426c45c501e439cb865d0bff96315d86443b78/appnope-0.1.4-py2.py3-none-any.whl", hash = "sha256:502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c", size = 4321, upload-time = "2024-02-06T09:43:09.663Z" }, -] - -[[package]] -name = "argon2-cffi" -version = "25.1.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "argon2-cffi-bindings" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/0e/89/ce5af8a7d472a67cc819d5d998aa8c82c5d860608c4db9f46f1162d7dab9/argon2_cffi-25.1.0.tar.gz", hash = "sha256:694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1", size = 45706, upload-time = "2025-06-03T06:55:32.073Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4f/d3/a8b22fa575b297cd6e3e3b0155c7e25db170edf1c74783d6a31a2490b8d9/argon2_cffi-25.1.0-py3-none-any.whl", hash = "sha256:fdc8b074db390fccb6eb4a3604ae7231f219aa669a2652e0f20e16ba513d5741", size = 14657, upload-time = "2025-06-03T06:55:30.804Z" }, -] - -[[package]] -name = "argon2-cffi-bindings" -version = "25.1.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "cffi" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/5c/2d/db8af0df73c1cf454f71b2bbe5e356b8c1f8041c979f505b3d3186e520a9/argon2_cffi_bindings-25.1.0.tar.gz", hash = "sha256:b957f3e6ea4d55d820e40ff76f450952807013d361a65d7f28acc0acbf29229d", size = 1783441, upload-time = "2025-07-30T10:02:05.147Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/60/97/3c0a35f46e52108d4707c44b95cfe2afcafc50800b5450c197454569b776/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:3d3f05610594151994ca9ccb3c771115bdb4daef161976a266f0dd8aa9996b8f", size = 54393, upload-time = "2025-07-30T10:01:40.97Z" }, - { url = "https://files.pythonhosted.org/packages/9d/f4/98bbd6ee89febd4f212696f13c03ca302b8552e7dbf9c8efa11ea4a388c3/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8b8efee945193e667a396cbc7b4fb7d357297d6234d30a489905d96caabde56b", size = 29328, upload-time = "2025-07-30T10:01:41.916Z" }, - { url = "https://files.pythonhosted.org/packages/43/24/90a01c0ef12ac91a6be05969f29944643bc1e5e461155ae6559befa8f00b/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3c6702abc36bf3ccba3f802b799505def420a1b7039862014a65db3205967f5a", size = 31269, upload-time = "2025-07-30T10:01:42.716Z" }, - { url = "https://files.pythonhosted.org/packages/d4/d3/942aa10782b2697eee7af5e12eeff5ebb325ccfb86dd8abda54174e377e4/argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a1c70058c6ab1e352304ac7e3b52554daadacd8d453c1752e547c76e9c99ac44", size = 86558, upload-time = "2025-07-30T10:01:43.943Z" }, - { url = "https://files.pythonhosted.org/packages/0d/82/b484f702fec5536e71836fc2dbc8c5267b3f6e78d2d539b4eaa6f0db8bf8/argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e2fd3bfbff3c5d74fef31a722f729bf93500910db650c925c2d6ef879a7e51cb", size = 92364, upload-time = "2025-07-30T10:01:44.887Z" }, - { url = "https://files.pythonhosted.org/packages/c9/c1/a606ff83b3f1735f3759ad0f2cd9e038a0ad11a3de3b6c673aa41c24bb7b/argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c4f9665de60b1b0e99bcd6be4f17d90339698ce954cfd8d9cf4f91c995165a92", size = 85637, upload-time = "2025-07-30T10:01:46.225Z" }, - { url = "https://files.pythonhosted.org/packages/44/b4/678503f12aceb0262f84fa201f6027ed77d71c5019ae03b399b97caa2f19/argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ba92837e4a9aa6a508c8d2d7883ed5a8f6c308c89a4790e1e447a220deb79a85", size = 91934, upload-time = "2025-07-30T10:01:47.203Z" }, - { url = "https://files.pythonhosted.org/packages/f0/c7/f36bd08ef9bd9f0a9cff9428406651f5937ce27b6c5b07b92d41f91ae541/argon2_cffi_bindings-25.1.0-cp314-cp314t-win32.whl", hash = "sha256:84a461d4d84ae1295871329b346a97f68eade8c53b6ed9a7ca2d7467f3c8ff6f", size = 28158, upload-time = "2025-07-30T10:01:48.341Z" }, - { url = "https://files.pythonhosted.org/packages/b3/80/0106a7448abb24a2c467bf7d527fe5413b7fdfa4ad6d6a96a43a62ef3988/argon2_cffi_bindings-25.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b55aec3565b65f56455eebc9b9f34130440404f27fe21c3b375bf1ea4d8fbae6", size = 32597, upload-time = "2025-07-30T10:01:49.112Z" }, - { url = "https://files.pythonhosted.org/packages/05/b8/d663c9caea07e9180b2cb662772865230715cbd573ba3b5e81793d580316/argon2_cffi_bindings-25.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:87c33a52407e4c41f3b70a9c2d3f6056d88b10dad7695be708c5021673f55623", size = 28231, upload-time = "2025-07-30T10:01:49.92Z" }, - { url = "https://files.pythonhosted.org/packages/1d/57/96b8b9f93166147826da5f90376e784a10582dd39a393c99bb62cfcf52f0/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:aecba1723ae35330a008418a91ea6cfcedf6d31e5fbaa056a166462ff066d500", size = 54121, upload-time = "2025-07-30T10:01:50.815Z" }, - { url = "https://files.pythonhosted.org/packages/0a/08/a9bebdb2e0e602dde230bdde8021b29f71f7841bd54801bcfd514acb5dcf/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:2630b6240b495dfab90aebe159ff784d08ea999aa4b0d17efa734055a07d2f44", size = 29177, upload-time = "2025-07-30T10:01:51.681Z" }, - { url = "https://files.pythonhosted.org/packages/b6/02/d297943bcacf05e4f2a94ab6f462831dc20158614e5d067c35d4e63b9acb/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:7aef0c91e2c0fbca6fc68e7555aa60ef7008a739cbe045541e438373bc54d2b0", size = 31090, upload-time = "2025-07-30T10:01:53.184Z" }, - { url = "https://files.pythonhosted.org/packages/c1/93/44365f3d75053e53893ec6d733e4a5e3147502663554b4d864587c7828a7/argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e021e87faa76ae0d413b619fe2b65ab9a037f24c60a1e6cc43457ae20de6dc6", size = 81246, upload-time = "2025-07-30T10:01:54.145Z" }, - { url = "https://files.pythonhosted.org/packages/09/52/94108adfdd6e2ddf58be64f959a0b9c7d4ef2fa71086c38356d22dc501ea/argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3e924cfc503018a714f94a49a149fdc0b644eaead5d1f089330399134fa028a", size = 87126, upload-time = "2025-07-30T10:01:55.074Z" }, - { url = "https://files.pythonhosted.org/packages/72/70/7a2993a12b0ffa2a9271259b79cc616e2389ed1a4d93842fac5a1f923ffd/argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c87b72589133f0346a1cb8d5ecca4b933e3c9b64656c9d175270a000e73b288d", size = 80343, upload-time = "2025-07-30T10:01:56.007Z" }, - { url = "https://files.pythonhosted.org/packages/78/9a/4e5157d893ffc712b74dbd868c7f62365618266982b64accab26bab01edc/argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1db89609c06afa1a214a69a462ea741cf735b29a57530478c06eb81dd403de99", size = 86777, upload-time = "2025-07-30T10:01:56.943Z" }, - { url = "https://files.pythonhosted.org/packages/74/cd/15777dfde1c29d96de7f18edf4cc94c385646852e7c7b0320aa91ccca583/argon2_cffi_bindings-25.1.0-cp39-abi3-win32.whl", hash = "sha256:473bcb5f82924b1becbb637b63303ec8d10e84c8d241119419897a26116515d2", size = 27180, upload-time = "2025-07-30T10:01:57.759Z" }, - { url = "https://files.pythonhosted.org/packages/e2/c6/a759ece8f1829d1f162261226fbfd2c6832b3ff7657384045286d2afa384/argon2_cffi_bindings-25.1.0-cp39-abi3-win_amd64.whl", hash = "sha256:a98cd7d17e9f7ce244c0803cad3c23a7d379c301ba618a5fa76a67d116618b98", size = 31715, upload-time = "2025-07-30T10:01:58.56Z" }, - { url = "https://files.pythonhosted.org/packages/42/b9/f8d6fa329ab25128b7e98fd83a3cb34d9db5b059a9847eddb840a0af45dd/argon2_cffi_bindings-25.1.0-cp39-abi3-win_arm64.whl", hash = "sha256:b0fdbcf513833809c882823f98dc2f931cf659d9a1429616ac3adebb49f5db94", size = 27149, upload-time = "2025-07-30T10:01:59.329Z" }, - { url = "https://files.pythonhosted.org/packages/11/2d/ba4e4ca8d149f8dcc0d952ac0967089e1d759c7e5fcf0865a317eb680fbb/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:6dca33a9859abf613e22733131fc9194091c1fa7cb3e131c143056b4856aa47e", size = 24549, upload-time = "2025-07-30T10:02:00.101Z" }, - { url = "https://files.pythonhosted.org/packages/5c/82/9b2386cc75ac0bd3210e12a44bfc7fd1632065ed8b80d573036eecb10442/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:21378b40e1b8d1655dd5310c84a40fc19a9aa5e6366e835ceb8576bf0fea716d", size = 25539, upload-time = "2025-07-30T10:02:00.929Z" }, - { url = "https://files.pythonhosted.org/packages/31/db/740de99a37aa727623730c90d92c22c9e12585b3c98c54b7960f7810289f/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5d588dec224e2a83edbdc785a5e6f3c6cd736f46bfd4b441bbb5aa1f5085e584", size = 28467, upload-time = "2025-07-30T10:02:02.08Z" }, - { url = "https://files.pythonhosted.org/packages/71/7a/47c4509ea18d755f44e2b92b7178914f0c113946d11e16e626df8eaa2b0b/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5acb4e41090d53f17ca1110c3427f0a130f944b896fc8c83973219c97f57b690", size = 27355, upload-time = "2025-07-30T10:02:02.867Z" }, - { url = "https://files.pythonhosted.org/packages/ee/82/82745642d3c46e7cea25e1885b014b033f4693346ce46b7f47483cf5d448/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:da0c79c23a63723aa5d782250fbf51b768abca630285262fb5144ba5ae01e520", size = 29187, upload-time = "2025-07-30T10:02:03.674Z" }, -] - -[[package]] -name = "arrow" -version = "1.4.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "python-dateutil" }, - { name = "tzdata" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/b9/33/032cdc44182491aa708d06a68b62434140d8c50820a087fac7af37703357/arrow-1.4.0.tar.gz", hash = "sha256:ed0cc050e98001b8779e84d461b0098c4ac597e88704a655582b21d116e526d7", size = 152931, upload-time = "2025-10-18T17:46:46.761Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ed/c9/d7977eaacb9df673210491da99e6a247e93df98c715fc43fd136ce1d3d33/arrow-1.4.0-py3-none-any.whl", hash = "sha256:749f0769958ebdc79c173ff0b0670d59051a535fa26e8eba02953dc19eb43205", size = 68797, upload-time = "2025-10-18T17:46:45.663Z" }, -] - [[package]] name = "asgiref" version = "3.11.1" @@ -307,18 +400,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d2/39/e7eaf1799466a4aef85b6a4fe7bd175ad2b1c6345066aa33f1f58d4b18d0/asttokens-3.0.1-py3-none-any.whl", hash = "sha256:15a3ebc0f43c2d0a50eeafea25e19046c68398e487b9f1f5b517f7c0f40f976a", size = 27047, upload-time = "2025-11-15T16:43:16.109Z" }, ] -[[package]] -name = "async-lru" -version = "2.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/e8/1f/989ecfef8e64109a489fff357450cb73fa73a865a92bd8c272170a6922c2/async_lru-2.3.0.tar.gz", hash = "sha256:89bdb258a0140d7313cf8f4031d816a042202faa61d0ab310a0a538baa1c24b6", size = 16332, upload-time = "2026-03-19T01:04:32.413Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e5/e2/c2e3abf398f80732e58b03be77bde9022550d221dd8781bf586bd4d97cc1/async_lru-2.3.0-py3-none-any.whl", hash = "sha256:eea27b01841909316f2cc739807acea1c623df2be8c5cfad7583286397bb8315", size = 8403, upload-time = "2026-03-19T01:04:30.883Z" }, -] - [[package]] name = "async-timeout" version = "4.0.3" @@ -469,37 +550,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" }, ] -[[package]] -name = "basic-sdk-usage-example" -version = "0.1.0" -source = { virtual = "examples/sdk/agent_identity" } -dependencies = [ - { name = "fastapi" }, - { name = "huaweicloud-agentarts-sdk" }, - { name = "huaweicloudsdkiam" }, - { name = "uvicorn" }, -] - -[package.dev-dependencies] -dev = [ - { name = "ipykernel" }, - { name = "jupyter" }, -] - -[package.metadata] -requires-dist = [ - { name = "fastapi", specifier = ">=0.128.1" }, - { name = "huaweicloud-agentarts-sdk", editable = "." }, - { name = "huaweicloudsdkiam", specifier = "==3.1.187" }, - { name = "uvicorn", specifier = ">=0.40.0" }, -] - -[package.metadata.requires-dev] -dev = [ - { name = "ipykernel", specifier = ">=7.2.0" }, - { name = "jupyter", specifier = ">=1.1.1" }, -] - [[package]] name = "bcrypt" version = "5.0.0" @@ -570,19 +620,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e4/f8/972c96f5a2b6c4b3deca57009d93e946bbdbe2241dca9806d502f29dd3ee/bcrypt-5.0.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:6b8f520b61e8781efee73cba14e3e8c9556ccfb375623f4f97429544734545b4", size = 273375, upload-time = "2025-09-25T19:50:45.43Z" }, ] -[[package]] -name = "beautifulsoup4" -version = "4.14.3" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "soupsieve" }, - { name = "typing-extensions" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz", hash = "sha256:6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86", size = 627737, upload-time = "2025-11-30T15:08:26.084Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl", hash = "sha256:0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb", size = 107721, upload-time = "2025-11-30T15:08:24.087Z" }, -] - [[package]] name = "black" version = "26.3.1" @@ -627,23 +664,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/8e/0d/52d98722666d6fc6c3dd4c76df339501d6efd40e0ff95e6186a7b7f0befd/black-26.3.1-py3-none-any.whl", hash = "sha256:2bd5aa94fc267d38bb21a70d7410a89f1a1d318841855f698746f8e7f51acd1b", size = 207542, upload-time = "2026-03-12T03:36:01.668Z" }, ] -[[package]] -name = "bleach" -version = "6.3.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "webencodings" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/07/18/3c8523962314be6bf4c8989c79ad9531c825210dd13a8669f6b84336e8bd/bleach-6.3.0.tar.gz", hash = "sha256:6f3b91b1c0a02bb9a78b5a454c92506aa0fdf197e1d5e114d2e00c6f64306d22", size = 203533, upload-time = "2025-10-27T17:57:39.211Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cd/3a/577b549de0cc09d95f11087ee63c739bba856cd3952697eec4c4bb91350a/bleach-6.3.0-py3-none-any.whl", hash = "sha256:fe10ec77c93ddf3d13a73b035abaac7a9f5e436513864ccdad516693213c65d6", size = 164437, upload-time = "2025-10-27T17:57:37.538Z" }, -] - -[package.optional-dependencies] -css = [ - { name = "tinycss2" }, -] - [[package]] name = "blinker" version = "1.9.0" @@ -959,15 +979,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a7/06/3d6badcf13db419e25b07041d9c7b4a2c331d3f4e7134445ec5df57714cd/coloredlogs-15.0.1-py2.py3-none-any.whl", hash = "sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934", size = 46018, upload-time = "2021-06-11T10:22:42.561Z" }, ] -[[package]] -name = "comm" -version = "0.2.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" }, -] - [[package]] name = "coverage" version = "7.13.5" @@ -1196,35 +1207,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c3/be/d0d44e092656fe7a06b55e6103cbce807cdbdee17884a5367c68c9860853/dataclasses_json-0.6.7-py3-none-any.whl", hash = "sha256:0dbf33f26c8d5305befd61b39d2b3414e8a407bedc2834dea9b8d642666fb40a", size = 28686, upload-time = "2024-06-09T16:20:16.715Z" }, ] -[[package]] -name = "debugpy" -version = "1.8.20" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e0/b7/cd8080344452e4874aae67c40d8940e2b4d47b01601a8fd9f44786c757c7/debugpy-1.8.20.tar.gz", hash = "sha256:55bc8701714969f1ab89a6d5f2f3d40c36f91b2cbe2f65d98bf8196f6a6a2c33", size = 1645207, upload-time = "2026-01-29T23:03:28.199Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/71/be/8bd693a0b9d53d48c8978fa5d889e06f3b5b03e45fd1ea1e78267b4887cb/debugpy-1.8.20-cp310-cp310-macosx_15_0_x86_64.whl", hash = "sha256:157e96ffb7f80b3ad36d808646198c90acb46fdcfd8bb1999838f0b6f2b59c64", size = 2099192, upload-time = "2026-01-29T23:03:29.707Z" }, - { url = "https://files.pythonhosted.org/packages/77/1b/85326d07432086a06361d493d2743edd0c4fc2ef62162be7f8618441ac37/debugpy-1.8.20-cp310-cp310-manylinux_2_34_x86_64.whl", hash = "sha256:c1178ae571aff42e61801a38b007af504ec8e05fde1c5c12e5a7efef21009642", size = 3088568, upload-time = "2026-01-29T23:03:31.467Z" }, - { url = "https://files.pythonhosted.org/packages/e8/60/3e08462ee3eccd10998853eb35947c416e446bfe2bc37dbb886b9044586c/debugpy-1.8.20-cp310-cp310-win32.whl", hash = "sha256:c29dd9d656c0fbd77906a6e6a82ae4881514aa3294b94c903ff99303e789b4a2", size = 5284399, upload-time = "2026-01-29T23:03:33.678Z" }, - { url = "https://files.pythonhosted.org/packages/72/43/09d49106e770fe558ced5e80df2e3c2ebee10e576eda155dcc5670473663/debugpy-1.8.20-cp310-cp310-win_amd64.whl", hash = "sha256:3ca85463f63b5dd0aa7aaa933d97cbc47c174896dcae8431695872969f981893", size = 5316388, upload-time = "2026-01-29T23:03:35.095Z" }, - { url = "https://files.pythonhosted.org/packages/51/56/c3baf5cbe4dd77427fd9aef99fcdade259ad128feeb8a786c246adb838e5/debugpy-1.8.20-cp311-cp311-macosx_15_0_universal2.whl", hash = "sha256:eada6042ad88fa1571b74bd5402ee8b86eded7a8f7b827849761700aff171f1b", size = 2208318, upload-time = "2026-01-29T23:03:36.481Z" }, - { url = "https://files.pythonhosted.org/packages/9a/7d/4fa79a57a8e69fe0d9763e98d1110320f9ecd7f1f362572e3aafd7417c9d/debugpy-1.8.20-cp311-cp311-manylinux_2_34_x86_64.whl", hash = "sha256:7de0b7dfeedc504421032afba845ae2a7bcc32ddfb07dae2c3ca5442f821c344", size = 3171493, upload-time = "2026-01-29T23:03:37.775Z" }, - { url = "https://files.pythonhosted.org/packages/7d/f2/1e8f8affe51e12a26f3a8a8a4277d6e60aa89d0a66512f63b1e799d424a4/debugpy-1.8.20-cp311-cp311-win32.whl", hash = "sha256:773e839380cf459caf73cc533ea45ec2737a5cc184cf1b3b796cd4fd98504fec", size = 5209240, upload-time = "2026-01-29T23:03:39.109Z" }, - { url = "https://files.pythonhosted.org/packages/d5/92/1cb532e88560cbee973396254b21bece8c5d7c2ece958a67afa08c9f10dc/debugpy-1.8.20-cp311-cp311-win_amd64.whl", hash = "sha256:1f7650546e0eded1902d0f6af28f787fa1f1dbdbc97ddabaf1cd963a405930cb", size = 5233481, upload-time = "2026-01-29T23:03:40.659Z" }, - { url = "https://files.pythonhosted.org/packages/14/57/7f34f4736bfb6e00f2e4c96351b07805d83c9a7b33d28580ae01374430f7/debugpy-1.8.20-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:4ae3135e2089905a916909ef31922b2d733d756f66d87345b3e5e52b7a55f13d", size = 2550686, upload-time = "2026-01-29T23:03:42.023Z" }, - { url = "https://files.pythonhosted.org/packages/ab/78/b193a3975ca34458f6f0e24aaf5c3e3da72f5401f6054c0dfd004b41726f/debugpy-1.8.20-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:88f47850a4284b88bd2bfee1f26132147d5d504e4e86c22485dfa44b97e19b4b", size = 4310588, upload-time = "2026-01-29T23:03:43.314Z" }, - { url = "https://files.pythonhosted.org/packages/c1/55/f14deb95eaf4f30f07ef4b90a8590fc05d9e04df85ee379712f6fb6736d7/debugpy-1.8.20-cp312-cp312-win32.whl", hash = "sha256:4057ac68f892064e5f98209ab582abfee3b543fb55d2e87610ddc133a954d390", size = 5331372, upload-time = "2026-01-29T23:03:45.526Z" }, - { url = "https://files.pythonhosted.org/packages/a1/39/2bef246368bd42f9bd7cba99844542b74b84dacbdbea0833e610f384fee8/debugpy-1.8.20-cp312-cp312-win_amd64.whl", hash = "sha256:a1a8f851e7cf171330679ef6997e9c579ef6dd33c9098458bd9986a0f4ca52e3", size = 5372835, upload-time = "2026-01-29T23:03:47.245Z" }, - { url = "https://files.pythonhosted.org/packages/15/e2/fc500524cc6f104a9d049abc85a0a8b3f0d14c0a39b9c140511c61e5b40b/debugpy-1.8.20-cp313-cp313-macosx_15_0_universal2.whl", hash = "sha256:5dff4bb27027821fdfcc9e8f87309a28988231165147c31730128b1c983e282a", size = 2539560, upload-time = "2026-01-29T23:03:48.738Z" }, - { url = "https://files.pythonhosted.org/packages/90/83/fb33dcea789ed6018f8da20c5a9bc9d82adc65c0c990faed43f7c955da46/debugpy-1.8.20-cp313-cp313-manylinux_2_34_x86_64.whl", hash = "sha256:84562982dd7cf5ebebfdea667ca20a064e096099997b175fe204e86817f64eaf", size = 4293272, upload-time = "2026-01-29T23:03:50.169Z" }, - { url = "https://files.pythonhosted.org/packages/a6/25/b1e4a01bfb824d79a6af24b99ef291e24189080c93576dfd9b1a2815cd0f/debugpy-1.8.20-cp313-cp313-win32.whl", hash = "sha256:da11dea6447b2cadbf8ce2bec59ecea87cc18d2c574980f643f2d2dfe4862393", size = 5331208, upload-time = "2026-01-29T23:03:51.547Z" }, - { url = "https://files.pythonhosted.org/packages/13/f7/a0b368ce54ffff9e9028c098bd2d28cfc5b54f9f6c186929083d4c60ba58/debugpy-1.8.20-cp313-cp313-win_amd64.whl", hash = "sha256:eb506e45943cab2efb7c6eafdd65b842f3ae779f020c82221f55aca9de135ed7", size = 5372930, upload-time = "2026-01-29T23:03:53.585Z" }, - { url = "https://files.pythonhosted.org/packages/33/2e/f6cb9a8a13f5058f0a20fe09711a7b726232cd5a78c6a7c05b2ec726cff9/debugpy-1.8.20-cp314-cp314-macosx_15_0_universal2.whl", hash = "sha256:9c74df62fc064cd5e5eaca1353a3ef5a5d50da5eb8058fcef63106f7bebe6173", size = 2538066, upload-time = "2026-01-29T23:03:54.999Z" }, - { url = "https://files.pythonhosted.org/packages/c5/56/6ddca50b53624e1ca3ce1d1e49ff22db46c47ea5fb4c0cc5c9b90a616364/debugpy-1.8.20-cp314-cp314-manylinux_2_34_x86_64.whl", hash = "sha256:077a7447589ee9bc1ff0cdf443566d0ecf540ac8aa7333b775ebcb8ce9f4ecad", size = 4269425, upload-time = "2026-01-29T23:03:56.518Z" }, - { url = "https://files.pythonhosted.org/packages/c5/d9/d64199c14a0d4c476df46c82470a3ce45c8d183a6796cfb5e66533b3663c/debugpy-1.8.20-cp314-cp314-win32.whl", hash = "sha256:352036a99dd35053b37b7803f748efc456076f929c6a895556932eaf2d23b07f", size = 5331407, upload-time = "2026-01-29T23:03:58.481Z" }, - { url = "https://files.pythonhosted.org/packages/e0/d9/1f07395b54413432624d61524dfd98c1a7c7827d2abfdb8829ac92638205/debugpy-1.8.20-cp314-cp314-win_amd64.whl", hash = "sha256:a98eec61135465b062846112e5ecf2eebb855305acc1dfbae43b72903b8ab5be", size = 5372521, upload-time = "2026-01-29T23:03:59.864Z" }, - { url = "https://files.pythonhosted.org/packages/e0/c3/7f67dea8ccf8fdcb9c99033bbe3e90b9e7395415843accb81428c441be2d/debugpy-1.8.20-py2.py3-none-any.whl", hash = "sha256:5be9bed9ae3be00665a06acaa48f8329d2b9632f15fd09f6a9a8c8d9907e54d7", size = 5337658, upload-time = "2026-01-29T23:04:17.404Z" }, -] - [[package]] name = "decorator" version = "5.2.1" @@ -1383,15 +1365,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/84/a4/5caa2de7f917a04ada20018eccf60d6cc6145b0199d55ca3711b0fc08312/fastapi-0.135.3-py3-none-any.whl", hash = "sha256:9b0f590c813acd13d0ab43dd8494138eb58e484bfac405db1f3187cfc5810d98", size = 117734, upload-time = "2026-04-01T16:23:59.328Z" }, ] -[[package]] -name = "fastjsonschema" -version = "2.21.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/20/b5/23b216d9d985a956623b6bd12d4086b60f0059b27799f23016af04a74ea1/fastjsonschema-2.21.2.tar.gz", hash = "sha256:b1eb43748041c880796cd077f1a07c3d94e93ae84bba5ed36800a33554ae05de", size = 374130, upload-time = "2025-08-14T18:49:36.666Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/a8/20d0723294217e47de6d9e2e40fd4a9d2f7c4b6ef974babd482a59743694/fastjsonschema-2.21.2-py3-none-any.whl", hash = "sha256:1c797122d0a86c5cace2e54bf4e819c36223b552017172f32c5c024a6b77e463", size = 24024, upload-time = "2025-08-14T18:49:34.776Z" }, -] - [[package]] name = "filelock" version = "3.25.2" @@ -1423,15 +1396,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e8/2d/d2a548598be01649e2d46231d151a6c56d10b964d94043a335ae56ea2d92/flatbuffers-25.12.19-py2.py3-none-any.whl", hash = "sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4", size = 26661, upload-time = "2025-12-19T23:16:13.622Z" }, ] -[[package]] -name = "fqdn" -version = "1.5.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/30/3e/a80a8c077fd798951169626cde3e239adeba7dab75deb3555716415bd9b0/fqdn-1.5.1.tar.gz", hash = "sha256:105ed3677e767fb5ca086a0c1f4bb66ebc3c100be518f0e0d755d9eae164d89f", size = 6015, upload-time = "2021-03-11T07:16:29.08Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/cf/58/8acf1b3e91c58313ce5cb67df61001fc9dcd21be4fadb76c1a2d540e09ed/fqdn-1.5.1-py3-none-any.whl", hash = "sha256:3a179af3761e4df6eb2e026ff9e1a3033d3587bf980a0b1b2e1e5d08d7358014", size = 9121, upload-time = "2021-03-11T07:16:28.351Z" }, -] - [[package]] name = "frozenlist" version = "1.8.0" @@ -1823,186 +1787,19 @@ wheels = [ ] [[package]] -name = "huaweicloud-agentarts-sdk" -version = "0.1.0" -source = { editable = "." } +name = "huaweicloudsdkagentidentity" +version = "3.1.192" +source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "cryptography" }, - { name = "docker" }, - { name = "fastapi" }, - { name = "huaweicloudsdkagentidentity" }, { name = "huaweicloudsdkcore" }, - { name = "huaweicloudsdkiam" }, - { name = "huaweicloudsdkswr" }, - { name = "pydantic" }, - { name = "pydantic-settings" }, - { name = "pyjwt" }, - { name = "python-dotenv" }, - { name = "pyyaml" }, - { name = "requests" }, - { name = "rich" }, - { name = "starlette" }, - { name = "tenacity" }, - { name = "typer" }, - { name = "uvicorn", extra = ["standard"] }, -] - -[package.optional-dependencies] -all = [ - { name = "asyncpg" }, - { name = "crewai" }, - { name = "huaweicloudsdkobs" }, - { name = "huaweicloudsdkswr" }, - { name = "langchain" }, - { name = "langchain-community" }, - { name = "langchain-core" }, - { name = "langgraph" }, - { name = "myst-parser", version = "4.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "myst-parser", version = "5.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, - { name = "opentelemetry-instrumentation-fastapi" }, - { name = "opentelemetry-sdk" }, - { name = "prometheus-client" }, - { name = "pyautogen" }, - { name = "pymilvus" }, - { name = "redis" }, - { name = "sphinx", version = "8.1.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "sphinx", version = "9.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "sphinx-rtd-theme" }, - { name = "sqlalchemy", extra = ["asyncio"] }, -] -autogen = [ - { name = "pyautogen" }, -] -crewai = [ - { name = "crewai" }, -] -database = [ - { name = "asyncpg" }, - { name = "redis" }, - { name = "sqlalchemy", extra = ["asyncio"] }, -] -docs = [ - { name = "myst-parser", version = "4.0.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "myst-parser", version = "5.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, - { name = "sphinx", version = "8.1.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "sphinx", version = "9.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "sphinx-rtd-theme" }, -] -huaweicloud = [ - { name = "huaweicloudsdkobs" }, - { name = "huaweicloudsdkswr" }, -] -langchain = [ - { name = "langchain" }, - { name = "langchain-community" }, - { name = "langchain-core" }, -] -langgraph = [ - { name = "langchain" }, - { name = "langgraph" }, -] -monitoring = [ - { name = "opentelemetry-instrumentation-fastapi" }, - { name = "opentelemetry-sdk" }, - { name = "prometheus-client" }, -] -vector-stores = [ - { name = "pymilvus" }, -] - -[package.dev-dependencies] -dev = [ - { name = "black" }, - { name = "flake8" }, - { name = "isort" }, - { name = "mypy" }, - { name = "pre-commit" }, - { name = "pytest" }, - { name = "pytest-asyncio" }, - { name = "pytest-cov" }, - { name = "pytest-mock" }, - { name = "ruff" }, - { name = "ty" }, - { name = "types-pyyaml" }, - { name = "types-redis" }, -] - -[package.metadata] -requires-dist = [ - { name = "asyncpg", marker = "extra == 'database'", specifier = ">=0.29.0" }, - { name = "crewai", marker = "extra == 'crewai'", specifier = ">=0.1.0" }, - { name = "cryptography", specifier = ">=41.0.0" }, - { name = "docker", specifier = ">=7.0.0" }, - { name = "fastapi", specifier = ">=0.104.0" }, - { name = "huaweicloud-agentarts-sdk", extras = ["langchain", "langgraph", "autogen", "crewai", "vector-stores", "database", "monitoring", "huaweicloud", "dev", "docs"], marker = "extra == 'all'" }, - { name = "huaweicloudsdkagentidentity", editable = "libs/huaweicloudsdkagentidentity" }, - { name = "huaweicloudsdkcore", specifier = ">=3.1.0" }, - { name = "huaweicloudsdkiam", specifier = ">=3.1.0" }, - { name = "huaweicloudsdkobs", marker = "extra == 'huaweicloud'", specifier = ">=3.1.0" }, - { name = "huaweicloudsdkswr", specifier = ">=3.1.0" }, - { name = "huaweicloudsdkswr", marker = "extra == 'huaweicloud'", specifier = ">=3.1.0" }, - { name = "langchain", marker = "extra == 'langchain'", specifier = ">=0.1.0" }, - { name = "langchain", marker = "extra == 'langgraph'", specifier = ">=0.1.0" }, - { name = "langchain-community", marker = "extra == 'langchain'", specifier = ">=0.0.10" }, - { name = "langchain-core", marker = "extra == 'langchain'", specifier = ">=0.1.0" }, - { name = "langgraph", marker = "extra == 'langgraph'", specifier = ">=0.0.20" }, - { name = "myst-parser", marker = "extra == 'docs'", specifier = ">=2.0.0" }, - { name = "opentelemetry-instrumentation-fastapi", marker = "extra == 'monitoring'", specifier = ">=0.41b0" }, - { name = "opentelemetry-sdk", marker = "extra == 'monitoring'", specifier = ">=1.20.0" }, - { name = "prometheus-client", marker = "extra == 'monitoring'", specifier = ">=0.19.0" }, - { name = "pyautogen", marker = "extra == 'autogen'", specifier = ">=0.2.0" }, - { name = "pydantic", specifier = ">=2.10.0,<2.13.0" }, - { name = "pydantic-settings", specifier = ">=2.6.0,<2.9.0" }, - { name = "pyjwt", specifier = ">=2.8.0" }, - { name = "pymilvus", marker = "extra == 'vector-stores'", specifier = ">=2.3.0" }, - { name = "python-dotenv", specifier = ">=1.0.0" }, - { name = "pyyaml", specifier = ">=6.0" }, - { name = "redis", marker = "extra == 'database'", specifier = ">=5.0.0" }, - { name = "requests", specifier = ">=2.31.0" }, - { name = "rich", specifier = ">=13.0.0" }, - { name = "sphinx", marker = "extra == 'docs'", specifier = ">=7.2.0" }, - { name = "sphinx-rtd-theme", marker = "extra == 'docs'", specifier = ">=1.3.0" }, - { name = "sqlalchemy", extras = ["asyncio"], marker = "extra == 'database'", specifier = ">=2.0.0" }, - { name = "starlette", specifier = ">=0.46.2" }, - { name = "tenacity", specifier = ">=8.2.0" }, - { name = "typer", specifier = ">=0.9.0" }, - { name = "uvicorn", extras = ["standard"], specifier = ">=0.24.0" }, -] -provides-extras = ["langchain", "langgraph", "autogen", "crewai", "vector-stores", "database", "monitoring", "huaweicloud", "docs", "all"] - -[package.metadata.requires-dev] -dev = [ - { name = "black", specifier = ">=23.0.0" }, - { name = "flake8", specifier = ">=6.1.0" }, - { name = "isort", specifier = ">=5.12.0" }, - { name = "mypy", specifier = ">=1.5.0" }, - { name = "pre-commit", specifier = ">=3.5.0" }, - { name = "pytest", specifier = ">=7.4.0" }, - { name = "pytest-asyncio", specifier = ">=0.21.0" }, - { name = "pytest-cov", specifier = ">=4.1.0" }, - { name = "pytest-mock", specifier = ">=3.11.0" }, - { name = "ruff", specifier = ">=0.1.0" }, - { name = "ty", specifier = ">=0.0.14" }, - { name = "types-pyyaml", specifier = ">=6.0.0" }, - { name = "types-redis", specifier = ">=4.6.0" }, ] - -[[package]] -name = "huaweicloudsdkagentidentity" -version = "3.1.184" -source = { editable = "libs/huaweicloudsdkagentidentity" } -dependencies = [ - { name = "huaweicloudsdkcore" }, +wheels = [ + { url = "https://files.pythonhosted.org/packages/6a/ef/8e75ec23db8e89023270e1fa6138ee567a8bb36b0a9212b6de24f3de640d/huaweicloudsdkagentidentity-3.1.192-py3-none-any.whl", hash = "sha256:a346d82062e32992c75e97edde79da040d3e3cdf9a8b82bb959b0673b3560f67", size = 188877, upload-time = "2026-04-24T08:04:03.141Z" }, ] -[package.metadata] -requires-dist = [{ name = "huaweicloudsdkcore", specifier = ">=3.1.184" }] - [[package]] name = "huaweicloudsdkcore" -version = "3.1.191" +version = "3.1.192" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, @@ -2015,7 +1812,7 @@ dependencies = [ { name = "six" }, ] wheels = [ - { url = "https://files.pythonhosted.org/packages/04/a2/1d307708f295e32dc0a7bfa1f5d27c857d0a96bf9c91381b215fa7fdbbfe/huaweicloudsdkcore-3.1.191-py3-none-any.whl", hash = "sha256:7f5bec5476c811b2749062309ca7106f56ab1b5772b6ed6d6020a855bfb5a50c", size = 69555, upload-time = "2026-04-09T12:14:50.724Z" }, + { url = "https://files.pythonhosted.org/packages/3b/44/4fd3a4ae3034e64a47c3dfd57057278f4ef22828f6c6e8a846d13afcc489/huaweicloudsdkcore-3.1.192-py3-none-any.whl", hash = "sha256:69de5f5283abdcec69a7a428a1fc51cc5dd6530c3074c512f2a115cb3c141956", size = 69555, upload-time = "2026-04-24T08:39:06.383Z" }, ] [[package]] @@ -2162,32 +1959,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d8/c8/36c5d9b80aaf40ba9a7084a8fc18c967db6bf248a4cc8d0f0816b14284be/instructor-1.15.1-py3-none-any.whl", hash = "sha256:be81d17ba2b154a04ab4720808f24f9d6b598f80992f82eaf9cc79006099cf6c", size = 178156, upload-time = "2026-04-03T01:51:23.098Z" }, ] -[[package]] -name = "ipykernel" -version = "7.2.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "appnope", marker = "sys_platform == 'darwin'" }, - { name = "comm" }, - { name = "debugpy" }, - { name = "ipython", version = "8.39.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "ipython", version = "9.10.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "ipython", version = "9.12.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "jupyter-client" }, - { name = "jupyter-core" }, - { name = "matplotlib-inline" }, - { name = "nest-asyncio" }, - { name = "packaging" }, - { name = "psutil" }, - { name = "pyzmq" }, - { name = "tornado" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ca/8d/b68b728e2d06b9e0051019640a40a9eb7a88fcd82c2e1b5ce70bef5ff044/ipykernel-7.2.0.tar.gz", hash = "sha256:18ed160b6dee2cbb16e5f3575858bc19d8f1fe6046a9a680c708494ce31d909e", size = 176046, upload-time = "2026-02-06T16:43:27.403Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/82/b9/e73d5d9f405cba7706c539aa8b311b49d4c2f3d698d9c12f815231169c71/ipykernel-7.2.0-py3-none-any.whl", hash = "sha256:3bbd4420d2b3cc105cbdf3756bfc04500b1e52f090a90716851f3916c62e1661", size = 118788, upload-time = "2026-02-06T16:43:25.149Z" }, -] - [[package]] name = "ipython" version = "8.39.0" @@ -2284,36 +2055,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" }, ] -[[package]] -name = "ipywidgets" -version = "8.1.8" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "comm" }, - { name = "ipython", version = "8.39.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "ipython", version = "9.10.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "ipython", version = "9.12.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "jupyterlab-widgets" }, - { name = "traitlets" }, - { name = "widgetsnbextension" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/4c/ae/c5ce1edc1afe042eadb445e95b0671b03cee61895264357956e61c0d2ac0/ipywidgets-8.1.8.tar.gz", hash = "sha256:61f969306b95f85fba6b6986b7fe45d73124d1d9e3023a8068710d47a22ea668", size = 116739, upload-time = "2025-11-01T21:18:12.393Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/56/6d/0d9848617b9f753b87f214f1c682592f7ca42de085f564352f10f0843026/ipywidgets-8.1.8-py3-none-any.whl", hash = "sha256:ecaca67aed704a338f88f67b1181b58f821ab5dc89c1f0f5ef99db43c1c2921e", size = 139808, upload-time = "2025-11-01T21:18:10.956Z" }, -] - -[[package]] -name = "isoduration" -version = "20.11.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "arrow" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/7c/1a/3c8edc664e06e6bd06cce40c6b22da5f1429aa4224d0c590f3be21c91ead/isoduration-20.11.0.tar.gz", hash = "sha256:ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9", size = 11649, upload-time = "2020-11-01T11:00:00.312Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl", hash = "sha256:b2904c2a4228c3d44f409c8ae8e2370eb21a26f7ac2ec5446df141dde3452042", size = 11321, upload-time = "2020-11-01T10:59:58.02Z" }, -] - [[package]] name = "isort" version = "8.0.1" @@ -2440,307 +2181,92 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2d/92/015173281f7eb96c0ef580c997da8ef50870d4f7f4c9e03c845a1d62ae04/jiter-0.13.0-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:597245258e6ad085d064780abfb23a284d418d3e61c57362d9449c6c7317ee2d", size = 346395, upload-time = "2026-02-02T12:37:48.09Z" }, { url = "https://files.pythonhosted.org/packages/80/60/e50fa45dd7e2eae049f0ce964663849e897300433921198aef94b6ffa23a/jiter-0.13.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:3d744a6061afba08dd7ae375dcde870cffb14429b7477e10f67e9e6d68772a0a", size = 305169, upload-time = "2026-02-02T12:37:50.376Z" }, { url = "https://files.pythonhosted.org/packages/d2/73/a009f41c5eed71c49bec53036c4b33555afcdee70682a18c6f66e396c039/jiter-0.13.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:ff732bd0a0e778f43d5009840f20b935e79087b4dc65bd36f1cd0f9b04b8ff7f", size = 303808, upload-time = "2026-02-02T12:37:52.092Z" }, - { url = "https://files.pythonhosted.org/packages/c4/10/528b439290763bff3d939268085d03382471b442f212dca4ff5f12802d43/jiter-0.13.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab44b178f7981fcaea7e0a5df20e773c663d06ffda0198f1a524e91b2fde7e59", size = 337384, upload-time = "2026-02-02T12:37:53.582Z" }, - { url = "https://files.pythonhosted.org/packages/67/8a/a342b2f0251f3dac4ca17618265d93bf244a2a4d089126e81e4c1056ac50/jiter-0.13.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bb00b6d26db67a05fe3e12c76edc75f32077fb51deed13822dc648fa373bc19", size = 343768, upload-time = "2026-02-02T12:37:55.055Z" }, -] - -[[package]] -name = "json-repair" -version = "0.25.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/66/cb/50b0bbc3e504ef875aea0062cdc108077e4923fb8c1209c70c80dc043933/json_repair-0.25.2.tar.gz", hash = "sha256:161a56d7e6bbfd4cad3a614087e3e0dbd0e10d402dd20dc7db418432428cb32b", size = 20458, upload-time = "2024-06-27T16:26:15.492Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/aa/43/ac6691c7b5aa7191c964a04ae926d2bb06d9297dba1f2287df5b85cb3715/json_repair-0.25.2-py3-none-any.whl", hash = "sha256:51d67295c3184b6c41a3572689661c6128cef6cfc9fb04db63130709adfc5bf0", size = 12740, upload-time = "2024-06-27T16:26:13.823Z" }, -] - -[[package]] -name = "json5" -version = "0.10.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/85/3d/bbe62f3d0c05a689c711cff57b2e3ac3d3e526380adb7c781989f075115c/json5-0.10.0.tar.gz", hash = "sha256:e66941c8f0a02026943c52c2eb34ebeb2a6f819a0be05920a6f5243cd30fd559", size = 48202, upload-time = "2024-11-26T19:56:37.823Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/aa/42/797895b952b682c3dafe23b1834507ee7f02f4d6299b65aaa61425763278/json5-0.10.0-py3-none-any.whl", hash = "sha256:19b23410220a7271e8377f81ba8aacba2fdd56947fbb137ee5977cbe1f5e8dfa", size = 34049, upload-time = "2024-11-26T19:56:36.649Z" }, -] - -[[package]] -name = "jsonpatch" -version = "1.33" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jsonpointer" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" }, -] - -[[package]] -name = "jsonpickle" -version = "4.1.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e4/a6/d07afcfdef402900229bcca795f80506b207af13a838d4d99ad45abf530c/jsonpickle-4.1.1.tar.gz", hash = "sha256:f86e18f13e2b96c1c1eede0b7b90095bbb61d99fedc14813c44dc2f361dbbae1", size = 316885, upload-time = "2025-06-02T20:36:11.57Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/c1/73/04df8a6fa66d43a9fd45c30f283cc4afff17da671886e451d52af60bdc7e/jsonpickle-4.1.1-py3-none-any.whl", hash = "sha256:bb141da6057898aa2438ff268362b126826c812a1721e31cf08a6e142910dc91", size = 47125, upload-time = "2025-06-02T20:36:08.647Z" }, -] - -[[package]] -name = "jsonpointer" -version = "3.1.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/18/c7/af399a2e7a67fd18d63c40c5e62d3af4e67b836a2107468b6a5ea24c4304/jsonpointer-3.1.1.tar.gz", hash = "sha256:0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900", size = 9068, upload-time = "2026-03-23T22:32:32.458Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9e/6a/a83720e953b1682d2d109d3c2dbb0bc9bf28cc1cbc205be4ef4be5da709d/jsonpointer-3.1.1-py3-none-any.whl", hash = "sha256:8ff8b95779d071ba472cf5bc913028df06031797532f08a7d5b602d8b2a488ca", size = 7659, upload-time = "2026-03-23T22:32:31.568Z" }, -] - -[[package]] -name = "jsonref" -version = "1.1.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/aa/0d/c1f3277e90ccdb50d33ed5ba1ec5b3f0a242ed8c1b1a85d3afeb68464dca/jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552", size = 8814, upload-time = "2023-01-16T16:10:04.455Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/0c/ec/e1db9922bceb168197a558a2b8c03a7963f1afe93517ddd3cf99f202f996/jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9", size = 9425, upload-time = "2023-01-16T16:10:02.255Z" }, -] - -[[package]] -name = "jsonschema" -version = "4.26.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "attrs" }, - { name = "jsonschema-specifications" }, - { name = "referencing" }, - { name = "rpds-py" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, -] - -[package.optional-dependencies] -format-nongpl = [ - { name = "fqdn" }, - { name = "idna" }, - { name = "isoduration" }, - { name = "jsonpointer" }, - { name = "rfc3339-validator" }, - { name = "rfc3986-validator" }, - { name = "rfc3987-syntax" }, - { name = "uri-template" }, - { name = "webcolors" }, -] - -[[package]] -name = "jsonschema-specifications" -version = "2025.9.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "referencing" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, -] - -[[package]] -name = "jupyter" -version = "1.1.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "ipykernel" }, - { name = "ipywidgets" }, - { name = "jupyter-console" }, - { name = "jupyterlab" }, - { name = "nbconvert" }, - { name = "notebook" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/58/f3/af28ea964ab8bc1e472dba2e82627d36d470c51f5cd38c37502eeffaa25e/jupyter-1.1.1.tar.gz", hash = "sha256:d55467bceabdea49d7e3624af7e33d59c37fff53ed3a350e1ac957bed731de7a", size = 5714959, upload-time = "2024-08-30T07:15:48.299Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/38/64/285f20a31679bf547b75602702f7800e74dbabae36ef324f716c02804753/jupyter-1.1.1-py2.py3-none-any.whl", hash = "sha256:7a59533c22af65439b24bbe60373a4e95af8f16ac65a6c00820ad378e3f7cc83", size = 2657, upload-time = "2024-08-30T07:15:47.045Z" }, -] - -[[package]] -name = "jupyter-client" -version = "8.8.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jupyter-core" }, - { name = "python-dateutil" }, - { name = "pyzmq" }, - { name = "tornado" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/05/e4/ba649102a3bc3fbca54e7239fb924fd434c766f855693d86de0b1f2bec81/jupyter_client-8.8.0.tar.gz", hash = "sha256:d556811419a4f2d96c869af34e854e3f059b7cc2d6d01a9cd9c85c267691be3e", size = 348020, upload-time = "2026-01-08T13:55:47.938Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2d/0b/ceb7694d864abc0a047649aec263878acb9f792e1fec3e676f22dc9015e3/jupyter_client-8.8.0-py3-none-any.whl", hash = "sha256:f93a5b99c5e23a507b773d3a1136bd6e16c67883ccdbd9a829b0bbdb98cd7d7a", size = 107371, upload-time = "2026-01-08T13:55:45.562Z" }, + { url = "https://files.pythonhosted.org/packages/c4/10/528b439290763bff3d939268085d03382471b442f212dca4ff5f12802d43/jiter-0.13.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab44b178f7981fcaea7e0a5df20e773c663d06ffda0198f1a524e91b2fde7e59", size = 337384, upload-time = "2026-02-02T12:37:53.582Z" }, + { url = "https://files.pythonhosted.org/packages/67/8a/a342b2f0251f3dac4ca17618265d93bf244a2a4d089126e81e4c1056ac50/jiter-0.13.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7bb00b6d26db67a05fe3e12c76edc75f32077fb51deed13822dc648fa373bc19", size = 343768, upload-time = "2026-02-02T12:37:55.055Z" }, ] [[package]] -name = "jupyter-console" -version = "6.6.3" +name = "json-repair" +version = "0.25.2" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "ipykernel" }, - { name = "ipython", version = "8.39.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, - { name = "ipython", version = "9.10.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, - { name = "ipython", version = "9.12.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, - { name = "jupyter-client" }, - { name = "jupyter-core" }, - { name = "prompt-toolkit" }, - { name = "pygments" }, - { name = "pyzmq" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/bd/2d/e2fd31e2fc41c14e2bcb6c976ab732597e907523f6b2420305f9fc7fdbdb/jupyter_console-6.6.3.tar.gz", hash = "sha256:566a4bf31c87adbfadf22cdf846e3069b59a71ed5da71d6ba4d8aaad14a53539", size = 34363, upload-time = "2023-03-06T14:13:31.02Z" } +sdist = { url = "https://files.pythonhosted.org/packages/66/cb/50b0bbc3e504ef875aea0062cdc108077e4923fb8c1209c70c80dc043933/json_repair-0.25.2.tar.gz", hash = "sha256:161a56d7e6bbfd4cad3a614087e3e0dbd0e10d402dd20dc7db418432428cb32b", size = 20458, upload-time = "2024-06-27T16:26:15.492Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ca/77/71d78d58f15c22db16328a476426f7ac4a60d3a5a7ba3b9627ee2f7903d4/jupyter_console-6.6.3-py3-none-any.whl", hash = "sha256:309d33409fcc92ffdad25f0bcdf9a4a9daa61b6f341177570fdac03de5352485", size = 24510, upload-time = "2023-03-06T14:13:28.229Z" }, + { url = "https://files.pythonhosted.org/packages/aa/43/ac6691c7b5aa7191c964a04ae926d2bb06d9297dba1f2287df5b85cb3715/json_repair-0.25.2-py3-none-any.whl", hash = "sha256:51d67295c3184b6c41a3572689661c6128cef6cfc9fb04db63130709adfc5bf0", size = 12740, upload-time = "2024-06-27T16:26:13.823Z" }, ] [[package]] -name = "jupyter-core" -version = "5.9.1" +name = "json5" +version = "0.10.0" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "platformdirs" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/02/49/9d1284d0dc65e2c757b74c6687b6d319b02f822ad039e5c512df9194d9dd/jupyter_core-5.9.1.tar.gz", hash = "sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508", size = 89814, upload-time = "2025-10-16T19:19:18.444Z" } +sdist = { url = "https://files.pythonhosted.org/packages/85/3d/bbe62f3d0c05a689c711cff57b2e3ac3d3e526380adb7c781989f075115c/json5-0.10.0.tar.gz", hash = "sha256:e66941c8f0a02026943c52c2eb34ebeb2a6f819a0be05920a6f5243cd30fd559", size = 48202, upload-time = "2024-11-26T19:56:37.823Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" }, + { url = "https://files.pythonhosted.org/packages/aa/42/797895b952b682c3dafe23b1834507ee7f02f4d6299b65aaa61425763278/json5-0.10.0-py3-none-any.whl", hash = "sha256:19b23410220a7271e8377f81ba8aacba2fdd56947fbb137ee5977cbe1f5e8dfa", size = 34049, upload-time = "2024-11-26T19:56:36.649Z" }, ] [[package]] -name = "jupyter-events" -version = "0.12.0" +name = "jsonpatch" +version = "1.33" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "jsonschema", extra = ["format-nongpl"] }, - { name = "packaging" }, - { name = "python-json-logger" }, - { name = "pyyaml" }, - { name = "referencing" }, - { name = "rfc3339-validator" }, - { name = "rfc3986-validator" }, - { name = "traitlets" }, + { name = "jsonpointer" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9d/c3/306d090461e4cf3cd91eceaff84bede12a8e52cd821c2d20c9a4fd728385/jupyter_events-0.12.0.tar.gz", hash = "sha256:fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b", size = 62196, upload-time = "2025-02-03T17:23:41.485Z" } +sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/e2/48/577993f1f99c552f18a0428731a755e06171f9902fa118c379eb7c04ea22/jupyter_events-0.12.0-py3-none-any.whl", hash = "sha256:6464b2fa5ad10451c3d35fabc75eab39556ae1e2853ad0c0cc31b656731a97fb", size = 19430, upload-time = "2025-02-03T17:23:38.643Z" }, + { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" }, ] [[package]] -name = "jupyter-lsp" -version = "2.3.1" +name = "jsonpickle" +version = "4.1.1" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jupyter-server" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/36/ff/1e4a61f5170a9a1d978f3ac3872449de6c01fc71eaf89657824c878b1549/jupyter_lsp-2.3.1.tar.gz", hash = "sha256:fdf8a4aa7d85813976d6e29e95e6a2c8f752701f926f2715305249a3829805a6", size = 55677, upload-time = "2026-04-02T08:10:06.749Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e4/a6/d07afcfdef402900229bcca795f80506b207af13a838d4d99ad45abf530c/jsonpickle-4.1.1.tar.gz", hash = "sha256:f86e18f13e2b96c1c1eede0b7b90095bbb61d99fedc14813c44dc2f361dbbae1", size = 316885, upload-time = "2025-06-02T20:36:11.57Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/23/e8/9d61dcbd1dce8ef418f06befd4ac084b4720429c26b0b1222bc218685eff/jupyter_lsp-2.3.1-py3-none-any.whl", hash = "sha256:71b954d834e85ff3096400554f2eefaf7fe37053036f9a782b0f7c5e42dadb81", size = 77513, upload-time = "2026-04-02T08:10:01.753Z" }, + { url = "https://files.pythonhosted.org/packages/c1/73/04df8a6fa66d43a9fd45c30f283cc4afff17da671886e451d52af60bdc7e/jsonpickle-4.1.1-py3-none-any.whl", hash = "sha256:bb141da6057898aa2438ff268362b126826c812a1721e31cf08a6e142910dc91", size = 47125, upload-time = "2025-06-02T20:36:08.647Z" }, ] [[package]] -name = "jupyter-server" -version = "2.17.0" +name = "jsonpointer" +version = "3.1.1" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "anyio" }, - { name = "argon2-cffi" }, - { name = "jinja2" }, - { name = "jupyter-client" }, - { name = "jupyter-core" }, - { name = "jupyter-events" }, - { name = "jupyter-server-terminals" }, - { name = "nbconvert" }, - { name = "nbformat" }, - { name = "overrides", marker = "python_full_version < '3.12'" }, - { name = "packaging" }, - { name = "prometheus-client" }, - { name = "pywinpty", marker = "os_name == 'nt'" }, - { name = "pyzmq" }, - { name = "send2trash" }, - { name = "terminado" }, - { name = "tornado" }, - { name = "traitlets" }, - { name = "websocket-client" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/5b/ac/e040ec363d7b6b1f11304cc9f209dac4517ece5d5e01821366b924a64a50/jupyter_server-2.17.0.tar.gz", hash = "sha256:c38ea898566964c888b4772ae1ed58eca84592e88251d2cfc4d171f81f7e99d5", size = 731949, upload-time = "2025-08-21T14:42:54.042Z" } +sdist = { url = "https://files.pythonhosted.org/packages/18/c7/af399a2e7a67fd18d63c40c5e62d3af4e67b836a2107468b6a5ea24c4304/jsonpointer-3.1.1.tar.gz", hash = "sha256:0b801c7db33a904024f6004d526dcc53bbb8a4a0f4e32bfd10beadf60adf1900", size = 9068, upload-time = "2026-03-23T22:32:32.458Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/92/80/a24767e6ca280f5a49525d987bf3e4d7552bf67c8be07e8ccf20271f8568/jupyter_server-2.17.0-py3-none-any.whl", hash = "sha256:e8cb9c7db4251f51ed307e329b81b72ccf2056ff82d50524debde1ee1870e13f", size = 388221, upload-time = "2025-08-21T14:42:52.034Z" }, + { url = "https://files.pythonhosted.org/packages/9e/6a/a83720e953b1682d2d109d3c2dbb0bc9bf28cc1cbc205be4ef4be5da709d/jsonpointer-3.1.1-py3-none-any.whl", hash = "sha256:8ff8b95779d071ba472cf5bc913028df06031797532f08a7d5b602d8b2a488ca", size = 7659, upload-time = "2026-03-23T22:32:31.568Z" }, ] [[package]] -name = "jupyter-server-terminals" -version = "0.5.4" +name = "jsonref" +version = "1.1.0" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pywinpty", marker = "os_name == 'nt'" }, - { name = "terminado" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f4/a7/bcd0a9b0cbba88986fe944aaaf91bfda603e5a50bda8ed15123f381a3b2f/jupyter_server_terminals-0.5.4.tar.gz", hash = "sha256:bbda128ed41d0be9020349f9f1f2a4ab9952a73ed5f5ac9f1419794761fb87f5", size = 31770, upload-time = "2026-01-14T16:53:20.213Z" } +sdist = { url = "https://files.pythonhosted.org/packages/aa/0d/c1f3277e90ccdb50d33ed5ba1ec5b3f0a242ed8c1b1a85d3afeb68464dca/jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552", size = 8814, upload-time = "2023-01-16T16:10:04.455Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/2d/6674563f71c6320841fc300911a55143925112a72a883e2ca71fba4c618d/jupyter_server_terminals-0.5.4-py3-none-any.whl", hash = "sha256:55be353fc74a80bc7f3b20e6be50a55a61cd525626f578dcb66a5708e2007d14", size = 13704, upload-time = "2026-01-14T16:53:18.738Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ec/e1db9922bceb168197a558a2b8c03a7963f1afe93517ddd3cf99f202f996/jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9", size = 9425, upload-time = "2023-01-16T16:10:02.255Z" }, ] [[package]] -name = "jupyterlab" -version = "4.5.6" +name = "jsonschema" +version = "4.26.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "async-lru" }, - { name = "httpx" }, - { name = "ipykernel" }, - { name = "jinja2" }, - { name = "jupyter-core" }, - { name = "jupyter-lsp" }, - { name = "jupyter-server" }, - { name = "jupyterlab-server" }, - { name = "notebook-shim" }, - { name = "packaging" }, - { name = "setuptools" }, - { name = "tomli", marker = "python_full_version < '3.11'" }, - { name = "tornado" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/ac/d5/730628e03fff2e8a8e8ccdaedde1489ab1309f9a4fa2536248884e30b7c7/jupyterlab-4.5.6.tar.gz", hash = "sha256:642fe2cfe7f0f5922a8a558ba7a0d246c7bc133b708dfe43f7b3a826d163cf42", size = 23970670, upload-time = "2026-03-11T14:17:04.531Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e1/1b/dad6fdcc658ed7af26fdf3841e7394072c9549a8b896c381ab49dd11e2d9/jupyterlab-4.5.6-py3-none-any.whl", hash = "sha256:d6b3dac883aa4d9993348e0f8e95b24624f75099aed64eab6a4351a9cdd1e580", size = 12447124, upload-time = "2026-03-11T14:17:00.229Z" }, + { name = "attrs" }, + { name = "jsonschema-specifications" }, + { name = "referencing" }, + { name = "rpds-py" }, ] - -[[package]] -name = "jupyterlab-pygments" -version = "0.3.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/90/51/9187be60d989df97f5f0aba133fa54e7300f17616e065d1ada7d7646b6d6/jupyterlab_pygments-0.3.0.tar.gz", hash = "sha256:721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d", size = 512900, upload-time = "2023-11-23T09:26:37.44Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/b1/dd/ead9d8ea85bf202d90cc513b533f9c363121c7792674f78e0d8a854b63b4/jupyterlab_pygments-0.3.0-py3-none-any.whl", hash = "sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780", size = 15884, upload-time = "2023-11-23T09:26:34.325Z" }, + { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" }, ] [[package]] -name = "jupyterlab-server" -version = "2.28.0" +name = "jsonschema-specifications" +version = "2025.9.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "babel" }, - { name = "jinja2" }, - { name = "json5" }, - { name = "jsonschema" }, - { name = "jupyter-server" }, - { name = "packaging" }, - { name = "requests" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/d6/2c/90153f189e421e93c4bb4f9e3f59802a1f01abd2ac5cf40b152d7f735232/jupyterlab_server-2.28.0.tar.gz", hash = "sha256:35baa81898b15f93573e2deca50d11ac0ae407ebb688299d3a5213265033712c", size = 76996, upload-time = "2025-10-22T13:59:18.37Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e0/07/a000fe835f76b7e1143242ab1122e6362ef1c03f23f83a045c38859c2ae0/jupyterlab_server-2.28.0-py3-none-any.whl", hash = "sha256:e4355b148fdcf34d312bbbc80f22467d6d20460e8b8736bf235577dd18506968", size = 59830, upload-time = "2025-10-22T13:59:16.767Z" }, + { name = "referencing" }, ] - -[[package]] -name = "jupyterlab-widgets" -version = "3.0.16" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/26/2d/ef58fed122b268c69c0aa099da20bc67657cdfb2e222688d5731bd5b971d/jupyterlab_widgets-3.0.16.tar.gz", hash = "sha256:423da05071d55cf27a9e602216d35a3a65a3e41cdf9c5d3b643b814ce38c19e0", size = 897423, upload-time = "2025-11-01T21:11:29.724Z" } +sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ab/b5/36c712098e6191d1b4e349304ef73a8d06aed77e56ceaac8c0a306c7bda1/jupyterlab_widgets-3.0.16-py3-none-any.whl", hash = "sha256:45fa36d9c6422cf2559198e4db481aa243c7a32d9926b500781c830c80f7ecf8", size = 914926, upload-time = "2025-11-01T21:11:28.008Z" }, + { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" }, ] [[package]] @@ -2913,15 +2439,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/37/19/96250cf58070c5563446651b03bb76c2eb5afbf08e754840ab639532d8c6/langsmith-0.7.30-py3-none-any.whl", hash = "sha256:43dd9f8d290e4d406606d6cc0bd62f5d1050963f05fe0ab6ffe50acf41f2f55a", size = 372682, upload-time = "2026-04-09T21:12:00.481Z" }, ] -[[package]] -name = "lark" -version = "1.3.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/da/34/28fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0/lark-1.3.1.tar.gz", hash = "sha256:b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905", size = 382732, upload-time = "2025-10-27T18:25:56.653Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151, upload-time = "2025-10-27T18:25:54.882Z" }, -] - [[package]] name = "librt" version = "0.9.0" @@ -3210,18 +2727,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, ] -[[package]] -name = "mistune" -version = "3.2.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "typing-extensions", marker = "python_full_version < '3.11'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/9d/55/d01f0c4b45ade6536c51170b9043db8b2ec6ddf4a35c7ea3f5f559ac935b/mistune-3.2.0.tar.gz", hash = "sha256:708487c8a8cdd99c9d90eb3ed4c3ed961246ff78ac82f03418f5183ab70e398a", size = 95467, upload-time = "2025-12-23T11:36:34.994Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9b/f7/4a5e785ec9fbd65146a27b6b70b6cdc161a66f2024e4b04ac06a67f5578b/mistune-3.2.0-py3-none-any.whl", hash = "sha256:febdc629a3c78616b94393c6580551e0e34cc289987ec6c35ed3f4be42d0eee1", size = 53598, upload-time = "2025-12-23T11:36:33.211Z" }, -] - [[package]] name = "mmh3" version = "5.2.1" @@ -3602,70 +3107,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d3/ac/686789b9145413f1a61878c407210e41bfdb097976864e0913078b24098c/myst_parser-5.0.0-py3-none-any.whl", hash = "sha256:ab31e516024918296e169139072b81592336f2fef55b8986aa31c9f04b5f7211", size = 84533, upload-time = "2026-01-15T09:08:16.788Z" }, ] -[[package]] -name = "nbclient" -version = "0.10.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jupyter-client" }, - { name = "jupyter-core" }, - { name = "nbformat" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/56/91/1c1d5a4b9a9ebba2b4e32b8c852c2975c872aec1fe42ab5e516b2cecd193/nbclient-0.10.4.tar.gz", hash = "sha256:1e54091b16e6da39e297b0ece3e10f6f29f4ac4e8ee515d29f8a7099bd6553c9", size = 62554, upload-time = "2025-12-23T07:45:46.369Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/83/a0/5b0c2f11142ed1dddec842457d3f65eaf71a0080894eb6f018755b319c3a/nbclient-0.10.4-py3-none-any.whl", hash = "sha256:9162df5a7373d70d606527300a95a975a47c137776cd942e52d9c7e29ff83440", size = 25465, upload-time = "2025-12-23T07:45:44.51Z" }, -] - -[[package]] -name = "nbconvert" -version = "7.17.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "beautifulsoup4" }, - { name = "bleach", extra = ["css"] }, - { name = "defusedxml" }, - { name = "jinja2" }, - { name = "jupyter-core" }, - { name = "jupyterlab-pygments" }, - { name = "markupsafe" }, - { name = "mistune" }, - { name = "nbclient" }, - { name = "nbformat" }, - { name = "packaging" }, - { name = "pandocfilters" }, - { name = "pygments" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/01/b1/708e53fe2e429c103c6e6e159106bcf0357ac41aa4c28772bd8402339051/nbconvert-7.17.1.tar.gz", hash = "sha256:34d0d0a7e73ce3cbab6c5aae8f4f468797280b01fd8bd2ca746da8569eddd7d2", size = 865311, upload-time = "2026-04-08T00:44:14.914Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/67/f8/bb0a9d5f46819c821dc1f004aa2cc29b1d91453297dbf5ff20470f00f193/nbconvert-7.17.1-py3-none-any.whl", hash = "sha256:aa85c087b435e7bf1ffd03319f658e285f2b89eccab33bc1ba7025495ab3e7c8", size = 261927, upload-time = "2026-04-08T00:44:12.845Z" }, -] - -[[package]] -name = "nbformat" -version = "5.10.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "fastjsonschema" }, - { name = "jsonschema" }, - { name = "jupyter-core" }, - { name = "traitlets" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/6d/fd/91545e604bc3dad7dca9ed03284086039b294c6b3d75c0d2fa45f9e9caf3/nbformat-5.10.4.tar.gz", hash = "sha256:322168b14f937a5d11362988ecac2a4952d3d8e3a2cbeb2319584631226d5b3a", size = 142749, upload-time = "2024-04-04T11:20:37.371Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a9/82/0340caa499416c78e5d8f5f05947ae4bc3cba53c9f038ab6e9ed964e22f1/nbformat-5.10.4-py3-none-any.whl", hash = "sha256:3b48d6c8fbca4b299bf3982ea7db1af21580e4fec269ad087b9e81588891200b", size = 78454, upload-time = "2024-04-04T11:20:34.895Z" }, -] - -[[package]] -name = "nest-asyncio" -version = "1.6.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/83/f8/51569ac65d696c8ecbee95938f89d4abf00f47d58d48f6fbabfe8f0baefe/nest_asyncio-1.6.0.tar.gz", hash = "sha256:6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe", size = 7418, upload-time = "2024-01-21T14:25:19.227Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl", hash = "sha256:87af6efd6b5e897c81050477ef65c62e2b2f35d51703cae01aff2905b1852e1c", size = 5195, upload-time = "2024-01-21T14:25:17.223Z" }, -] - [[package]] name = "networkx" version = "3.4.2" @@ -3710,34 +3151,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" }, ] -[[package]] -name = "notebook" -version = "7.5.5" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jupyter-server" }, - { name = "jupyterlab" }, - { name = "jupyterlab-server" }, - { name = "notebook-shim" }, - { name = "tornado" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/1f/6d/41052c48d6f6349ca0a7c4d1f6a78464de135e6d18f5829ba2510e62184c/notebook-7.5.5.tar.gz", hash = "sha256:dc0bfab0f2372c8278c457423d3256c34154ac2cc76bf20e9925260c461013c3", size = 14169167, upload-time = "2026-03-11T16:32:51.922Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f8/aa/cbd1deb9f07446241e88f8d5fecccd95b249bca0b4e5482214a4d1714c49/notebook-7.5.5-py3-none-any.whl", hash = "sha256:a7c14dbeefa6592e87f72290ca982e0c10f5bbf3786be2a600fda9da2764a2b8", size = 14578929, upload-time = "2026-03-11T16:32:48.021Z" }, -] - -[[package]] -name = "notebook-shim" -version = "0.2.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "jupyter-server" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/54/d2/92fa3243712b9a3e8bafaf60aac366da1cada3639ca767ff4b5b3654ec28/notebook_shim-0.2.4.tar.gz", hash = "sha256:b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb", size = 13167, upload-time = "2024-02-14T23:35:18.353Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f9/33/bd5b9137445ea4b680023eb0469b2bb969d61303dedb2aac6560ff3d14a1/notebook_shim-0.2.4-py3-none-any.whl", hash = "sha256:411a5be4e9dc882a074ccbcae671eda64cceb068767e9a3419096986560e1cef", size = 13307, upload-time = "2024-02-14T23:35:16.286Z" }, -] - [[package]] name = "numpy" version = "2.2.6" @@ -4419,15 +3832,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/cb/2b/f8434233fab2bd66a02ec014febe4e5adced20e2693e0e90a07d118ed30e/pandas-3.0.2-cp314-cp314t-win_arm64.whl", hash = "sha256:5371b72c2d4d415d08765f32d689217a43227484e81b2305b52076e328f6f482", size = 9455341, upload-time = "2026-03-31T06:48:28.418Z" }, ] -[[package]] -name = "pandocfilters" -version = "1.5.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/70/6f/3dd4940bbe001c06a65f88e36bad298bc7a0de5036115639926b0c5c0458/pandocfilters-1.5.1.tar.gz", hash = "sha256:002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e", size = 8454, upload-time = "2024-01-18T20:08:13.726Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ef/af/4fbc8cab944db5d21b7e2a5b8e9211a03a79852b1157e2c102fcc61ac440/pandocfilters-1.5.1-py2.py3-none-any.whl", hash = "sha256:93be382804a9cdb0a7267585f157e5d1731bbe5545a85b268d6f5fe6232de2bc", size = 8663, upload-time = "2024-01-18T20:08:11.28Z" }, -] - [[package]] name = "parso" version = "0.8.6" @@ -4794,34 +4198,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/5a/cb/e3065b447186cb70aa65acc70c86baf482d82bf75625bf5a2c4f6919c6a3/protobuf-5.29.6-py3-none-any.whl", hash = "sha256:6b9edb641441b2da9fa8f428760fc136a49cf97a52076010cf22a2ff73438a86", size = 173126, upload-time = "2026-02-04T22:54:39.462Z" }, ] -[[package]] -name = "psutil" -version = "7.2.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/51/08/510cbdb69c25a96f4ae523f733cdc963ae654904e8db864c07585ef99875/psutil-7.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:2edccc433cbfa046b980b0df0171cd25bcaeb3a68fe9022db0979e7aa74a826b", size = 130595, upload-time = "2026-01-28T18:14:57.293Z" }, - { url = "https://files.pythonhosted.org/packages/d6/f5/97baea3fe7a5a9af7436301f85490905379b1c6f2dd51fe3ecf24b4c5fbf/psutil-7.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e78c8603dcd9a04c7364f1a3e670cea95d51ee865e4efb3556a3a63adef958ea", size = 131082, upload-time = "2026-01-28T18:14:59.732Z" }, - { url = "https://files.pythonhosted.org/packages/37/d6/246513fbf9fa174af531f28412297dd05241d97a75911ac8febefa1a53c6/psutil-7.2.2-cp313-cp313t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1a571f2330c966c62aeda00dd24620425d4b0cc86881c89861fbc04549e5dc63", size = 181476, upload-time = "2026-01-28T18:15:01.884Z" }, - { url = "https://files.pythonhosted.org/packages/b8/b5/9182c9af3836cca61696dabe4fd1304e17bc56cb62f17439e1154f225dd3/psutil-7.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:917e891983ca3c1887b4ef36447b1e0873e70c933afc831c6b6da078ba474312", size = 184062, upload-time = "2026-01-28T18:15:04.436Z" }, - { url = "https://files.pythonhosted.org/packages/16/ba/0756dca669f5a9300d0cbcbfae9a4c30e446dfc7440ffe43ded5724bfd93/psutil-7.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:ab486563df44c17f5173621c7b198955bd6b613fb87c71c161f827d3fb149a9b", size = 139893, upload-time = "2026-01-28T18:15:06.378Z" }, - { url = "https://files.pythonhosted.org/packages/1c/61/8fa0e26f33623b49949346de05ec1ddaad02ed8ba64af45f40a147dbfa97/psutil-7.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:ae0aefdd8796a7737eccea863f80f81e468a1e4cf14d926bd9b6f5f2d5f90ca9", size = 135589, upload-time = "2026-01-28T18:15:08.03Z" }, - { url = "https://files.pythonhosted.org/packages/81/69/ef179ab5ca24f32acc1dac0c247fd6a13b501fd5534dbae0e05a1c48b66d/psutil-7.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:eed63d3b4d62449571547b60578c5b2c4bcccc5387148db46e0c2313dad0ee00", size = 130664, upload-time = "2026-01-28T18:15:09.469Z" }, - { url = "https://files.pythonhosted.org/packages/7b/64/665248b557a236d3fa9efc378d60d95ef56dd0a490c2cd37dafc7660d4a9/psutil-7.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7b6d09433a10592ce39b13d7be5a54fbac1d1228ed29abc880fb23df7cb694c9", size = 131087, upload-time = "2026-01-28T18:15:11.724Z" }, - { url = "https://files.pythonhosted.org/packages/d5/2e/e6782744700d6759ebce3043dcfa661fb61e2fb752b91cdeae9af12c2178/psutil-7.2.2-cp314-cp314t-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fa4ecf83bcdf6e6c8f4449aff98eefb5d0604bf88cb883d7da3d8d2d909546a", size = 182383, upload-time = "2026-01-28T18:15:13.445Z" }, - { url = "https://files.pythonhosted.org/packages/57/49/0a41cefd10cb7505cdc04dab3eacf24c0c2cb158a998b8c7b1d27ee2c1f5/psutil-7.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e452c464a02e7dc7822a05d25db4cde564444a67e58539a00f929c51eddda0cf", size = 185210, upload-time = "2026-01-28T18:15:16.002Z" }, - { url = "https://files.pythonhosted.org/packages/dd/2c/ff9bfb544f283ba5f83ba725a3c5fec6d6b10b8f27ac1dc641c473dc390d/psutil-7.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:c7663d4e37f13e884d13994247449e9f8f574bc4655d509c3b95e9ec9e2b9dc1", size = 141228, upload-time = "2026-01-28T18:15:18.385Z" }, - { url = "https://files.pythonhosted.org/packages/f2/fc/f8d9c31db14fcec13748d373e668bc3bed94d9077dbc17fb0eebc073233c/psutil-7.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11fe5a4f613759764e79c65cf11ebdf26e33d6dd34336f8a337aa2996d71c841", size = 136284, upload-time = "2026-01-28T18:15:19.912Z" }, - { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" }, - { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" }, - { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" }, - { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" }, - { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" }, - { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" }, - { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" }, - { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" }, -] - [[package]] name = "ptyprocess" version = "0.7.0" @@ -5429,15 +4805,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/5f/ed/539768cf28c661b5b068d66d96a2f155c4971a5d55684a514c1a0e0dec2f/python_dotenv-1.1.1-py3-none-any.whl", hash = "sha256:31f23644fe2602f88ff55e1f5c79ba497e01224ee7737937930c448e4d0e24dc", size = 20556, upload-time = "2025-06-24T04:21:06.073Z" }, ] -[[package]] -name = "python-json-logger" -version = "4.1.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f7/ff/3cc9165fd44106973cd7ac9facb674a65ed853494592541d339bdc9a30eb/python_json_logger-4.1.0.tar.gz", hash = "sha256:b396b9e3ed782b09ff9d6e4f1683d46c83ad0d35d2e407c09a9ebbf038f88195", size = 17573, upload-time = "2026-03-29T04:39:56.805Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/27/be/0631a861af4d1c875f096c07d34e9a63639560a717130e7a87cbc82b7e3f/python_json_logger-4.1.0-py3-none-any.whl", hash = "sha256:132994765cf75bf44554be9aa49b06ef2345d23661a96720262716438141b6b2", size = 15021, upload-time = "2026-03-29T04:39:55.266Z" }, -] - [[package]] name = "pytokens" version = "0.4.1" @@ -5525,28 +4892,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c0/d2/21af5c535501a7233e734b8af901574572da66fcc254cb35d0609c9080dd/pywin32-311-cp314-cp314-win_arm64.whl", hash = "sha256:a508e2d9025764a8270f93111a970e1d0fbfc33f4153b388bb649b7eec4f9b42", size = 8932540, upload-time = "2025-07-14T20:13:36.379Z" }, ] -[[package]] -name = "pywinpty" -version = "3.0.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f7/54/37c7370ba91f579235049dc26cd2c5e657d2a943e01820844ffc81f32176/pywinpty-3.0.3.tar.gz", hash = "sha256:523441dc34d231fb361b4b00f8c99d3f16de02f5005fd544a0183112bcc22412", size = 31309, upload-time = "2026-02-04T21:51:09.524Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/62/28/a652709bd76ca7533cd1c443b03add9f5051fdf71bc6bdb8801dddd4e7a3/pywinpty-3.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:ff05f12d775b142b11c6fe085129bdd759b61cf7d41da6c745e78e3a1ef5bf40", size = 2114320, upload-time = "2026-02-04T21:53:50.972Z" }, - { url = "https://files.pythonhosted.org/packages/b2/13/a0181cc5c2d5635d3dbc3802b97bc8e3ad4fa7502ccef576651a5e08e54c/pywinpty-3.0.3-cp310-cp310-win_arm64.whl", hash = "sha256:340ccacb4d74278a631923794ccd758471cfc8eeeeee4610b280420a17ad1e82", size = 235670, upload-time = "2026-02-04T21:50:20.324Z" }, - { url = "https://files.pythonhosted.org/packages/79/c3/3e75075c7f71735f22b66fab0481f2c98e3a4d58cba55cb50ba29114bcf6/pywinpty-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:dff25a9a6435f527d7c65608a7e62783fc12076e7d44487a4911ee91be5a8ac8", size = 2114430, upload-time = "2026-02-04T21:54:19.485Z" }, - { url = "https://files.pythonhosted.org/packages/8d/1e/8a54166a8c5e4f5cb516514bdf4090be4d51a71e8d9f6d98c0aa00fe45d4/pywinpty-3.0.3-cp311-cp311-win_arm64.whl", hash = "sha256:fbc1e230e5b193eef4431cba3f39996a288f9958f9c9f092c8a961d930ee8f68", size = 236191, upload-time = "2026-02-04T21:50:36.239Z" }, - { url = "https://files.pythonhosted.org/packages/7c/d4/aeb5e1784d2c5bff6e189138a9ca91a090117459cea0c30378e1f2db3d54/pywinpty-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:c9081df0e49ffa86d15db4a6ba61530630e48707f987df42c9d3313537e81fc0", size = 2113098, upload-time = "2026-02-04T21:54:37.711Z" }, - { url = "https://files.pythonhosted.org/packages/b9/53/7278223c493ccfe4883239cf06c823c56460a8010e0fc778eef67858dc14/pywinpty-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:15e79d870e18b678fb8a5a6105fd38496b55697c66e6fc0378236026bc4d59e9", size = 234901, upload-time = "2026-02-04T21:53:31.35Z" }, - { url = "https://files.pythonhosted.org/packages/e5/cb/58d6ed3fd429c96a90ef01ac9a617af10a6d41469219c25e7dc162abbb71/pywinpty-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9c91dbb026050c77bdcef964e63a4f10f01a639113c4d3658332614544c467ab", size = 2112686, upload-time = "2026-02-04T21:52:03.035Z" }, - { url = "https://files.pythonhosted.org/packages/fd/50/724ed5c38c504d4e58a88a072776a1e880d970789deaeb2b9f7bd9a5141a/pywinpty-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:fe1f7911805127c94cf51f89ab14096c6f91ffdcacf993d2da6082b2142a2523", size = 234591, upload-time = "2026-02-04T21:52:29.821Z" }, - { url = "https://files.pythonhosted.org/packages/f7/ad/90a110538696b12b39fd8758a06d70ded899308198ad2305ac68e361126e/pywinpty-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:3f07a6cf1c1d470d284e614733c3d0f726d2c85e78508ea10a403140c3c0c18a", size = 2112360, upload-time = "2026-02-04T21:55:33.397Z" }, - { url = "https://files.pythonhosted.org/packages/44/0f/7ffa221757a220402bc79fda44044c3f2cc57338d878ab7d622add6f4581/pywinpty-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:15c7c0b6f8e9d87aabbaff76468dabf6e6121332c40fc1d83548d02a9d6a3759", size = 233107, upload-time = "2026-02-04T21:51:45.455Z" }, - { url = "https://files.pythonhosted.org/packages/28/88/2ff917caff61e55f38bcdb27de06ee30597881b2cae44fbba7627be015c4/pywinpty-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:d4b6b7b0fe0cdcd02e956bd57cfe9f4e5a06514eecf3b5ae174da4f951b58be9", size = 2113282, upload-time = "2026-02-04T21:52:08.188Z" }, - { url = "https://files.pythonhosted.org/packages/63/32/40a775343ace542cc43ece3f1d1fce454021521ecac41c4c4573081c2336/pywinpty-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:34789d685fc0d547ce0c8a65e5a70e56f77d732fa6e03c8f74fefb8cbb252019", size = 234207, upload-time = "2026-02-04T21:51:58.687Z" }, - { url = "https://files.pythonhosted.org/packages/8d/54/5d5e52f4cb75028104ca6faf36c10f9692389b1986d34471663b4ebebd6d/pywinpty-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:0c37e224a47a971d1a6e08649a1714dac4f63c11920780977829ed5c8cadead1", size = 2112910, upload-time = "2026-02-04T21:52:30.976Z" }, - { url = "https://files.pythonhosted.org/packages/0a/44/dcd184824e21d4620b06c7db9fbb15c3ad0a0f1fa2e6de79969fb82647ec/pywinpty-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:c4e9c3dff7d86ba81937438d5819f19f385a39d8f592d4e8af67148ceb4f6ab5", size = 233425, upload-time = "2026-02-04T21:51:56.754Z" }, -] - [[package]] name = "pyyaml" version = "6.0.3" @@ -5611,79 +4956,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, ] -[[package]] -name = "pyzmq" -version = "27.1.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "cffi", marker = "implementation_name == 'pypy'" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/04/0b/3c9baedbdf613ecaa7aa07027780b8867f57b6293b6ee50de316c9f3222b/pyzmq-27.1.0.tar.gz", hash = "sha256:ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540", size = 281750, upload-time = "2025-09-08T23:10:18.157Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/67/b9/52aa9ec2867528b54f1e60846728d8b4d84726630874fee3a91e66c7df81/pyzmq-27.1.0-cp310-cp310-macosx_10_15_universal2.whl", hash = "sha256:508e23ec9bc44c0005c4946ea013d9317ae00ac67778bd47519fdf5a0e930ff4", size = 1329850, upload-time = "2025-09-08T23:07:26.274Z" }, - { url = "https://files.pythonhosted.org/packages/99/64/5653e7b7425b169f994835a2b2abf9486264401fdef18df91ddae47ce2cc/pyzmq-27.1.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:507b6f430bdcf0ee48c0d30e734ea89ce5567fd7b8a0f0044a369c176aa44556", size = 906380, upload-time = "2025-09-08T23:07:29.78Z" }, - { url = "https://files.pythonhosted.org/packages/73/78/7d713284dbe022f6440e391bd1f3c48d9185673878034cfb3939cdf333b2/pyzmq-27.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf7b38f9fd7b81cb6d9391b2946382c8237fd814075c6aa9c3b746d53076023b", size = 666421, upload-time = "2025-09-08T23:07:31.263Z" }, - { url = "https://files.pythonhosted.org/packages/30/76/8f099f9d6482450428b17c4d6b241281af7ce6a9de8149ca8c1c649f6792/pyzmq-27.1.0-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:03ff0b279b40d687691a6217c12242ee71f0fba28bf8626ff50e3ef0f4410e1e", size = 854149, upload-time = "2025-09-08T23:07:33.17Z" }, - { url = "https://files.pythonhosted.org/packages/59/f0/37fbfff06c68016019043897e4c969ceab18bde46cd2aca89821fcf4fb2e/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:677e744fee605753eac48198b15a2124016c009a11056f93807000ab11ce6526", size = 1655070, upload-time = "2025-09-08T23:07:35.205Z" }, - { url = "https://files.pythonhosted.org/packages/47/14/7254be73f7a8edc3587609554fcaa7bfd30649bf89cd260e4487ca70fdaa/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:dd2fec2b13137416a1c5648b7009499bcc8fea78154cd888855fa32514f3dad1", size = 2033441, upload-time = "2025-09-08T23:07:37.432Z" }, - { url = "https://files.pythonhosted.org/packages/22/dc/49f2be26c6f86f347e796a4d99b19167fc94503f0af3fd010ad262158822/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:08e90bb4b57603b84eab1d0ca05b3bbb10f60c1839dc471fc1c9e1507bef3386", size = 1891529, upload-time = "2025-09-08T23:07:39.047Z" }, - { url = "https://files.pythonhosted.org/packages/a3/3e/154fb963ae25be70c0064ce97776c937ecc7d8b0259f22858154a9999769/pyzmq-27.1.0-cp310-cp310-win32.whl", hash = "sha256:a5b42d7a0658b515319148875fcb782bbf118dd41c671b62dae33666c2213bda", size = 567276, upload-time = "2025-09-08T23:07:40.695Z" }, - { url = "https://files.pythonhosted.org/packages/62/b2/f4ab56c8c595abcb26b2be5fd9fa9e6899c1e5ad54964e93ae8bb35482be/pyzmq-27.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:c0bb87227430ee3aefcc0ade2088100e528d5d3298a0a715a64f3d04c60ba02f", size = 632208, upload-time = "2025-09-08T23:07:42.298Z" }, - { url = "https://files.pythonhosted.org/packages/3b/e3/be2cc7ab8332bdac0522fdb64c17b1b6241a795bee02e0196636ec5beb79/pyzmq-27.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:9a916f76c2ab8d045b19f2286851a38e9ac94ea91faf65bd64735924522a8b32", size = 559766, upload-time = "2025-09-08T23:07:43.869Z" }, - { url = "https://files.pythonhosted.org/packages/06/5d/305323ba86b284e6fcb0d842d6adaa2999035f70f8c38a9b6d21ad28c3d4/pyzmq-27.1.0-cp311-cp311-macosx_10_15_universal2.whl", hash = "sha256:226b091818d461a3bef763805e75685e478ac17e9008f49fce2d3e52b3d58b86", size = 1333328, upload-time = "2025-09-08T23:07:45.946Z" }, - { url = "https://files.pythonhosted.org/packages/bd/a0/fc7e78a23748ad5443ac3275943457e8452da67fda347e05260261108cbc/pyzmq-27.1.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0790a0161c281ca9723f804871b4027f2e8b5a528d357c8952d08cd1a9c15581", size = 908803, upload-time = "2025-09-08T23:07:47.551Z" }, - { url = "https://files.pythonhosted.org/packages/7e/22/37d15eb05f3bdfa4abea6f6d96eb3bb58585fbd3e4e0ded4e743bc650c97/pyzmq-27.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c895a6f35476b0c3a54e3eb6ccf41bf3018de937016e6e18748317f25d4e925f", size = 668836, upload-time = "2025-09-08T23:07:49.436Z" }, - { url = "https://files.pythonhosted.org/packages/b1/c4/2a6fe5111a01005fc7af3878259ce17684fabb8852815eda6225620f3c59/pyzmq-27.1.0-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5bbf8d3630bf96550b3be8e1fc0fea5cbdc8d5466c1192887bd94869da17a63e", size = 857038, upload-time = "2025-09-08T23:07:51.234Z" }, - { url = "https://files.pythonhosted.org/packages/cb/eb/bfdcb41d0db9cd233d6fb22dc131583774135505ada800ebf14dfb0a7c40/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:15c8bd0fe0dabf808e2d7a681398c4e5ded70a551ab47482067a572c054c8e2e", size = 1657531, upload-time = "2025-09-08T23:07:52.795Z" }, - { url = "https://files.pythonhosted.org/packages/ab/21/e3180ca269ed4a0de5c34417dfe71a8ae80421198be83ee619a8a485b0c7/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:bafcb3dd171b4ae9f19ee6380dfc71ce0390fefaf26b504c0e5f628d7c8c54f2", size = 2034786, upload-time = "2025-09-08T23:07:55.047Z" }, - { url = "https://files.pythonhosted.org/packages/3b/b1/5e21d0b517434b7f33588ff76c177c5a167858cc38ef740608898cd329f2/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e829529fcaa09937189178115c49c504e69289abd39967cd8a4c215761373394", size = 1894220, upload-time = "2025-09-08T23:07:57.172Z" }, - { url = "https://files.pythonhosted.org/packages/03/f2/44913a6ff6941905efc24a1acf3d3cb6146b636c546c7406c38c49c403d4/pyzmq-27.1.0-cp311-cp311-win32.whl", hash = "sha256:6df079c47d5902af6db298ec92151db82ecb557af663098b92f2508c398bb54f", size = 567155, upload-time = "2025-09-08T23:07:59.05Z" }, - { url = "https://files.pythonhosted.org/packages/23/6d/d8d92a0eb270a925c9b4dd039c0b4dc10abc2fcbc48331788824ef113935/pyzmq-27.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:190cbf120fbc0fc4957b56866830def56628934a9d112aec0e2507aa6a032b97", size = 633428, upload-time = "2025-09-08T23:08:00.663Z" }, - { url = "https://files.pythonhosted.org/packages/ae/14/01afebc96c5abbbd713ecfc7469cfb1bc801c819a74ed5c9fad9a48801cb/pyzmq-27.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:eca6b47df11a132d1745eb3b5b5e557a7dae2c303277aa0e69c6ba91b8736e07", size = 559497, upload-time = "2025-09-08T23:08:02.15Z" }, - { url = "https://files.pythonhosted.org/packages/92/e7/038aab64a946d535901103da16b953c8c9cc9c961dadcbf3609ed6428d23/pyzmq-27.1.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:452631b640340c928fa343801b0d07eb0c3789a5ffa843f6e1a9cee0ba4eb4fc", size = 1306279, upload-time = "2025-09-08T23:08:03.807Z" }, - { url = "https://files.pythonhosted.org/packages/e8/5e/c3c49fdd0f535ef45eefcc16934648e9e59dace4a37ee88fc53f6cd8e641/pyzmq-27.1.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1c179799b118e554b66da67d88ed66cd37a169f1f23b5d9f0a231b4e8d44a113", size = 895645, upload-time = "2025-09-08T23:08:05.301Z" }, - { url = "https://files.pythonhosted.org/packages/f8/e5/b0b2504cb4e903a74dcf1ebae157f9e20ebb6ea76095f6cfffea28c42ecd/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3837439b7f99e60312f0c926a6ad437b067356dc2bc2ec96eb395fd0fe804233", size = 652574, upload-time = "2025-09-08T23:08:06.828Z" }, - { url = "https://files.pythonhosted.org/packages/f8/9b/c108cdb55560eaf253f0cbdb61b29971e9fb34d9c3499b0e96e4e60ed8a5/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43ad9a73e3da1fab5b0e7e13402f0b2fb934ae1c876c51d0afff0e7c052eca31", size = 840995, upload-time = "2025-09-08T23:08:08.396Z" }, - { url = "https://files.pythonhosted.org/packages/c2/bb/b79798ca177b9eb0825b4c9998c6af8cd2a7f15a6a1a4272c1d1a21d382f/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0de3028d69d4cdc475bfe47a6128eb38d8bc0e8f4d69646adfbcd840facbac28", size = 1642070, upload-time = "2025-09-08T23:08:09.989Z" }, - { url = "https://files.pythonhosted.org/packages/9c/80/2df2e7977c4ede24c79ae39dcef3899bfc5f34d1ca7a5b24f182c9b7a9ca/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:cf44a7763aea9298c0aa7dbf859f87ed7012de8bda0f3977b6fb1d96745df856", size = 2021121, upload-time = "2025-09-08T23:08:11.907Z" }, - { url = "https://files.pythonhosted.org/packages/46/bd/2d45ad24f5f5ae7e8d01525eb76786fa7557136555cac7d929880519e33a/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f30f395a9e6fbca195400ce833c731e7b64c3919aa481af4d88c3759e0cb7496", size = 1878550, upload-time = "2025-09-08T23:08:13.513Z" }, - { url = "https://files.pythonhosted.org/packages/e6/2f/104c0a3c778d7c2ab8190e9db4f62f0b6957b53c9d87db77c284b69f33ea/pyzmq-27.1.0-cp312-abi3-win32.whl", hash = "sha256:250e5436a4ba13885494412b3da5d518cd0d3a278a1ae640e113c073a5f88edd", size = 559184, upload-time = "2025-09-08T23:08:15.163Z" }, - { url = "https://files.pythonhosted.org/packages/fc/7f/a21b20d577e4100c6a41795842028235998a643b1ad406a6d4163ea8f53e/pyzmq-27.1.0-cp312-abi3-win_amd64.whl", hash = "sha256:9ce490cf1d2ca2ad84733aa1d69ce6855372cb5ce9223802450c9b2a7cba0ccf", size = 619480, upload-time = "2025-09-08T23:08:17.192Z" }, - { url = "https://files.pythonhosted.org/packages/78/c2/c012beae5f76b72f007a9e91ee9401cb88c51d0f83c6257a03e785c81cc2/pyzmq-27.1.0-cp312-abi3-win_arm64.whl", hash = "sha256:75a2f36223f0d535a0c919e23615fc85a1e23b71f40c7eb43d7b1dedb4d8f15f", size = 552993, upload-time = "2025-09-08T23:08:18.926Z" }, - { url = "https://files.pythonhosted.org/packages/60/cb/84a13459c51da6cec1b7b1dc1a47e6db6da50b77ad7fd9c145842750a011/pyzmq-27.1.0-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:93ad4b0855a664229559e45c8d23797ceac03183c7b6f5b4428152a6b06684a5", size = 1122436, upload-time = "2025-09-08T23:08:20.801Z" }, - { url = "https://files.pythonhosted.org/packages/dc/b6/94414759a69a26c3dd674570a81813c46a078767d931a6c70ad29fc585cb/pyzmq-27.1.0-cp313-cp313-android_24_x86_64.whl", hash = "sha256:fbb4f2400bfda24f12f009cba62ad5734148569ff4949b1b6ec3b519444342e6", size = 1156301, upload-time = "2025-09-08T23:08:22.47Z" }, - { url = "https://files.pythonhosted.org/packages/a5/ad/15906493fd40c316377fd8a8f6b1f93104f97a752667763c9b9c1b71d42d/pyzmq-27.1.0-cp313-cp313t-macosx_10_15_universal2.whl", hash = "sha256:e343d067f7b151cfe4eb3bb796a7752c9d369eed007b91231e817071d2c2fec7", size = 1341197, upload-time = "2025-09-08T23:08:24.286Z" }, - { url = "https://files.pythonhosted.org/packages/14/1d/d343f3ce13db53a54cb8946594e567410b2125394dafcc0268d8dda027e0/pyzmq-27.1.0-cp313-cp313t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:08363b2011dec81c354d694bdecaef4770e0ae96b9afea70b3f47b973655cc05", size = 897275, upload-time = "2025-09-08T23:08:26.063Z" }, - { url = "https://files.pythonhosted.org/packages/69/2d/d83dd6d7ca929a2fc67d2c3005415cdf322af7751d773524809f9e585129/pyzmq-27.1.0-cp313-cp313t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d54530c8c8b5b8ddb3318f481297441af102517602b569146185fa10b63f4fa9", size = 660469, upload-time = "2025-09-08T23:08:27.623Z" }, - { url = "https://files.pythonhosted.org/packages/3e/cd/9822a7af117f4bc0f1952dbe9ef8358eb50a24928efd5edf54210b850259/pyzmq-27.1.0-cp313-cp313t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f3afa12c392f0a44a2414056d730eebc33ec0926aae92b5ad5cf26ebb6cc128", size = 847961, upload-time = "2025-09-08T23:08:29.672Z" }, - { url = "https://files.pythonhosted.org/packages/9a/12/f003e824a19ed73be15542f172fd0ec4ad0b60cf37436652c93b9df7c585/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c65047adafe573ff023b3187bb93faa583151627bc9c51fc4fb2c561ed689d39", size = 1650282, upload-time = "2025-09-08T23:08:31.349Z" }, - { url = "https://files.pythonhosted.org/packages/d5/4a/e82d788ed58e9a23995cee70dbc20c9aded3d13a92d30d57ec2291f1e8a3/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:90e6e9441c946a8b0a667356f7078d96411391a3b8f80980315455574177ec97", size = 2024468, upload-time = "2025-09-08T23:08:33.543Z" }, - { url = "https://files.pythonhosted.org/packages/d9/94/2da0a60841f757481e402b34bf4c8bf57fa54a5466b965de791b1e6f747d/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:add071b2d25f84e8189aaf0882d39a285b42fa3853016ebab234a5e78c7a43db", size = 1885394, upload-time = "2025-09-08T23:08:35.51Z" }, - { url = "https://files.pythonhosted.org/packages/4f/6f/55c10e2e49ad52d080dc24e37adb215e5b0d64990b57598abc2e3f01725b/pyzmq-27.1.0-cp313-cp313t-win32.whl", hash = "sha256:7ccc0700cfdf7bd487bea8d850ec38f204478681ea02a582a8da8171b7f90a1c", size = 574964, upload-time = "2025-09-08T23:08:37.178Z" }, - { url = "https://files.pythonhosted.org/packages/87/4d/2534970ba63dd7c522d8ca80fb92777f362c0f321900667c615e2067cb29/pyzmq-27.1.0-cp313-cp313t-win_amd64.whl", hash = "sha256:8085a9fba668216b9b4323be338ee5437a235fe275b9d1610e422ccc279733e2", size = 641029, upload-time = "2025-09-08T23:08:40.595Z" }, - { url = "https://files.pythonhosted.org/packages/f6/fa/f8aea7a28b0641f31d40dea42d7ef003fded31e184ef47db696bc74cd610/pyzmq-27.1.0-cp313-cp313t-win_arm64.whl", hash = "sha256:6bb54ca21bcfe361e445256c15eedf083f153811c37be87e0514934d6913061e", size = 561541, upload-time = "2025-09-08T23:08:42.668Z" }, - { url = "https://files.pythonhosted.org/packages/87/45/19efbb3000956e82d0331bafca5d9ac19ea2857722fa2caacefb6042f39d/pyzmq-27.1.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:ce980af330231615756acd5154f29813d553ea555485ae712c491cd483df6b7a", size = 1341197, upload-time = "2025-09-08T23:08:44.973Z" }, - { url = "https://files.pythonhosted.org/packages/48/43/d72ccdbf0d73d1343936296665826350cb1e825f92f2db9db3e61c2162a2/pyzmq-27.1.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1779be8c549e54a1c38f805e56d2a2e5c009d26de10921d7d51cfd1c8d4632ea", size = 897175, upload-time = "2025-09-08T23:08:46.601Z" }, - { url = "https://files.pythonhosted.org/packages/2f/2e/a483f73a10b65a9ef0161e817321d39a770b2acf8bcf3004a28d90d14a94/pyzmq-27.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7200bb0f03345515df50d99d3db206a0a6bee1955fbb8c453c76f5bf0e08fb96", size = 660427, upload-time = "2025-09-08T23:08:48.187Z" }, - { url = "https://files.pythonhosted.org/packages/f5/d2/5f36552c2d3e5685abe60dfa56f91169f7a2d99bbaf67c5271022ab40863/pyzmq-27.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01c0e07d558b06a60773744ea6251f769cd79a41a97d11b8bf4ab8f034b0424d", size = 847929, upload-time = "2025-09-08T23:08:49.76Z" }, - { url = "https://files.pythonhosted.org/packages/c4/2a/404b331f2b7bf3198e9945f75c4c521f0c6a3a23b51f7a4a401b94a13833/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:80d834abee71f65253c91540445d37c4c561e293ba6e741b992f20a105d69146", size = 1650193, upload-time = "2025-09-08T23:08:51.7Z" }, - { url = "https://files.pythonhosted.org/packages/1c/0b/f4107e33f62a5acf60e3ded67ed33d79b4ce18de432625ce2fc5093d6388/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:544b4e3b7198dde4a62b8ff6685e9802a9a1ebf47e77478a5eb88eca2a82f2fd", size = 2024388, upload-time = "2025-09-08T23:08:53.393Z" }, - { url = "https://files.pythonhosted.org/packages/0d/01/add31fe76512642fd6e40e3a3bd21f4b47e242c8ba33efb6809e37076d9b/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:cedc4c68178e59a4046f97eca31b148ddcf51e88677de1ef4e78cf06c5376c9a", size = 1885316, upload-time = "2025-09-08T23:08:55.702Z" }, - { url = "https://files.pythonhosted.org/packages/c4/59/a5f38970f9bf07cee96128de79590bb354917914a9be11272cfc7ff26af0/pyzmq-27.1.0-cp314-cp314t-win32.whl", hash = "sha256:1f0b2a577fd770aa6f053211a55d1c47901f4d537389a034c690291485e5fe92", size = 587472, upload-time = "2025-09-08T23:08:58.18Z" }, - { url = "https://files.pythonhosted.org/packages/70/d8/78b1bad170f93fcf5e3536e70e8fadac55030002275c9a29e8f5719185de/pyzmq-27.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:19c9468ae0437f8074af379e986c5d3d7d7bfe033506af442e8c879732bedbe0", size = 661401, upload-time = "2025-09-08T23:08:59.802Z" }, - { url = "https://files.pythonhosted.org/packages/81/d6/4bfbb40c9a0b42fc53c7cf442f6385db70b40f74a783130c5d0a5aa62228/pyzmq-27.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dc5dbf68a7857b59473f7df42650c621d7e8923fb03fa74a526890f4d33cc4d7", size = 575170, upload-time = "2025-09-08T23:09:01.418Z" }, - { url = "https://files.pythonhosted.org/packages/f3/81/a65e71c1552f74dec9dff91d95bafb6e0d33338a8dfefbc88aa562a20c92/pyzmq-27.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c17e03cbc9312bee223864f1a2b13a99522e0dc9f7c5df0177cd45210ac286e6", size = 836266, upload-time = "2025-09-08T23:09:40.048Z" }, - { url = "https://files.pythonhosted.org/packages/58/ed/0202ca350f4f2b69faa95c6d931e3c05c3a397c184cacb84cb4f8f42f287/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:f328d01128373cb6763823b2b4e7f73bdf767834268c565151eacb3b7a392f90", size = 800206, upload-time = "2025-09-08T23:09:41.902Z" }, - { url = "https://files.pythonhosted.org/packages/47/42/1ff831fa87fe8f0a840ddb399054ca0009605d820e2b44ea43114f5459f4/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c1790386614232e1b3a40a958454bdd42c6d1811837b15ddbb052a032a43f62", size = 567747, upload-time = "2025-09-08T23:09:43.741Z" }, - { url = "https://files.pythonhosted.org/packages/d1/db/5c4d6807434751e3f21231bee98109aa57b9b9b55e058e450d0aef59b70f/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:448f9cb54eb0cee4732b46584f2710c8bc178b0e5371d9e4fc8125201e413a74", size = 747371, upload-time = "2025-09-08T23:09:45.575Z" }, - { url = "https://files.pythonhosted.org/packages/26/af/78ce193dbf03567eb8c0dc30e3df2b9e56f12a670bf7eb20f9fb532c7e8a/pyzmq-27.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:05b12f2d32112bf8c95ef2e74ec4f1d4beb01f8b5e703b38537f8849f92cb9ba", size = 544862, upload-time = "2025-09-08T23:09:47.448Z" }, - { url = "https://files.pythonhosted.org/packages/4c/c6/c4dcdecdbaa70969ee1fdced6d7b8f60cfabe64d25361f27ac4665a70620/pyzmq-27.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:18770c8d3563715387139060d37859c02ce40718d1faf299abddcdcc6a649066", size = 836265, upload-time = "2025-09-08T23:09:49.376Z" }, - { url = "https://files.pythonhosted.org/packages/3e/79/f38c92eeaeb03a2ccc2ba9866f0439593bb08c5e3b714ac1d553e5c96e25/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:ac25465d42f92e990f8d8b0546b01c391ad431c3bf447683fdc40565941d0604", size = 800208, upload-time = "2025-09-08T23:09:51.073Z" }, - { url = "https://files.pythonhosted.org/packages/49/0e/3f0d0d335c6b3abb9b7b723776d0b21fa7f3a6c819a0db6097059aada160/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53b40f8ae006f2734ee7608d59ed661419f087521edbfc2149c3932e9c14808c", size = 567747, upload-time = "2025-09-08T23:09:52.698Z" }, - { url = "https://files.pythonhosted.org/packages/a1/cf/f2b3784d536250ffd4be70e049f3b60981235d70c6e8ce7e3ef21e1adb25/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f605d884e7c8be8fe1aa94e0a783bf3f591b84c24e4bc4f3e7564c82ac25e271", size = 747371, upload-time = "2025-09-08T23:09:54.563Z" }, - { url = "https://files.pythonhosted.org/packages/01/1b/5dbe84eefc86f48473947e2f41711aded97eecef1231f4558f1f02713c12/pyzmq-27.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c9f7f6e13dff2e44a6afeaf2cf54cee5929ad64afaf4d40b50f93c58fc687355", size = 544862, upload-time = "2025-09-08T23:09:56.509Z" }, -] - [[package]] name = "redis" version = "7.4.0" @@ -5872,39 +5144,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" }, ] -[[package]] -name = "rfc3339-validator" -version = "0.1.4" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "six" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" }, -] - -[[package]] -name = "rfc3986-validator" -version = "0.1.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz", hash = "sha256:3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055", size = 6760, upload-time = "2019-10-28T16:00:19.144Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl", hash = "sha256:2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9", size = 4242, upload-time = "2019-10-28T16:00:13.976Z" }, -] - -[[package]] -name = "rfc3987-syntax" -version = "1.1.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "lark" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/2c/06/37c1a5557acf449e8e406a830a05bf885ac47d33270aec454ef78675008d/rfc3987_syntax-1.1.0.tar.gz", hash = "sha256:717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d", size = 14239, upload-time = "2025-07-18T01:05:05.015Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/71/44ce230e1b7fadd372515a97e32a83011f906ddded8d03e3c6aafbdedbb7/rfc3987_syntax-1.1.0-py3-none-any.whl", hash = "sha256:6c3d97604e4c5ce9f714898e05401a0445a641cfa276432b0a648c80856f6a3f", size = 8046, upload-time = "2025-07-18T01:05:03.843Z" }, -] - [[package]] name = "rich" version = "14.3.3" @@ -6075,15 +5314,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/58/ed/dea90a65b7d9e69888890fb14c90d7f51bf0c1e82ad800aeb0160e4bacfd/ruff-0.15.10-py3-none-win_arm64.whl", hash = "sha256:601d1610a9e1f1c2165a4f561eeaa2e2ea1e97f3287c5aa258d3dab8b57c6188", size = 11035607, upload-time = "2026-04-09T14:05:47.593Z" }, ] -[[package]] -name = "send2trash" -version = "2.1.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/c5/f0/184b4b5f8d00f2a92cf96eec8967a3d550b52cf94362dad1100df9e48d57/send2trash-2.1.0.tar.gz", hash = "sha256:1c72b39f09457db3c05ce1d19158c2cbef4c32b8bedd02c155e49282b7ea7459", size = 17255, upload-time = "2026-01-14T06:27:36.056Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1c/78/504fdd027da3b84ff1aecd9f6957e65f35134534ccc6da8628eb71e76d3f/send2trash-2.1.0-py3-none-any.whl", hash = "sha256:0da2f112e6d6bb22de6aa6daa7e144831a4febf2a87261451c4ad849fe9a873c", size = 17610, upload-time = "2026-01-14T06:27:35.218Z" }, -] - [[package]] name = "setuptools" version = "82.0.1" @@ -6190,15 +5420,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c8/78/3565d011c61f5a43488987ee32b6f3f656e7f107ac2782dd57bdd7d91d9a/snowballstemmer-3.0.1-py3-none-any.whl", hash = "sha256:6cd7b3897da8d6c9ffb968a6781fa6532dce9c3618a4b127d920dab764a19064", size = 103274, upload-time = "2025-05-09T16:34:50.371Z" }, ] -[[package]] -name = "soupsieve" -version = "2.8.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/7b/ae/2d9c981590ed9999a0d91755b47fc74f74de286b0f5cee14c9269041e6c4/soupsieve-2.8.3.tar.gz", hash = "sha256:3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349", size = 118627, upload-time = "2026-01-20T04:27:02.457Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/46/2c/1462b1d0a634697ae9e55b3cecdcb64788e8b7d63f54d923fcd0bb140aed/soupsieve-2.8.3-py3-none-any.whl", hash = "sha256:ed64f2ba4eebeab06cc4962affce381647455978ffc1e36bb79a545b91f45a95", size = 37016, upload-time = "2026-01-20T04:27:01.012Z" }, -] - [[package]] name = "sphinx" version = "8.1.3" @@ -6500,20 +5721,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926, upload-time = "2026-02-07T10:45:32.24Z" }, ] -[[package]] -name = "terminado" -version = "0.18.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "ptyprocess", marker = "os_name != 'nt'" }, - { name = "pywinpty", marker = "os_name == 'nt'" }, - { name = "tornado" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/8a/11/965c6fd8e5cc254f1fe142d547387da17a8ebfd75a3455f637c663fb38a0/terminado-0.18.1.tar.gz", hash = "sha256:de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e", size = 32701, upload-time = "2024-03-12T14:34:39.026Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/6a/9e/2064975477fdc887e47ad42157e214526dcad8f317a948dee17e1659a62f/terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0", size = 14154, upload-time = "2024-03-12T14:34:36.569Z" }, -] - [[package]] name = "tiktoken" version = "0.12.0" @@ -6575,18 +5782,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/af/df/c7891ef9d2712ad774777271d39fdef63941ffba0a9d59b7ad1fd2765e57/tiktoken-0.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f61c0aea5565ac82e2ec50a05e02a6c44734e91b51c10510b084ea1b8e633a71", size = 920667, upload-time = "2025-10-06T20:22:34.444Z" }, ] -[[package]] -name = "tinycss2" -version = "1.4.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "webencodings" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/7a/fd/7a5ee21fd08ff70d3d33a5781c255cbe779659bd03278feb98b19ee550f4/tinycss2-1.4.0.tar.gz", hash = "sha256:10c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7", size = 87085, upload-time = "2024-10-24T14:58:29.895Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e6/34/ebdc18bae6aa14fbee1a08b63c015c72b64868ff7dae68808ab500c492e2/tinycss2-1.4.0-py3-none-any.whl", hash = "sha256:3a49cf47b7675da0b15d0c6e1df8df4ebd96e9394bb905a5775adb0d884c5289", size = 26610, upload-time = "2024-10-24T14:58:28.029Z" }, -] - [[package]] name = "tokenizers" version = "0.22.2" @@ -6635,23 +5830,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/c4/ac/ce90573ba446a9bbe65838ded066a805234d159b4446ae9f8ec5bbd36cbd/tomli_w-1.1.0-py3-none-any.whl", hash = "sha256:1403179c78193e3184bfaade390ddbd071cba48a32a2e62ba11aae47490c63f7", size = 6440, upload-time = "2024-10-08T11:13:27.897Z" }, ] -[[package]] -name = "tornado" -version = "6.5.5" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f8/f1/3173dfa4a18db4a9b03e5d55325559dab51ee653763bb8745a75af491286/tornado-6.5.5.tar.gz", hash = "sha256:192b8f3ea91bd7f1f50c06955416ed76c6b72f96779b962f07f911b91e8d30e9", size = 516006, upload-time = "2026-03-10T21:31:02.067Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/59/8c/77f5097695f4dd8255ecbd08b2a1ed8ba8b953d337804dd7080f199e12bf/tornado-6.5.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:487dc9cc380e29f58c7ab88f9e27cdeef04b2140862e5076a66fb6bb68bb1bfa", size = 445983, upload-time = "2026-03-10T21:30:44.28Z" }, - { url = "https://files.pythonhosted.org/packages/ab/5e/7625b76cd10f98f1516c36ce0346de62061156352353ef2da44e5c21523c/tornado-6.5.5-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:65a7f1d46d4bb41df1ac99f5fcb685fb25c7e61613742d5108b010975a9a6521", size = 444246, upload-time = "2026-03-10T21:30:46.571Z" }, - { url = "https://files.pythonhosted.org/packages/b2/04/7b5705d5b3c0fab088f434f9c83edac1573830ca49ccf29fb83bf7178eec/tornado-6.5.5-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e74c92e8e65086b338fd56333fb9a68b9f6f2fe7ad532645a290a464bcf46be5", size = 447229, upload-time = "2026-03-10T21:30:48.273Z" }, - { url = "https://files.pythonhosted.org/packages/34/01/74e034a30ef59afb4097ef8659515e96a39d910b712a89af76f5e4e1f93c/tornado-6.5.5-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:435319e9e340276428bbdb4e7fa732c2d399386d1de5686cb331ec8eee754f07", size = 448192, upload-time = "2026-03-10T21:30:51.22Z" }, - { url = "https://files.pythonhosted.org/packages/be/00/fe9e02c5a96429fce1a1d15a517f5d8444f9c412e0bb9eadfbe3b0fc55bf/tornado-6.5.5-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3f54aa540bdbfee7b9eb268ead60e7d199de5021facd276819c193c0fb28ea4e", size = 448039, upload-time = "2026-03-10T21:30:53.52Z" }, - { url = "https://files.pythonhosted.org/packages/82/9e/656ee4cec0398b1d18d0f1eb6372c41c6b889722641d84948351ae19556d/tornado-6.5.5-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:36abed1754faeb80fbd6e64db2758091e1320f6bba74a4cf8c09cd18ccce8aca", size = 447445, upload-time = "2026-03-10T21:30:55.541Z" }, - { url = "https://files.pythonhosted.org/packages/5a/76/4921c00511f88af86a33de770d64141170f1cfd9c00311aea689949e274e/tornado-6.5.5-cp39-abi3-win32.whl", hash = "sha256:dd3eafaaeec1c7f2f8fdcd5f964e8907ad788fe8a5a32c4426fbbdda621223b7", size = 448582, upload-time = "2026-03-10T21:30:57.142Z" }, - { url = "https://files.pythonhosted.org/packages/2c/23/f6c6112a04d28eed765e374435fb1a9198f73e1ec4b4024184f21faeb1ad/tornado-6.5.5-cp39-abi3-win_amd64.whl", hash = "sha256:6443a794ba961a9f619b1ae926a2e900ac20c34483eea67be4ed8f1e58d3ef7b", size = 448990, upload-time = "2026-03-10T21:30:58.857Z" }, - { url = "https://files.pythonhosted.org/packages/b7/c8/876602cbc96469911f0939f703453c1157b0c826ecb05bdd32e023397d4e/tornado-6.5.5-cp39-abi3-win_arm64.whl", hash = "sha256:2c9a876e094109333f888539ddb2de4361743e5d21eece20688e3e351e4990a6", size = 448016, upload-time = "2026-03-10T21:31:00.43Z" }, -] - [[package]] name = "tqdm" version = "4.67.3" @@ -6673,30 +5851,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359, upload-time = "2024-04-19T11:11:46.763Z" }, ] -[[package]] -name = "ty" -version = "0.0.29" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/47/d5/853561de49fae38c519e905b2d8da9c531219608f1fccc47a0fc2c896980/ty-0.0.29.tar.gz", hash = "sha256:e7936cca2f691eeda631876c92809688dbbab68687c3473f526cd83b6a9228d8", size = 5469221, upload-time = "2026-04-05T15:01:21.328Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/03/b7/911f9962115acfa24e3b2ec9d4992dd994c38e8769e1b1d7680bb4d28a51/ty-0.0.29-py3-none-linux_armv6l.whl", hash = "sha256:b8a40955f7660d3eaceb0d964affc81b790c0765e7052921a5f861ff8a471c30", size = 10568206, upload-time = "2026-04-05T15:01:19.165Z" }, - { url = "https://files.pythonhosted.org/packages/fe/c3/fcae2167d4c77a97269f92f11d1b43b03617f81de1283d5d05b43432110c/ty-0.0.29-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6b6849adae15b00bbe2d3c5b078967dcb62eba37d38936b8eeb4c81a82d2e3b8", size = 10442530, upload-time = "2026-04-05T15:01:28.471Z" }, - { url = "https://files.pythonhosted.org/packages/97/33/5a6bfa240cfcb9c36046ae2459fa9ea23238d20130d8656ff5ac4d6c012a/ty-0.0.29-py3-none-macosx_11_0_arm64.whl", hash = "sha256:dcdd9b17209788152f7b7ea815eda07989152325052fe690013537cc7904ce49", size = 9915735, upload-time = "2026-04-05T15:01:10.365Z" }, - { url = "https://files.pythonhosted.org/packages/b3/1e/318f45fae232118e81a6306c30f50de42c509c412128d5bd231eab699ffb/ty-0.0.29-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9d8ed4789bae78ffaf94462c0d25589a734cab0366b86f2bbcb1bb90e1a7a169", size = 10419748, upload-time = "2026-04-05T15:01:32.375Z" }, - { url = "https://files.pythonhosted.org/packages/a9/a8/5687872e2ab5a0f7dd4fd8456eac31e9381ad4dc74961f6f29965ad4dd91/ty-0.0.29-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:91ec374b8565e0ad0900011c24641ebbef2da51adbd4fb69ff3280c8a7eceb02", size = 10394738, upload-time = "2026-04-05T15:01:06.473Z" }, - { url = "https://files.pythonhosted.org/packages/de/68/015d118097eeb95e6a44c4abce4c0a28b7b9dfb3085b7f0ee48e4f099633/ty-0.0.29-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:298a8d5faa2502d3810bbbb47a030b9455495b9921594206043c785dd61548cf", size = 10910613, upload-time = "2026-04-05T15:01:17.17Z" }, - { url = "https://files.pythonhosted.org/packages/1c/01/47ce3c6c53e0670eadbe80756b167bf80ed6681d1ba57cfde2e8065a13d1/ty-0.0.29-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3c8fba1a3524c6109d1e020d92301c79d41bf442fa8d335b9fa366239339cb70", size = 11475750, upload-time = "2026-04-05T15:01:30.461Z" }, - { url = "https://files.pythonhosted.org/packages/c4/cf/e361845b1081c9264ad5b7c963231bab03f2666865a9f2a115c4233f2137/ty-0.0.29-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4c48adf88a70d264128c39ee922ed14a947817fced1e93c08c1a89c9244edcde", size = 11190055, upload-time = "2026-04-05T15:01:12.369Z" }, - { url = "https://files.pythonhosted.org/packages/79/12/0fb0857e9a62cb11586e9a712103877bbf717f5fb570d16634408cfdefee/ty-0.0.29-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ce0a7a0e96bc7b42518cd3a1a6a6298ef64ff40ca4614355c1aa807059b5c6f", size = 11020539, upload-time = "2026-04-05T15:01:37.022Z" }, - { url = "https://files.pythonhosted.org/packages/20/36/5a26753802083f80cd125db6c4348ad42b3c982ec36e718e0bf4c18f75e5/ty-0.0.29-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a6ac86a05b4a3731d45365ab97780acc7b8146fa62fccb3cbe94fe6546c67a97", size = 10396399, upload-time = "2026-04-05T15:01:26.167Z" }, - { url = "https://files.pythonhosted.org/packages/00/e6/b4e75b5752239ab3ab400f19faef4dbef81d05aab5d3419fda0c062a3765/ty-0.0.29-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:6bbbf53141af0f3150bf288d716263f1a3550054e4b3551ca866d38192ba9891", size = 10421461, upload-time = "2026-04-05T15:01:08.367Z" }, - { url = "https://files.pythonhosted.org/packages/c0/21/1084b5b609f9abed62070ec0b31c283a403832a6310c8bbc208bd45ee1e6/ty-0.0.29-py3-none-musllinux_1_2_i686.whl", hash = "sha256:1c9e06b770c1d0ff5efc51e34312390db31d53fcf3088163f413030b42b74f84", size = 10599187, upload-time = "2026-04-05T15:01:23.52Z" }, - { url = "https://files.pythonhosted.org/packages/ab/a1/ce19a2ca717bbcc1ee11378aba52ef70b6ce5b87245162a729d9fdc2360f/ty-0.0.29-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:0307fe37e3f000ef1a4ae230bbaf511508a78d24a5e51b40902a21b09d5e6037", size = 11121198, upload-time = "2026-04-05T15:01:15.22Z" }, - { url = "https://files.pythonhosted.org/packages/6b/6b/f1430b279af704321566ce7ec2725d3d8258c2f815ebd93e474c64cd4543/ty-0.0.29-py3-none-win32.whl", hash = "sha256:7a2a898217960a825f8bc0087e1fdbaf379606175e98f9807187221d53a4a8ed", size = 9995331, upload-time = "2026-04-05T15:01:01.32Z" }, - { url = "https://files.pythonhosted.org/packages/d2/ef/3ef01c17785ff9a69378465c7d0faccd48a07b163554db0995e5d65a5a23/ty-0.0.29-py3-none-win_amd64.whl", hash = "sha256:fc1294200226b91615acbf34e0a9ad81caf98c081e9c6a912a31b0a7b603bc3f", size = 11023644, upload-time = "2026-04-05T15:01:04.432Z" }, - { url = "https://files.pythonhosted.org/packages/2c/55/87280a994d6a2d2647c65e12abbc997ed49835794366153c04c4d9304d76/ty-0.0.29-py3-none-win_arm64.whl", hash = "sha256:f9794bbd1bb3ce13f78c191d0c89ae4c63f52c12b6daa0c6fe220b90d019d12c", size = 10428165, upload-time = "2026-04-05T15:01:34.665Z" }, -] - [[package]] name = "typer" version = "0.23.1" @@ -6811,15 +5965,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b0/70/d460bd685a170790ec89317e9bd33047988e4bce507b831f5db771e142de/tzdata-2026.1-py2.py3-none-any.whl", hash = "sha256:4b1d2be7ac37ceafd7327b961aa3a54e467efbdb563a23655fbfe0d39cfc42a9", size = 348952, upload-time = "2026-04-03T11:25:20.313Z" }, ] -[[package]] -name = "uri-template" -version = "1.3.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/31/c7/0336f2bd0bcbada6ccef7aaa25e443c118a704f828a0620c6fa0207c1b64/uri-template-1.3.0.tar.gz", hash = "sha256:0e00f8eb65e18c7de20d595a14336e9f337ead580c70934141624b6d1ffdacc7", size = 21678, upload-time = "2023-06-21T01:49:05.374Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e7/00/3fca040d7cf8a32776d3d81a00c8ee7457e00f80c649f1e4a863c8321ae9/uri_template-1.3.0-py3-none-any.whl", hash = "sha256:a44a133ea12d44a0c0f06d7d42a52d71282e77e2f937d8abd5655b8d56fc1363", size = 11140, upload-time = "2023-06-21T01:49:03.467Z" }, -] - [[package]] name = "urllib3" version = "2.6.3" @@ -7081,24 +6226,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/68/5a/199c59e0a824a3db2b89c5d2dade7ab5f9624dbf6448dc291b46d5ec94d3/wcwidth-0.6.0-py3-none-any.whl", hash = "sha256:1a3a1e510b553315f8e146c54764f4fb6264ffad731b3d78088cdb1478ffbdad", size = 94189, upload-time = "2026-02-06T19:19:39.646Z" }, ] -[[package]] -name = "webcolors" -version = "25.10.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/1d/7a/eb316761ec35664ea5174709a68bbd3389de60d4a1ebab8808bfc264ed67/webcolors-25.10.0.tar.gz", hash = "sha256:62abae86504f66d0f6364c2a8520de4a0c47b80c03fc3a5f1815fedbef7c19bf", size = 53491, upload-time = "2025-10-31T07:51:03.977Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/e2/cc/e097523dd85c9cf5d354f78310927f1656c422bd7b2613b2db3e3f9a0f2c/webcolors-25.10.0-py3-none-any.whl", hash = "sha256:032c727334856fc0b968f63daa252a1ac93d33db2f5267756623c210e57a4f1d", size = 14905, upload-time = "2025-10-31T07:51:01.778Z" }, -] - -[[package]] -name = "webencodings" -version = "0.5.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47/webencodings-0.5.1.tar.gz", hash = "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923", size = 9721, upload-time = "2017-04-05T20:21:34.189Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", size = 11774, upload-time = "2017-04-05T20:21:32.581Z" }, -] - [[package]] name = "websocket-client" version = "1.9.0" @@ -7176,15 +6303,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/6f/28/258ebab549c2bf3e64d2b0217b973467394a9cea8c42f70418ca2c5d0d2e/websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec", size = 171598, upload-time = "2026-01-10T09:23:45.395Z" }, ] -[[package]] -name = "widgetsnbextension" -version = "4.0.15" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/bd/f4/c67440c7fb409a71b7404b7aefcd7569a9c0d6bd071299bf4198ae7a5d95/widgetsnbextension-4.0.15.tar.gz", hash = "sha256:de8610639996f1567952d763a5a41af8af37f2575a41f9852a38f947eb82a3b9", size = 1097402, upload-time = "2025-11-01T21:15:55.178Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/3f/0e/fa3b193432cfc60c93b42f3be03365f5f909d2b3ea410295cf36df739e31/widgetsnbextension-4.0.15-py3-none-any.whl", hash = "sha256:8156704e4346a571d9ce73b84bee86a29906c9abfd7223b7228a28899ccf3366", size = 2196503, upload-time = "2025-11-01T21:15:53.565Z" }, -] - [[package]] name = "wrapt" version = "1.17.3"