volcengine-python-sdk 4.0.22__py2.py3-none-any.whl → 4.0.24__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.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +215 -42
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
- volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/models.py +192 -192
- volcenginesdkdms20250101/__init__.py +85 -0
- volcenginesdkdms20250101/api/__init__.py +6 -0
- volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
- volcenginesdkdms20250101/models/__init__.py +81 -0
- volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
- volcenginesdkdms20250101/models/create_address_request.py +211 -0
- volcenginesdkdms20250101/models/create_address_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
- volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_request.py +185 -0
- volcenginesdkdms20250101/models/create_agent_response.py +149 -0
- volcenginesdkdms20250101/models/create_task_request.py +264 -0
- volcenginesdkdms20250101/models/create_task_response.py +149 -0
- volcenginesdkdms20250101/models/delete_address_request.py +124 -0
- volcenginesdkdms20250101/models/delete_address_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
- volcenginesdkdms20250101/models/delete_task_request.py +124 -0
- volcenginesdkdms20250101/models/delete_task_response.py +149 -0
- volcenginesdkdms20250101/models/get_address_request.py +124 -0
- volcenginesdkdms20250101/models/get_address_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
- volcenginesdkdms20250101/models/get_agent_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_response.py +331 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
- volcenginesdkdms20250101/models/get_task_request.py +124 -0
- volcenginesdkdms20250101/models/get_task_response.py +409 -0
- volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
- volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
- volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
- volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
- volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
- volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
- volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
- volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
- volcenginesdkdms20250101/models/list_agents_request.py +204 -0
- volcenginesdkdms20250101/models/list_agents_response.py +175 -0
- volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
- volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
- volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
- volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
- volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
- volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
- volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
- volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
- volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
- volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
- volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
- volcenginesdkdms20250101/models/update_task_request.py +183 -0
- volcenginesdkdms20250101/models/update_task_response.py +149 -0
- volcenginesdkdts20180101/__init__.py +32 -0
- volcenginesdkdts20180101/api/__init__.py +6 -0
- volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
- volcenginesdkdts20180101/models/__init__.py +28 -0
- volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
- volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
- volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
- volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
- volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
- volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
- volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
- volcenginesdkna/__init__.py +33 -0
- volcenginesdkna/api/__init__.py +6 -0
- volcenginesdkna/api/na_api.py +422 -0
- volcenginesdkna/models/__init__.py +29 -0
- volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
- volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
- volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
- volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
- volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
- volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
- volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
- volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
- volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
- volcenginesdkredis/__init__.py +2 -0
- volcenginesdkredis/api/redis_api.py +97 -0
- volcenginesdkredis/models/__init__.py +2 -0
- volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
- volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
- volcenginesdkvefaas/models/create_function_request.py +53 -1
- volcenginesdkvefaas/models/create_function_response.py +53 -1
- volcenginesdkvefaas/models/get_function_response.py +53 -1
- volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
- volcenginesdkvefaas/models/update_function_request.py +53 -1
- volcenginesdkvefaas/models/update_function_response.py +27 -1
- volcenginesdkvmp/__init__.py +72 -0
- volcenginesdkvmp/api/vmp_api.py +1339 -78
- volcenginesdkvmp/models/__init__.py +72 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
- volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
- volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
- volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
- volcenginesdkvmp/models/create_integration_task_request.py +334 -0
- volcenginesdkvmp/models/create_integration_task_response.py +123 -0
- volcenginesdkvmp/models/create_rule_file_request.py +27 -1
- volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
- volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/create_workspace_request.py +27 -1
- volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
- volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
- volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
- volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
- volcenginesdkvmp/models/get_integration_task_request.py +124 -0
- volcenginesdkvmp/models/get_integration_task_response.py +409 -0
- volcenginesdkvmp/models/get_rule_file_response.py +29 -3
- volcenginesdkvmp/models/get_workspace_response.py +105 -1
- volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
- volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
- volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
- volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
- volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
- volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
- volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
- volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
- volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
- volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
- volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
- volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
- volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
- volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/update_integration_task_request.py +202 -0
- volcenginesdkvmp/models/update_integration_task_response.py +123 -0
- volcenginesdkvmp/models/update_rule_file_request.py +27 -1
- volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
- volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/update_workspace_request.py +131 -1
- volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.22.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 ListAddressesResponse(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
|
+
'has_next': 'bool',
|
|
37
|
+
'item_list': 'list[ItemListForListAddressesOutput]',
|
|
38
|
+
'total_count': 'int'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'has_next': 'HasNext',
|
|
43
|
+
'item_list': 'ItemList',
|
|
44
|
+
'total_count': 'TotalCount'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, has_next=None, item_list=None, total_count=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ListAddressesResponse - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._has_next = None
|
|
54
|
+
self._item_list = None
|
|
55
|
+
self._total_count = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if has_next is not None:
|
|
59
|
+
self.has_next = has_next
|
|
60
|
+
if item_list is not None:
|
|
61
|
+
self.item_list = item_list
|
|
62
|
+
if total_count is not None:
|
|
63
|
+
self.total_count = total_count
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def has_next(self):
|
|
67
|
+
"""Gets the has_next of this ListAddressesResponse. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The has_next of this ListAddressesResponse. # noqa: E501
|
|
71
|
+
:rtype: bool
|
|
72
|
+
"""
|
|
73
|
+
return self._has_next
|
|
74
|
+
|
|
75
|
+
@has_next.setter
|
|
76
|
+
def has_next(self, has_next):
|
|
77
|
+
"""Sets the has_next of this ListAddressesResponse.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param has_next: The has_next of this ListAddressesResponse. # noqa: E501
|
|
81
|
+
:type: bool
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._has_next = has_next
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def item_list(self):
|
|
88
|
+
"""Gets the item_list of this ListAddressesResponse. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The item_list of this ListAddressesResponse. # noqa: E501
|
|
92
|
+
:rtype: list[ItemListForListAddressesOutput]
|
|
93
|
+
"""
|
|
94
|
+
return self._item_list
|
|
95
|
+
|
|
96
|
+
@item_list.setter
|
|
97
|
+
def item_list(self, item_list):
|
|
98
|
+
"""Sets the item_list of this ListAddressesResponse.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param item_list: The item_list of this ListAddressesResponse. # noqa: E501
|
|
102
|
+
:type: list[ItemListForListAddressesOutput]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._item_list = item_list
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def total_count(self):
|
|
109
|
+
"""Gets the total_count of this ListAddressesResponse. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The total_count of this ListAddressesResponse. # noqa: E501
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._total_count
|
|
116
|
+
|
|
117
|
+
@total_count.setter
|
|
118
|
+
def total_count(self, total_count):
|
|
119
|
+
"""Sets the total_count of this ListAddressesResponse.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param total_count: The total_count of this ListAddressesResponse. # noqa: E501
|
|
123
|
+
:type: int
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._total_count = total_count
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(ListAddressesResponse, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, ListAddressesResponse):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, ListAddressesResponse):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 ListAgentGroupsRequest(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
|
+
'fetch_count': 'bool',
|
|
37
|
+
'id_cursor': 'str',
|
|
38
|
+
'page_number': 'int',
|
|
39
|
+
'page_size': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'fetch_count': 'FetchCount',
|
|
44
|
+
'id_cursor': 'IdCursor',
|
|
45
|
+
'page_number': 'PageNumber',
|
|
46
|
+
'page_size': 'PageSize'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, fetch_count=None, id_cursor=None, page_number=None, page_size=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ListAgentGroupsRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._fetch_count = None
|
|
56
|
+
self._id_cursor = None
|
|
57
|
+
self._page_number = None
|
|
58
|
+
self._page_size = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if fetch_count is not None:
|
|
62
|
+
self.fetch_count = fetch_count
|
|
63
|
+
self.id_cursor = id_cursor
|
|
64
|
+
self.page_number = page_number
|
|
65
|
+
self.page_size = page_size
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
def fetch_count(self):
|
|
69
|
+
"""Gets the fetch_count of this ListAgentGroupsRequest. # noqa: E501
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
:return: The fetch_count of this ListAgentGroupsRequest. # noqa: E501
|
|
73
|
+
:rtype: bool
|
|
74
|
+
"""
|
|
75
|
+
return self._fetch_count
|
|
76
|
+
|
|
77
|
+
@fetch_count.setter
|
|
78
|
+
def fetch_count(self, fetch_count):
|
|
79
|
+
"""Sets the fetch_count of this ListAgentGroupsRequest.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
:param fetch_count: The fetch_count of this ListAgentGroupsRequest. # noqa: E501
|
|
83
|
+
:type: bool
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
self._fetch_count = fetch_count
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def id_cursor(self):
|
|
90
|
+
"""Gets the id_cursor of this ListAgentGroupsRequest. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The id_cursor of this ListAgentGroupsRequest. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._id_cursor
|
|
97
|
+
|
|
98
|
+
@id_cursor.setter
|
|
99
|
+
def id_cursor(self, id_cursor):
|
|
100
|
+
"""Sets the id_cursor of this ListAgentGroupsRequest.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param id_cursor: The id_cursor of this ListAgentGroupsRequest. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
if self._configuration.client_side_validation and id_cursor is None:
|
|
107
|
+
raise ValueError("Invalid value for `id_cursor`, must not be `None`") # noqa: E501
|
|
108
|
+
|
|
109
|
+
self._id_cursor = id_cursor
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def page_number(self):
|
|
113
|
+
"""Gets the page_number of this ListAgentGroupsRequest. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The page_number of this ListAgentGroupsRequest. # noqa: E501
|
|
117
|
+
:rtype: int
|
|
118
|
+
"""
|
|
119
|
+
return self._page_number
|
|
120
|
+
|
|
121
|
+
@page_number.setter
|
|
122
|
+
def page_number(self, page_number):
|
|
123
|
+
"""Sets the page_number of this ListAgentGroupsRequest.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param page_number: The page_number of this ListAgentGroupsRequest. # noqa: E501
|
|
127
|
+
:type: int
|
|
128
|
+
"""
|
|
129
|
+
if self._configuration.client_side_validation and page_number is None:
|
|
130
|
+
raise ValueError("Invalid value for `page_number`, must not be `None`") # noqa: E501
|
|
131
|
+
|
|
132
|
+
self._page_number = page_number
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def page_size(self):
|
|
136
|
+
"""Gets the page_size of this ListAgentGroupsRequest. # noqa: E501
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
:return: The page_size of this ListAgentGroupsRequest. # noqa: E501
|
|
140
|
+
:rtype: int
|
|
141
|
+
"""
|
|
142
|
+
return self._page_size
|
|
143
|
+
|
|
144
|
+
@page_size.setter
|
|
145
|
+
def page_size(self, page_size):
|
|
146
|
+
"""Sets the page_size of this ListAgentGroupsRequest.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param page_size: The page_size of this ListAgentGroupsRequest. # noqa: E501
|
|
150
|
+
:type: int
|
|
151
|
+
"""
|
|
152
|
+
if self._configuration.client_side_validation and page_size is None:
|
|
153
|
+
raise ValueError("Invalid value for `page_size`, must not be `None`") # noqa: E501
|
|
154
|
+
|
|
155
|
+
self._page_size = page_size
|
|
156
|
+
|
|
157
|
+
def to_dict(self):
|
|
158
|
+
"""Returns the model properties as a dict"""
|
|
159
|
+
result = {}
|
|
160
|
+
|
|
161
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
162
|
+
value = getattr(self, attr)
|
|
163
|
+
if isinstance(value, list):
|
|
164
|
+
result[attr] = list(map(
|
|
165
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
166
|
+
value
|
|
167
|
+
))
|
|
168
|
+
elif hasattr(value, "to_dict"):
|
|
169
|
+
result[attr] = value.to_dict()
|
|
170
|
+
elif isinstance(value, dict):
|
|
171
|
+
result[attr] = dict(map(
|
|
172
|
+
lambda item: (item[0], item[1].to_dict())
|
|
173
|
+
if hasattr(item[1], "to_dict") else item,
|
|
174
|
+
value.items()
|
|
175
|
+
))
|
|
176
|
+
else:
|
|
177
|
+
result[attr] = value
|
|
178
|
+
if issubclass(ListAgentGroupsRequest, dict):
|
|
179
|
+
for key, value in self.items():
|
|
180
|
+
result[key] = value
|
|
181
|
+
|
|
182
|
+
return result
|
|
183
|
+
|
|
184
|
+
def to_str(self):
|
|
185
|
+
"""Returns the string representation of the model"""
|
|
186
|
+
return pprint.pformat(self.to_dict())
|
|
187
|
+
|
|
188
|
+
def __repr__(self):
|
|
189
|
+
"""For `print` and `pprint`"""
|
|
190
|
+
return self.to_str()
|
|
191
|
+
|
|
192
|
+
def __eq__(self, other):
|
|
193
|
+
"""Returns true if both objects are equal"""
|
|
194
|
+
if not isinstance(other, ListAgentGroupsRequest):
|
|
195
|
+
return False
|
|
196
|
+
|
|
197
|
+
return self.to_dict() == other.to_dict()
|
|
198
|
+
|
|
199
|
+
def __ne__(self, other):
|
|
200
|
+
"""Returns true if both objects are not equal"""
|
|
201
|
+
if not isinstance(other, ListAgentGroupsRequest):
|
|
202
|
+
return True
|
|
203
|
+
|
|
204
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
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 ListAgentGroupsResponse(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
|
+
'has_next': 'bool',
|
|
37
|
+
'item_list': 'list[ItemListForListAgentGroupsOutput]',
|
|
38
|
+
'total_count': 'int'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'has_next': 'HasNext',
|
|
43
|
+
'item_list': 'ItemList',
|
|
44
|
+
'total_count': 'TotalCount'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, has_next=None, item_list=None, total_count=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ListAgentGroupsResponse - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._has_next = None
|
|
54
|
+
self._item_list = None
|
|
55
|
+
self._total_count = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if has_next is not None:
|
|
59
|
+
self.has_next = has_next
|
|
60
|
+
if item_list is not None:
|
|
61
|
+
self.item_list = item_list
|
|
62
|
+
if total_count is not None:
|
|
63
|
+
self.total_count = total_count
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def has_next(self):
|
|
67
|
+
"""Gets the has_next of this ListAgentGroupsResponse. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The has_next of this ListAgentGroupsResponse. # noqa: E501
|
|
71
|
+
:rtype: bool
|
|
72
|
+
"""
|
|
73
|
+
return self._has_next
|
|
74
|
+
|
|
75
|
+
@has_next.setter
|
|
76
|
+
def has_next(self, has_next):
|
|
77
|
+
"""Sets the has_next of this ListAgentGroupsResponse.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param has_next: The has_next of this ListAgentGroupsResponse. # noqa: E501
|
|
81
|
+
:type: bool
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._has_next = has_next
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def item_list(self):
|
|
88
|
+
"""Gets the item_list of this ListAgentGroupsResponse. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The item_list of this ListAgentGroupsResponse. # noqa: E501
|
|
92
|
+
:rtype: list[ItemListForListAgentGroupsOutput]
|
|
93
|
+
"""
|
|
94
|
+
return self._item_list
|
|
95
|
+
|
|
96
|
+
@item_list.setter
|
|
97
|
+
def item_list(self, item_list):
|
|
98
|
+
"""Sets the item_list of this ListAgentGroupsResponse.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param item_list: The item_list of this ListAgentGroupsResponse. # noqa: E501
|
|
102
|
+
:type: list[ItemListForListAgentGroupsOutput]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._item_list = item_list
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def total_count(self):
|
|
109
|
+
"""Gets the total_count of this ListAgentGroupsResponse. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The total_count of this ListAgentGroupsResponse. # noqa: E501
|
|
113
|
+
:rtype: int
|
|
114
|
+
"""
|
|
115
|
+
return self._total_count
|
|
116
|
+
|
|
117
|
+
@total_count.setter
|
|
118
|
+
def total_count(self, total_count):
|
|
119
|
+
"""Sets the total_count of this ListAgentGroupsResponse.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param total_count: The total_count of this ListAgentGroupsResponse. # noqa: E501
|
|
123
|
+
:type: int
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._total_count = total_count
|
|
127
|
+
|
|
128
|
+
def to_dict(self):
|
|
129
|
+
"""Returns the model properties as a dict"""
|
|
130
|
+
result = {}
|
|
131
|
+
|
|
132
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
133
|
+
value = getattr(self, attr)
|
|
134
|
+
if isinstance(value, list):
|
|
135
|
+
result[attr] = list(map(
|
|
136
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
137
|
+
value
|
|
138
|
+
))
|
|
139
|
+
elif hasattr(value, "to_dict"):
|
|
140
|
+
result[attr] = value.to_dict()
|
|
141
|
+
elif isinstance(value, dict):
|
|
142
|
+
result[attr] = dict(map(
|
|
143
|
+
lambda item: (item[0], item[1].to_dict())
|
|
144
|
+
if hasattr(item[1], "to_dict") else item,
|
|
145
|
+
value.items()
|
|
146
|
+
))
|
|
147
|
+
else:
|
|
148
|
+
result[attr] = value
|
|
149
|
+
if issubclass(ListAgentGroupsResponse, dict):
|
|
150
|
+
for key, value in self.items():
|
|
151
|
+
result[key] = value
|
|
152
|
+
|
|
153
|
+
return result
|
|
154
|
+
|
|
155
|
+
def to_str(self):
|
|
156
|
+
"""Returns the string representation of the model"""
|
|
157
|
+
return pprint.pformat(self.to_dict())
|
|
158
|
+
|
|
159
|
+
def __repr__(self):
|
|
160
|
+
"""For `print` and `pprint`"""
|
|
161
|
+
return self.to_str()
|
|
162
|
+
|
|
163
|
+
def __eq__(self, other):
|
|
164
|
+
"""Returns true if both objects are equal"""
|
|
165
|
+
if not isinstance(other, ListAgentGroupsResponse):
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
return self.to_dict() == other.to_dict()
|
|
169
|
+
|
|
170
|
+
def __ne__(self, other):
|
|
171
|
+
"""Returns true if both objects are not equal"""
|
|
172
|
+
if not isinstance(other, ListAgentGroupsResponse):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|