volcengine-python-sdk 4.0.15__py2.py3-none-any.whl → 4.0.17__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- volcengine_python_sdk-4.0.17.dist-info/METADATA +20 -0
- {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/RECORD +179 -31
- {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/WHEEL +1 -1
- {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/top_level.txt +2 -0
- volcenginesdkarkruntime/_client.py +1 -1
- volcenginesdkbmq/models/item_for_preview_topic_data_output.py +3 -3
- volcenginesdkcloudidentity/__init__.py +146 -0
- volcenginesdkcloudidentity/api/__init__.py +6 -0
- volcenginesdkcloudidentity/api/cloudidentity_api.py +5369 -0
- volcenginesdkcloudidentity/models/__init__.py +142 -0
- volcenginesdkcloudidentity/models/account_assignment_for_list_account_assignments_output.py +305 -0
- volcenginesdkcloudidentity/models/add_inline_policy_to_permission_set_request.py +151 -0
- volcenginesdkcloudidentity/models/add_inline_policy_to_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/add_system_policy_to_permission_set_request.py +151 -0
- volcenginesdkcloudidentity/models/add_system_policy_to_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/add_user_to_group_request.py +151 -0
- volcenginesdkcloudidentity/models/add_user_to_group_response.py +95 -0
- volcenginesdkcloudidentity/models/attach_policy_to_user_provision_request.py +151 -0
- volcenginesdkcloudidentity/models/attach_policy_to_user_provision_response.py +95 -0
- volcenginesdkcloudidentity/models/create_account_assignment_request.py +212 -0
- volcenginesdkcloudidentity/models/create_account_assignment_response.py +123 -0
- volcenginesdkcloudidentity/models/create_external_saml_identity_provider_request.py +124 -0
- volcenginesdkcloudidentity/models/create_external_saml_identity_provider_response.py +227 -0
- volcenginesdkcloudidentity/models/create_group_request.py +219 -0
- volcenginesdkcloudidentity/models/create_group_response.py +305 -0
- volcenginesdkcloudidentity/models/create_permission_set_request.py +205 -0
- volcenginesdkcloudidentity/models/create_permission_set_response.py +123 -0
- volcenginesdkcloudidentity/models/create_scim_server_credential_request.py +95 -0
- volcenginesdkcloudidentity/models/create_scim_server_credential_response.py +253 -0
- volcenginesdkcloudidentity/models/create_user_provisioning_request.py +339 -0
- volcenginesdkcloudidentity/models/create_user_provisioning_response.py +383 -0
- volcenginesdkcloudidentity/models/create_user_request.py +246 -0
- volcenginesdkcloudidentity/models/create_user_response.py +331 -0
- volcenginesdkcloudidentity/models/delete_account_assignment_request.py +245 -0
- volcenginesdkcloudidentity/models/delete_account_assignment_response.py +123 -0
- volcenginesdkcloudidentity/models/delete_group_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_group_response.py +95 -0
- volcenginesdkcloudidentity/models/delete_permission_set_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/delete_scim_server_credential_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_scim_server_credential_response.py +95 -0
- volcenginesdkcloudidentity/models/delete_user_provisioning_event_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_user_provisioning_event_response.py +95 -0
- volcenginesdkcloudidentity/models/delete_user_provisioning_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_user_provisioning_response.py +95 -0
- volcenginesdkcloudidentity/models/delete_user_request.py +124 -0
- volcenginesdkcloudidentity/models/delete_user_response.py +95 -0
- volcenginesdkcloudidentity/models/deprovision_permission_set_request.py +151 -0
- volcenginesdkcloudidentity/models/deprovision_permission_set_response.py +123 -0
- volcenginesdkcloudidentity/models/detach_policy_to_user_provision_request.py +151 -0
- volcenginesdkcloudidentity/models/detach_policy_to_user_provision_response.py +95 -0
- volcenginesdkcloudidentity/models/disable_portal_login_setting_request.py +124 -0
- volcenginesdkcloudidentity/models/disable_portal_login_setting_response.py +95 -0
- volcenginesdkcloudidentity/models/disable_service_request.py +95 -0
- volcenginesdkcloudidentity/models/disable_service_response.py +95 -0
- volcenginesdkcloudidentity/models/enable_portal_login_setting_request.py +124 -0
- volcenginesdkcloudidentity/models/enable_portal_login_setting_response.py +95 -0
- volcenginesdkcloudidentity/models/enable_service_request.py +95 -0
- volcenginesdkcloudidentity/models/enable_service_response.py +95 -0
- volcenginesdkcloudidentity/models/get_external_saml_identity_provider_request.py +95 -0
- volcenginesdkcloudidentity/models/get_external_saml_identity_provider_response.py +227 -0
- volcenginesdkcloudidentity/models/get_group_request.py +124 -0
- volcenginesdkcloudidentity/models/get_group_response.py +305 -0
- volcenginesdkcloudidentity/models/get_permission_set_request.py +124 -0
- volcenginesdkcloudidentity/models/get_permission_set_response.py +279 -0
- volcenginesdkcloudidentity/models/get_portal_login_config_request.py +95 -0
- volcenginesdkcloudidentity/models/get_portal_login_config_response.py +175 -0
- volcenginesdkcloudidentity/models/get_saml_service_provider_request.py +95 -0
- volcenginesdkcloudidentity/models/get_saml_service_provider_response.py +175 -0
- volcenginesdkcloudidentity/models/get_service_status_request.py +95 -0
- volcenginesdkcloudidentity/models/get_service_status_response.py +149 -0
- volcenginesdkcloudidentity/models/get_task_status_request.py +124 -0
- volcenginesdkcloudidentity/models/get_task_status_response.py +227 -0
- volcenginesdkcloudidentity/models/get_user_provisioning_request.py +124 -0
- volcenginesdkcloudidentity/models/get_user_provisioning_response.py +435 -0
- volcenginesdkcloudidentity/models/get_user_request.py +124 -0
- volcenginesdkcloudidentity/models/get_user_response.py +357 -0
- volcenginesdkcloudidentity/models/group_for_list_groups_output.py +305 -0
- volcenginesdkcloudidentity/models/idp_certificate_for_create_external_saml_identity_provider_output.py +149 -0
- volcenginesdkcloudidentity/models/idp_certificate_for_get_external_saml_identity_provider_output.py +149 -0
- volcenginesdkcloudidentity/models/instance_for_get_service_status_output.py +227 -0
- volcenginesdkcloudidentity/models/list_account_assignments_request.py +260 -0
- volcenginesdkcloudidentity/models/list_account_assignments_response.py +201 -0
- volcenginesdkcloudidentity/models/list_group_members_request.py +208 -0
- volcenginesdkcloudidentity/models/list_group_members_response.py +201 -0
- volcenginesdkcloudidentity/models/list_groups_request.py +208 -0
- volcenginesdkcloudidentity/models/list_groups_response.py +201 -0
- volcenginesdkcloudidentity/models/list_permission_policies_in_permission_set_request.py +209 -0
- volcenginesdkcloudidentity/models/list_permission_policies_in_permission_set_response.py +201 -0
- volcenginesdkcloudidentity/models/list_permission_set_provisionings_request.py +234 -0
- volcenginesdkcloudidentity/models/list_permission_set_provisionings_response.py +201 -0
- volcenginesdkcloudidentity/models/list_permission_sets_request.py +210 -0
- volcenginesdkcloudidentity/models/list_permission_sets_response.py +201 -0
- volcenginesdkcloudidentity/models/list_portal_login_settings_request.py +95 -0
- volcenginesdkcloudidentity/models/list_portal_login_settings_response.py +123 -0
- volcenginesdkcloudidentity/models/list_scim_server_credentials_request.py +95 -0
- volcenginesdkcloudidentity/models/list_scim_server_credentials_response.py +123 -0
- volcenginesdkcloudidentity/models/list_tasks_request.py +270 -0
- volcenginesdkcloudidentity/models/list_tasks_response.py +201 -0
- volcenginesdkcloudidentity/models/list_user_provisioning_events_request.py +209 -0
- volcenginesdkcloudidentity/models/list_user_provisioning_events_response.py +201 -0
- volcenginesdkcloudidentity/models/list_user_provisionings_request.py +175 -0
- volcenginesdkcloudidentity/models/list_user_provisionings_response.py +201 -0
- volcenginesdkcloudidentity/models/list_users_request.py +243 -0
- volcenginesdkcloudidentity/models/list_users_response.py +201 -0
- volcenginesdkcloudidentity/models/member_for_list_group_members_output.py +331 -0
- volcenginesdkcloudidentity/models/permission_policy_for_list_permission_policies_in_permission_set_output.py +201 -0
- volcenginesdkcloudidentity/models/permission_set_for_list_permission_sets_output.py +305 -0
- volcenginesdkcloudidentity/models/permission_set_provisioning_for_list_permission_set_provisionings_output.py +279 -0
- volcenginesdkcloudidentity/models/portal_login_setting_for_list_portal_login_settings_output.py +149 -0
- volcenginesdkcloudidentity/models/provision_permission_set_request.py +151 -0
- volcenginesdkcloudidentity/models/provision_permission_set_response.py +123 -0
- volcenginesdkcloudidentity/models/remove_permission_policy_from_permission_set_request.py +184 -0
- volcenginesdkcloudidentity/models/remove_permission_policy_from_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/remove_user_from_group_request.py +151 -0
- volcenginesdkcloudidentity/models/remove_user_from_group_response.py +95 -0
- volcenginesdkcloudidentity/models/reset_password_request.py +210 -0
- volcenginesdkcloudidentity/models/reset_password_response.py +123 -0
- volcenginesdkcloudidentity/models/retry_user_provisioning_event_request.py +124 -0
- volcenginesdkcloudidentity/models/retry_user_provisioning_event_response.py +95 -0
- volcenginesdkcloudidentity/models/scim_server_credential_for_list_scim_server_credentials_output.py +227 -0
- volcenginesdkcloudidentity/models/task_for_list_tasks_output.py +409 -0
- volcenginesdkcloudidentity/models/update_group_request.py +182 -0
- volcenginesdkcloudidentity/models/update_group_response.py +95 -0
- volcenginesdkcloudidentity/models/update_inline_policy_to_permission_set_request.py +151 -0
- volcenginesdkcloudidentity/models/update_inline_policy_to_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/update_instance_name_request.py +124 -0
- volcenginesdkcloudidentity/models/update_instance_name_response.py +95 -0
- volcenginesdkcloudidentity/models/update_permission_set_request.py +205 -0
- volcenginesdkcloudidentity/models/update_permission_set_response.py +95 -0
- volcenginesdkcloudidentity/models/update_user_request.py +272 -0
- volcenginesdkcloudidentity/models/update_user_response.py +95 -0
- volcenginesdkcloudidentity/models/user_for_list_users_output.py +331 -0
- volcenginesdkcloudidentity/models/user_provisioning_event_for_list_user_provisioning_events_output.py +409 -0
- volcenginesdkcloudidentity/models/user_provisioning_for_list_user_provisionings_output.py +435 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/auth/providers/sts_provider.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/endpoint/providers/default_provider.py +6 -0
- volcenginesdkdms/__init__.py +6 -0
- volcenginesdkdms/api/dms_api.py +97 -0
- volcenginesdkdms/models/__init__.py +6 -0
- volcenginesdkdms/models/basic_config_for_create_data_migrate_task_input.py +53 -7
- volcenginesdkdms/models/basic_config_for_query_data_migrate_task_output.py +53 -1
- volcenginesdkdms/models/delete_data_migrate_task_request.py +150 -0
- volcenginesdkdms/models/delete_data_migrate_task_response.py +95 -0
- volcenginesdkdms/models/increase_setting_for_create_data_migrate_task_input.py +2 -2
- volcenginesdkdms/models/object_migration_policy_for_create_data_migrate_task_input.py +175 -0
- volcenginesdkdms/models/object_migration_policy_for_query_data_migrate_task_output.py +175 -0
- volcenginesdkdms/models/offline_migration_policy_for_create_data_migrate_task_input.py +149 -0
- volcenginesdkdms/models/offline_migration_policy_for_query_data_migrate_task_output.py +149 -0
- volcenginesdkgraph/__init__.py +8 -0
- volcenginesdkgraph/models/__init__.py +8 -0
- volcenginesdkgraph/models/alter_table_request.py +108 -4
- volcenginesdkgraph/models/get_table_response.py +211 -3
- volcenginesdkgraph/models/get_version_set_and_components_info_request.py +29 -3
- volcenginesdkgraph/models/gremlin_quota_config_for_add_tables_input.py +27 -1
- volcenginesdkgraph/models/gremlin_quota_config_for_get_table_output.py +201 -0
- volcenginesdkgraph/models/gremlin_quota_config_for_get_table_quota_output.py +27 -1
- volcenginesdkgraph/models/idc_replica_num_for_alter_table_input.py +149 -0
- volcenginesdkgraph/models/idc_replica_num_for_get_table_output.py +149 -0
- volcenginesdkgraph/models/idc_ro_num_for_alter_table_input.py +149 -0
- volcenginesdkgraph/models/idc_ro_num_for_get_table_output.py +149 -0
- volcenginesdkgraph/models/io_qos_options_for_get_table_output.py +201 -0
- volcenginesdkgraph/models/psm_quota_config_for_add_tables_input.py +53 -1
- volcenginesdkgraph/models/psm_quota_config_for_get_table_output.py +227 -0
- volcenginesdkgraph/models/psm_quota_config_for_get_table_quota_output.py +53 -1
- volcenginesdkgraph/models/table_quota_for_get_table_output.py +149 -0
- volcenginesdklivesaas/models/line_detail_for_get_streams_api_output.py +12 -12
- volcenginesdkllmshield/__init__.py +82 -0
- volcenginesdkllmshield/api/__init__.py +4 -0
- volcenginesdkllmshield/api/llm_shield_sdk_v2.py +470 -0
- volcenginesdkllmshield/models/__init__.py +20 -0
- volcenginesdkllmshield/models/llm_shield_sign.py +159 -0
- volcenginesdkwafruntime/__init__.py +4 -2
- volcenginesdkwafruntime/api/waf_runtime_api.py +7 -3
- volcenginesdkwafruntime/models/llm_stream_session.py +4 -2
- volcengine_python_sdk-4.0.15.dist-info/METADATA +0 -21
- {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.15.dist-info → volcengine_python_sdk-4.0.17.dist-info}/NOTICE.md +0 -0
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudidentity
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetUserResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'created_time': 'str',
|
|
37
|
+
'description': 'str',
|
|
38
|
+
'display_name': 'str',
|
|
39
|
+
'email': 'str',
|
|
40
|
+
'identity_type': 'str',
|
|
41
|
+
'phone': 'str',
|
|
42
|
+
'source': 'str',
|
|
43
|
+
'updated_time': 'str',
|
|
44
|
+
'user_id': 'str',
|
|
45
|
+
'user_name': 'str'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'created_time': 'CreatedTime',
|
|
50
|
+
'description': 'Description',
|
|
51
|
+
'display_name': 'DisplayName',
|
|
52
|
+
'email': 'Email',
|
|
53
|
+
'identity_type': 'IdentityType',
|
|
54
|
+
'phone': 'Phone',
|
|
55
|
+
'source': 'Source',
|
|
56
|
+
'updated_time': 'UpdatedTime',
|
|
57
|
+
'user_id': 'UserId',
|
|
58
|
+
'user_name': 'UserName'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
def __init__(self, created_time=None, description=None, display_name=None, email=None, identity_type=None, phone=None, source=None, updated_time=None, user_id=None, user_name=None, _configuration=None): # noqa: E501
|
|
62
|
+
"""GetUserResponse - a model defined in Swagger""" # noqa: E501
|
|
63
|
+
if _configuration is None:
|
|
64
|
+
_configuration = Configuration()
|
|
65
|
+
self._configuration = _configuration
|
|
66
|
+
|
|
67
|
+
self._created_time = None
|
|
68
|
+
self._description = None
|
|
69
|
+
self._display_name = None
|
|
70
|
+
self._email = None
|
|
71
|
+
self._identity_type = None
|
|
72
|
+
self._phone = None
|
|
73
|
+
self._source = None
|
|
74
|
+
self._updated_time = None
|
|
75
|
+
self._user_id = None
|
|
76
|
+
self._user_name = None
|
|
77
|
+
self.discriminator = None
|
|
78
|
+
|
|
79
|
+
if created_time is not None:
|
|
80
|
+
self.created_time = created_time
|
|
81
|
+
if description is not None:
|
|
82
|
+
self.description = description
|
|
83
|
+
if display_name is not None:
|
|
84
|
+
self.display_name = display_name
|
|
85
|
+
if email is not None:
|
|
86
|
+
self.email = email
|
|
87
|
+
if identity_type is not None:
|
|
88
|
+
self.identity_type = identity_type
|
|
89
|
+
if phone is not None:
|
|
90
|
+
self.phone = phone
|
|
91
|
+
if source is not None:
|
|
92
|
+
self.source = source
|
|
93
|
+
if updated_time is not None:
|
|
94
|
+
self.updated_time = updated_time
|
|
95
|
+
if user_id is not None:
|
|
96
|
+
self.user_id = user_id
|
|
97
|
+
if user_name is not None:
|
|
98
|
+
self.user_name = user_name
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def created_time(self):
|
|
102
|
+
"""Gets the created_time of this GetUserResponse. # noqa: E501
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:return: The created_time of this GetUserResponse. # noqa: E501
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._created_time
|
|
109
|
+
|
|
110
|
+
@created_time.setter
|
|
111
|
+
def created_time(self, created_time):
|
|
112
|
+
"""Sets the created_time of this GetUserResponse.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param created_time: The created_time of this GetUserResponse. # noqa: E501
|
|
116
|
+
:type: str
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
self._created_time = created_time
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def description(self):
|
|
123
|
+
"""Gets the description of this GetUserResponse. # noqa: E501
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:return: The description of this GetUserResponse. # noqa: E501
|
|
127
|
+
:rtype: str
|
|
128
|
+
"""
|
|
129
|
+
return self._description
|
|
130
|
+
|
|
131
|
+
@description.setter
|
|
132
|
+
def description(self, description):
|
|
133
|
+
"""Sets the description of this GetUserResponse.
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
:param description: The description of this GetUserResponse. # noqa: E501
|
|
137
|
+
:type: str
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
self._description = description
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def display_name(self):
|
|
144
|
+
"""Gets the display_name of this GetUserResponse. # noqa: E501
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:return: The display_name of this GetUserResponse. # noqa: E501
|
|
148
|
+
:rtype: str
|
|
149
|
+
"""
|
|
150
|
+
return self._display_name
|
|
151
|
+
|
|
152
|
+
@display_name.setter
|
|
153
|
+
def display_name(self, display_name):
|
|
154
|
+
"""Sets the display_name of this GetUserResponse.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
:param display_name: The display_name of this GetUserResponse. # noqa: E501
|
|
158
|
+
:type: str
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
self._display_name = display_name
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def email(self):
|
|
165
|
+
"""Gets the email of this GetUserResponse. # noqa: E501
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:return: The email of this GetUserResponse. # noqa: E501
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._email
|
|
172
|
+
|
|
173
|
+
@email.setter
|
|
174
|
+
def email(self, email):
|
|
175
|
+
"""Sets the email of this GetUserResponse.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param email: The email of this GetUserResponse. # noqa: E501
|
|
179
|
+
:type: str
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
self._email = email
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def identity_type(self):
|
|
186
|
+
"""Gets the identity_type of this GetUserResponse. # noqa: E501
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:return: The identity_type of this GetUserResponse. # noqa: E501
|
|
190
|
+
:rtype: str
|
|
191
|
+
"""
|
|
192
|
+
return self._identity_type
|
|
193
|
+
|
|
194
|
+
@identity_type.setter
|
|
195
|
+
def identity_type(self, identity_type):
|
|
196
|
+
"""Sets the identity_type of this GetUserResponse.
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param identity_type: The identity_type of this GetUserResponse. # noqa: E501
|
|
200
|
+
:type: str
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
self._identity_type = identity_type
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def phone(self):
|
|
207
|
+
"""Gets the phone of this GetUserResponse. # noqa: E501
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:return: The phone of this GetUserResponse. # noqa: E501
|
|
211
|
+
:rtype: str
|
|
212
|
+
"""
|
|
213
|
+
return self._phone
|
|
214
|
+
|
|
215
|
+
@phone.setter
|
|
216
|
+
def phone(self, phone):
|
|
217
|
+
"""Sets the phone of this GetUserResponse.
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
:param phone: The phone of this GetUserResponse. # noqa: E501
|
|
221
|
+
:type: str
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
self._phone = phone
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
def source(self):
|
|
228
|
+
"""Gets the source of this GetUserResponse. # noqa: E501
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:return: The source of this GetUserResponse. # noqa: E501
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._source
|
|
235
|
+
|
|
236
|
+
@source.setter
|
|
237
|
+
def source(self, source):
|
|
238
|
+
"""Sets the source of this GetUserResponse.
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
:param source: The source of this GetUserResponse. # noqa: E501
|
|
242
|
+
:type: str
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
self._source = source
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def updated_time(self):
|
|
249
|
+
"""Gets the updated_time of this GetUserResponse. # noqa: E501
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:return: The updated_time of this GetUserResponse. # noqa: E501
|
|
253
|
+
:rtype: str
|
|
254
|
+
"""
|
|
255
|
+
return self._updated_time
|
|
256
|
+
|
|
257
|
+
@updated_time.setter
|
|
258
|
+
def updated_time(self, updated_time):
|
|
259
|
+
"""Sets the updated_time of this GetUserResponse.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
:param updated_time: The updated_time of this GetUserResponse. # noqa: E501
|
|
263
|
+
:type: str
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
self._updated_time = updated_time
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def user_id(self):
|
|
270
|
+
"""Gets the user_id of this GetUserResponse. # noqa: E501
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
:return: The user_id of this GetUserResponse. # noqa: E501
|
|
274
|
+
:rtype: str
|
|
275
|
+
"""
|
|
276
|
+
return self._user_id
|
|
277
|
+
|
|
278
|
+
@user_id.setter
|
|
279
|
+
def user_id(self, user_id):
|
|
280
|
+
"""Sets the user_id of this GetUserResponse.
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
:param user_id: The user_id of this GetUserResponse. # noqa: E501
|
|
284
|
+
:type: str
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
self._user_id = user_id
|
|
288
|
+
|
|
289
|
+
@property
|
|
290
|
+
def user_name(self):
|
|
291
|
+
"""Gets the user_name of this GetUserResponse. # noqa: E501
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:return: The user_name of this GetUserResponse. # noqa: E501
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._user_name
|
|
298
|
+
|
|
299
|
+
@user_name.setter
|
|
300
|
+
def user_name(self, user_name):
|
|
301
|
+
"""Sets the user_name of this GetUserResponse.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
:param user_name: The user_name of this GetUserResponse. # noqa: E501
|
|
305
|
+
:type: str
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
self._user_name = user_name
|
|
309
|
+
|
|
310
|
+
def to_dict(self):
|
|
311
|
+
"""Returns the model properties as a dict"""
|
|
312
|
+
result = {}
|
|
313
|
+
|
|
314
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
315
|
+
value = getattr(self, attr)
|
|
316
|
+
if isinstance(value, list):
|
|
317
|
+
result[attr] = list(map(
|
|
318
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
319
|
+
value
|
|
320
|
+
))
|
|
321
|
+
elif hasattr(value, "to_dict"):
|
|
322
|
+
result[attr] = value.to_dict()
|
|
323
|
+
elif isinstance(value, dict):
|
|
324
|
+
result[attr] = dict(map(
|
|
325
|
+
lambda item: (item[0], item[1].to_dict())
|
|
326
|
+
if hasattr(item[1], "to_dict") else item,
|
|
327
|
+
value.items()
|
|
328
|
+
))
|
|
329
|
+
else:
|
|
330
|
+
result[attr] = value
|
|
331
|
+
if issubclass(GetUserResponse, dict):
|
|
332
|
+
for key, value in self.items():
|
|
333
|
+
result[key] = value
|
|
334
|
+
|
|
335
|
+
return result
|
|
336
|
+
|
|
337
|
+
def to_str(self):
|
|
338
|
+
"""Returns the string representation of the model"""
|
|
339
|
+
return pprint.pformat(self.to_dict())
|
|
340
|
+
|
|
341
|
+
def __repr__(self):
|
|
342
|
+
"""For `print` and `pprint`"""
|
|
343
|
+
return self.to_str()
|
|
344
|
+
|
|
345
|
+
def __eq__(self, other):
|
|
346
|
+
"""Returns true if both objects are equal"""
|
|
347
|
+
if not isinstance(other, GetUserResponse):
|
|
348
|
+
return False
|
|
349
|
+
|
|
350
|
+
return self.to_dict() == other.to_dict()
|
|
351
|
+
|
|
352
|
+
def __ne__(self, other):
|
|
353
|
+
"""Returns true if both objects are not equal"""
|
|
354
|
+
if not isinstance(other, GetUserResponse):
|
|
355
|
+
return True
|
|
356
|
+
|
|
357
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudidentity
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GroupForListGroupsOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'created_time': 'str',
|
|
37
|
+
'description': 'str',
|
|
38
|
+
'display_name': 'str',
|
|
39
|
+
'group_id': 'str',
|
|
40
|
+
'group_name': 'str',
|
|
41
|
+
'join_type': 'str',
|
|
42
|
+
'source': 'str',
|
|
43
|
+
'updated_time': 'str'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
'created_time': 'CreatedTime',
|
|
48
|
+
'description': 'Description',
|
|
49
|
+
'display_name': 'DisplayName',
|
|
50
|
+
'group_id': 'GroupId',
|
|
51
|
+
'group_name': 'GroupName',
|
|
52
|
+
'join_type': 'JoinType',
|
|
53
|
+
'source': 'Source',
|
|
54
|
+
'updated_time': 'UpdatedTime'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, created_time=None, description=None, display_name=None, group_id=None, group_name=None, join_type=None, source=None, updated_time=None, _configuration=None): # noqa: E501
|
|
58
|
+
"""GroupForListGroupsOutput - a model defined in Swagger""" # noqa: E501
|
|
59
|
+
if _configuration is None:
|
|
60
|
+
_configuration = Configuration()
|
|
61
|
+
self._configuration = _configuration
|
|
62
|
+
|
|
63
|
+
self._created_time = None
|
|
64
|
+
self._description = None
|
|
65
|
+
self._display_name = None
|
|
66
|
+
self._group_id = None
|
|
67
|
+
self._group_name = None
|
|
68
|
+
self._join_type = None
|
|
69
|
+
self._source = None
|
|
70
|
+
self._updated_time = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
|
|
73
|
+
if created_time is not None:
|
|
74
|
+
self.created_time = created_time
|
|
75
|
+
if description is not None:
|
|
76
|
+
self.description = description
|
|
77
|
+
if display_name is not None:
|
|
78
|
+
self.display_name = display_name
|
|
79
|
+
if group_id is not None:
|
|
80
|
+
self.group_id = group_id
|
|
81
|
+
if group_name is not None:
|
|
82
|
+
self.group_name = group_name
|
|
83
|
+
if join_type is not None:
|
|
84
|
+
self.join_type = join_type
|
|
85
|
+
if source is not None:
|
|
86
|
+
self.source = source
|
|
87
|
+
if updated_time is not None:
|
|
88
|
+
self.updated_time = updated_time
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def created_time(self):
|
|
92
|
+
"""Gets the created_time of this GroupForListGroupsOutput. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The created_time of this GroupForListGroupsOutput. # noqa: E501
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._created_time
|
|
99
|
+
|
|
100
|
+
@created_time.setter
|
|
101
|
+
def created_time(self, created_time):
|
|
102
|
+
"""Sets the created_time of this GroupForListGroupsOutput.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param created_time: The created_time of this GroupForListGroupsOutput. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._created_time = created_time
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def description(self):
|
|
113
|
+
"""Gets the description of this GroupForListGroupsOutput. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The description of this GroupForListGroupsOutput. # noqa: E501
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._description
|
|
120
|
+
|
|
121
|
+
@description.setter
|
|
122
|
+
def description(self, description):
|
|
123
|
+
"""Sets the description of this GroupForListGroupsOutput.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param description: The description of this GroupForListGroupsOutput. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._description = description
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def display_name(self):
|
|
134
|
+
"""Gets the display_name of this GroupForListGroupsOutput. # noqa: E501
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:return: The display_name of this GroupForListGroupsOutput. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._display_name
|
|
141
|
+
|
|
142
|
+
@display_name.setter
|
|
143
|
+
def display_name(self, display_name):
|
|
144
|
+
"""Sets the display_name of this GroupForListGroupsOutput.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:param display_name: The display_name of this GroupForListGroupsOutput. # noqa: E501
|
|
148
|
+
:type: str
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
self._display_name = display_name
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def group_id(self):
|
|
155
|
+
"""Gets the group_id of this GroupForListGroupsOutput. # noqa: E501
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:return: The group_id of this GroupForListGroupsOutput. # noqa: E501
|
|
159
|
+
:rtype: str
|
|
160
|
+
"""
|
|
161
|
+
return self._group_id
|
|
162
|
+
|
|
163
|
+
@group_id.setter
|
|
164
|
+
def group_id(self, group_id):
|
|
165
|
+
"""Sets the group_id of this GroupForListGroupsOutput.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param group_id: The group_id of this GroupForListGroupsOutput. # noqa: E501
|
|
169
|
+
:type: str
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
self._group_id = group_id
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def group_name(self):
|
|
176
|
+
"""Gets the group_name of this GroupForListGroupsOutput. # noqa: E501
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:return: The group_name of this GroupForListGroupsOutput. # noqa: E501
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._group_name
|
|
183
|
+
|
|
184
|
+
@group_name.setter
|
|
185
|
+
def group_name(self, group_name):
|
|
186
|
+
"""Sets the group_name of this GroupForListGroupsOutput.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param group_name: The group_name of this GroupForListGroupsOutput. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
self._group_name = group_name
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def join_type(self):
|
|
197
|
+
"""Gets the join_type of this GroupForListGroupsOutput. # noqa: E501
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:return: The join_type of this GroupForListGroupsOutput. # noqa: E501
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._join_type
|
|
204
|
+
|
|
205
|
+
@join_type.setter
|
|
206
|
+
def join_type(self, join_type):
|
|
207
|
+
"""Sets the join_type of this GroupForListGroupsOutput.
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:param join_type: The join_type of this GroupForListGroupsOutput. # noqa: E501
|
|
211
|
+
:type: str
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
self._join_type = join_type
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def source(self):
|
|
218
|
+
"""Gets the source of this GroupForListGroupsOutput. # noqa: E501
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
:return: The source of this GroupForListGroupsOutput. # noqa: E501
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._source
|
|
225
|
+
|
|
226
|
+
@source.setter
|
|
227
|
+
def source(self, source):
|
|
228
|
+
"""Sets the source of this GroupForListGroupsOutput.
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:param source: The source of this GroupForListGroupsOutput. # noqa: E501
|
|
232
|
+
:type: str
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
self._source = source
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def updated_time(self):
|
|
239
|
+
"""Gets the updated_time of this GroupForListGroupsOutput. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The updated_time of this GroupForListGroupsOutput. # noqa: E501
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._updated_time
|
|
246
|
+
|
|
247
|
+
@updated_time.setter
|
|
248
|
+
def updated_time(self, updated_time):
|
|
249
|
+
"""Sets the updated_time of this GroupForListGroupsOutput.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param updated_time: The updated_time of this GroupForListGroupsOutput. # noqa: E501
|
|
253
|
+
:type: str
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._updated_time = updated_time
|
|
257
|
+
|
|
258
|
+
def to_dict(self):
|
|
259
|
+
"""Returns the model properties as a dict"""
|
|
260
|
+
result = {}
|
|
261
|
+
|
|
262
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
263
|
+
value = getattr(self, attr)
|
|
264
|
+
if isinstance(value, list):
|
|
265
|
+
result[attr] = list(map(
|
|
266
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
267
|
+
value
|
|
268
|
+
))
|
|
269
|
+
elif hasattr(value, "to_dict"):
|
|
270
|
+
result[attr] = value.to_dict()
|
|
271
|
+
elif isinstance(value, dict):
|
|
272
|
+
result[attr] = dict(map(
|
|
273
|
+
lambda item: (item[0], item[1].to_dict())
|
|
274
|
+
if hasattr(item[1], "to_dict") else item,
|
|
275
|
+
value.items()
|
|
276
|
+
))
|
|
277
|
+
else:
|
|
278
|
+
result[attr] = value
|
|
279
|
+
if issubclass(GroupForListGroupsOutput, dict):
|
|
280
|
+
for key, value in self.items():
|
|
281
|
+
result[key] = value
|
|
282
|
+
|
|
283
|
+
return result
|
|
284
|
+
|
|
285
|
+
def to_str(self):
|
|
286
|
+
"""Returns the string representation of the model"""
|
|
287
|
+
return pprint.pformat(self.to_dict())
|
|
288
|
+
|
|
289
|
+
def __repr__(self):
|
|
290
|
+
"""For `print` and `pprint`"""
|
|
291
|
+
return self.to_str()
|
|
292
|
+
|
|
293
|
+
def __eq__(self, other):
|
|
294
|
+
"""Returns true if both objects are equal"""
|
|
295
|
+
if not isinstance(other, GroupForListGroupsOutput):
|
|
296
|
+
return False
|
|
297
|
+
|
|
298
|
+
return self.to_dict() == other.to_dict()
|
|
299
|
+
|
|
300
|
+
def __ne__(self, other):
|
|
301
|
+
"""Returns true if both objects are not equal"""
|
|
302
|
+
if not isinstance(other, GroupForListGroupsOutput):
|
|
303
|
+
return True
|
|
304
|
+
|
|
305
|
+
return self.to_dict() != other.to_dict()
|