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,182 @@
|
|
|
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 UpdateGroupRequest(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
|
+
'group_id': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'description': 'Description',
|
|
43
|
+
'display_name': 'DisplayName',
|
|
44
|
+
'group_id': 'GroupId'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, description=None, display_name=None, group_id=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""UpdateGroupRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._description = None
|
|
54
|
+
self._display_name = None
|
|
55
|
+
self._group_id = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if description is not None:
|
|
59
|
+
self.description = description
|
|
60
|
+
if display_name is not None:
|
|
61
|
+
self.display_name = display_name
|
|
62
|
+
self.group_id = group_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def description(self):
|
|
66
|
+
"""Gets the description of this UpdateGroupRequest. # noqa: E501
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:return: The description of this UpdateGroupRequest. # noqa: E501
|
|
70
|
+
:rtype: str
|
|
71
|
+
"""
|
|
72
|
+
return self._description
|
|
73
|
+
|
|
74
|
+
@description.setter
|
|
75
|
+
def description(self, description):
|
|
76
|
+
"""Sets the description of this UpdateGroupRequest.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
:param description: The description of this UpdateGroupRequest. # noqa: E501
|
|
80
|
+
:type: str
|
|
81
|
+
"""
|
|
82
|
+
if (self._configuration.client_side_validation and
|
|
83
|
+
description is not None and len(description) > 128):
|
|
84
|
+
raise ValueError("Invalid value for `description`, length must be less than or equal to `128`") # noqa: E501
|
|
85
|
+
|
|
86
|
+
self._description = description
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def display_name(self):
|
|
90
|
+
"""Gets the display_name of this UpdateGroupRequest. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The display_name of this UpdateGroupRequest. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._display_name
|
|
97
|
+
|
|
98
|
+
@display_name.setter
|
|
99
|
+
def display_name(self, display_name):
|
|
100
|
+
"""Sets the display_name of this UpdateGroupRequest.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param display_name: The display_name of this UpdateGroupRequest. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
if (self._configuration.client_side_validation and
|
|
107
|
+
display_name is not None and len(display_name) > 64):
|
|
108
|
+
raise ValueError("Invalid value for `display_name`, length must be less than or equal to `64`") # noqa: E501
|
|
109
|
+
|
|
110
|
+
self._display_name = display_name
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def group_id(self):
|
|
114
|
+
"""Gets the group_id of this UpdateGroupRequest. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The group_id of this UpdateGroupRequest. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._group_id
|
|
121
|
+
|
|
122
|
+
@group_id.setter
|
|
123
|
+
def group_id(self, group_id):
|
|
124
|
+
"""Sets the group_id of this UpdateGroupRequest.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param group_id: The group_id of this UpdateGroupRequest. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
if self._configuration.client_side_validation and group_id is None:
|
|
131
|
+
raise ValueError("Invalid value for `group_id`, must not be `None`") # noqa: E501
|
|
132
|
+
|
|
133
|
+
self._group_id = group_id
|
|
134
|
+
|
|
135
|
+
def to_dict(self):
|
|
136
|
+
"""Returns the model properties as a dict"""
|
|
137
|
+
result = {}
|
|
138
|
+
|
|
139
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
140
|
+
value = getattr(self, attr)
|
|
141
|
+
if isinstance(value, list):
|
|
142
|
+
result[attr] = list(map(
|
|
143
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
144
|
+
value
|
|
145
|
+
))
|
|
146
|
+
elif hasattr(value, "to_dict"):
|
|
147
|
+
result[attr] = value.to_dict()
|
|
148
|
+
elif isinstance(value, dict):
|
|
149
|
+
result[attr] = dict(map(
|
|
150
|
+
lambda item: (item[0], item[1].to_dict())
|
|
151
|
+
if hasattr(item[1], "to_dict") else item,
|
|
152
|
+
value.items()
|
|
153
|
+
))
|
|
154
|
+
else:
|
|
155
|
+
result[attr] = value
|
|
156
|
+
if issubclass(UpdateGroupRequest, dict):
|
|
157
|
+
for key, value in self.items():
|
|
158
|
+
result[key] = value
|
|
159
|
+
|
|
160
|
+
return result
|
|
161
|
+
|
|
162
|
+
def to_str(self):
|
|
163
|
+
"""Returns the string representation of the model"""
|
|
164
|
+
return pprint.pformat(self.to_dict())
|
|
165
|
+
|
|
166
|
+
def __repr__(self):
|
|
167
|
+
"""For `print` and `pprint`"""
|
|
168
|
+
return self.to_str()
|
|
169
|
+
|
|
170
|
+
def __eq__(self, other):
|
|
171
|
+
"""Returns true if both objects are equal"""
|
|
172
|
+
if not isinstance(other, UpdateGroupRequest):
|
|
173
|
+
return False
|
|
174
|
+
|
|
175
|
+
return self.to_dict() == other.to_dict()
|
|
176
|
+
|
|
177
|
+
def __ne__(self, other):
|
|
178
|
+
"""Returns true if both objects are not equal"""
|
|
179
|
+
if not isinstance(other, UpdateGroupRequest):
|
|
180
|
+
return True
|
|
181
|
+
|
|
182
|
+
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 UpdateGroupResponse(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
|
+
"""UpdateGroupResponse - 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(UpdateGroupResponse, 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, UpdateGroupResponse):
|
|
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, UpdateGroupResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,151 @@
|
|
|
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 UpdateInlinePolicyToPermissionSetRequest(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
|
+
'inline_policy_document': 'str',
|
|
37
|
+
'permission_set_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'inline_policy_document': 'InlinePolicyDocument',
|
|
42
|
+
'permission_set_id': 'PermissionSetId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, inline_policy_document=None, permission_set_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""UpdateInlinePolicyToPermissionSetRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._inline_policy_document = None
|
|
52
|
+
self._permission_set_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.inline_policy_document = inline_policy_document
|
|
56
|
+
self.permission_set_id = permission_set_id
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
def inline_policy_document(self):
|
|
60
|
+
"""Gets the inline_policy_document of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
:return: The inline_policy_document of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
64
|
+
:rtype: str
|
|
65
|
+
"""
|
|
66
|
+
return self._inline_policy_document
|
|
67
|
+
|
|
68
|
+
@inline_policy_document.setter
|
|
69
|
+
def inline_policy_document(self, inline_policy_document):
|
|
70
|
+
"""Sets the inline_policy_document of this UpdateInlinePolicyToPermissionSetRequest.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:param inline_policy_document: The inline_policy_document of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
74
|
+
:type: str
|
|
75
|
+
"""
|
|
76
|
+
if self._configuration.client_side_validation and inline_policy_document is None:
|
|
77
|
+
raise ValueError("Invalid value for `inline_policy_document`, must not be `None`") # noqa: E501
|
|
78
|
+
|
|
79
|
+
self._inline_policy_document = inline_policy_document
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def permission_set_id(self):
|
|
83
|
+
"""Gets the permission_set_id of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The permission_set_id of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._permission_set_id
|
|
90
|
+
|
|
91
|
+
@permission_set_id.setter
|
|
92
|
+
def permission_set_id(self, permission_set_id):
|
|
93
|
+
"""Sets the permission_set_id of this UpdateInlinePolicyToPermissionSetRequest.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param permission_set_id: The permission_set_id of this UpdateInlinePolicyToPermissionSetRequest. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
if self._configuration.client_side_validation and permission_set_id is None:
|
|
100
|
+
raise ValueError("Invalid value for `permission_set_id`, must not be `None`") # noqa: E501
|
|
101
|
+
|
|
102
|
+
self._permission_set_id = permission_set_id
|
|
103
|
+
|
|
104
|
+
def to_dict(self):
|
|
105
|
+
"""Returns the model properties as a dict"""
|
|
106
|
+
result = {}
|
|
107
|
+
|
|
108
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
109
|
+
value = getattr(self, attr)
|
|
110
|
+
if isinstance(value, list):
|
|
111
|
+
result[attr] = list(map(
|
|
112
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
+
value
|
|
114
|
+
))
|
|
115
|
+
elif hasattr(value, "to_dict"):
|
|
116
|
+
result[attr] = value.to_dict()
|
|
117
|
+
elif isinstance(value, dict):
|
|
118
|
+
result[attr] = dict(map(
|
|
119
|
+
lambda item: (item[0], item[1].to_dict())
|
|
120
|
+
if hasattr(item[1], "to_dict") else item,
|
|
121
|
+
value.items()
|
|
122
|
+
))
|
|
123
|
+
else:
|
|
124
|
+
result[attr] = value
|
|
125
|
+
if issubclass(UpdateInlinePolicyToPermissionSetRequest, dict):
|
|
126
|
+
for key, value in self.items():
|
|
127
|
+
result[key] = value
|
|
128
|
+
|
|
129
|
+
return result
|
|
130
|
+
|
|
131
|
+
def to_str(self):
|
|
132
|
+
"""Returns the string representation of the model"""
|
|
133
|
+
return pprint.pformat(self.to_dict())
|
|
134
|
+
|
|
135
|
+
def __repr__(self):
|
|
136
|
+
"""For `print` and `pprint`"""
|
|
137
|
+
return self.to_str()
|
|
138
|
+
|
|
139
|
+
def __eq__(self, other):
|
|
140
|
+
"""Returns true if both objects are equal"""
|
|
141
|
+
if not isinstance(other, UpdateInlinePolicyToPermissionSetRequest):
|
|
142
|
+
return False
|
|
143
|
+
|
|
144
|
+
return self.to_dict() == other.to_dict()
|
|
145
|
+
|
|
146
|
+
def __ne__(self, other):
|
|
147
|
+
"""Returns true if both objects are not equal"""
|
|
148
|
+
if not isinstance(other, UpdateInlinePolicyToPermissionSetRequest):
|
|
149
|
+
return True
|
|
150
|
+
|
|
151
|
+
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 UpdateInlinePolicyToPermissionSetResponse(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
|
+
"""UpdateInlinePolicyToPermissionSetResponse - 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(UpdateInlinePolicyToPermissionSetResponse, 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, UpdateInlinePolicyToPermissionSetResponse):
|
|
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, UpdateInlinePolicyToPermissionSetResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,124 @@
|
|
|
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 UpdateInstanceNameRequest(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
|
+
'new_name': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'new_name': 'NewName'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, new_name=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""UpdateInstanceNameRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._new_name = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
self.new_name = new_name
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def new_name(self):
|
|
56
|
+
"""Gets the new_name of this UpdateInstanceNameRequest. # noqa: E501
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:return: The new_name of this UpdateInstanceNameRequest. # noqa: E501
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._new_name
|
|
63
|
+
|
|
64
|
+
@new_name.setter
|
|
65
|
+
def new_name(self, new_name):
|
|
66
|
+
"""Sets the new_name of this UpdateInstanceNameRequest.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:param new_name: The new_name of this UpdateInstanceNameRequest. # noqa: E501
|
|
70
|
+
:type: str
|
|
71
|
+
"""
|
|
72
|
+
if self._configuration.client_side_validation and new_name is None:
|
|
73
|
+
raise ValueError("Invalid value for `new_name`, must not be `None`") # noqa: E501
|
|
74
|
+
|
|
75
|
+
self._new_name = new_name
|
|
76
|
+
|
|
77
|
+
def to_dict(self):
|
|
78
|
+
"""Returns the model properties as a dict"""
|
|
79
|
+
result = {}
|
|
80
|
+
|
|
81
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
82
|
+
value = getattr(self, attr)
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
result[attr] = list(map(
|
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
+
value
|
|
87
|
+
))
|
|
88
|
+
elif hasattr(value, "to_dict"):
|
|
89
|
+
result[attr] = value.to_dict()
|
|
90
|
+
elif isinstance(value, dict):
|
|
91
|
+
result[attr] = dict(map(
|
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
|
94
|
+
value.items()
|
|
95
|
+
))
|
|
96
|
+
else:
|
|
97
|
+
result[attr] = value
|
|
98
|
+
if issubclass(UpdateInstanceNameRequest, dict):
|
|
99
|
+
for key, value in self.items():
|
|
100
|
+
result[key] = value
|
|
101
|
+
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
def to_str(self):
|
|
105
|
+
"""Returns the string representation of the model"""
|
|
106
|
+
return pprint.pformat(self.to_dict())
|
|
107
|
+
|
|
108
|
+
def __repr__(self):
|
|
109
|
+
"""For `print` and `pprint`"""
|
|
110
|
+
return self.to_str()
|
|
111
|
+
|
|
112
|
+
def __eq__(self, other):
|
|
113
|
+
"""Returns true if both objects are equal"""
|
|
114
|
+
if not isinstance(other, UpdateInstanceNameRequest):
|
|
115
|
+
return False
|
|
116
|
+
|
|
117
|
+
return self.to_dict() == other.to_dict()
|
|
118
|
+
|
|
119
|
+
def __ne__(self, other):
|
|
120
|
+
"""Returns true if both objects are not equal"""
|
|
121
|
+
if not isinstance(other, UpdateInstanceNameRequest):
|
|
122
|
+
return True
|
|
123
|
+
|
|
124
|
+
return self.to_dict() != other.to_dict()
|