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