volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.27__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.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
- volcenginesdkacep/__init__.py +15 -0
- volcenginesdkacep/api/acep_api.py +485 -0
- volcenginesdkacep/models/__init__.py +15 -0
- volcenginesdkacep/models/backup_data_request.py +176 -0
- volcenginesdkacep/models/backup_data_response.py +149 -0
- volcenginesdkacep/models/delete_backup_data_request.py +150 -0
- volcenginesdkacep/models/delete_backup_data_response.py +123 -0
- volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
- volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
- volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
- volcenginesdkacep/models/list_backup_data_request.py +254 -0
- volcenginesdkacep/models/list_backup_data_response.py +149 -0
- volcenginesdkacep/models/restore_data_request.py +203 -0
- volcenginesdkacep/models/restore_data_response.py +149 -0
- volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
- volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
- volcenginesdkclb/__init__.py +10 -0
- volcenginesdkclb/api/clb_api.py +194 -0
- volcenginesdkclb/models/__init__.py +10 -0
- volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
- volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
- volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
- volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
- volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
- volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
- volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
- volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
- volcenginesdkdbw/__init__.py +18 -0
- volcenginesdkdbw/api/dbw_api.py +388 -0
- volcenginesdkdbw/models/__init__.py +18 -0
- volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
- volcenginesdkdbw/models/execute_sql_request.py +231 -0
- volcenginesdkdbw/models/execute_sql_response.py +123 -0
- volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
- volcenginesdkdbw/models/get_table_info_request.py +205 -0
- volcenginesdkdbw/models/get_table_info_response.py +123 -0
- volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
- volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
- volcenginesdkdbw/models/list_databases_request.py +203 -0
- volcenginesdkdbw/models/list_databases_response.py +149 -0
- volcenginesdkdbw/models/list_tables_request.py +230 -0
- volcenginesdkdbw/models/list_tables_response.py +149 -0
- volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
- volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
- volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
- volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
- volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
- volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
- volcenginesdkgraph/__init__.py +48 -0
- volcenginesdkgraph/api/graph_api.py +951 -78
- volcenginesdkgraph/models/__init__.py +48 -0
- volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
- volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
- volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/create_instance_request.py +29 -3
- volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
- volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
- volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
- volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
- volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
- volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
- volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
- volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
- volcenginesdkgraph/models/list_tablets_request.py +254 -0
- volcenginesdkgraph/models/list_tablets_response.py +123 -0
- volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
- volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
- volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
- volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
- volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
- volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
- volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
- volcenginesdklivesaas/__init__.py +3 -0
- volcenginesdklivesaas/models/__init__.py +3 -0
- volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
- volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
- volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
- volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
- volcenginesdkvefaas/__init__.py +4 -0
- volcenginesdkvefaas/api/vefaas_api.py +194 -0
- volcenginesdkvefaas/models/__init__.py +4 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
- volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
- volcenginesdkvod20250101/__init__.py +26 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
- volcenginesdkvod20250101/models/__init__.py +26 -0
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
- volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
- volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
- volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
- volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
- volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
- volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
- volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
- volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
acep
|
|
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 ListBackupDataResponse(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
|
+
'next_token': 'str',
|
|
37
|
+
'rows': 'list[RowForListBackupDataOutput]'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'next_token': 'NextToken',
|
|
42
|
+
'rows': 'Rows'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, next_token=None, rows=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""ListBackupDataResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._next_token = None
|
|
52
|
+
self._rows = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if next_token is not None:
|
|
56
|
+
self.next_token = next_token
|
|
57
|
+
if rows is not None:
|
|
58
|
+
self.rows = rows
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def next_token(self):
|
|
62
|
+
"""Gets the next_token of this ListBackupDataResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The next_token of this ListBackupDataResponse. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._next_token
|
|
69
|
+
|
|
70
|
+
@next_token.setter
|
|
71
|
+
def next_token(self, next_token):
|
|
72
|
+
"""Sets the next_token of this ListBackupDataResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param next_token: The next_token of this ListBackupDataResponse. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._next_token = next_token
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def rows(self):
|
|
83
|
+
"""Gets the rows of this ListBackupDataResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The rows of this ListBackupDataResponse. # noqa: E501
|
|
87
|
+
:rtype: list[RowForListBackupDataOutput]
|
|
88
|
+
"""
|
|
89
|
+
return self._rows
|
|
90
|
+
|
|
91
|
+
@rows.setter
|
|
92
|
+
def rows(self, rows):
|
|
93
|
+
"""Sets the rows of this ListBackupDataResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param rows: The rows of this ListBackupDataResponse. # noqa: E501
|
|
97
|
+
:type: list[RowForListBackupDataOutput]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._rows = rows
|
|
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(ListBackupDataResponse, 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, ListBackupDataResponse):
|
|
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, ListBackupDataResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
acep
|
|
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 RestoreDataRequest(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
|
+
'backup_data_id': 'str',
|
|
37
|
+
'create_pod_num': 'int',
|
|
38
|
+
'pod_id_list': 'list[str]',
|
|
39
|
+
'product_id': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'backup_data_id': 'BackupDataId',
|
|
44
|
+
'create_pod_num': 'CreatePodNum',
|
|
45
|
+
'pod_id_list': 'PodIdList',
|
|
46
|
+
'product_id': 'ProductId'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, backup_data_id=None, create_pod_num=None, pod_id_list=None, product_id=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""RestoreDataRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._backup_data_id = None
|
|
56
|
+
self._create_pod_num = None
|
|
57
|
+
self._pod_id_list = None
|
|
58
|
+
self._product_id = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.backup_data_id = backup_data_id
|
|
62
|
+
if create_pod_num is not None:
|
|
63
|
+
self.create_pod_num = create_pod_num
|
|
64
|
+
if pod_id_list is not None:
|
|
65
|
+
self.pod_id_list = pod_id_list
|
|
66
|
+
self.product_id = product_id
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
def backup_data_id(self):
|
|
70
|
+
"""Gets the backup_data_id of this RestoreDataRequest. # noqa: E501
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
:return: The backup_data_id of this RestoreDataRequest. # noqa: E501
|
|
74
|
+
:rtype: str
|
|
75
|
+
"""
|
|
76
|
+
return self._backup_data_id
|
|
77
|
+
|
|
78
|
+
@backup_data_id.setter
|
|
79
|
+
def backup_data_id(self, backup_data_id):
|
|
80
|
+
"""Sets the backup_data_id of this RestoreDataRequest.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:param backup_data_id: The backup_data_id of this RestoreDataRequest. # noqa: E501
|
|
84
|
+
:type: str
|
|
85
|
+
"""
|
|
86
|
+
if self._configuration.client_side_validation and backup_data_id is None:
|
|
87
|
+
raise ValueError("Invalid value for `backup_data_id`, must not be `None`") # noqa: E501
|
|
88
|
+
|
|
89
|
+
self._backup_data_id = backup_data_id
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def create_pod_num(self):
|
|
93
|
+
"""Gets the create_pod_num of this RestoreDataRequest. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The create_pod_num of this RestoreDataRequest. # noqa: E501
|
|
97
|
+
:rtype: int
|
|
98
|
+
"""
|
|
99
|
+
return self._create_pod_num
|
|
100
|
+
|
|
101
|
+
@create_pod_num.setter
|
|
102
|
+
def create_pod_num(self, create_pod_num):
|
|
103
|
+
"""Sets the create_pod_num of this RestoreDataRequest.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param create_pod_num: The create_pod_num of this RestoreDataRequest. # noqa: E501
|
|
107
|
+
:type: int
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._create_pod_num = create_pod_num
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def pod_id_list(self):
|
|
114
|
+
"""Gets the pod_id_list of this RestoreDataRequest. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The pod_id_list of this RestoreDataRequest. # noqa: E501
|
|
118
|
+
:rtype: list[str]
|
|
119
|
+
"""
|
|
120
|
+
return self._pod_id_list
|
|
121
|
+
|
|
122
|
+
@pod_id_list.setter
|
|
123
|
+
def pod_id_list(self, pod_id_list):
|
|
124
|
+
"""Sets the pod_id_list of this RestoreDataRequest.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param pod_id_list: The pod_id_list of this RestoreDataRequest. # noqa: E501
|
|
128
|
+
:type: list[str]
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._pod_id_list = pod_id_list
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def product_id(self):
|
|
135
|
+
"""Gets the product_id of this RestoreDataRequest. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The product_id of this RestoreDataRequest. # noqa: E501
|
|
139
|
+
:rtype: str
|
|
140
|
+
"""
|
|
141
|
+
return self._product_id
|
|
142
|
+
|
|
143
|
+
@product_id.setter
|
|
144
|
+
def product_id(self, product_id):
|
|
145
|
+
"""Sets the product_id of this RestoreDataRequest.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param product_id: The product_id of this RestoreDataRequest. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
if self._configuration.client_side_validation and product_id is None:
|
|
152
|
+
raise ValueError("Invalid value for `product_id`, must not be `None`") # noqa: E501
|
|
153
|
+
|
|
154
|
+
self._product_id = product_id
|
|
155
|
+
|
|
156
|
+
def to_dict(self):
|
|
157
|
+
"""Returns the model properties as a dict"""
|
|
158
|
+
result = {}
|
|
159
|
+
|
|
160
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
161
|
+
value = getattr(self, attr)
|
|
162
|
+
if isinstance(value, list):
|
|
163
|
+
result[attr] = list(map(
|
|
164
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
165
|
+
value
|
|
166
|
+
))
|
|
167
|
+
elif hasattr(value, "to_dict"):
|
|
168
|
+
result[attr] = value.to_dict()
|
|
169
|
+
elif isinstance(value, dict):
|
|
170
|
+
result[attr] = dict(map(
|
|
171
|
+
lambda item: (item[0], item[1].to_dict())
|
|
172
|
+
if hasattr(item[1], "to_dict") else item,
|
|
173
|
+
value.items()
|
|
174
|
+
))
|
|
175
|
+
else:
|
|
176
|
+
result[attr] = value
|
|
177
|
+
if issubclass(RestoreDataRequest, dict):
|
|
178
|
+
for key, value in self.items():
|
|
179
|
+
result[key] = value
|
|
180
|
+
|
|
181
|
+
return result
|
|
182
|
+
|
|
183
|
+
def to_str(self):
|
|
184
|
+
"""Returns the string representation of the model"""
|
|
185
|
+
return pprint.pformat(self.to_dict())
|
|
186
|
+
|
|
187
|
+
def __repr__(self):
|
|
188
|
+
"""For `print` and `pprint`"""
|
|
189
|
+
return self.to_str()
|
|
190
|
+
|
|
191
|
+
def __eq__(self, other):
|
|
192
|
+
"""Returns true if both objects are equal"""
|
|
193
|
+
if not isinstance(other, RestoreDataRequest):
|
|
194
|
+
return False
|
|
195
|
+
|
|
196
|
+
return self.to_dict() == other.to_dict()
|
|
197
|
+
|
|
198
|
+
def __ne__(self, other):
|
|
199
|
+
"""Returns true if both objects are not equal"""
|
|
200
|
+
if not isinstance(other, RestoreDataRequest):
|
|
201
|
+
return True
|
|
202
|
+
|
|
203
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
acep
|
|
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 RestoreDataResponse(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
|
+
'details': 'list[DetailForRestoreDataOutput]',
|
|
37
|
+
'task_id_list': 'list[str]'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'details': 'Details',
|
|
42
|
+
'task_id_list': 'TaskIdList'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, details=None, task_id_list=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""RestoreDataResponse - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._details = None
|
|
52
|
+
self._task_id_list = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if details is not None:
|
|
56
|
+
self.details = details
|
|
57
|
+
if task_id_list is not None:
|
|
58
|
+
self.task_id_list = task_id_list
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def details(self):
|
|
62
|
+
"""Gets the details of this RestoreDataResponse. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The details of this RestoreDataResponse. # noqa: E501
|
|
66
|
+
:rtype: list[DetailForRestoreDataOutput]
|
|
67
|
+
"""
|
|
68
|
+
return self._details
|
|
69
|
+
|
|
70
|
+
@details.setter
|
|
71
|
+
def details(self, details):
|
|
72
|
+
"""Sets the details of this RestoreDataResponse.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param details: The details of this RestoreDataResponse. # noqa: E501
|
|
76
|
+
:type: list[DetailForRestoreDataOutput]
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._details = details
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def task_id_list(self):
|
|
83
|
+
"""Gets the task_id_list of this RestoreDataResponse. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The task_id_list of this RestoreDataResponse. # noqa: E501
|
|
87
|
+
:rtype: list[str]
|
|
88
|
+
"""
|
|
89
|
+
return self._task_id_list
|
|
90
|
+
|
|
91
|
+
@task_id_list.setter
|
|
92
|
+
def task_id_list(self, task_id_list):
|
|
93
|
+
"""Sets the task_id_list of this RestoreDataResponse.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param task_id_list: The task_id_list of this RestoreDataResponse. # noqa: E501
|
|
97
|
+
:type: list[str]
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._task_id_list = task_id_list
|
|
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(RestoreDataResponse, 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, RestoreDataResponse):
|
|
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, RestoreDataResponse):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|