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,305 @@
|
|
|
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 CreateGroupResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'created_time': 'str',
|
|
37
|
+
'description': 'str',
|
|
38
|
+
'display_name': 'str',
|
|
39
|
+
'group_id': 'str',
|
|
40
|
+
'group_name': 'str',
|
|
41
|
+
'join_type': 'str',
|
|
42
|
+
'source': 'str',
|
|
43
|
+
'updated_time': 'str'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
'created_time': 'CreatedTime',
|
|
48
|
+
'description': 'Description',
|
|
49
|
+
'display_name': 'DisplayName',
|
|
50
|
+
'group_id': 'GroupId',
|
|
51
|
+
'group_name': 'GroupName',
|
|
52
|
+
'join_type': 'JoinType',
|
|
53
|
+
'source': 'Source',
|
|
54
|
+
'updated_time': 'UpdatedTime'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, created_time=None, description=None, display_name=None, group_id=None, group_name=None, join_type=None, source=None, updated_time=None, _configuration=None): # noqa: E501
|
|
58
|
+
"""CreateGroupResponse - a model defined in Swagger""" # noqa: E501
|
|
59
|
+
if _configuration is None:
|
|
60
|
+
_configuration = Configuration()
|
|
61
|
+
self._configuration = _configuration
|
|
62
|
+
|
|
63
|
+
self._created_time = None
|
|
64
|
+
self._description = None
|
|
65
|
+
self._display_name = None
|
|
66
|
+
self._group_id = None
|
|
67
|
+
self._group_name = None
|
|
68
|
+
self._join_type = None
|
|
69
|
+
self._source = None
|
|
70
|
+
self._updated_time = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
|
|
73
|
+
if created_time is not None:
|
|
74
|
+
self.created_time = created_time
|
|
75
|
+
if description is not None:
|
|
76
|
+
self.description = description
|
|
77
|
+
if display_name is not None:
|
|
78
|
+
self.display_name = display_name
|
|
79
|
+
if group_id is not None:
|
|
80
|
+
self.group_id = group_id
|
|
81
|
+
if group_name is not None:
|
|
82
|
+
self.group_name = group_name
|
|
83
|
+
if join_type is not None:
|
|
84
|
+
self.join_type = join_type
|
|
85
|
+
if source is not None:
|
|
86
|
+
self.source = source
|
|
87
|
+
if updated_time is not None:
|
|
88
|
+
self.updated_time = updated_time
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def created_time(self):
|
|
92
|
+
"""Gets the created_time of this CreateGroupResponse. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The created_time of this CreateGroupResponse. # noqa: E501
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._created_time
|
|
99
|
+
|
|
100
|
+
@created_time.setter
|
|
101
|
+
def created_time(self, created_time):
|
|
102
|
+
"""Sets the created_time of this CreateGroupResponse.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param created_time: The created_time of this CreateGroupResponse. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._created_time = created_time
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def description(self):
|
|
113
|
+
"""Gets the description of this CreateGroupResponse. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The description of this CreateGroupResponse. # noqa: E501
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._description
|
|
120
|
+
|
|
121
|
+
@description.setter
|
|
122
|
+
def description(self, description):
|
|
123
|
+
"""Sets the description of this CreateGroupResponse.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param description: The description of this CreateGroupResponse. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._description = description
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def display_name(self):
|
|
134
|
+
"""Gets the display_name of this CreateGroupResponse. # noqa: E501
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:return: The display_name of this CreateGroupResponse. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._display_name
|
|
141
|
+
|
|
142
|
+
@display_name.setter
|
|
143
|
+
def display_name(self, display_name):
|
|
144
|
+
"""Sets the display_name of this CreateGroupResponse.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:param display_name: The display_name of this CreateGroupResponse. # noqa: E501
|
|
148
|
+
:type: str
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
self._display_name = display_name
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def group_id(self):
|
|
155
|
+
"""Gets the group_id of this CreateGroupResponse. # noqa: E501
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:return: The group_id of this CreateGroupResponse. # noqa: E501
|
|
159
|
+
:rtype: str
|
|
160
|
+
"""
|
|
161
|
+
return self._group_id
|
|
162
|
+
|
|
163
|
+
@group_id.setter
|
|
164
|
+
def group_id(self, group_id):
|
|
165
|
+
"""Sets the group_id of this CreateGroupResponse.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param group_id: The group_id of this CreateGroupResponse. # noqa: E501
|
|
169
|
+
:type: str
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
self._group_id = group_id
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def group_name(self):
|
|
176
|
+
"""Gets the group_name of this CreateGroupResponse. # noqa: E501
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:return: The group_name of this CreateGroupResponse. # noqa: E501
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._group_name
|
|
183
|
+
|
|
184
|
+
@group_name.setter
|
|
185
|
+
def group_name(self, group_name):
|
|
186
|
+
"""Sets the group_name of this CreateGroupResponse.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param group_name: The group_name of this CreateGroupResponse. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
self._group_name = group_name
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def join_type(self):
|
|
197
|
+
"""Gets the join_type of this CreateGroupResponse. # noqa: E501
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:return: The join_type of this CreateGroupResponse. # noqa: E501
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
203
|
+
return self._join_type
|
|
204
|
+
|
|
205
|
+
@join_type.setter
|
|
206
|
+
def join_type(self, join_type):
|
|
207
|
+
"""Sets the join_type of this CreateGroupResponse.
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:param join_type: The join_type of this CreateGroupResponse. # noqa: E501
|
|
211
|
+
:type: str
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
self._join_type = join_type
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def source(self):
|
|
218
|
+
"""Gets the source of this CreateGroupResponse. # noqa: E501
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
:return: The source of this CreateGroupResponse. # noqa: E501
|
|
222
|
+
:rtype: str
|
|
223
|
+
"""
|
|
224
|
+
return self._source
|
|
225
|
+
|
|
226
|
+
@source.setter
|
|
227
|
+
def source(self, source):
|
|
228
|
+
"""Sets the source of this CreateGroupResponse.
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:param source: The source of this CreateGroupResponse. # noqa: E501
|
|
232
|
+
:type: str
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
self._source = source
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def updated_time(self):
|
|
239
|
+
"""Gets the updated_time of this CreateGroupResponse. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The updated_time of this CreateGroupResponse. # noqa: E501
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._updated_time
|
|
246
|
+
|
|
247
|
+
@updated_time.setter
|
|
248
|
+
def updated_time(self, updated_time):
|
|
249
|
+
"""Sets the updated_time of this CreateGroupResponse.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param updated_time: The updated_time of this CreateGroupResponse. # noqa: E501
|
|
253
|
+
:type: str
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._updated_time = updated_time
|
|
257
|
+
|
|
258
|
+
def to_dict(self):
|
|
259
|
+
"""Returns the model properties as a dict"""
|
|
260
|
+
result = {}
|
|
261
|
+
|
|
262
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
263
|
+
value = getattr(self, attr)
|
|
264
|
+
if isinstance(value, list):
|
|
265
|
+
result[attr] = list(map(
|
|
266
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
267
|
+
value
|
|
268
|
+
))
|
|
269
|
+
elif hasattr(value, "to_dict"):
|
|
270
|
+
result[attr] = value.to_dict()
|
|
271
|
+
elif isinstance(value, dict):
|
|
272
|
+
result[attr] = dict(map(
|
|
273
|
+
lambda item: (item[0], item[1].to_dict())
|
|
274
|
+
if hasattr(item[1], "to_dict") else item,
|
|
275
|
+
value.items()
|
|
276
|
+
))
|
|
277
|
+
else:
|
|
278
|
+
result[attr] = value
|
|
279
|
+
if issubclass(CreateGroupResponse, dict):
|
|
280
|
+
for key, value in self.items():
|
|
281
|
+
result[key] = value
|
|
282
|
+
|
|
283
|
+
return result
|
|
284
|
+
|
|
285
|
+
def to_str(self):
|
|
286
|
+
"""Returns the string representation of the model"""
|
|
287
|
+
return pprint.pformat(self.to_dict())
|
|
288
|
+
|
|
289
|
+
def __repr__(self):
|
|
290
|
+
"""For `print` and `pprint`"""
|
|
291
|
+
return self.to_str()
|
|
292
|
+
|
|
293
|
+
def __eq__(self, other):
|
|
294
|
+
"""Returns true if both objects are equal"""
|
|
295
|
+
if not isinstance(other, CreateGroupResponse):
|
|
296
|
+
return False
|
|
297
|
+
|
|
298
|
+
return self.to_dict() == other.to_dict()
|
|
299
|
+
|
|
300
|
+
def __ne__(self, other):
|
|
301
|
+
"""Returns true if both objects are not equal"""
|
|
302
|
+
if not isinstance(other, CreateGroupResponse):
|
|
303
|
+
return True
|
|
304
|
+
|
|
305
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,205 @@
|
|
|
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 CreatePermissionSetRequest(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
|
+
'name': 'str',
|
|
38
|
+
'relay_state': 'str',
|
|
39
|
+
'session_duration': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'description': 'Description',
|
|
44
|
+
'name': 'Name',
|
|
45
|
+
'relay_state': 'RelayState',
|
|
46
|
+
'session_duration': 'SessionDuration'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, description=None, name=None, relay_state=None, session_duration=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""CreatePermissionSetRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._description = None
|
|
56
|
+
self._name = None
|
|
57
|
+
self._relay_state = None
|
|
58
|
+
self._session_duration = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if description is not None:
|
|
62
|
+
self.description = description
|
|
63
|
+
self.name = name
|
|
64
|
+
if relay_state is not None:
|
|
65
|
+
self.relay_state = relay_state
|
|
66
|
+
if session_duration is not None:
|
|
67
|
+
self.session_duration = session_duration
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def description(self):
|
|
71
|
+
"""Gets the description of this CreatePermissionSetRequest. # noqa: E501
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:return: The description of this CreatePermissionSetRequest. # noqa: E501
|
|
75
|
+
:rtype: str
|
|
76
|
+
"""
|
|
77
|
+
return self._description
|
|
78
|
+
|
|
79
|
+
@description.setter
|
|
80
|
+
def description(self, description):
|
|
81
|
+
"""Sets the description of this CreatePermissionSetRequest.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:param description: The description of this CreatePermissionSetRequest. # noqa: E501
|
|
85
|
+
:type: str
|
|
86
|
+
"""
|
|
87
|
+
if (self._configuration.client_side_validation and
|
|
88
|
+
description is not None and len(description) > 255):
|
|
89
|
+
raise ValueError("Invalid value for `description`, length must be less than or equal to `255`") # noqa: E501
|
|
90
|
+
|
|
91
|
+
self._description = description
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def name(self):
|
|
95
|
+
"""Gets the name of this CreatePermissionSetRequest. # noqa: E501
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
:return: The name of this CreatePermissionSetRequest. # noqa: E501
|
|
99
|
+
:rtype: str
|
|
100
|
+
"""
|
|
101
|
+
return self._name
|
|
102
|
+
|
|
103
|
+
@name.setter
|
|
104
|
+
def name(self, name):
|
|
105
|
+
"""Sets the name of this CreatePermissionSetRequest.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
:param name: The name of this CreatePermissionSetRequest. # noqa: E501
|
|
109
|
+
:type: str
|
|
110
|
+
"""
|
|
111
|
+
if self._configuration.client_side_validation and name is None:
|
|
112
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
113
|
+
|
|
114
|
+
self._name = name
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def relay_state(self):
|
|
118
|
+
"""Gets the relay_state of this CreatePermissionSetRequest. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The relay_state of this CreatePermissionSetRequest. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._relay_state
|
|
125
|
+
|
|
126
|
+
@relay_state.setter
|
|
127
|
+
def relay_state(self, relay_state):
|
|
128
|
+
"""Sets the relay_state of this CreatePermissionSetRequest.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param relay_state: The relay_state of this CreatePermissionSetRequest. # noqa: E501
|
|
132
|
+
:type: str
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._relay_state = relay_state
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def session_duration(self):
|
|
139
|
+
"""Gets the session_duration of this CreatePermissionSetRequest. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The session_duration of this CreatePermissionSetRequest. # noqa: E501
|
|
143
|
+
:rtype: int
|
|
144
|
+
"""
|
|
145
|
+
return self._session_duration
|
|
146
|
+
|
|
147
|
+
@session_duration.setter
|
|
148
|
+
def session_duration(self, session_duration):
|
|
149
|
+
"""Sets the session_duration of this CreatePermissionSetRequest.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param session_duration: The session_duration of this CreatePermissionSetRequest. # noqa: E501
|
|
153
|
+
:type: int
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._session_duration = session_duration
|
|
157
|
+
|
|
158
|
+
def to_dict(self):
|
|
159
|
+
"""Returns the model properties as a dict"""
|
|
160
|
+
result = {}
|
|
161
|
+
|
|
162
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
163
|
+
value = getattr(self, attr)
|
|
164
|
+
if isinstance(value, list):
|
|
165
|
+
result[attr] = list(map(
|
|
166
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
167
|
+
value
|
|
168
|
+
))
|
|
169
|
+
elif hasattr(value, "to_dict"):
|
|
170
|
+
result[attr] = value.to_dict()
|
|
171
|
+
elif isinstance(value, dict):
|
|
172
|
+
result[attr] = dict(map(
|
|
173
|
+
lambda item: (item[0], item[1].to_dict())
|
|
174
|
+
if hasattr(item[1], "to_dict") else item,
|
|
175
|
+
value.items()
|
|
176
|
+
))
|
|
177
|
+
else:
|
|
178
|
+
result[attr] = value
|
|
179
|
+
if issubclass(CreatePermissionSetRequest, dict):
|
|
180
|
+
for key, value in self.items():
|
|
181
|
+
result[key] = value
|
|
182
|
+
|
|
183
|
+
return result
|
|
184
|
+
|
|
185
|
+
def to_str(self):
|
|
186
|
+
"""Returns the string representation of the model"""
|
|
187
|
+
return pprint.pformat(self.to_dict())
|
|
188
|
+
|
|
189
|
+
def __repr__(self):
|
|
190
|
+
"""For `print` and `pprint`"""
|
|
191
|
+
return self.to_str()
|
|
192
|
+
|
|
193
|
+
def __eq__(self, other):
|
|
194
|
+
"""Returns true if both objects are equal"""
|
|
195
|
+
if not isinstance(other, CreatePermissionSetRequest):
|
|
196
|
+
return False
|
|
197
|
+
|
|
198
|
+
return self.to_dict() == other.to_dict()
|
|
199
|
+
|
|
200
|
+
def __ne__(self, other):
|
|
201
|
+
"""Returns true if both objects are not equal"""
|
|
202
|
+
if not isinstance(other, CreatePermissionSetRequest):
|
|
203
|
+
return True
|
|
204
|
+
|
|
205
|
+
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 CreatePermissionSetResponse(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
|
+
'permission_set_id': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'permission_set_id': 'PermissionSetId'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, permission_set_id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""CreatePermissionSetResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._permission_set_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if permission_set_id is not None:
|
|
53
|
+
self.permission_set_id = permission_set_id
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def permission_set_id(self):
|
|
57
|
+
"""Gets the permission_set_id of this CreatePermissionSetResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The permission_set_id of this CreatePermissionSetResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._permission_set_id
|
|
64
|
+
|
|
65
|
+
@permission_set_id.setter
|
|
66
|
+
def permission_set_id(self, permission_set_id):
|
|
67
|
+
"""Sets the permission_set_id of this CreatePermissionSetResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param permission_set_id: The permission_set_id of this CreatePermissionSetResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._permission_set_id = permission_set_id
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(CreatePermissionSetResponse, 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, CreatePermissionSetResponse):
|
|
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, CreatePermissionSetResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|