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