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