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.

Files changed (168) hide show
  1. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
  3. volcenginesdkacep/__init__.py +15 -0
  4. volcenginesdkacep/api/acep_api.py +485 -0
  5. volcenginesdkacep/models/__init__.py +15 -0
  6. volcenginesdkacep/models/backup_data_request.py +176 -0
  7. volcenginesdkacep/models/backup_data_response.py +149 -0
  8. volcenginesdkacep/models/delete_backup_data_request.py +150 -0
  9. volcenginesdkacep/models/delete_backup_data_response.py +123 -0
  10. volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
  11. volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
  12. volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
  13. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
  14. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
  15. volcenginesdkacep/models/list_backup_data_request.py +254 -0
  16. volcenginesdkacep/models/list_backup_data_response.py +149 -0
  17. volcenginesdkacep/models/restore_data_request.py +203 -0
  18. volcenginesdkacep/models/restore_data_response.py +149 -0
  19. volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
  20. volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
  21. volcenginesdkclb/__init__.py +10 -0
  22. volcenginesdkclb/api/clb_api.py +194 -0
  23. volcenginesdkclb/models/__init__.py +10 -0
  24. volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
  25. volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  26. volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
  27. volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
  28. volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
  29. volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
  30. volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
  31. volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
  32. volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
  33. volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  34. volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
  35. volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
  36. volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
  37. volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
  38. volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
  39. volcenginesdkcore/api_client.py +1 -1
  40. volcenginesdkcore/configuration.py +1 -1
  41. volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
  42. volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
  43. volcenginesdkdbw/__init__.py +18 -0
  44. volcenginesdkdbw/api/dbw_api.py +388 -0
  45. volcenginesdkdbw/models/__init__.py +18 -0
  46. volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
  47. volcenginesdkdbw/models/execute_sql_request.py +231 -0
  48. volcenginesdkdbw/models/execute_sql_response.py +123 -0
  49. volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
  50. volcenginesdkdbw/models/get_table_info_request.py +205 -0
  51. volcenginesdkdbw/models/get_table_info_response.py +123 -0
  52. volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
  53. volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
  54. volcenginesdkdbw/models/list_databases_request.py +203 -0
  55. volcenginesdkdbw/models/list_databases_response.py +149 -0
  56. volcenginesdkdbw/models/list_tables_request.py +230 -0
  57. volcenginesdkdbw/models/list_tables_response.py +149 -0
  58. volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
  59. volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
  60. volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
  61. volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
  62. volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
  63. volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
  64. volcenginesdkgraph/__init__.py +48 -0
  65. volcenginesdkgraph/api/graph_api.py +951 -78
  66. volcenginesdkgraph/models/__init__.py +48 -0
  67. volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
  68. volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
  69. volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
  70. volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
  71. volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
  72. volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
  73. volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
  74. volcenginesdkgraph/models/create_instance_request.py +29 -3
  75. volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
  76. volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
  77. volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
  78. volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
  79. volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
  80. volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
  81. volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
  82. volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
  83. volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
  84. volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
  85. volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
  86. volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
  87. volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
  88. volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
  89. volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
  90. volcenginesdkgraph/models/list_tablets_request.py +254 -0
  91. volcenginesdkgraph/models/list_tablets_response.py +123 -0
  92. volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
  93. volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
  94. volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
  95. volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
  96. volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
  97. volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
  98. volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
  99. volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
  100. volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
  101. volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
  102. volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
  103. volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
  104. volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
  105. volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
  106. volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
  107. volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
  108. volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
  109. volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
  110. volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
  111. volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
  112. volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
  113. volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
  114. volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
  115. volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
  116. volcenginesdklivesaas/__init__.py +3 -0
  117. volcenginesdklivesaas/models/__init__.py +3 -0
  118. volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
  119. volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
  120. volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
  121. volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
  122. volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
  123. volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
  124. volcenginesdkvefaas/__init__.py +4 -0
  125. volcenginesdkvefaas/api/vefaas_api.py +194 -0
  126. volcenginesdkvefaas/models/__init__.py +4 -0
  127. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
  128. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
  129. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
  130. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
  131. volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
  132. volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
  133. volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
  134. volcenginesdkvod20250101/__init__.py +26 -0
  135. volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
  136. volcenginesdkvod20250101/models/__init__.py +26 -0
  137. volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
  138. volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
  139. volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
  140. volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
  141. volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
  142. volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
  143. volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
  144. volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
  145. volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
  146. volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
  147. volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
  148. volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
  149. volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
  150. volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
  151. volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
  152. volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
  153. volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
  154. volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
  155. volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
  156. volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
  157. volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
  158. volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
  159. volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
  160. volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
  161. volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
  162. volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
  163. volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
  164. volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
  165. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
  166. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
  167. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
  168. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,177 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vod20250101
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 SetAITermItemRequest(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
+ 'space_name': 'str',
37
+ 'term_items': 'list[TermItemForSetAITermItemInput]',
38
+ 'termbase_id': 'str'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'space_name': 'SpaceName',
43
+ 'term_items': 'TermItems',
44
+ 'termbase_id': 'TermbaseId'
45
+ }
46
+
47
+ def __init__(self, space_name=None, term_items=None, termbase_id=None, _configuration=None): # noqa: E501
48
+ """SetAITermItemRequest - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._space_name = None
54
+ self._term_items = None
55
+ self._termbase_id = None
56
+ self.discriminator = None
57
+
58
+ self.space_name = space_name
59
+ if term_items is not None:
60
+ self.term_items = term_items
61
+ self.termbase_id = termbase_id
62
+
63
+ @property
64
+ def space_name(self):
65
+ """Gets the space_name of this SetAITermItemRequest. # noqa: E501
66
+
67
+
68
+ :return: The space_name of this SetAITermItemRequest. # noqa: E501
69
+ :rtype: str
70
+ """
71
+ return self._space_name
72
+
73
+ @space_name.setter
74
+ def space_name(self, space_name):
75
+ """Sets the space_name of this SetAITermItemRequest.
76
+
77
+
78
+ :param space_name: The space_name of this SetAITermItemRequest. # noqa: E501
79
+ :type: str
80
+ """
81
+ if self._configuration.client_side_validation and space_name is None:
82
+ raise ValueError("Invalid value for `space_name`, must not be `None`") # noqa: E501
83
+
84
+ self._space_name = space_name
85
+
86
+ @property
87
+ def term_items(self):
88
+ """Gets the term_items of this SetAITermItemRequest. # noqa: E501
89
+
90
+
91
+ :return: The term_items of this SetAITermItemRequest. # noqa: E501
92
+ :rtype: list[TermItemForSetAITermItemInput]
93
+ """
94
+ return self._term_items
95
+
96
+ @term_items.setter
97
+ def term_items(self, term_items):
98
+ """Sets the term_items of this SetAITermItemRequest.
99
+
100
+
101
+ :param term_items: The term_items of this SetAITermItemRequest. # noqa: E501
102
+ :type: list[TermItemForSetAITermItemInput]
103
+ """
104
+
105
+ self._term_items = term_items
106
+
107
+ @property
108
+ def termbase_id(self):
109
+ """Gets the termbase_id of this SetAITermItemRequest. # noqa: E501
110
+
111
+
112
+ :return: The termbase_id of this SetAITermItemRequest. # noqa: E501
113
+ :rtype: str
114
+ """
115
+ return self._termbase_id
116
+
117
+ @termbase_id.setter
118
+ def termbase_id(self, termbase_id):
119
+ """Sets the termbase_id of this SetAITermItemRequest.
120
+
121
+
122
+ :param termbase_id: The termbase_id of this SetAITermItemRequest. # noqa: E501
123
+ :type: str
124
+ """
125
+ if self._configuration.client_side_validation and termbase_id is None:
126
+ raise ValueError("Invalid value for `termbase_id`, must not be `None`") # noqa: E501
127
+
128
+ self._termbase_id = termbase_id
129
+
130
+ def to_dict(self):
131
+ """Returns the model properties as a dict"""
132
+ result = {}
133
+
134
+ for attr, _ in six.iteritems(self.swagger_types):
135
+ value = getattr(self, attr)
136
+ if isinstance(value, list):
137
+ result[attr] = list(map(
138
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
139
+ value
140
+ ))
141
+ elif hasattr(value, "to_dict"):
142
+ result[attr] = value.to_dict()
143
+ elif isinstance(value, dict):
144
+ result[attr] = dict(map(
145
+ lambda item: (item[0], item[1].to_dict())
146
+ if hasattr(item[1], "to_dict") else item,
147
+ value.items()
148
+ ))
149
+ else:
150
+ result[attr] = value
151
+ if issubclass(SetAITermItemRequest, dict):
152
+ for key, value in self.items():
153
+ result[key] = value
154
+
155
+ return result
156
+
157
+ def to_str(self):
158
+ """Returns the string representation of the model"""
159
+ return pprint.pformat(self.to_dict())
160
+
161
+ def __repr__(self):
162
+ """For `print` and `pprint`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, SetAITermItemRequest):
168
+ return False
169
+
170
+ return self.to_dict() == other.to_dict()
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ if not isinstance(other, SetAITermItemRequest):
175
+ return True
176
+
177
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,95 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vod20250101
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 SetAITermItemResponse(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ }
37
+
38
+ attribute_map = {
39
+ }
40
+
41
+ def __init__(self, _configuration=None): # noqa: E501
42
+ """SetAITermItemResponse - a model defined in Swagger""" # noqa: E501
43
+ if _configuration is None:
44
+ _configuration = Configuration()
45
+ self._configuration = _configuration
46
+ self.discriminator = None
47
+
48
+ def to_dict(self):
49
+ """Returns the model properties as a dict"""
50
+ result = {}
51
+
52
+ for attr, _ in six.iteritems(self.swagger_types):
53
+ value = getattr(self, attr)
54
+ if isinstance(value, list):
55
+ result[attr] = list(map(
56
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
57
+ value
58
+ ))
59
+ elif hasattr(value, "to_dict"):
60
+ result[attr] = value.to_dict()
61
+ elif isinstance(value, dict):
62
+ result[attr] = dict(map(
63
+ lambda item: (item[0], item[1].to_dict())
64
+ if hasattr(item[1], "to_dict") else item,
65
+ value.items()
66
+ ))
67
+ else:
68
+ result[attr] = value
69
+ if issubclass(SetAITermItemResponse, dict):
70
+ for key, value in self.items():
71
+ result[key] = value
72
+
73
+ return result
74
+
75
+ def to_str(self):
76
+ """Returns the string representation of the model"""
77
+ return pprint.pformat(self.to_dict())
78
+
79
+ def __repr__(self):
80
+ """For `print` and `pprint`"""
81
+ return self.to_str()
82
+
83
+ def __eq__(self, other):
84
+ """Returns true if both objects are equal"""
85
+ if not isinstance(other, SetAITermItemResponse):
86
+ return False
87
+
88
+ return self.to_dict() == other.to_dict()
89
+
90
+ def __ne__(self, other):
91
+ """Returns true if both objects are not equal"""
92
+ if not isinstance(other, SetAITermItemResponse):
93
+ return True
94
+
95
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vod20250101
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 TermItemForCreateAITermbaseOutput(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
+ 'source_text': 'str',
37
+ 'target_text': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'source_text': 'SourceText',
42
+ 'target_text': 'TargetText'
43
+ }
44
+
45
+ def __init__(self, source_text=None, target_text=None, _configuration=None): # noqa: E501
46
+ """TermItemForCreateAITermbaseOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._source_text = None
52
+ self._target_text = None
53
+ self.discriminator = None
54
+
55
+ if source_text is not None:
56
+ self.source_text = source_text
57
+ if target_text is not None:
58
+ self.target_text = target_text
59
+
60
+ @property
61
+ def source_text(self):
62
+ """Gets the source_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
63
+
64
+
65
+ :return: The source_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._source_text
69
+
70
+ @source_text.setter
71
+ def source_text(self, source_text):
72
+ """Sets the source_text of this TermItemForCreateAITermbaseOutput.
73
+
74
+
75
+ :param source_text: The source_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._source_text = source_text
80
+
81
+ @property
82
+ def target_text(self):
83
+ """Gets the target_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
84
+
85
+
86
+ :return: The target_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._target_text
90
+
91
+ @target_text.setter
92
+ def target_text(self, target_text):
93
+ """Sets the target_text of this TermItemForCreateAITermbaseOutput.
94
+
95
+
96
+ :param target_text: The target_text of this TermItemForCreateAITermbaseOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._target_text = target_text
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(TermItemForCreateAITermbaseOutput, 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, TermItemForCreateAITermbaseOutput):
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, TermItemForCreateAITermbaseOutput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,149 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ vod20250101
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 TermItemForGetAITermbaseOutput(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
+ 'source_text': 'str',
37
+ 'target_text': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'source_text': 'SourceText',
42
+ 'target_text': 'TargetText'
43
+ }
44
+
45
+ def __init__(self, source_text=None, target_text=None, _configuration=None): # noqa: E501
46
+ """TermItemForGetAITermbaseOutput - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._source_text = None
52
+ self._target_text = None
53
+ self.discriminator = None
54
+
55
+ if source_text is not None:
56
+ self.source_text = source_text
57
+ if target_text is not None:
58
+ self.target_text = target_text
59
+
60
+ @property
61
+ def source_text(self):
62
+ """Gets the source_text of this TermItemForGetAITermbaseOutput. # noqa: E501
63
+
64
+
65
+ :return: The source_text of this TermItemForGetAITermbaseOutput. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._source_text
69
+
70
+ @source_text.setter
71
+ def source_text(self, source_text):
72
+ """Sets the source_text of this TermItemForGetAITermbaseOutput.
73
+
74
+
75
+ :param source_text: The source_text of this TermItemForGetAITermbaseOutput. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._source_text = source_text
80
+
81
+ @property
82
+ def target_text(self):
83
+ """Gets the target_text of this TermItemForGetAITermbaseOutput. # noqa: E501
84
+
85
+
86
+ :return: The target_text of this TermItemForGetAITermbaseOutput. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._target_text
90
+
91
+ @target_text.setter
92
+ def target_text(self, target_text):
93
+ """Sets the target_text of this TermItemForGetAITermbaseOutput.
94
+
95
+
96
+ :param target_text: The target_text of this TermItemForGetAITermbaseOutput. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._target_text = target_text
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(TermItemForGetAITermbaseOutput, 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, TermItemForGetAITermbaseOutput):
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, TermItemForGetAITermbaseOutput):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()