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,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
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 IdcRoNumForAlterTableInput(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
|
+
'idc': 'str',
|
|
37
|
+
'ro_num': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'idc': 'Idc',
|
|
42
|
+
'ro_num': 'RoNum'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, idc=None, ro_num=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""IdcRoNumForAlterTableInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._idc = None
|
|
52
|
+
self._ro_num = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if idc is not None:
|
|
56
|
+
self.idc = idc
|
|
57
|
+
if ro_num is not None:
|
|
58
|
+
self.ro_num = ro_num
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def idc(self):
|
|
62
|
+
"""Gets the idc of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The idc of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._idc
|
|
69
|
+
|
|
70
|
+
@idc.setter
|
|
71
|
+
def idc(self, idc):
|
|
72
|
+
"""Sets the idc of this IdcRoNumForAlterTableInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param idc: The idc of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._idc = idc
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def ro_num(self):
|
|
83
|
+
"""Gets the ro_num of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The ro_num of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._ro_num
|
|
90
|
+
|
|
91
|
+
@ro_num.setter
|
|
92
|
+
def ro_num(self, ro_num):
|
|
93
|
+
"""Sets the ro_num of this IdcRoNumForAlterTableInput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param ro_num: The ro_num of this IdcRoNumForAlterTableInput. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._ro_num = ro_num
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(IdcRoNumForAlterTableInput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, IdcRoNumForAlterTableInput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, IdcRoNumForAlterTableInput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
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 IdcRoNumForGetTableOutput(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
|
+
'idc': 'str',
|
|
37
|
+
'ro_num': 'int'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'idc': 'Idc',
|
|
42
|
+
'ro_num': 'RoNum'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, idc=None, ro_num=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""IdcRoNumForGetTableOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._idc = None
|
|
52
|
+
self._ro_num = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if idc is not None:
|
|
56
|
+
self.idc = idc
|
|
57
|
+
if ro_num is not None:
|
|
58
|
+
self.ro_num = ro_num
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def idc(self):
|
|
62
|
+
"""Gets the idc of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The idc of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._idc
|
|
69
|
+
|
|
70
|
+
@idc.setter
|
|
71
|
+
def idc(self, idc):
|
|
72
|
+
"""Sets the idc of this IdcRoNumForGetTableOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param idc: The idc of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._idc = idc
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def ro_num(self):
|
|
83
|
+
"""Gets the ro_num of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The ro_num of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
87
|
+
:rtype: int
|
|
88
|
+
"""
|
|
89
|
+
return self._ro_num
|
|
90
|
+
|
|
91
|
+
@ro_num.setter
|
|
92
|
+
def ro_num(self, ro_num):
|
|
93
|
+
"""Sets the ro_num of this IdcRoNumForGetTableOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param ro_num: The ro_num of this IdcRoNumForGetTableOutput. # noqa: E501
|
|
97
|
+
:type: int
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._ro_num = ro_num
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(IdcRoNumForGetTableOutput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, IdcRoNumForGetTableOutput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, IdcRoNumForGetTableOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
graph
|
|
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 IoQosOptionsForGetTableOutput(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
|
+
'iops_limit': 'int',
|
|
37
|
+
'read_bandwidth_limit_in_bytes': 'int',
|
|
38
|
+
'storage_capacity_limit_in_bytes': 'int',
|
|
39
|
+
'write_bandwidth_limit_in_bytes': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'iops_limit': 'iops_limit',
|
|
44
|
+
'read_bandwidth_limit_in_bytes': 'read_bandwidth_limit_in_bytes',
|
|
45
|
+
'storage_capacity_limit_in_bytes': 'storage_capacity_limit_in_bytes',
|
|
46
|
+
'write_bandwidth_limit_in_bytes': 'write_bandwidth_limit_in_bytes'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, iops_limit=None, read_bandwidth_limit_in_bytes=None, storage_capacity_limit_in_bytes=None, write_bandwidth_limit_in_bytes=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""IoQosOptionsForGetTableOutput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._iops_limit = None
|
|
56
|
+
self._read_bandwidth_limit_in_bytes = None
|
|
57
|
+
self._storage_capacity_limit_in_bytes = None
|
|
58
|
+
self._write_bandwidth_limit_in_bytes = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if iops_limit is not None:
|
|
62
|
+
self.iops_limit = iops_limit
|
|
63
|
+
if read_bandwidth_limit_in_bytes is not None:
|
|
64
|
+
self.read_bandwidth_limit_in_bytes = read_bandwidth_limit_in_bytes
|
|
65
|
+
if storage_capacity_limit_in_bytes is not None:
|
|
66
|
+
self.storage_capacity_limit_in_bytes = storage_capacity_limit_in_bytes
|
|
67
|
+
if write_bandwidth_limit_in_bytes is not None:
|
|
68
|
+
self.write_bandwidth_limit_in_bytes = write_bandwidth_limit_in_bytes
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def iops_limit(self):
|
|
72
|
+
"""Gets the iops_limit of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The iops_limit of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
76
|
+
:rtype: int
|
|
77
|
+
"""
|
|
78
|
+
return self._iops_limit
|
|
79
|
+
|
|
80
|
+
@iops_limit.setter
|
|
81
|
+
def iops_limit(self, iops_limit):
|
|
82
|
+
"""Sets the iops_limit of this IoQosOptionsForGetTableOutput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param iops_limit: The iops_limit of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
86
|
+
:type: int
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._iops_limit = iops_limit
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def read_bandwidth_limit_in_bytes(self):
|
|
93
|
+
"""Gets the read_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The read_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
97
|
+
:rtype: int
|
|
98
|
+
"""
|
|
99
|
+
return self._read_bandwidth_limit_in_bytes
|
|
100
|
+
|
|
101
|
+
@read_bandwidth_limit_in_bytes.setter
|
|
102
|
+
def read_bandwidth_limit_in_bytes(self, read_bandwidth_limit_in_bytes):
|
|
103
|
+
"""Sets the read_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param read_bandwidth_limit_in_bytes: The read_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
107
|
+
:type: int
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._read_bandwidth_limit_in_bytes = read_bandwidth_limit_in_bytes
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def storage_capacity_limit_in_bytes(self):
|
|
114
|
+
"""Gets the storage_capacity_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The storage_capacity_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
118
|
+
:rtype: int
|
|
119
|
+
"""
|
|
120
|
+
return self._storage_capacity_limit_in_bytes
|
|
121
|
+
|
|
122
|
+
@storage_capacity_limit_in_bytes.setter
|
|
123
|
+
def storage_capacity_limit_in_bytes(self, storage_capacity_limit_in_bytes):
|
|
124
|
+
"""Sets the storage_capacity_limit_in_bytes of this IoQosOptionsForGetTableOutput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param storage_capacity_limit_in_bytes: The storage_capacity_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
128
|
+
:type: int
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._storage_capacity_limit_in_bytes = storage_capacity_limit_in_bytes
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def write_bandwidth_limit_in_bytes(self):
|
|
135
|
+
"""Gets the write_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The write_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._write_bandwidth_limit_in_bytes
|
|
142
|
+
|
|
143
|
+
@write_bandwidth_limit_in_bytes.setter
|
|
144
|
+
def write_bandwidth_limit_in_bytes(self, write_bandwidth_limit_in_bytes):
|
|
145
|
+
"""Sets the write_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param write_bandwidth_limit_in_bytes: The write_bandwidth_limit_in_bytes of this IoQosOptionsForGetTableOutput. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._write_bandwidth_limit_in_bytes = write_bandwidth_limit_in_bytes
|
|
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(IoQosOptionsForGetTableOutput, 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, IoQosOptionsForGetTableOutput):
|
|
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, IoQosOptionsForGetTableOutput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -34,31 +34,41 @@ class PsmQuotaConfigForAddTablesInput(object):
|
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
36
|
'caller_psm': 'str',
|
|
37
|
+
'read_fetch_size': 'int',
|
|
37
38
|
'read_quota_size': 'int',
|
|
39
|
+
'write_fetch_size': 'int',
|
|
38
40
|
'write_quota_size': 'int'
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
attribute_map = {
|
|
42
44
|
'caller_psm': 'caller_psm',
|
|
45
|
+
'read_fetch_size': 'read_fetch_size',
|
|
43
46
|
'read_quota_size': 'read_quota_size',
|
|
47
|
+
'write_fetch_size': 'write_fetch_size',
|
|
44
48
|
'write_quota_size': 'write_quota_size'
|
|
45
49
|
}
|
|
46
50
|
|
|
47
|
-
def __init__(self, caller_psm=None, read_quota_size=None, write_quota_size=None, _configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, caller_psm=None, read_fetch_size=None, read_quota_size=None, write_fetch_size=None, write_quota_size=None, _configuration=None): # noqa: E501
|
|
48
52
|
"""PsmQuotaConfigForAddTablesInput - a model defined in Swagger""" # noqa: E501
|
|
49
53
|
if _configuration is None:
|
|
50
54
|
_configuration = Configuration()
|
|
51
55
|
self._configuration = _configuration
|
|
52
56
|
|
|
53
57
|
self._caller_psm = None
|
|
58
|
+
self._read_fetch_size = None
|
|
54
59
|
self._read_quota_size = None
|
|
60
|
+
self._write_fetch_size = None
|
|
55
61
|
self._write_quota_size = None
|
|
56
62
|
self.discriminator = None
|
|
57
63
|
|
|
58
64
|
if caller_psm is not None:
|
|
59
65
|
self.caller_psm = caller_psm
|
|
66
|
+
if read_fetch_size is not None:
|
|
67
|
+
self.read_fetch_size = read_fetch_size
|
|
60
68
|
if read_quota_size is not None:
|
|
61
69
|
self.read_quota_size = read_quota_size
|
|
70
|
+
if write_fetch_size is not None:
|
|
71
|
+
self.write_fetch_size = write_fetch_size
|
|
62
72
|
if write_quota_size is not None:
|
|
63
73
|
self.write_quota_size = write_quota_size
|
|
64
74
|
|
|
@@ -83,6 +93,27 @@ class PsmQuotaConfigForAddTablesInput(object):
|
|
|
83
93
|
|
|
84
94
|
self._caller_psm = caller_psm
|
|
85
95
|
|
|
96
|
+
@property
|
|
97
|
+
def read_fetch_size(self):
|
|
98
|
+
"""Gets the read_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:return: The read_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
102
|
+
:rtype: int
|
|
103
|
+
"""
|
|
104
|
+
return self._read_fetch_size
|
|
105
|
+
|
|
106
|
+
@read_fetch_size.setter
|
|
107
|
+
def read_fetch_size(self, read_fetch_size):
|
|
108
|
+
"""Sets the read_fetch_size of this PsmQuotaConfigForAddTablesInput.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:param read_fetch_size: The read_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
112
|
+
:type: int
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
self._read_fetch_size = read_fetch_size
|
|
116
|
+
|
|
86
117
|
@property
|
|
87
118
|
def read_quota_size(self):
|
|
88
119
|
"""Gets the read_quota_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
@@ -104,6 +135,27 @@ class PsmQuotaConfigForAddTablesInput(object):
|
|
|
104
135
|
|
|
105
136
|
self._read_quota_size = read_quota_size
|
|
106
137
|
|
|
138
|
+
@property
|
|
139
|
+
def write_fetch_size(self):
|
|
140
|
+
"""Gets the write_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:return: The write_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
144
|
+
:rtype: int
|
|
145
|
+
"""
|
|
146
|
+
return self._write_fetch_size
|
|
147
|
+
|
|
148
|
+
@write_fetch_size.setter
|
|
149
|
+
def write_fetch_size(self, write_fetch_size):
|
|
150
|
+
"""Sets the write_fetch_size of this PsmQuotaConfigForAddTablesInput.
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param write_fetch_size: The write_fetch_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|
|
154
|
+
:type: int
|
|
155
|
+
"""
|
|
156
|
+
|
|
157
|
+
self._write_fetch_size = write_fetch_size
|
|
158
|
+
|
|
107
159
|
@property
|
|
108
160
|
def write_quota_size(self):
|
|
109
161
|
"""Gets the write_quota_size of this PsmQuotaConfigForAddTablesInput. # noqa: E501
|