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,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 ListPortalLoginSettingsResponse(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
|
+
'portal_login_settings': 'list[PortalLoginSettingForListPortalLoginSettingsOutput]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'portal_login_settings': 'PortalLoginSettings'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, portal_login_settings=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""ListPortalLoginSettingsResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._portal_login_settings = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if portal_login_settings is not None:
|
|
53
|
+
self.portal_login_settings = portal_login_settings
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def portal_login_settings(self):
|
|
57
|
+
"""Gets the portal_login_settings of this ListPortalLoginSettingsResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The portal_login_settings of this ListPortalLoginSettingsResponse. # noqa: E501
|
|
61
|
+
:rtype: list[PortalLoginSettingForListPortalLoginSettingsOutput]
|
|
62
|
+
"""
|
|
63
|
+
return self._portal_login_settings
|
|
64
|
+
|
|
65
|
+
@portal_login_settings.setter
|
|
66
|
+
def portal_login_settings(self, portal_login_settings):
|
|
67
|
+
"""Sets the portal_login_settings of this ListPortalLoginSettingsResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param portal_login_settings: The portal_login_settings of this ListPortalLoginSettingsResponse. # noqa: E501
|
|
71
|
+
:type: list[PortalLoginSettingForListPortalLoginSettingsOutput]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._portal_login_settings = portal_login_settings
|
|
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(ListPortalLoginSettingsResponse, 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, ListPortalLoginSettingsResponse):
|
|
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, ListPortalLoginSettingsResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -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 ListSCIMServerCredentialsRequest(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
|
+
"""ListSCIMServerCredentialsRequest - 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(ListSCIMServerCredentialsRequest, 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, ListSCIMServerCredentialsRequest):
|
|
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, ListSCIMServerCredentialsRequest):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
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 ListSCIMServerCredentialsResponse(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
|
+
'scim_server_credentials': 'list[SCIMServerCredentialForListSCIMServerCredentialsOutput]'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'scim_server_credentials': 'SCIMServerCredentials'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, scim_server_credentials=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""ListSCIMServerCredentialsResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._scim_server_credentials = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if scim_server_credentials is not None:
|
|
53
|
+
self.scim_server_credentials = scim_server_credentials
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def scim_server_credentials(self):
|
|
57
|
+
"""Gets the scim_server_credentials of this ListSCIMServerCredentialsResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The scim_server_credentials of this ListSCIMServerCredentialsResponse. # noqa: E501
|
|
61
|
+
:rtype: list[SCIMServerCredentialForListSCIMServerCredentialsOutput]
|
|
62
|
+
"""
|
|
63
|
+
return self._scim_server_credentials
|
|
64
|
+
|
|
65
|
+
@scim_server_credentials.setter
|
|
66
|
+
def scim_server_credentials(self, scim_server_credentials):
|
|
67
|
+
"""Sets the scim_server_credentials of this ListSCIMServerCredentialsResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param scim_server_credentials: The scim_server_credentials of this ListSCIMServerCredentialsResponse. # noqa: E501
|
|
71
|
+
:type: list[SCIMServerCredentialForListSCIMServerCredentialsOutput]
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._scim_server_credentials = scim_server_credentials
|
|
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(ListSCIMServerCredentialsResponse, 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, ListSCIMServerCredentialsResponse):
|
|
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, ListSCIMServerCredentialsResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,270 @@
|
|
|
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 ListTasksRequest(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
|
+
'filter': 'str',
|
|
37
|
+
'page_number': 'int',
|
|
38
|
+
'page_size': 'int',
|
|
39
|
+
'principal_type': 'str',
|
|
40
|
+
'task_status': 'str',
|
|
41
|
+
'task_type': 'int'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'filter': 'Filter',
|
|
46
|
+
'page_number': 'PageNumber',
|
|
47
|
+
'page_size': 'PageSize',
|
|
48
|
+
'principal_type': 'PrincipalType',
|
|
49
|
+
'task_status': 'TaskStatus',
|
|
50
|
+
'task_type': 'TaskType'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, filter=None, page_number=None, page_size=None, principal_type=None, task_status=None, task_type=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""ListTasksRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._filter = None
|
|
60
|
+
self._page_number = None
|
|
61
|
+
self._page_size = None
|
|
62
|
+
self._principal_type = None
|
|
63
|
+
self._task_status = None
|
|
64
|
+
self._task_type = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if filter is not None:
|
|
68
|
+
self.filter = filter
|
|
69
|
+
if page_number is not None:
|
|
70
|
+
self.page_number = page_number
|
|
71
|
+
if page_size is not None:
|
|
72
|
+
self.page_size = page_size
|
|
73
|
+
if principal_type is not None:
|
|
74
|
+
self.principal_type = principal_type
|
|
75
|
+
if task_status is not None:
|
|
76
|
+
self.task_status = task_status
|
|
77
|
+
if task_type is not None:
|
|
78
|
+
self.task_type = task_type
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def filter(self):
|
|
82
|
+
"""Gets the filter of this ListTasksRequest. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The filter of this ListTasksRequest. # noqa: E501
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._filter
|
|
89
|
+
|
|
90
|
+
@filter.setter
|
|
91
|
+
def filter(self, filter):
|
|
92
|
+
"""Sets the filter of this ListTasksRequest.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param filter: The filter of this ListTasksRequest. # noqa: E501
|
|
96
|
+
:type: str
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._filter = filter
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def page_number(self):
|
|
103
|
+
"""Gets the page_number of this ListTasksRequest. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The page_number of this ListTasksRequest. # noqa: E501
|
|
107
|
+
:rtype: int
|
|
108
|
+
"""
|
|
109
|
+
return self._page_number
|
|
110
|
+
|
|
111
|
+
@page_number.setter
|
|
112
|
+
def page_number(self, page_number):
|
|
113
|
+
"""Sets the page_number of this ListTasksRequest.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param page_number: The page_number of this ListTasksRequest. # noqa: E501
|
|
117
|
+
:type: int
|
|
118
|
+
"""
|
|
119
|
+
if (self._configuration.client_side_validation and
|
|
120
|
+
page_number is not None and page_number < 1): # noqa: E501
|
|
121
|
+
raise ValueError("Invalid value for `page_number`, must be a value greater than or equal to `1`") # noqa: E501
|
|
122
|
+
|
|
123
|
+
self._page_number = page_number
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def page_size(self):
|
|
127
|
+
"""Gets the page_size of this ListTasksRequest. # noqa: E501
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:return: The page_size of this ListTasksRequest. # noqa: E501
|
|
131
|
+
:rtype: int
|
|
132
|
+
"""
|
|
133
|
+
return self._page_size
|
|
134
|
+
|
|
135
|
+
@page_size.setter
|
|
136
|
+
def page_size(self, page_size):
|
|
137
|
+
"""Sets the page_size of this ListTasksRequest.
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
:param page_size: The page_size of this ListTasksRequest. # noqa: E501
|
|
141
|
+
:type: int
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
self._page_size = page_size
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
def principal_type(self):
|
|
148
|
+
"""Gets the principal_type of this ListTasksRequest. # noqa: E501
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
:return: The principal_type of this ListTasksRequest. # noqa: E501
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
154
|
+
return self._principal_type
|
|
155
|
+
|
|
156
|
+
@principal_type.setter
|
|
157
|
+
def principal_type(self, principal_type):
|
|
158
|
+
"""Sets the principal_type of this ListTasksRequest.
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
:param principal_type: The principal_type of this ListTasksRequest. # noqa: E501
|
|
162
|
+
:type: str
|
|
163
|
+
"""
|
|
164
|
+
allowed_values = ["User", "Group"] # noqa: E501
|
|
165
|
+
if (self._configuration.client_side_validation and
|
|
166
|
+
principal_type not in allowed_values):
|
|
167
|
+
raise ValueError(
|
|
168
|
+
"Invalid value for `principal_type` ({0}), must be one of {1}" # noqa: E501
|
|
169
|
+
.format(principal_type, allowed_values)
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
self._principal_type = principal_type
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def task_status(self):
|
|
176
|
+
"""Gets the task_status of this ListTasksRequest. # noqa: E501
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:return: The task_status of this ListTasksRequest. # noqa: E501
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._task_status
|
|
183
|
+
|
|
184
|
+
@task_status.setter
|
|
185
|
+
def task_status(self, task_status):
|
|
186
|
+
"""Sets the task_status of this ListTasksRequest.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param task_status: The task_status of this ListTasksRequest. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
allowed_values = ["Init", "Running", "Success", "Failed"] # noqa: E501
|
|
193
|
+
if (self._configuration.client_side_validation and
|
|
194
|
+
task_status not in allowed_values):
|
|
195
|
+
raise ValueError(
|
|
196
|
+
"Invalid value for `task_status` ({0}), must be one of {1}" # noqa: E501
|
|
197
|
+
.format(task_status, allowed_values)
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
self._task_status = task_status
|
|
201
|
+
|
|
202
|
+
@property
|
|
203
|
+
def task_type(self):
|
|
204
|
+
"""Gets the task_type of this ListTasksRequest. # noqa: E501
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
:return: The task_type of this ListTasksRequest. # noqa: E501
|
|
208
|
+
:rtype: int
|
|
209
|
+
"""
|
|
210
|
+
return self._task_type
|
|
211
|
+
|
|
212
|
+
@task_type.setter
|
|
213
|
+
def task_type(self, task_type):
|
|
214
|
+
"""Sets the task_type of this ListTasksRequest.
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
:param task_type: The task_type of this ListTasksRequest. # noqa: E501
|
|
218
|
+
:type: int
|
|
219
|
+
"""
|
|
220
|
+
|
|
221
|
+
self._task_type = task_type
|
|
222
|
+
|
|
223
|
+
def to_dict(self):
|
|
224
|
+
"""Returns the model properties as a dict"""
|
|
225
|
+
result = {}
|
|
226
|
+
|
|
227
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
228
|
+
value = getattr(self, attr)
|
|
229
|
+
if isinstance(value, list):
|
|
230
|
+
result[attr] = list(map(
|
|
231
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
232
|
+
value
|
|
233
|
+
))
|
|
234
|
+
elif hasattr(value, "to_dict"):
|
|
235
|
+
result[attr] = value.to_dict()
|
|
236
|
+
elif isinstance(value, dict):
|
|
237
|
+
result[attr] = dict(map(
|
|
238
|
+
lambda item: (item[0], item[1].to_dict())
|
|
239
|
+
if hasattr(item[1], "to_dict") else item,
|
|
240
|
+
value.items()
|
|
241
|
+
))
|
|
242
|
+
else:
|
|
243
|
+
result[attr] = value
|
|
244
|
+
if issubclass(ListTasksRequest, dict):
|
|
245
|
+
for key, value in self.items():
|
|
246
|
+
result[key] = value
|
|
247
|
+
|
|
248
|
+
return result
|
|
249
|
+
|
|
250
|
+
def to_str(self):
|
|
251
|
+
"""Returns the string representation of the model"""
|
|
252
|
+
return pprint.pformat(self.to_dict())
|
|
253
|
+
|
|
254
|
+
def __repr__(self):
|
|
255
|
+
"""For `print` and `pprint`"""
|
|
256
|
+
return self.to_str()
|
|
257
|
+
|
|
258
|
+
def __eq__(self, other):
|
|
259
|
+
"""Returns true if both objects are equal"""
|
|
260
|
+
if not isinstance(other, ListTasksRequest):
|
|
261
|
+
return False
|
|
262
|
+
|
|
263
|
+
return self.to_dict() == other.to_dict()
|
|
264
|
+
|
|
265
|
+
def __ne__(self, other):
|
|
266
|
+
"""Returns true if both objects are not equal"""
|
|
267
|
+
if not isinstance(other, ListTasksRequest):
|
|
268
|
+
return True
|
|
269
|
+
|
|
270
|
+
return self.to_dict() != other.to_dict()
|