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,617 @@
|
|
|
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 CenBandwidthPackageForDescribeCenBandwidthPackagesOutput(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
|
+
'account_id': 'str',
|
|
37
|
+
'bandwidth': 'int',
|
|
38
|
+
'billing_type': 'int',
|
|
39
|
+
'business': 'str',
|
|
40
|
+
'cen_bandwidth_package_id': 'str',
|
|
41
|
+
'cen_bandwidth_package_name': 'str',
|
|
42
|
+
'cen_ids': 'list[str]',
|
|
43
|
+
'creation_time': 'str',
|
|
44
|
+
'deleted_time': 'str',
|
|
45
|
+
'description': 'str',
|
|
46
|
+
'expired_time': 'str',
|
|
47
|
+
'line_operator': 'str',
|
|
48
|
+
'local_geographic_region_set_id': 'str',
|
|
49
|
+
'peer_geographic_region_set_id': 'str',
|
|
50
|
+
'project_name': 'str',
|
|
51
|
+
'remaining_bandwidth': 'int',
|
|
52
|
+
'status': 'str',
|
|
53
|
+
'tags': 'list[TagForDescribeCenBandwidthPackagesOutput]',
|
|
54
|
+
'update_time': 'str',
|
|
55
|
+
'updated_at': 'str'
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
attribute_map = {
|
|
59
|
+
'account_id': 'AccountId',
|
|
60
|
+
'bandwidth': 'Bandwidth',
|
|
61
|
+
'billing_type': 'BillingType',
|
|
62
|
+
'business': 'Business',
|
|
63
|
+
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
|
|
64
|
+
'cen_bandwidth_package_name': 'CenBandwidthPackageName',
|
|
65
|
+
'cen_ids': 'CenIds',
|
|
66
|
+
'creation_time': 'CreationTime',
|
|
67
|
+
'deleted_time': 'DeletedTime',
|
|
68
|
+
'description': 'Description',
|
|
69
|
+
'expired_time': 'ExpiredTime',
|
|
70
|
+
'line_operator': 'LineOperator',
|
|
71
|
+
'local_geographic_region_set_id': 'LocalGeographicRegionSetId',
|
|
72
|
+
'peer_geographic_region_set_id': 'PeerGeographicRegionSetId',
|
|
73
|
+
'project_name': 'ProjectName',
|
|
74
|
+
'remaining_bandwidth': 'RemainingBandwidth',
|
|
75
|
+
'status': 'Status',
|
|
76
|
+
'tags': 'Tags',
|
|
77
|
+
'update_time': 'UpdateTime',
|
|
78
|
+
'updated_at': 'UpdatedAt'
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
def __init__(self, account_id=None, bandwidth=None, billing_type=None, business=None, cen_bandwidth_package_id=None, cen_bandwidth_package_name=None, cen_ids=None, creation_time=None, deleted_time=None, description=None, expired_time=None, line_operator=None, local_geographic_region_set_id=None, peer_geographic_region_set_id=None, project_name=None, remaining_bandwidth=None, status=None, tags=None, update_time=None, updated_at=None, _configuration=None): # noqa: E501
|
|
82
|
+
"""CenBandwidthPackageForDescribeCenBandwidthPackagesOutput - a model defined in Swagger""" # noqa: E501
|
|
83
|
+
if _configuration is None:
|
|
84
|
+
_configuration = Configuration()
|
|
85
|
+
self._configuration = _configuration
|
|
86
|
+
|
|
87
|
+
self._account_id = None
|
|
88
|
+
self._bandwidth = None
|
|
89
|
+
self._billing_type = None
|
|
90
|
+
self._business = None
|
|
91
|
+
self._cen_bandwidth_package_id = None
|
|
92
|
+
self._cen_bandwidth_package_name = None
|
|
93
|
+
self._cen_ids = None
|
|
94
|
+
self._creation_time = None
|
|
95
|
+
self._deleted_time = None
|
|
96
|
+
self._description = None
|
|
97
|
+
self._expired_time = None
|
|
98
|
+
self._line_operator = None
|
|
99
|
+
self._local_geographic_region_set_id = None
|
|
100
|
+
self._peer_geographic_region_set_id = None
|
|
101
|
+
self._project_name = None
|
|
102
|
+
self._remaining_bandwidth = None
|
|
103
|
+
self._status = None
|
|
104
|
+
self._tags = None
|
|
105
|
+
self._update_time = None
|
|
106
|
+
self._updated_at = None
|
|
107
|
+
self.discriminator = None
|
|
108
|
+
|
|
109
|
+
if account_id is not None:
|
|
110
|
+
self.account_id = account_id
|
|
111
|
+
if bandwidth is not None:
|
|
112
|
+
self.bandwidth = bandwidth
|
|
113
|
+
if billing_type is not None:
|
|
114
|
+
self.billing_type = billing_type
|
|
115
|
+
if business is not None:
|
|
116
|
+
self.business = business
|
|
117
|
+
if cen_bandwidth_package_id is not None:
|
|
118
|
+
self.cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
119
|
+
if cen_bandwidth_package_name is not None:
|
|
120
|
+
self.cen_bandwidth_package_name = cen_bandwidth_package_name
|
|
121
|
+
if cen_ids is not None:
|
|
122
|
+
self.cen_ids = cen_ids
|
|
123
|
+
if creation_time is not None:
|
|
124
|
+
self.creation_time = creation_time
|
|
125
|
+
if deleted_time is not None:
|
|
126
|
+
self.deleted_time = deleted_time
|
|
127
|
+
if description is not None:
|
|
128
|
+
self.description = description
|
|
129
|
+
if expired_time is not None:
|
|
130
|
+
self.expired_time = expired_time
|
|
131
|
+
if line_operator is not None:
|
|
132
|
+
self.line_operator = line_operator
|
|
133
|
+
if local_geographic_region_set_id is not None:
|
|
134
|
+
self.local_geographic_region_set_id = local_geographic_region_set_id
|
|
135
|
+
if peer_geographic_region_set_id is not None:
|
|
136
|
+
self.peer_geographic_region_set_id = peer_geographic_region_set_id
|
|
137
|
+
if project_name is not None:
|
|
138
|
+
self.project_name = project_name
|
|
139
|
+
if remaining_bandwidth is not None:
|
|
140
|
+
self.remaining_bandwidth = remaining_bandwidth
|
|
141
|
+
if status is not None:
|
|
142
|
+
self.status = status
|
|
143
|
+
if tags is not None:
|
|
144
|
+
self.tags = tags
|
|
145
|
+
if update_time is not None:
|
|
146
|
+
self.update_time = update_time
|
|
147
|
+
if updated_at is not None:
|
|
148
|
+
self.updated_at = updated_at
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def account_id(self):
|
|
152
|
+
"""Gets the account_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:return: The account_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
156
|
+
:rtype: str
|
|
157
|
+
"""
|
|
158
|
+
return self._account_id
|
|
159
|
+
|
|
160
|
+
@account_id.setter
|
|
161
|
+
def account_id(self, account_id):
|
|
162
|
+
"""Sets the account_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
:param account_id: The account_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
166
|
+
:type: str
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
self._account_id = account_id
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def bandwidth(self):
|
|
173
|
+
"""Gets the bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
:return: The bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
177
|
+
:rtype: int
|
|
178
|
+
"""
|
|
179
|
+
return self._bandwidth
|
|
180
|
+
|
|
181
|
+
@bandwidth.setter
|
|
182
|
+
def bandwidth(self, bandwidth):
|
|
183
|
+
"""Sets the bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
:param bandwidth: The bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
187
|
+
:type: int
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
self._bandwidth = bandwidth
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
def billing_type(self):
|
|
194
|
+
"""Gets the billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:return: The billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
198
|
+
:rtype: int
|
|
199
|
+
"""
|
|
200
|
+
return self._billing_type
|
|
201
|
+
|
|
202
|
+
@billing_type.setter
|
|
203
|
+
def billing_type(self, billing_type):
|
|
204
|
+
"""Sets the billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
:param billing_type: The billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
208
|
+
:type: int
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
self._billing_type = billing_type
|
|
212
|
+
|
|
213
|
+
@property
|
|
214
|
+
def business(self):
|
|
215
|
+
"""Gets the business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
:return: The business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
219
|
+
:rtype: str
|
|
220
|
+
"""
|
|
221
|
+
return self._business
|
|
222
|
+
|
|
223
|
+
@business.setter
|
|
224
|
+
def business(self, business):
|
|
225
|
+
"""Sets the business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
:param business: The business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
229
|
+
:type: str
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
self._business = business
|
|
233
|
+
|
|
234
|
+
@property
|
|
235
|
+
def cen_bandwidth_package_id(self):
|
|
236
|
+
"""Gets the cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
:return: The cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
240
|
+
:rtype: str
|
|
241
|
+
"""
|
|
242
|
+
return self._cen_bandwidth_package_id
|
|
243
|
+
|
|
244
|
+
@cen_bandwidth_package_id.setter
|
|
245
|
+
def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
|
|
246
|
+
"""Sets the cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
:param cen_bandwidth_package_id: The cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
250
|
+
:type: str
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
self._cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
254
|
+
|
|
255
|
+
@property
|
|
256
|
+
def cen_bandwidth_package_name(self):
|
|
257
|
+
"""Gets the cen_bandwidth_package_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
:return: The cen_bandwidth_package_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
261
|
+
:rtype: str
|
|
262
|
+
"""
|
|
263
|
+
return self._cen_bandwidth_package_name
|
|
264
|
+
|
|
265
|
+
@cen_bandwidth_package_name.setter
|
|
266
|
+
def cen_bandwidth_package_name(self, cen_bandwidth_package_name):
|
|
267
|
+
"""Sets the cen_bandwidth_package_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
:param cen_bandwidth_package_name: The cen_bandwidth_package_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
271
|
+
:type: str
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
self._cen_bandwidth_package_name = cen_bandwidth_package_name
|
|
275
|
+
|
|
276
|
+
@property
|
|
277
|
+
def cen_ids(self):
|
|
278
|
+
"""Gets the cen_ids of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
:return: The cen_ids of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
282
|
+
:rtype: list[str]
|
|
283
|
+
"""
|
|
284
|
+
return self._cen_ids
|
|
285
|
+
|
|
286
|
+
@cen_ids.setter
|
|
287
|
+
def cen_ids(self, cen_ids):
|
|
288
|
+
"""Sets the cen_ids of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
:param cen_ids: The cen_ids of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
292
|
+
:type: list[str]
|
|
293
|
+
"""
|
|
294
|
+
|
|
295
|
+
self._cen_ids = cen_ids
|
|
296
|
+
|
|
297
|
+
@property
|
|
298
|
+
def creation_time(self):
|
|
299
|
+
"""Gets the creation_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
:return: The creation_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
303
|
+
:rtype: str
|
|
304
|
+
"""
|
|
305
|
+
return self._creation_time
|
|
306
|
+
|
|
307
|
+
@creation_time.setter
|
|
308
|
+
def creation_time(self, creation_time):
|
|
309
|
+
"""Sets the creation_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
:param creation_time: The creation_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
313
|
+
:type: str
|
|
314
|
+
"""
|
|
315
|
+
|
|
316
|
+
self._creation_time = creation_time
|
|
317
|
+
|
|
318
|
+
@property
|
|
319
|
+
def deleted_time(self):
|
|
320
|
+
"""Gets the deleted_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
:return: The deleted_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
324
|
+
:rtype: str
|
|
325
|
+
"""
|
|
326
|
+
return self._deleted_time
|
|
327
|
+
|
|
328
|
+
@deleted_time.setter
|
|
329
|
+
def deleted_time(self, deleted_time):
|
|
330
|
+
"""Sets the deleted_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
:param deleted_time: The deleted_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
334
|
+
:type: str
|
|
335
|
+
"""
|
|
336
|
+
|
|
337
|
+
self._deleted_time = deleted_time
|
|
338
|
+
|
|
339
|
+
@property
|
|
340
|
+
def description(self):
|
|
341
|
+
"""Gets the description of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
:return: The description of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
345
|
+
:rtype: str
|
|
346
|
+
"""
|
|
347
|
+
return self._description
|
|
348
|
+
|
|
349
|
+
@description.setter
|
|
350
|
+
def description(self, description):
|
|
351
|
+
"""Sets the description of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
:param description: The description of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
355
|
+
:type: str
|
|
356
|
+
"""
|
|
357
|
+
|
|
358
|
+
self._description = description
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
def expired_time(self):
|
|
362
|
+
"""Gets the expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
:return: The expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
366
|
+
:rtype: str
|
|
367
|
+
"""
|
|
368
|
+
return self._expired_time
|
|
369
|
+
|
|
370
|
+
@expired_time.setter
|
|
371
|
+
def expired_time(self, expired_time):
|
|
372
|
+
"""Sets the expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
:param expired_time: The expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
376
|
+
:type: str
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
self._expired_time = expired_time
|
|
380
|
+
|
|
381
|
+
@property
|
|
382
|
+
def line_operator(self):
|
|
383
|
+
"""Gets the line_operator of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
:return: The line_operator of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
387
|
+
:rtype: str
|
|
388
|
+
"""
|
|
389
|
+
return self._line_operator
|
|
390
|
+
|
|
391
|
+
@line_operator.setter
|
|
392
|
+
def line_operator(self, line_operator):
|
|
393
|
+
"""Sets the line_operator of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
:param line_operator: The line_operator of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
397
|
+
:type: str
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
self._line_operator = line_operator
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def local_geographic_region_set_id(self):
|
|
404
|
+
"""Gets the local_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
:return: The local_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
408
|
+
:rtype: str
|
|
409
|
+
"""
|
|
410
|
+
return self._local_geographic_region_set_id
|
|
411
|
+
|
|
412
|
+
@local_geographic_region_set_id.setter
|
|
413
|
+
def local_geographic_region_set_id(self, local_geographic_region_set_id):
|
|
414
|
+
"""Sets the local_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
:param local_geographic_region_set_id: The local_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
418
|
+
:type: str
|
|
419
|
+
"""
|
|
420
|
+
|
|
421
|
+
self._local_geographic_region_set_id = local_geographic_region_set_id
|
|
422
|
+
|
|
423
|
+
@property
|
|
424
|
+
def peer_geographic_region_set_id(self):
|
|
425
|
+
"""Gets the peer_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
:return: The peer_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
429
|
+
:rtype: str
|
|
430
|
+
"""
|
|
431
|
+
return self._peer_geographic_region_set_id
|
|
432
|
+
|
|
433
|
+
@peer_geographic_region_set_id.setter
|
|
434
|
+
def peer_geographic_region_set_id(self, peer_geographic_region_set_id):
|
|
435
|
+
"""Sets the peer_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
:param peer_geographic_region_set_id: The peer_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
439
|
+
:type: str
|
|
440
|
+
"""
|
|
441
|
+
|
|
442
|
+
self._peer_geographic_region_set_id = peer_geographic_region_set_id
|
|
443
|
+
|
|
444
|
+
@property
|
|
445
|
+
def project_name(self):
|
|
446
|
+
"""Gets the project_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
:return: The project_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
450
|
+
:rtype: str
|
|
451
|
+
"""
|
|
452
|
+
return self._project_name
|
|
453
|
+
|
|
454
|
+
@project_name.setter
|
|
455
|
+
def project_name(self, project_name):
|
|
456
|
+
"""Sets the project_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
:param project_name: The project_name of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
460
|
+
:type: str
|
|
461
|
+
"""
|
|
462
|
+
|
|
463
|
+
self._project_name = project_name
|
|
464
|
+
|
|
465
|
+
@property
|
|
466
|
+
def remaining_bandwidth(self):
|
|
467
|
+
"""Gets the remaining_bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
:return: The remaining_bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
471
|
+
:rtype: int
|
|
472
|
+
"""
|
|
473
|
+
return self._remaining_bandwidth
|
|
474
|
+
|
|
475
|
+
@remaining_bandwidth.setter
|
|
476
|
+
def remaining_bandwidth(self, remaining_bandwidth):
|
|
477
|
+
"""Sets the remaining_bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
:param remaining_bandwidth: The remaining_bandwidth of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
481
|
+
:type: int
|
|
482
|
+
"""
|
|
483
|
+
|
|
484
|
+
self._remaining_bandwidth = remaining_bandwidth
|
|
485
|
+
|
|
486
|
+
@property
|
|
487
|
+
def status(self):
|
|
488
|
+
"""Gets the status of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
:return: The status of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
492
|
+
:rtype: str
|
|
493
|
+
"""
|
|
494
|
+
return self._status
|
|
495
|
+
|
|
496
|
+
@status.setter
|
|
497
|
+
def status(self, status):
|
|
498
|
+
"""Sets the status of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
:param status: The status of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
502
|
+
:type: str
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
self._status = status
|
|
506
|
+
|
|
507
|
+
@property
|
|
508
|
+
def tags(self):
|
|
509
|
+
"""Gets the tags of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
:return: The tags of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
513
|
+
:rtype: list[TagForDescribeCenBandwidthPackagesOutput]
|
|
514
|
+
"""
|
|
515
|
+
return self._tags
|
|
516
|
+
|
|
517
|
+
@tags.setter
|
|
518
|
+
def tags(self, tags):
|
|
519
|
+
"""Sets the tags of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
:param tags: The tags of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
523
|
+
:type: list[TagForDescribeCenBandwidthPackagesOutput]
|
|
524
|
+
"""
|
|
525
|
+
|
|
526
|
+
self._tags = tags
|
|
527
|
+
|
|
528
|
+
@property
|
|
529
|
+
def update_time(self):
|
|
530
|
+
"""Gets the update_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
:return: The update_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
534
|
+
:rtype: str
|
|
535
|
+
"""
|
|
536
|
+
return self._update_time
|
|
537
|
+
|
|
538
|
+
@update_time.setter
|
|
539
|
+
def update_time(self, update_time):
|
|
540
|
+
"""Sets the update_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
:param update_time: The update_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
544
|
+
:type: str
|
|
545
|
+
"""
|
|
546
|
+
|
|
547
|
+
self._update_time = update_time
|
|
548
|
+
|
|
549
|
+
@property
|
|
550
|
+
def updated_at(self):
|
|
551
|
+
"""Gets the updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
:return: The updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
555
|
+
:rtype: str
|
|
556
|
+
"""
|
|
557
|
+
return self._updated_at
|
|
558
|
+
|
|
559
|
+
@updated_at.setter
|
|
560
|
+
def updated_at(self, updated_at):
|
|
561
|
+
"""Sets the updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
:param updated_at: The updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
|
|
565
|
+
:type: str
|
|
566
|
+
"""
|
|
567
|
+
|
|
568
|
+
self._updated_at = updated_at
|
|
569
|
+
|
|
570
|
+
def to_dict(self):
|
|
571
|
+
"""Returns the model properties as a dict"""
|
|
572
|
+
result = {}
|
|
573
|
+
|
|
574
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
575
|
+
value = getattr(self, attr)
|
|
576
|
+
if isinstance(value, list):
|
|
577
|
+
result[attr] = list(map(
|
|
578
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
579
|
+
value
|
|
580
|
+
))
|
|
581
|
+
elif hasattr(value, "to_dict"):
|
|
582
|
+
result[attr] = value.to_dict()
|
|
583
|
+
elif isinstance(value, dict):
|
|
584
|
+
result[attr] = dict(map(
|
|
585
|
+
lambda item: (item[0], item[1].to_dict())
|
|
586
|
+
if hasattr(item[1], "to_dict") else item,
|
|
587
|
+
value.items()
|
|
588
|
+
))
|
|
589
|
+
else:
|
|
590
|
+
result[attr] = value
|
|
591
|
+
if issubclass(CenBandwidthPackageForDescribeCenBandwidthPackagesOutput, dict):
|
|
592
|
+
for key, value in self.items():
|
|
593
|
+
result[key] = value
|
|
594
|
+
|
|
595
|
+
return result
|
|
596
|
+
|
|
597
|
+
def to_str(self):
|
|
598
|
+
"""Returns the string representation of the model"""
|
|
599
|
+
return pprint.pformat(self.to_dict())
|
|
600
|
+
|
|
601
|
+
def __repr__(self):
|
|
602
|
+
"""For `print` and `pprint`"""
|
|
603
|
+
return self.to_str()
|
|
604
|
+
|
|
605
|
+
def __eq__(self, other):
|
|
606
|
+
"""Returns true if both objects are equal"""
|
|
607
|
+
if not isinstance(other, CenBandwidthPackageForDescribeCenBandwidthPackagesOutput):
|
|
608
|
+
return False
|
|
609
|
+
|
|
610
|
+
return self.to_dict() == other.to_dict()
|
|
611
|
+
|
|
612
|
+
def __ne__(self, other):
|
|
613
|
+
"""Returns true if both objects are not equal"""
|
|
614
|
+
if not isinstance(other, CenBandwidthPackageForDescribeCenBandwidthPackagesOutput):
|
|
615
|
+
return True
|
|
616
|
+
|
|
617
|
+
return self.to_dict() != other.to_dict()
|