byteplus-python-sdk-v2 3.0.52__py2.py3-none-any.whl → 3.0.53__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.
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/RECORD +184 -43
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/WHEEL +1 -1
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/top_level.txt +1 -0
- byteplussdkarkruntime/resources/content_generation/tasks.py +4 -0
- byteplussdkarkruntime/types/content_generation/content_generation_task.py +3 -0
- byteplussdkarkruntime/types/content_generation/create_task_content_param.py +31 -1
- byteplussdkcen/__init__.py +133 -0
- byteplussdkcen/api/__init__.py +6 -0
- byteplussdkcen/api/cen_api.py +4205 -0
- byteplussdkcen/models/__init__.py +129 -0
- byteplussdkcen/models/associate_cen_bandwidth_package_request.py +151 -0
- byteplussdkcen/models/associate_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/attach_instance_to_cen_request.py +231 -0
- byteplussdkcen/models/attach_instance_to_cen_response.py +95 -0
- byteplussdkcen/models/attached_instance_for_describe_cen_attached_instances_output.py +279 -0
- byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
- byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +617 -0
- byteplussdkcen/models/cen_for_describe_cens_output.py +357 -0
- byteplussdkcen/models/cen_grant_rule_for_describe_grant_rules_to_cen_output.py +253 -0
- byteplussdkcen/models/cen_grant_rule_for_describe_instance_granted_rules_output.py +253 -0
- byteplussdkcen/models/cen_route_entry_for_describe_cen_route_entries_output.py +331 -0
- byteplussdkcen/models/cen_summary_route_entry_for_describe_cen_summary_route_entries_output.py +253 -0
- byteplussdkcen/models/create_cen_bandwidth_package_request.py +462 -0
- byteplussdkcen/models/create_cen_bandwidth_package_response.py +123 -0
- byteplussdkcen/models/create_cen_inter_region_bandwidth_request.py +231 -0
- byteplussdkcen/models/create_cen_inter_region_bandwidth_response.py +123 -0
- byteplussdkcen/models/create_cen_request.py +230 -0
- byteplussdkcen/models/create_cen_response.py +123 -0
- byteplussdkcen/models/create_cen_service_route_entry_request.py +283 -0
- byteplussdkcen/models/create_cen_service_route_entry_response.py +95 -0
- byteplussdkcen/models/create_cen_summary_route_entry_request.py +177 -0
- byteplussdkcen/models/create_cen_summary_route_entry_response.py +95 -0
- byteplussdkcen/models/delete_cen_bandwidth_package_request.py +124 -0
- byteplussdkcen/models/delete_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/delete_cen_inter_region_bandwidth_request.py +124 -0
- byteplussdkcen/models/delete_cen_inter_region_bandwidth_response.py +95 -0
- byteplussdkcen/models/delete_cen_request.py +124 -0
- byteplussdkcen/models/delete_cen_response.py +95 -0
- byteplussdkcen/models/delete_cen_service_route_entry_request.py +178 -0
- byteplussdkcen/models/delete_cen_service_route_entry_response.py +95 -0
- byteplussdkcen/models/delete_cen_summary_route_entry_request.py +151 -0
- byteplussdkcen/models/delete_cen_summary_route_entry_response.py +95 -0
- byteplussdkcen/models/describe95_traffic_request.py +178 -0
- byteplussdkcen/models/describe95_traffic_response.py +123 -0
- byteplussdkcen/models/describe_cen_attached_instance_attributes_request.py +205 -0
- byteplussdkcen/models/describe_cen_attached_instance_attributes_response.py +279 -0
- byteplussdkcen/models/describe_cen_attached_instances_request.py +253 -0
- byteplussdkcen/models/describe_cen_attached_instances_response.py +201 -0
- byteplussdkcen/models/describe_cen_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_attributes_response.py +357 -0
- byteplussdkcen/models/describe_cen_bandwidth_package_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_bandwidth_package_attributes_response.py +591 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_request.py +331 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_response.py +201 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +331 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidths_request.py +201 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidths_response.py +201 -0
- byteplussdkcen/models/describe_cen_route_entries_request.py +279 -0
- byteplussdkcen/models/describe_cen_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cen_service_route_entries_request.py +279 -0
- byteplussdkcen/models/describe_cen_service_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cen_summary_route_entries_request.py +202 -0
- byteplussdkcen/models/describe_cen_summary_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cens_request.py +253 -0
- byteplussdkcen/models/describe_cens_response.py +201 -0
- byteplussdkcen/models/describe_grant_rules_to_cen_request.py +260 -0
- byteplussdkcen/models/describe_grant_rules_to_cen_response.py +201 -0
- byteplussdkcen/models/describe_instance_granted_rules_request.py +234 -0
- byteplussdkcen/models/describe_instance_granted_rules_response.py +201 -0
- byteplussdkcen/models/detach_instance_from_cen_request.py +205 -0
- byteplussdkcen/models/detach_instance_from_cen_response.py +95 -0
- byteplussdkcen/models/disassociate_cen_bandwidth_package_request.py +151 -0
- byteplussdkcen/models/disassociate_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/grant_instance_to_cen_request.py +239 -0
- byteplussdkcen/models/grant_instance_to_cen_response.py +95 -0
- byteplussdkcen/models/inter_region_bandwidth_for_describe_cen_inter_region_bandwidths_output.py +331 -0
- byteplussdkcen/models/list_tags_for_resources_request.py +264 -0
- byteplussdkcen/models/list_tags_for_resources_response.py +149 -0
- byteplussdkcen/models/modify_cen_attributes_request.py +176 -0
- byteplussdkcen/models/modify_cen_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_attributes_request.py +214 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +176 -0
- byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_service_route_entry_attributes_request.py +256 -0
- byteplussdkcen/models/modify_cen_service_route_entry_attributes_response.py +95 -0
- byteplussdkcen/models/publish_cen_route_entry_request.py +232 -0
- byteplussdkcen/models/publish_cen_route_entry_response.py +95 -0
- byteplussdkcen/models/publish_to_instance_for_create_cen_service_route_entry_input.py +175 -0
- byteplussdkcen/models/publish_to_instance_for_describe_cen_service_route_entries_output.py +175 -0
- byteplussdkcen/models/publish_to_instance_for_modify_cen_service_route_entry_attributes_input.py +175 -0
- byteplussdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
- byteplussdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- byteplussdkcen/models/revoke_instance_from_cen_request.py +239 -0
- byteplussdkcen/models/revoke_instance_from_cen_response.py +95 -0
- byteplussdkcen/models/service_route_entry_for_describe_cen_service_route_entries_output.py +331 -0
- byteplussdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
- byteplussdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
- byteplussdkcen/models/tag_filter_for_describe_cen_bandwidth_packages_input.py +149 -0
- byteplussdkcen/models/tag_filter_for_describe_cens_input.py +149 -0
- byteplussdkcen/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- byteplussdkcen/models/tag_for_create_cen_bandwidth_package_input.py +149 -0
- byteplussdkcen/models/tag_for_create_cen_input.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_attributes_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_bandwidth_package_attributes_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_bandwidth_packages_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cens_output.py +149 -0
- byteplussdkcen/models/tag_for_tag_resources_input.py +150 -0
- byteplussdkcen/models/tag_resources_request.py +183 -0
- byteplussdkcen/models/tag_resources_response.py +95 -0
- byteplussdkcen/models/traffic_data_for_describe95_traffic_output.py +201 -0
- byteplussdkcen/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
- byteplussdkcen/models/untag_resources_request.py +183 -0
- byteplussdkcen/models/untag_resources_response.py +95 -0
- byteplussdkcen/models/withdraw_cen_route_entry_request.py +232 -0
- byteplussdkcen/models/withdraw_cen_route_entry_response.py +95 -0
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/endpoint/providers/default_provider.py +14 -0
- byteplussdkexamples/byteplussdkarkruntime/content_generation_tasks.py +8 -0
- byteplussdktransitrouter/__init__.py +24 -1
- byteplussdktransitrouter/api/transitrouter_api.py +983 -13
- byteplussdktransitrouter/models/__init__.py +24 -1
- byteplussdktransitrouter/models/accept_shared_transit_router_request.py +124 -0
- byteplussdktransitrouter/models/accept_shared_transit_router_response.py +95 -0
- byteplussdktransitrouter/models/accept_transit_router_peer_attachment_request.py +124 -0
- byteplussdktransitrouter/models/accept_transit_router_peer_attachment_response.py +95 -0
- byteplussdktransitrouter/models/create_transit_router_grant_rule_request.py +177 -0
- byteplussdktransitrouter/models/create_transit_router_grant_rule_response.py +95 -0
- byteplussdktransitrouter/models/create_transit_router_peer_attachment_request.py +79 -1
- byteplussdktransitrouter/models/create_transit_router_route_entry_request.py +29 -4
- byteplussdktransitrouter/models/create_transit_router_route_policy_entry_request.py +33 -1
- byteplussdktransitrouter/models/create_transit_router_traffic_qos_queue_entry_request.py +39 -4
- byteplussdktransitrouter/models/create_transit_router_vpn_attachment_request.py +27 -1
- byteplussdktransitrouter/models/delete_transit_router_grant_rule_request.py +151 -0
- byteplussdktransitrouter/models/delete_transit_router_grant_rule_response.py +95 -0
- byteplussdktransitrouter/models/describe95_traffic_request.py +185 -0
- byteplussdktransitrouter/models/describe95_traffic_response.py +123 -0
- byteplussdktransitrouter/models/describe_transit_router_attachments_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_grant_rules_request.py +202 -0
- byteplussdktransitrouter/models/describe_transit_router_grant_rules_response.py +201 -0
- byteplussdktransitrouter/models/describe_transit_router_multicast_domains_response.py +3 -3
- byteplussdktransitrouter/models/describe_transit_router_route_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_route_policy_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_traffic_qos_queue_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_vpn_attachments_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_routers_request.py +3 -0
- byteplussdktransitrouter/models/enable_transit_router_route_table_propagation_request.py +27 -1
- byteplussdktransitrouter/models/models.py +1522 -1447
- byteplussdktransitrouter/models/modify_transit_router_attributes_request.py +34 -1
- byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py +177 -0
- byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py +95 -0
- byteplussdktransitrouter/models/modify_transit_router_peer_attachment_attributes_request.py +53 -1
- byteplussdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +33 -1
- byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_request.py +208 -0
- byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_response.py +95 -0
- byteplussdktransitrouter/models/reject_shared_transit_router_request.py +124 -0
- byteplussdktransitrouter/models/reject_shared_transit_router_response.py +95 -0
- byteplussdktransitrouter/models/reject_transit_router_peer_attachment_request.py +124 -0
- byteplussdktransitrouter/models/reject_transit_router_peer_attachment_response.py +95 -0
- byteplussdktransitrouter/models/traffic_data_for_describe95_traffic_output.py +201 -0
- byteplussdktransitrouter/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_attachments_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +105 -1
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +253 -0
- byteplussdktransitrouter/models/{transit_router_multicast_domains_for_describe_transit_router_multicast_domains_output.py → transit_router_multicast_domain_for_describe_transit_router_multicast_domains_output.py} +33 -33
- byteplussdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
- byteplussdkvke/__init__.py +2 -0
- byteplussdkvke/api/vke_api.py +97 -0
- byteplussdkvke/models/__init__.py +2 -0
- byteplussdkvke/models/item_for_list_scaling_policies_output.py +27 -1
- byteplussdkvke/models/scale_node_pool_request.py +204 -0
- byteplussdkvke/models/scale_node_pool_response.py +95 -0
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DescribeCenSummaryRouteEntriesRequest(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
|
+
'cen_id': 'str',
|
|
37
|
+
'destination_cidr_block': 'str',
|
|
38
|
+
'page_number': 'int',
|
|
39
|
+
'page_size': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'cen_id': 'CenId',
|
|
44
|
+
'destination_cidr_block': 'DestinationCidrBlock',
|
|
45
|
+
'page_number': 'PageNumber',
|
|
46
|
+
'page_size': 'PageSize'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, cen_id=None, destination_cidr_block=None, page_number=None, page_size=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""DescribeCenSummaryRouteEntriesRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._cen_id = None
|
|
56
|
+
self._destination_cidr_block = None
|
|
57
|
+
self._page_number = None
|
|
58
|
+
self._page_size = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.cen_id = cen_id
|
|
62
|
+
if destination_cidr_block is not None:
|
|
63
|
+
self.destination_cidr_block = destination_cidr_block
|
|
64
|
+
if page_number is not None:
|
|
65
|
+
self.page_number = page_number
|
|
66
|
+
if page_size is not None:
|
|
67
|
+
self.page_size = page_size
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def cen_id(self):
|
|
71
|
+
"""Gets the cen_id of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:return: The cen_id of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
75
|
+
:rtype: str
|
|
76
|
+
"""
|
|
77
|
+
return self._cen_id
|
|
78
|
+
|
|
79
|
+
@cen_id.setter
|
|
80
|
+
def cen_id(self, cen_id):
|
|
81
|
+
"""Sets the cen_id of this DescribeCenSummaryRouteEntriesRequest.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:param cen_id: The cen_id of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
85
|
+
:type: str
|
|
86
|
+
"""
|
|
87
|
+
if self._configuration.client_side_validation and cen_id is None:
|
|
88
|
+
raise ValueError("Invalid value for `cen_id`, must not be `None`") # noqa: E501
|
|
89
|
+
|
|
90
|
+
self._cen_id = cen_id
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def destination_cidr_block(self):
|
|
94
|
+
"""Gets the destination_cidr_block of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:return: The destination_cidr_block of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
100
|
+
return self._destination_cidr_block
|
|
101
|
+
|
|
102
|
+
@destination_cidr_block.setter
|
|
103
|
+
def destination_cidr_block(self, destination_cidr_block):
|
|
104
|
+
"""Sets the destination_cidr_block of this DescribeCenSummaryRouteEntriesRequest.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
:param destination_cidr_block: The destination_cidr_block of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
108
|
+
:type: str
|
|
109
|
+
"""
|
|
110
|
+
|
|
111
|
+
self._destination_cidr_block = destination_cidr_block
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def page_number(self):
|
|
115
|
+
"""Gets the page_number of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:return: The page_number of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
119
|
+
:rtype: int
|
|
120
|
+
"""
|
|
121
|
+
return self._page_number
|
|
122
|
+
|
|
123
|
+
@page_number.setter
|
|
124
|
+
def page_number(self, page_number):
|
|
125
|
+
"""Sets the page_number of this DescribeCenSummaryRouteEntriesRequest.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:param page_number: The page_number of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
129
|
+
:type: int
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
self._page_number = page_number
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def page_size(self):
|
|
136
|
+
"""Gets the page_size of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
:return: The page_size of this DescribeCenSummaryRouteEntriesRequest. # 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 DescribeCenSummaryRouteEntriesRequest.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param page_size: The page_size of this DescribeCenSummaryRouteEntriesRequest. # noqa: E501
|
|
150
|
+
:type: int
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._page_size = page_size
|
|
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(DescribeCenSummaryRouteEntriesRequest, 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, DescribeCenSummaryRouteEntriesRequest):
|
|
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, DescribeCenSummaryRouteEntriesRequest):
|
|
200
|
+
return True
|
|
201
|
+
|
|
202
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DescribeCenSummaryRouteEntriesResponse(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
|
+
'cen_summary_route_entries': 'list[CenSummaryRouteEntryForDescribeCenSummaryRouteEntriesOutput]',
|
|
37
|
+
'page_number': 'int',
|
|
38
|
+
'page_size': 'int',
|
|
39
|
+
'total_count': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'cen_summary_route_entries': 'CenSummaryRouteEntries',
|
|
44
|
+
'page_number': 'PageNumber',
|
|
45
|
+
'page_size': 'PageSize',
|
|
46
|
+
'total_count': 'TotalCount'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, cen_summary_route_entries=None, page_number=None, page_size=None, total_count=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""DescribeCenSummaryRouteEntriesResponse - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._cen_summary_route_entries = None
|
|
56
|
+
self._page_number = None
|
|
57
|
+
self._page_size = None
|
|
58
|
+
self._total_count = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if cen_summary_route_entries is not None:
|
|
62
|
+
self.cen_summary_route_entries = cen_summary_route_entries
|
|
63
|
+
if page_number is not None:
|
|
64
|
+
self.page_number = page_number
|
|
65
|
+
if page_size is not None:
|
|
66
|
+
self.page_size = page_size
|
|
67
|
+
if total_count is not None:
|
|
68
|
+
self.total_count = total_count
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def cen_summary_route_entries(self):
|
|
72
|
+
"""Gets the cen_summary_route_entries of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The cen_summary_route_entries of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
76
|
+
:rtype: list[CenSummaryRouteEntryForDescribeCenSummaryRouteEntriesOutput]
|
|
77
|
+
"""
|
|
78
|
+
return self._cen_summary_route_entries
|
|
79
|
+
|
|
80
|
+
@cen_summary_route_entries.setter
|
|
81
|
+
def cen_summary_route_entries(self, cen_summary_route_entries):
|
|
82
|
+
"""Sets the cen_summary_route_entries of this DescribeCenSummaryRouteEntriesResponse.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param cen_summary_route_entries: The cen_summary_route_entries of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
86
|
+
:type: list[CenSummaryRouteEntryForDescribeCenSummaryRouteEntriesOutput]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._cen_summary_route_entries = cen_summary_route_entries
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def page_number(self):
|
|
93
|
+
"""Gets the page_number of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The page_number of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
97
|
+
:rtype: int
|
|
98
|
+
"""
|
|
99
|
+
return self._page_number
|
|
100
|
+
|
|
101
|
+
@page_number.setter
|
|
102
|
+
def page_number(self, page_number):
|
|
103
|
+
"""Sets the page_number of this DescribeCenSummaryRouteEntriesResponse.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param page_number: The page_number of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
107
|
+
:type: int
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._page_number = page_number
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def page_size(self):
|
|
114
|
+
"""Gets the page_size of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The page_size of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
118
|
+
:rtype: int
|
|
119
|
+
"""
|
|
120
|
+
return self._page_size
|
|
121
|
+
|
|
122
|
+
@page_size.setter
|
|
123
|
+
def page_size(self, page_size):
|
|
124
|
+
"""Sets the page_size of this DescribeCenSummaryRouteEntriesResponse.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param page_size: The page_size of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
128
|
+
:type: int
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._page_size = page_size
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def total_count(self):
|
|
135
|
+
"""Gets the total_count of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The total_count of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._total_count
|
|
142
|
+
|
|
143
|
+
@total_count.setter
|
|
144
|
+
def total_count(self, total_count):
|
|
145
|
+
"""Sets the total_count of this DescribeCenSummaryRouteEntriesResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param total_count: The total_count of this DescribeCenSummaryRouteEntriesResponse. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._total_count = total_count
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(DescribeCenSummaryRouteEntriesResponse, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, DescribeCenSummaryRouteEntriesResponse):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, DescribeCenSummaryRouteEntriesResponse):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
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 byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DescribeCensRequest(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
|
+
'cen_ids': 'list[str]',
|
|
37
|
+
'cen_name': 'str',
|
|
38
|
+
'page_number': 'int',
|
|
39
|
+
'page_size': 'int',
|
|
40
|
+
'project_name': 'str',
|
|
41
|
+
'tag_filters': 'list[TagFilterForDescribeCensInput]'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'cen_ids': 'CenIds',
|
|
46
|
+
'cen_name': 'CenName',
|
|
47
|
+
'page_number': 'PageNumber',
|
|
48
|
+
'page_size': 'PageSize',
|
|
49
|
+
'project_name': 'ProjectName',
|
|
50
|
+
'tag_filters': 'TagFilters'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, cen_ids=None, cen_name=None, page_number=None, page_size=None, project_name=None, tag_filters=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""DescribeCensRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._cen_ids = None
|
|
60
|
+
self._cen_name = None
|
|
61
|
+
self._page_number = None
|
|
62
|
+
self._page_size = None
|
|
63
|
+
self._project_name = None
|
|
64
|
+
self._tag_filters = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if cen_ids is not None:
|
|
68
|
+
self.cen_ids = cen_ids
|
|
69
|
+
if cen_name is not None:
|
|
70
|
+
self.cen_name = cen_name
|
|
71
|
+
if page_number is not None:
|
|
72
|
+
self.page_number = page_number
|
|
73
|
+
if page_size is not None:
|
|
74
|
+
self.page_size = page_size
|
|
75
|
+
if project_name is not None:
|
|
76
|
+
self.project_name = project_name
|
|
77
|
+
if tag_filters is not None:
|
|
78
|
+
self.tag_filters = tag_filters
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def cen_ids(self):
|
|
82
|
+
"""Gets the cen_ids of this DescribeCensRequest. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The cen_ids of this DescribeCensRequest. # noqa: E501
|
|
86
|
+
:rtype: list[str]
|
|
87
|
+
"""
|
|
88
|
+
return self._cen_ids
|
|
89
|
+
|
|
90
|
+
@cen_ids.setter
|
|
91
|
+
def cen_ids(self, cen_ids):
|
|
92
|
+
"""Sets the cen_ids of this DescribeCensRequest.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param cen_ids: The cen_ids of this DescribeCensRequest. # noqa: E501
|
|
96
|
+
:type: list[str]
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._cen_ids = cen_ids
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def cen_name(self):
|
|
103
|
+
"""Gets the cen_name of this DescribeCensRequest. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The cen_name of this DescribeCensRequest. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._cen_name
|
|
110
|
+
|
|
111
|
+
@cen_name.setter
|
|
112
|
+
def cen_name(self, cen_name):
|
|
113
|
+
"""Sets the cen_name of this DescribeCensRequest.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param cen_name: The cen_name of this DescribeCensRequest. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._cen_name = cen_name
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def page_number(self):
|
|
124
|
+
"""Gets the page_number of this DescribeCensRequest. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The page_number of this DescribeCensRequest. # noqa: E501
|
|
128
|
+
:rtype: int
|
|
129
|
+
"""
|
|
130
|
+
return self._page_number
|
|
131
|
+
|
|
132
|
+
@page_number.setter
|
|
133
|
+
def page_number(self, page_number):
|
|
134
|
+
"""Sets the page_number of this DescribeCensRequest.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param page_number: The page_number of this DescribeCensRequest. # noqa: E501
|
|
138
|
+
:type: int
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._page_number = page_number
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def page_size(self):
|
|
145
|
+
"""Gets the page_size of this DescribeCensRequest. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The page_size of this DescribeCensRequest. # noqa: E501
|
|
149
|
+
:rtype: int
|
|
150
|
+
"""
|
|
151
|
+
return self._page_size
|
|
152
|
+
|
|
153
|
+
@page_size.setter
|
|
154
|
+
def page_size(self, page_size):
|
|
155
|
+
"""Sets the page_size of this DescribeCensRequest.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param page_size: The page_size of this DescribeCensRequest. # noqa: E501
|
|
159
|
+
:type: int
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._page_size = page_size
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def project_name(self):
|
|
166
|
+
"""Gets the project_name of this DescribeCensRequest. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The project_name of this DescribeCensRequest. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._project_name
|
|
173
|
+
|
|
174
|
+
@project_name.setter
|
|
175
|
+
def project_name(self, project_name):
|
|
176
|
+
"""Sets the project_name of this DescribeCensRequest.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param project_name: The project_name of this DescribeCensRequest. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._project_name = project_name
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def tag_filters(self):
|
|
187
|
+
"""Gets the tag_filters of this DescribeCensRequest. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The tag_filters of this DescribeCensRequest. # noqa: E501
|
|
191
|
+
:rtype: list[TagFilterForDescribeCensInput]
|
|
192
|
+
"""
|
|
193
|
+
return self._tag_filters
|
|
194
|
+
|
|
195
|
+
@tag_filters.setter
|
|
196
|
+
def tag_filters(self, tag_filters):
|
|
197
|
+
"""Sets the tag_filters of this DescribeCensRequest.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param tag_filters: The tag_filters of this DescribeCensRequest. # noqa: E501
|
|
201
|
+
:type: list[TagFilterForDescribeCensInput]
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._tag_filters = tag_filters
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(DescribeCensRequest, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, DescribeCensRequest):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, DescribeCensRequest):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|