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,383 @@
|
|
|
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 CreateUserProvisioningResponse(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
|
+
'deletion_strategy': 'str',
|
|
37
|
+
'description': 'str',
|
|
38
|
+
'duplication_strategy': 'str',
|
|
39
|
+
'duplication_suffix': 'str',
|
|
40
|
+
'identity_source_strategy': 'str',
|
|
41
|
+
'principal_id': 'str',
|
|
42
|
+
'principal_type': 'str',
|
|
43
|
+
'provision_status': 'str',
|
|
44
|
+
'remark': 'str',
|
|
45
|
+
'target_id': 'str',
|
|
46
|
+
'user_provisioning_id': 'str'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
attribute_map = {
|
|
50
|
+
'deletion_strategy': 'DeletionStrategy',
|
|
51
|
+
'description': 'Description',
|
|
52
|
+
'duplication_strategy': 'DuplicationStrategy',
|
|
53
|
+
'duplication_suffix': 'DuplicationSuffix',
|
|
54
|
+
'identity_source_strategy': 'IdentitySourceStrategy',
|
|
55
|
+
'principal_id': 'PrincipalId',
|
|
56
|
+
'principal_type': 'PrincipalType',
|
|
57
|
+
'provision_status': 'ProvisionStatus',
|
|
58
|
+
'remark': 'Remark',
|
|
59
|
+
'target_id': 'TargetId',
|
|
60
|
+
'user_provisioning_id': 'UserProvisioningId'
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
def __init__(self, deletion_strategy=None, description=None, duplication_strategy=None, duplication_suffix=None, identity_source_strategy=None, principal_id=None, principal_type=None, provision_status=None, remark=None, target_id=None, user_provisioning_id=None, _configuration=None): # noqa: E501
|
|
64
|
+
"""CreateUserProvisioningResponse - a model defined in Swagger""" # noqa: E501
|
|
65
|
+
if _configuration is None:
|
|
66
|
+
_configuration = Configuration()
|
|
67
|
+
self._configuration = _configuration
|
|
68
|
+
|
|
69
|
+
self._deletion_strategy = None
|
|
70
|
+
self._description = None
|
|
71
|
+
self._duplication_strategy = None
|
|
72
|
+
self._duplication_suffix = None
|
|
73
|
+
self._identity_source_strategy = None
|
|
74
|
+
self._principal_id = None
|
|
75
|
+
self._principal_type = None
|
|
76
|
+
self._provision_status = None
|
|
77
|
+
self._remark = None
|
|
78
|
+
self._target_id = None
|
|
79
|
+
self._user_provisioning_id = None
|
|
80
|
+
self.discriminator = None
|
|
81
|
+
|
|
82
|
+
if deletion_strategy is not None:
|
|
83
|
+
self.deletion_strategy = deletion_strategy
|
|
84
|
+
if description is not None:
|
|
85
|
+
self.description = description
|
|
86
|
+
if duplication_strategy is not None:
|
|
87
|
+
self.duplication_strategy = duplication_strategy
|
|
88
|
+
if duplication_suffix is not None:
|
|
89
|
+
self.duplication_suffix = duplication_suffix
|
|
90
|
+
if identity_source_strategy is not None:
|
|
91
|
+
self.identity_source_strategy = identity_source_strategy
|
|
92
|
+
if principal_id is not None:
|
|
93
|
+
self.principal_id = principal_id
|
|
94
|
+
if principal_type is not None:
|
|
95
|
+
self.principal_type = principal_type
|
|
96
|
+
if provision_status is not None:
|
|
97
|
+
self.provision_status = provision_status
|
|
98
|
+
if remark is not None:
|
|
99
|
+
self.remark = remark
|
|
100
|
+
if target_id is not None:
|
|
101
|
+
self.target_id = target_id
|
|
102
|
+
if user_provisioning_id is not None:
|
|
103
|
+
self.user_provisioning_id = user_provisioning_id
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def deletion_strategy(self):
|
|
107
|
+
"""Gets the deletion_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:return: The deletion_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
111
|
+
:rtype: str
|
|
112
|
+
"""
|
|
113
|
+
return self._deletion_strategy
|
|
114
|
+
|
|
115
|
+
@deletion_strategy.setter
|
|
116
|
+
def deletion_strategy(self, deletion_strategy):
|
|
117
|
+
"""Sets the deletion_strategy of this CreateUserProvisioningResponse.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param deletion_strategy: The deletion_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
121
|
+
:type: str
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
self._deletion_strategy = deletion_strategy
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
def description(self):
|
|
128
|
+
"""Gets the description of this CreateUserProvisioningResponse. # noqa: E501
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:return: The description of this CreateUserProvisioningResponse. # noqa: E501
|
|
132
|
+
:rtype: str
|
|
133
|
+
"""
|
|
134
|
+
return self._description
|
|
135
|
+
|
|
136
|
+
@description.setter
|
|
137
|
+
def description(self, description):
|
|
138
|
+
"""Sets the description of this CreateUserProvisioningResponse.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
:param description: The description of this CreateUserProvisioningResponse. # noqa: E501
|
|
142
|
+
:type: str
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
self._description = description
|
|
146
|
+
|
|
147
|
+
@property
|
|
148
|
+
def duplication_strategy(self):
|
|
149
|
+
"""Gets the duplication_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:return: The duplication_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
153
|
+
:rtype: str
|
|
154
|
+
"""
|
|
155
|
+
return self._duplication_strategy
|
|
156
|
+
|
|
157
|
+
@duplication_strategy.setter
|
|
158
|
+
def duplication_strategy(self, duplication_strategy):
|
|
159
|
+
"""Sets the duplication_strategy of this CreateUserProvisioningResponse.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:param duplication_strategy: The duplication_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
163
|
+
:type: str
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
self._duplication_strategy = duplication_strategy
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
def duplication_suffix(self):
|
|
170
|
+
"""Gets the duplication_suffix of this CreateUserProvisioningResponse. # noqa: E501
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:return: The duplication_suffix of this CreateUserProvisioningResponse. # noqa: E501
|
|
174
|
+
:rtype: str
|
|
175
|
+
"""
|
|
176
|
+
return self._duplication_suffix
|
|
177
|
+
|
|
178
|
+
@duplication_suffix.setter
|
|
179
|
+
def duplication_suffix(self, duplication_suffix):
|
|
180
|
+
"""Sets the duplication_suffix of this CreateUserProvisioningResponse.
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
:param duplication_suffix: The duplication_suffix of this CreateUserProvisioningResponse. # noqa: E501
|
|
184
|
+
:type: str
|
|
185
|
+
"""
|
|
186
|
+
|
|
187
|
+
self._duplication_suffix = duplication_suffix
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
def identity_source_strategy(self):
|
|
191
|
+
"""Gets the identity_source_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:return: The identity_source_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
195
|
+
:rtype: str
|
|
196
|
+
"""
|
|
197
|
+
return self._identity_source_strategy
|
|
198
|
+
|
|
199
|
+
@identity_source_strategy.setter
|
|
200
|
+
def identity_source_strategy(self, identity_source_strategy):
|
|
201
|
+
"""Sets the identity_source_strategy of this CreateUserProvisioningResponse.
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
:param identity_source_strategy: The identity_source_strategy of this CreateUserProvisioningResponse. # noqa: E501
|
|
205
|
+
:type: str
|
|
206
|
+
"""
|
|
207
|
+
|
|
208
|
+
self._identity_source_strategy = identity_source_strategy
|
|
209
|
+
|
|
210
|
+
@property
|
|
211
|
+
def principal_id(self):
|
|
212
|
+
"""Gets the principal_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:return: The principal_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
216
|
+
:rtype: str
|
|
217
|
+
"""
|
|
218
|
+
return self._principal_id
|
|
219
|
+
|
|
220
|
+
@principal_id.setter
|
|
221
|
+
def principal_id(self, principal_id):
|
|
222
|
+
"""Sets the principal_id of this CreateUserProvisioningResponse.
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
:param principal_id: The principal_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
226
|
+
:type: str
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
self._principal_id = principal_id
|
|
230
|
+
|
|
231
|
+
@property
|
|
232
|
+
def principal_type(self):
|
|
233
|
+
"""Gets the principal_type of this CreateUserProvisioningResponse. # noqa: E501
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:return: The principal_type of this CreateUserProvisioningResponse. # noqa: E501
|
|
237
|
+
:rtype: str
|
|
238
|
+
"""
|
|
239
|
+
return self._principal_type
|
|
240
|
+
|
|
241
|
+
@principal_type.setter
|
|
242
|
+
def principal_type(self, principal_type):
|
|
243
|
+
"""Sets the principal_type of this CreateUserProvisioningResponse.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
:param principal_type: The principal_type of this CreateUserProvisioningResponse. # noqa: E501
|
|
247
|
+
:type: str
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
self._principal_type = principal_type
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def provision_status(self):
|
|
254
|
+
"""Gets the provision_status of this CreateUserProvisioningResponse. # noqa: E501
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:return: The provision_status of this CreateUserProvisioningResponse. # noqa: E501
|
|
258
|
+
:rtype: str
|
|
259
|
+
"""
|
|
260
|
+
return self._provision_status
|
|
261
|
+
|
|
262
|
+
@provision_status.setter
|
|
263
|
+
def provision_status(self, provision_status):
|
|
264
|
+
"""Sets the provision_status of this CreateUserProvisioningResponse.
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param provision_status: The provision_status of this CreateUserProvisioningResponse. # noqa: E501
|
|
268
|
+
:type: str
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
self._provision_status = provision_status
|
|
272
|
+
|
|
273
|
+
@property
|
|
274
|
+
def remark(self):
|
|
275
|
+
"""Gets the remark of this CreateUserProvisioningResponse. # noqa: E501
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:return: The remark of this CreateUserProvisioningResponse. # noqa: E501
|
|
279
|
+
:rtype: str
|
|
280
|
+
"""
|
|
281
|
+
return self._remark
|
|
282
|
+
|
|
283
|
+
@remark.setter
|
|
284
|
+
def remark(self, remark):
|
|
285
|
+
"""Sets the remark of this CreateUserProvisioningResponse.
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
:param remark: The remark of this CreateUserProvisioningResponse. # noqa: E501
|
|
289
|
+
:type: str
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
self._remark = remark
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
def target_id(self):
|
|
296
|
+
"""Gets the target_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
:return: The target_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
300
|
+
:rtype: str
|
|
301
|
+
"""
|
|
302
|
+
return self._target_id
|
|
303
|
+
|
|
304
|
+
@target_id.setter
|
|
305
|
+
def target_id(self, target_id):
|
|
306
|
+
"""Sets the target_id of this CreateUserProvisioningResponse.
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:param target_id: The target_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
310
|
+
:type: str
|
|
311
|
+
"""
|
|
312
|
+
|
|
313
|
+
self._target_id = target_id
|
|
314
|
+
|
|
315
|
+
@property
|
|
316
|
+
def user_provisioning_id(self):
|
|
317
|
+
"""Gets the user_provisioning_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
:return: The user_provisioning_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
321
|
+
:rtype: str
|
|
322
|
+
"""
|
|
323
|
+
return self._user_provisioning_id
|
|
324
|
+
|
|
325
|
+
@user_provisioning_id.setter
|
|
326
|
+
def user_provisioning_id(self, user_provisioning_id):
|
|
327
|
+
"""Sets the user_provisioning_id of this CreateUserProvisioningResponse.
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:param user_provisioning_id: The user_provisioning_id of this CreateUserProvisioningResponse. # noqa: E501
|
|
331
|
+
:type: str
|
|
332
|
+
"""
|
|
333
|
+
|
|
334
|
+
self._user_provisioning_id = user_provisioning_id
|
|
335
|
+
|
|
336
|
+
def to_dict(self):
|
|
337
|
+
"""Returns the model properties as a dict"""
|
|
338
|
+
result = {}
|
|
339
|
+
|
|
340
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
341
|
+
value = getattr(self, attr)
|
|
342
|
+
if isinstance(value, list):
|
|
343
|
+
result[attr] = list(map(
|
|
344
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
345
|
+
value
|
|
346
|
+
))
|
|
347
|
+
elif hasattr(value, "to_dict"):
|
|
348
|
+
result[attr] = value.to_dict()
|
|
349
|
+
elif isinstance(value, dict):
|
|
350
|
+
result[attr] = dict(map(
|
|
351
|
+
lambda item: (item[0], item[1].to_dict())
|
|
352
|
+
if hasattr(item[1], "to_dict") else item,
|
|
353
|
+
value.items()
|
|
354
|
+
))
|
|
355
|
+
else:
|
|
356
|
+
result[attr] = value
|
|
357
|
+
if issubclass(CreateUserProvisioningResponse, dict):
|
|
358
|
+
for key, value in self.items():
|
|
359
|
+
result[key] = value
|
|
360
|
+
|
|
361
|
+
return result
|
|
362
|
+
|
|
363
|
+
def to_str(self):
|
|
364
|
+
"""Returns the string representation of the model"""
|
|
365
|
+
return pprint.pformat(self.to_dict())
|
|
366
|
+
|
|
367
|
+
def __repr__(self):
|
|
368
|
+
"""For `print` and `pprint`"""
|
|
369
|
+
return self.to_str()
|
|
370
|
+
|
|
371
|
+
def __eq__(self, other):
|
|
372
|
+
"""Returns true if both objects are equal"""
|
|
373
|
+
if not isinstance(other, CreateUserProvisioningResponse):
|
|
374
|
+
return False
|
|
375
|
+
|
|
376
|
+
return self.to_dict() == other.to_dict()
|
|
377
|
+
|
|
378
|
+
def __ne__(self, other):
|
|
379
|
+
"""Returns true if both objects are not equal"""
|
|
380
|
+
if not isinstance(other, CreateUserProvisioningResponse):
|
|
381
|
+
return True
|
|
382
|
+
|
|
383
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,246 @@
|
|
|
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 CreateUserRequest(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
|
+
'description': 'str',
|
|
37
|
+
'display_name': 'str',
|
|
38
|
+
'email': 'str',
|
|
39
|
+
'phone': 'str',
|
|
40
|
+
'user_name': 'str'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'description': 'Description',
|
|
45
|
+
'display_name': 'DisplayName',
|
|
46
|
+
'email': 'Email',
|
|
47
|
+
'phone': 'Phone',
|
|
48
|
+
'user_name': 'UserName'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, description=None, display_name=None, email=None, phone=None, user_name=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""CreateUserRequest - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._description = None
|
|
58
|
+
self._display_name = None
|
|
59
|
+
self._email = None
|
|
60
|
+
self._phone = None
|
|
61
|
+
self._user_name = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if description is not None:
|
|
65
|
+
self.description = description
|
|
66
|
+
if display_name is not None:
|
|
67
|
+
self.display_name = display_name
|
|
68
|
+
if email is not None:
|
|
69
|
+
self.email = email
|
|
70
|
+
if phone is not None:
|
|
71
|
+
self.phone = phone
|
|
72
|
+
self.user_name = user_name
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def description(self):
|
|
76
|
+
"""Gets the description of this CreateUserRequest. # noqa: E501
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
:return: The description of this CreateUserRequest. # noqa: E501
|
|
80
|
+
:rtype: str
|
|
81
|
+
"""
|
|
82
|
+
return self._description
|
|
83
|
+
|
|
84
|
+
@description.setter
|
|
85
|
+
def description(self, description):
|
|
86
|
+
"""Sets the description of this CreateUserRequest.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:param description: The description of this CreateUserRequest. # noqa: E501
|
|
90
|
+
:type: str
|
|
91
|
+
"""
|
|
92
|
+
if (self._configuration.client_side_validation and
|
|
93
|
+
description is not None and len(description) > 255):
|
|
94
|
+
raise ValueError("Invalid value for `description`, length must be less than or equal to `255`") # noqa: E501
|
|
95
|
+
|
|
96
|
+
self._description = description
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
def display_name(self):
|
|
100
|
+
"""Gets the display_name of this CreateUserRequest. # noqa: E501
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:return: The display_name of this CreateUserRequest. # noqa: E501
|
|
104
|
+
:rtype: str
|
|
105
|
+
"""
|
|
106
|
+
return self._display_name
|
|
107
|
+
|
|
108
|
+
@display_name.setter
|
|
109
|
+
def display_name(self, display_name):
|
|
110
|
+
"""Sets the display_name of this CreateUserRequest.
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:param display_name: The display_name of this CreateUserRequest. # noqa: E501
|
|
114
|
+
:type: str
|
|
115
|
+
"""
|
|
116
|
+
if (self._configuration.client_side_validation and
|
|
117
|
+
display_name is not None and len(display_name) > 64):
|
|
118
|
+
raise ValueError("Invalid value for `display_name`, length must be less than or equal to `64`") # noqa: E501
|
|
119
|
+
|
|
120
|
+
self._display_name = display_name
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def email(self):
|
|
124
|
+
"""Gets the email of this CreateUserRequest. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The email of this CreateUserRequest. # noqa: E501
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._email
|
|
131
|
+
|
|
132
|
+
@email.setter
|
|
133
|
+
def email(self, email):
|
|
134
|
+
"""Sets the email of this CreateUserRequest.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param email: The email of this CreateUserRequest. # noqa: E501
|
|
138
|
+
:type: str
|
|
139
|
+
"""
|
|
140
|
+
if (self._configuration.client_side_validation and
|
|
141
|
+
email is not None and len(email) > 128):
|
|
142
|
+
raise ValueError("Invalid value for `email`, length must be less than or equal to `128`") # noqa: E501
|
|
143
|
+
|
|
144
|
+
self._email = email
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def phone(self):
|
|
148
|
+
"""Gets the phone of this CreateUserRequest. # noqa: E501
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:return: The phone of this CreateUserRequest. # noqa: E501
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._phone
|
|
155
|
+
|
|
156
|
+
@phone.setter
|
|
157
|
+
def phone(self, phone):
|
|
158
|
+
"""Sets the phone of this CreateUserRequest.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param phone: The phone of this CreateUserRequest. # noqa: E501
|
|
162
|
+
:type: str
|
|
163
|
+
"""
|
|
164
|
+
if (self._configuration.client_side_validation and
|
|
165
|
+
phone is not None and len(phone) > 20):
|
|
166
|
+
raise ValueError("Invalid value for `phone`, length must be less than or equal to `20`") # noqa: E501
|
|
167
|
+
|
|
168
|
+
self._phone = phone
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
def user_name(self):
|
|
172
|
+
"""Gets the user_name of this CreateUserRequest. # noqa: E501
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:return: The user_name of this CreateUserRequest. # noqa: E501
|
|
176
|
+
:rtype: str
|
|
177
|
+
"""
|
|
178
|
+
return self._user_name
|
|
179
|
+
|
|
180
|
+
@user_name.setter
|
|
181
|
+
def user_name(self, user_name):
|
|
182
|
+
"""Sets the user_name of this CreateUserRequest.
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
:param user_name: The user_name of this CreateUserRequest. # noqa: E501
|
|
186
|
+
:type: str
|
|
187
|
+
"""
|
|
188
|
+
if self._configuration.client_side_validation and user_name is None:
|
|
189
|
+
raise ValueError("Invalid value for `user_name`, must not be `None`") # noqa: E501
|
|
190
|
+
if (self._configuration.client_side_validation and
|
|
191
|
+
user_name is not None and len(user_name) > 54):
|
|
192
|
+
raise ValueError("Invalid value for `user_name`, length must be less than or equal to `54`") # noqa: E501
|
|
193
|
+
if (self._configuration.client_side_validation and
|
|
194
|
+
user_name is not None and len(user_name) < 1):
|
|
195
|
+
raise ValueError("Invalid value for `user_name`, length must be greater than or equal to `1`") # noqa: E501
|
|
196
|
+
|
|
197
|
+
self._user_name = user_name
|
|
198
|
+
|
|
199
|
+
def to_dict(self):
|
|
200
|
+
"""Returns the model properties as a dict"""
|
|
201
|
+
result = {}
|
|
202
|
+
|
|
203
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
204
|
+
value = getattr(self, attr)
|
|
205
|
+
if isinstance(value, list):
|
|
206
|
+
result[attr] = list(map(
|
|
207
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
208
|
+
value
|
|
209
|
+
))
|
|
210
|
+
elif hasattr(value, "to_dict"):
|
|
211
|
+
result[attr] = value.to_dict()
|
|
212
|
+
elif isinstance(value, dict):
|
|
213
|
+
result[attr] = dict(map(
|
|
214
|
+
lambda item: (item[0], item[1].to_dict())
|
|
215
|
+
if hasattr(item[1], "to_dict") else item,
|
|
216
|
+
value.items()
|
|
217
|
+
))
|
|
218
|
+
else:
|
|
219
|
+
result[attr] = value
|
|
220
|
+
if issubclass(CreateUserRequest, dict):
|
|
221
|
+
for key, value in self.items():
|
|
222
|
+
result[key] = value
|
|
223
|
+
|
|
224
|
+
return result
|
|
225
|
+
|
|
226
|
+
def to_str(self):
|
|
227
|
+
"""Returns the string representation of the model"""
|
|
228
|
+
return pprint.pformat(self.to_dict())
|
|
229
|
+
|
|
230
|
+
def __repr__(self):
|
|
231
|
+
"""For `print` and `pprint`"""
|
|
232
|
+
return self.to_str()
|
|
233
|
+
|
|
234
|
+
def __eq__(self, other):
|
|
235
|
+
"""Returns true if both objects are equal"""
|
|
236
|
+
if not isinstance(other, CreateUserRequest):
|
|
237
|
+
return False
|
|
238
|
+
|
|
239
|
+
return self.to_dict() == other.to_dict()
|
|
240
|
+
|
|
241
|
+
def __ne__(self, other):
|
|
242
|
+
"""Returns true if both objects are not equal"""
|
|
243
|
+
if not isinstance(other, CreateUserRequest):
|
|
244
|
+
return True
|
|
245
|
+
|
|
246
|
+
return self.to_dict() != other.to_dict()
|