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,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clb
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 ModifyListenerDomainExtensionsResponse(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
+ 'request_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'request_id': 'RequestId'
41
+ }
42
+
43
+ def __init__(self, request_id=None, _configuration=None): # noqa: E501
44
+ """ModifyListenerDomainExtensionsResponse - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._request_id = None
50
+ self.discriminator = None
51
+
52
+ if request_id is not None:
53
+ self.request_id = request_id
54
+
55
+ @property
56
+ def request_id(self):
57
+ """Gets the request_id of this ModifyListenerDomainExtensionsResponse. # noqa: E501
58
+
59
+
60
+ :return: The request_id of this ModifyListenerDomainExtensionsResponse. # noqa: E501
61
+ :rtype: str
62
+ """
63
+ return self._request_id
64
+
65
+ @request_id.setter
66
+ def request_id(self, request_id):
67
+ """Sets the request_id of this ModifyListenerDomainExtensionsResponse.
68
+
69
+
70
+ :param request_id: The request_id of this ModifyListenerDomainExtensionsResponse. # noqa: E501
71
+ :type: str
72
+ """
73
+
74
+ self._request_id = request_id
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(ModifyListenerDomainExtensionsResponse, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, ModifyListenerDomainExtensionsResponse):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, ModifyListenerDomainExtensionsResponse):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,202 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clb
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 ModifyNetworkLoadBalancerAccessLogRequest(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
+ 'access_log_enabled': 'bool',
37
+ 'load_balancer_id': 'str',
38
+ 'project_name': 'str',
39
+ 'topic_name': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'access_log_enabled': 'AccessLogEnabled',
44
+ 'load_balancer_id': 'LoadBalancerId',
45
+ 'project_name': 'ProjectName',
46
+ 'topic_name': 'TopicName'
47
+ }
48
+
49
+ def __init__(self, access_log_enabled=None, load_balancer_id=None, project_name=None, topic_name=None, _configuration=None): # noqa: E501
50
+ """ModifyNetworkLoadBalancerAccessLogRequest - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._access_log_enabled = None
56
+ self._load_balancer_id = None
57
+ self._project_name = None
58
+ self._topic_name = None
59
+ self.discriminator = None
60
+
61
+ if access_log_enabled is not None:
62
+ self.access_log_enabled = access_log_enabled
63
+ self.load_balancer_id = load_balancer_id
64
+ if project_name is not None:
65
+ self.project_name = project_name
66
+ if topic_name is not None:
67
+ self.topic_name = topic_name
68
+
69
+ @property
70
+ def access_log_enabled(self):
71
+ """Gets the access_log_enabled of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
72
+
73
+
74
+ :return: The access_log_enabled of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
75
+ :rtype: bool
76
+ """
77
+ return self._access_log_enabled
78
+
79
+ @access_log_enabled.setter
80
+ def access_log_enabled(self, access_log_enabled):
81
+ """Sets the access_log_enabled of this ModifyNetworkLoadBalancerAccessLogRequest.
82
+
83
+
84
+ :param access_log_enabled: The access_log_enabled of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
85
+ :type: bool
86
+ """
87
+
88
+ self._access_log_enabled = access_log_enabled
89
+
90
+ @property
91
+ def load_balancer_id(self):
92
+ """Gets the load_balancer_id of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
93
+
94
+
95
+ :return: The load_balancer_id of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
96
+ :rtype: str
97
+ """
98
+ return self._load_balancer_id
99
+
100
+ @load_balancer_id.setter
101
+ def load_balancer_id(self, load_balancer_id):
102
+ """Sets the load_balancer_id of this ModifyNetworkLoadBalancerAccessLogRequest.
103
+
104
+
105
+ :param load_balancer_id: The load_balancer_id of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
106
+ :type: str
107
+ """
108
+ if self._configuration.client_side_validation and load_balancer_id is None:
109
+ raise ValueError("Invalid value for `load_balancer_id`, must not be `None`") # noqa: E501
110
+
111
+ self._load_balancer_id = load_balancer_id
112
+
113
+ @property
114
+ def project_name(self):
115
+ """Gets the project_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
116
+
117
+
118
+ :return: The project_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
119
+ :rtype: str
120
+ """
121
+ return self._project_name
122
+
123
+ @project_name.setter
124
+ def project_name(self, project_name):
125
+ """Sets the project_name of this ModifyNetworkLoadBalancerAccessLogRequest.
126
+
127
+
128
+ :param project_name: The project_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
129
+ :type: str
130
+ """
131
+
132
+ self._project_name = project_name
133
+
134
+ @property
135
+ def topic_name(self):
136
+ """Gets the topic_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
137
+
138
+
139
+ :return: The topic_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
140
+ :rtype: str
141
+ """
142
+ return self._topic_name
143
+
144
+ @topic_name.setter
145
+ def topic_name(self, topic_name):
146
+ """Sets the topic_name of this ModifyNetworkLoadBalancerAccessLogRequest.
147
+
148
+
149
+ :param topic_name: The topic_name of this ModifyNetworkLoadBalancerAccessLogRequest. # noqa: E501
150
+ :type: str
151
+ """
152
+
153
+ self._topic_name = topic_name
154
+
155
+ def to_dict(self):
156
+ """Returns the model properties as a dict"""
157
+ result = {}
158
+
159
+ for attr, _ in six.iteritems(self.swagger_types):
160
+ value = getattr(self, attr)
161
+ if isinstance(value, list):
162
+ result[attr] = list(map(
163
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
164
+ value
165
+ ))
166
+ elif hasattr(value, "to_dict"):
167
+ result[attr] = value.to_dict()
168
+ elif isinstance(value, dict):
169
+ result[attr] = dict(map(
170
+ lambda item: (item[0], item[1].to_dict())
171
+ if hasattr(item[1], "to_dict") else item,
172
+ value.items()
173
+ ))
174
+ else:
175
+ result[attr] = value
176
+ if issubclass(ModifyNetworkLoadBalancerAccessLogRequest, dict):
177
+ for key, value in self.items():
178
+ result[key] = value
179
+
180
+ return result
181
+
182
+ def to_str(self):
183
+ """Returns the string representation of the model"""
184
+ return pprint.pformat(self.to_dict())
185
+
186
+ def __repr__(self):
187
+ """For `print` and `pprint`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, ModifyNetworkLoadBalancerAccessLogRequest):
193
+ return False
194
+
195
+ return self.to_dict() == other.to_dict()
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ if not isinstance(other, ModifyNetworkLoadBalancerAccessLogRequest):
200
+ return True
201
+
202
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clb
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 ModifyNetworkLoadBalancerAccessLogResponse(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
+ 'request_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'request_id': 'RequestId'
41
+ }
42
+
43
+ def __init__(self, request_id=None, _configuration=None): # noqa: E501
44
+ """ModifyNetworkLoadBalancerAccessLogResponse - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._request_id = None
50
+ self.discriminator = None
51
+
52
+ if request_id is not None:
53
+ self.request_id = request_id
54
+
55
+ @property
56
+ def request_id(self):
57
+ """Gets the request_id of this ModifyNetworkLoadBalancerAccessLogResponse. # noqa: E501
58
+
59
+
60
+ :return: The request_id of this ModifyNetworkLoadBalancerAccessLogResponse. # noqa: E501
61
+ :rtype: str
62
+ """
63
+ return self._request_id
64
+
65
+ @request_id.setter
66
+ def request_id(self, request_id):
67
+ """Sets the request_id of this ModifyNetworkLoadBalancerAccessLogResponse.
68
+
69
+
70
+ :param request_id: The request_id of this ModifyNetworkLoadBalancerAccessLogResponse. # noqa: E501
71
+ :type: str
72
+ """
73
+
74
+ self._request_id = request_id
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(ModifyNetworkLoadBalancerAccessLogResponse, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, ModifyNetworkLoadBalancerAccessLogResponse):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, ModifyNetworkLoadBalancerAccessLogResponse):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,123 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ clb
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 RemoveDomainExtensionForModifyListenerDomainExtensionsInput(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
+ 'domain_extension_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'domain_extension_id': 'DomainExtensionId'
41
+ }
42
+
43
+ def __init__(self, domain_extension_id=None, _configuration=None): # noqa: E501
44
+ """RemoveDomainExtensionForModifyListenerDomainExtensionsInput - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._domain_extension_id = None
50
+ self.discriminator = None
51
+
52
+ if domain_extension_id is not None:
53
+ self.domain_extension_id = domain_extension_id
54
+
55
+ @property
56
+ def domain_extension_id(self):
57
+ """Gets the domain_extension_id of this RemoveDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
58
+
59
+
60
+ :return: The domain_extension_id of this RemoveDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
61
+ :rtype: str
62
+ """
63
+ return self._domain_extension_id
64
+
65
+ @domain_extension_id.setter
66
+ def domain_extension_id(self, domain_extension_id):
67
+ """Sets the domain_extension_id of this RemoveDomainExtensionForModifyListenerDomainExtensionsInput.
68
+
69
+
70
+ :param domain_extension_id: The domain_extension_id of this RemoveDomainExtensionForModifyListenerDomainExtensionsInput. # noqa: E501
71
+ :type: str
72
+ """
73
+
74
+ self._domain_extension_id = domain_extension_id
75
+
76
+ def to_dict(self):
77
+ """Returns the model properties as a dict"""
78
+ result = {}
79
+
80
+ for attr, _ in six.iteritems(self.swagger_types):
81
+ value = getattr(self, attr)
82
+ if isinstance(value, list):
83
+ result[attr] = list(map(
84
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
85
+ value
86
+ ))
87
+ elif hasattr(value, "to_dict"):
88
+ result[attr] = value.to_dict()
89
+ elif isinstance(value, dict):
90
+ result[attr] = dict(map(
91
+ lambda item: (item[0], item[1].to_dict())
92
+ if hasattr(item[1], "to_dict") else item,
93
+ value.items()
94
+ ))
95
+ else:
96
+ result[attr] = value
97
+ if issubclass(RemoveDomainExtensionForModifyListenerDomainExtensionsInput, dict):
98
+ for key, value in self.items():
99
+ result[key] = value
100
+
101
+ return result
102
+
103
+ def to_str(self):
104
+ """Returns the string representation of the model"""
105
+ return pprint.pformat(self.to_dict())
106
+
107
+ def __repr__(self):
108
+ """For `print` and `pprint`"""
109
+ return self.to_str()
110
+
111
+ def __eq__(self, other):
112
+ """Returns true if both objects are equal"""
113
+ if not isinstance(other, RemoveDomainExtensionForModifyListenerDomainExtensionsInput):
114
+ return False
115
+
116
+ return self.to_dict() == other.to_dict()
117
+
118
+ def __ne__(self, other):
119
+ """Returns true if both objects are not equal"""
120
+ if not isinstance(other, RemoveDomainExtensionForModifyListenerDomainExtensionsInput):
121
+ return True
122
+
123
+ return self.to_dict() != other.to_dict()
@@ -64,7 +64,7 @@ class ApiClient(object):
64
64
  self.default_headers[header_name] = header_value
65
65
  self.cookie = cookie
66
66
  # Set default User-Agent.
67
- self.user_agent = 'volcstack-python-sdk/4.0.26'
67
+ self.user_agent = 'volcstack-python-sdk/4.0.27'
68
68
  self.client_side_validation = configuration.client_side_validation
69
69
 
70
70
  self.interceptor_chain = InterceptorChain()
@@ -272,7 +272,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
272
272
  "OS: {env}\n" \
273
273
  "Python Version: {pyversion}\n" \
274
274
  "Version of the API: 0.1.0\n" \
275
- "SDK Package Version: 4.0.26".\
275
+ "SDK Package Version: 4.0.27".\
276
276
  format(env=sys.platform, pyversion=sys.version)
277
277
 
278
278
  @property
@@ -184,11 +184,15 @@ class BuildRequestInterceptor(RequestInterceptor):
184
184
  for key, value in req.items():
185
185
  if value is None:
186
186
  continue
187
+ if isinstance(value, bool):
188
+ value = str(value).lower()
187
189
  if isinstance(value, list):
188
190
  for index in range(len(value)):
189
191
  if isinstance(value[index], dict):
190
192
  self.__req_to_params(value[index], prefix + key + "." + str((index + 1)) + ".", params)
191
193
  else:
194
+ if isinstance(value[index], bool):
195
+ value[index] = str(value[index]).lower()
192
196
  params.append((prefix + key + "." + str((index + 1)), value[index]))
193
197
  elif isinstance(value, dict):
194
198
  self.__req_to_params(value, prefix + key + ".", params)
@@ -39,7 +39,7 @@ class SignRequestInterceptor(RequestInterceptor):
39
39
 
40
40
  for auth in auth_settings:
41
41
  headers["Host"] = host
42
- if method in ["POST", "PUT", "DELETE", "PATCH"]:
42
+ if method in ["POST", "PUT", "DELETE", "PATCH"] and body is not None:
43
43
  body = json.dumps(body)
44
44
  else:
45
45
  body = ""
@@ -22,6 +22,7 @@ from volcenginesdkdbw.api.dbw_api import DBWApi
22
22
  from volcenginesdkdbw.models.advice_for_list_slow_query_advice_api_output import AdviceForListSlowQueryAdviceApiOutput
23
23
  from volcenginesdkdbw.models.advices_by_group_for_list_slow_query_advice_api_output import AdvicesByGroupForListSlowQueryAdviceApiOutput
24
24
  from volcenginesdkdbw.models.agg_for_list_slow_query_advice_api_output import AggForListSlowQueryAdviceApiOutput
25
+ from volcenginesdkdbw.models.column_for_get_table_info_output import ColumnForGetTableInfoOutput
25
26
  from volcenginesdkdbw.models.convertadvice_for_list_slow_query_advice_api_output import ConvertadviceForListSlowQueryAdviceApiOutput
26
27
  from volcenginesdkdbw.models.describe_audit_log_config_request import DescribeAuditLogConfigRequest
27
28
  from volcenginesdkdbw.models.describe_audit_log_config_response import DescribeAuditLogConfigResponse
@@ -30,19 +31,36 @@ from volcenginesdkdbw.models.describe_audit_log_detail_response import DescribeA
30
31
  from volcenginesdkdbw.models.describe_audit_log_detail_row_for_describe_audit_log_detail_output import DescribeAuditLogDetailRowForDescribeAuditLogDetailOutput
31
32
  from volcenginesdkdbw.models.describe_slow_logs_request import DescribeSlowLogsRequest
32
33
  from volcenginesdkdbw.models.describe_slow_logs_response import DescribeSlowLogsResponse
34
+ from volcenginesdkdbw.models.execute_sql_request import ExecuteSQLRequest
35
+ from volcenginesdkdbw.models.execute_sql_response import ExecuteSQLResponse
36
+ from volcenginesdkdbw.models.foreign_key_for_get_table_info_output import ForeignKeyForGetTableInfoOutput
33
37
  from volcenginesdkdbw.models.generate_sql_from_nl_request import GenerateSQLFromNLRequest
34
38
  from volcenginesdkdbw.models.generate_sql_from_nl_response import GenerateSQLFromNLResponse
39
+ from volcenginesdkdbw.models.get_table_info_request import GetTableInfoRequest
40
+ from volcenginesdkdbw.models.get_table_info_response import GetTableInfoResponse
41
+ from volcenginesdkdbw.models.index_for_get_table_info_output import IndexForGetTableInfoOutput
42
+ from volcenginesdkdbw.models.item_for_list_databases_output import ItemForListDatabasesOutput
43
+ from volcenginesdkdbw.models.list_databases_request import ListDatabasesRequest
44
+ from volcenginesdkdbw.models.list_databases_response import ListDatabasesResponse
35
45
  from volcenginesdkdbw.models.list_slow_query_advice_api_request import ListSlowQueryAdviceApiRequest
36
46
  from volcenginesdkdbw.models.list_slow_query_advice_api_response import ListSlowQueryAdviceApiResponse
47
+ from volcenginesdkdbw.models.list_tables_request import ListTablesRequest
48
+ from volcenginesdkdbw.models.list_tables_response import ListTablesResponse
37
49
  from volcenginesdkdbw.models.lock_time_stats_for_list_slow_query_advice_api_output import LockTimeStatsForListSlowQueryAdviceApiOutput
38
50
  from volcenginesdkdbw.models.modify_audit_log_config_request import ModifyAuditLogConfigRequest
39
51
  from volcenginesdkdbw.models.modify_audit_log_config_response import ModifyAuditLogConfigResponse
52
+ from volcenginesdkdbw.models.partition_options_for_get_table_info_output import PartitionOptionsForGetTableInfoOutput
40
53
  from volcenginesdkdbw.models.query_time_stats_for_list_slow_query_advice_api_output import QueryTimeStatsForListSlowQueryAdviceApiOutput
41
54
  from volcenginesdkdbw.models.res_list_for_slow_query_advice_task_history_api_output import ResListForSlowQueryAdviceTaskHistoryApiOutput
55
+ from volcenginesdkdbw.models.result_for_execute_sql_output import ResultForExecuteSQLOutput
56
+ from volcenginesdkdbw.models.row_for_execute_sql_output import RowForExecuteSQLOutput
42
57
  from volcenginesdkdbw.models.rows_examined_stats_for_list_slow_query_advice_api_output import RowsExaminedStatsForListSlowQueryAdviceApiOutput
43
58
  from volcenginesdkdbw.models.rows_sent_stats_for_list_slow_query_advice_api_output import RowsSentStatsForListSlowQueryAdviceApiOutput
59
+ from volcenginesdkdbw.models.running_info_for_execute_sql_output import RunningInfoForExecuteSQLOutput
44
60
  from volcenginesdkdbw.models.search_param_for_describe_audit_log_detail_input import SearchParamForDescribeAuditLogDetailInput
45
61
  from volcenginesdkdbw.models.search_param_for_describe_slow_logs_input import SearchParamForDescribeSlowLogsInput
46
62
  from volcenginesdkdbw.models.slow_log_for_describe_slow_logs_output import SlowLogForDescribeSlowLogsOutput
47
63
  from volcenginesdkdbw.models.slow_query_advice_task_history_api_request import SlowQueryAdviceTaskHistoryApiRequest
48
64
  from volcenginesdkdbw.models.slow_query_advice_task_history_api_response import SlowQueryAdviceTaskHistoryApiResponse
65
+ from volcenginesdkdbw.models.table_meta_for_get_table_info_output import TableMetaForGetTableInfoOutput
66
+ from volcenginesdkdbw.models.table_options_for_get_table_info_output import TableOptionsForGetTableInfoOutput