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,357 @@
|
|
|
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 DescribeCenAttributesResponse(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
|
+
'cen_bandwidth_package_ids': 'list[str]',
|
|
38
|
+
'cen_id': 'str',
|
|
39
|
+
'cen_name': 'str',
|
|
40
|
+
'creation_time': 'str',
|
|
41
|
+
'description': 'str',
|
|
42
|
+
'project_name': 'str',
|
|
43
|
+
'status': 'str',
|
|
44
|
+
'tags': 'list[TagForDescribeCenAttributesOutput]',
|
|
45
|
+
'update_time': 'str'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
attribute_map = {
|
|
49
|
+
'account_id': 'AccountId',
|
|
50
|
+
'cen_bandwidth_package_ids': 'CenBandwidthPackageIds',
|
|
51
|
+
'cen_id': 'CenId',
|
|
52
|
+
'cen_name': 'CenName',
|
|
53
|
+
'creation_time': 'CreationTime',
|
|
54
|
+
'description': 'Description',
|
|
55
|
+
'project_name': 'ProjectName',
|
|
56
|
+
'status': 'Status',
|
|
57
|
+
'tags': 'Tags',
|
|
58
|
+
'update_time': 'UpdateTime'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
def __init__(self, account_id=None, cen_bandwidth_package_ids=None, cen_id=None, cen_name=None, creation_time=None, description=None, project_name=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
|
|
62
|
+
"""DescribeCenAttributesResponse - a model defined in Swagger""" # noqa: E501
|
|
63
|
+
if _configuration is None:
|
|
64
|
+
_configuration = Configuration()
|
|
65
|
+
self._configuration = _configuration
|
|
66
|
+
|
|
67
|
+
self._account_id = None
|
|
68
|
+
self._cen_bandwidth_package_ids = None
|
|
69
|
+
self._cen_id = None
|
|
70
|
+
self._cen_name = None
|
|
71
|
+
self._creation_time = None
|
|
72
|
+
self._description = None
|
|
73
|
+
self._project_name = None
|
|
74
|
+
self._status = None
|
|
75
|
+
self._tags = None
|
|
76
|
+
self._update_time = None
|
|
77
|
+
self.discriminator = None
|
|
78
|
+
|
|
79
|
+
if account_id is not None:
|
|
80
|
+
self.account_id = account_id
|
|
81
|
+
if cen_bandwidth_package_ids is not None:
|
|
82
|
+
self.cen_bandwidth_package_ids = cen_bandwidth_package_ids
|
|
83
|
+
if cen_id is not None:
|
|
84
|
+
self.cen_id = cen_id
|
|
85
|
+
if cen_name is not None:
|
|
86
|
+
self.cen_name = cen_name
|
|
87
|
+
if creation_time is not None:
|
|
88
|
+
self.creation_time = creation_time
|
|
89
|
+
if description is not None:
|
|
90
|
+
self.description = description
|
|
91
|
+
if project_name is not None:
|
|
92
|
+
self.project_name = project_name
|
|
93
|
+
if status is not None:
|
|
94
|
+
self.status = status
|
|
95
|
+
if tags is not None:
|
|
96
|
+
self.tags = tags
|
|
97
|
+
if update_time is not None:
|
|
98
|
+
self.update_time = update_time
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def account_id(self):
|
|
102
|
+
"""Gets the account_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:return: The account_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._account_id
|
|
109
|
+
|
|
110
|
+
@account_id.setter
|
|
111
|
+
def account_id(self, account_id):
|
|
112
|
+
"""Sets the account_id of this DescribeCenAttributesResponse.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param account_id: The account_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
116
|
+
:type: str
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
self._account_id = account_id
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
def cen_bandwidth_package_ids(self):
|
|
123
|
+
"""Gets the cen_bandwidth_package_ids of this DescribeCenAttributesResponse. # noqa: E501
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:return: The cen_bandwidth_package_ids of this DescribeCenAttributesResponse. # noqa: E501
|
|
127
|
+
:rtype: list[str]
|
|
128
|
+
"""
|
|
129
|
+
return self._cen_bandwidth_package_ids
|
|
130
|
+
|
|
131
|
+
@cen_bandwidth_package_ids.setter
|
|
132
|
+
def cen_bandwidth_package_ids(self, cen_bandwidth_package_ids):
|
|
133
|
+
"""Sets the cen_bandwidth_package_ids of this DescribeCenAttributesResponse.
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
:param cen_bandwidth_package_ids: The cen_bandwidth_package_ids of this DescribeCenAttributesResponse. # noqa: E501
|
|
137
|
+
:type: list[str]
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
self._cen_bandwidth_package_ids = cen_bandwidth_package_ids
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def cen_id(self):
|
|
144
|
+
"""Gets the cen_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:return: The cen_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
148
|
+
:rtype: str
|
|
149
|
+
"""
|
|
150
|
+
return self._cen_id
|
|
151
|
+
|
|
152
|
+
@cen_id.setter
|
|
153
|
+
def cen_id(self, cen_id):
|
|
154
|
+
"""Sets the cen_id of this DescribeCenAttributesResponse.
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
:param cen_id: The cen_id of this DescribeCenAttributesResponse. # noqa: E501
|
|
158
|
+
:type: str
|
|
159
|
+
"""
|
|
160
|
+
|
|
161
|
+
self._cen_id = cen_id
|
|
162
|
+
|
|
163
|
+
@property
|
|
164
|
+
def cen_name(self):
|
|
165
|
+
"""Gets the cen_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:return: The cen_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
169
|
+
:rtype: str
|
|
170
|
+
"""
|
|
171
|
+
return self._cen_name
|
|
172
|
+
|
|
173
|
+
@cen_name.setter
|
|
174
|
+
def cen_name(self, cen_name):
|
|
175
|
+
"""Sets the cen_name of this DescribeCenAttributesResponse.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param cen_name: The cen_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
179
|
+
:type: str
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
self._cen_name = cen_name
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def creation_time(self):
|
|
186
|
+
"""Gets the creation_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:return: The creation_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
190
|
+
:rtype: str
|
|
191
|
+
"""
|
|
192
|
+
return self._creation_time
|
|
193
|
+
|
|
194
|
+
@creation_time.setter
|
|
195
|
+
def creation_time(self, creation_time):
|
|
196
|
+
"""Sets the creation_time of this DescribeCenAttributesResponse.
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
:param creation_time: The creation_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
200
|
+
:type: str
|
|
201
|
+
"""
|
|
202
|
+
|
|
203
|
+
self._creation_time = creation_time
|
|
204
|
+
|
|
205
|
+
@property
|
|
206
|
+
def description(self):
|
|
207
|
+
"""Gets the description of this DescribeCenAttributesResponse. # noqa: E501
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:return: The description of this DescribeCenAttributesResponse. # noqa: E501
|
|
211
|
+
:rtype: str
|
|
212
|
+
"""
|
|
213
|
+
return self._description
|
|
214
|
+
|
|
215
|
+
@description.setter
|
|
216
|
+
def description(self, description):
|
|
217
|
+
"""Sets the description of this DescribeCenAttributesResponse.
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
:param description: The description of this DescribeCenAttributesResponse. # noqa: E501
|
|
221
|
+
:type: str
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
self._description = description
|
|
225
|
+
|
|
226
|
+
@property
|
|
227
|
+
def project_name(self):
|
|
228
|
+
"""Gets the project_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:return: The project_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._project_name
|
|
235
|
+
|
|
236
|
+
@project_name.setter
|
|
237
|
+
def project_name(self, project_name):
|
|
238
|
+
"""Sets the project_name of this DescribeCenAttributesResponse.
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
:param project_name: The project_name of this DescribeCenAttributesResponse. # noqa: E501
|
|
242
|
+
:type: str
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
self._project_name = project_name
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
def status(self):
|
|
249
|
+
"""Gets the status of this DescribeCenAttributesResponse. # noqa: E501
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:return: The status of this DescribeCenAttributesResponse. # noqa: E501
|
|
253
|
+
:rtype: str
|
|
254
|
+
"""
|
|
255
|
+
return self._status
|
|
256
|
+
|
|
257
|
+
@status.setter
|
|
258
|
+
def status(self, status):
|
|
259
|
+
"""Sets the status of this DescribeCenAttributesResponse.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
:param status: The status of this DescribeCenAttributesResponse. # noqa: E501
|
|
263
|
+
:type: str
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
self._status = status
|
|
267
|
+
|
|
268
|
+
@property
|
|
269
|
+
def tags(self):
|
|
270
|
+
"""Gets the tags of this DescribeCenAttributesResponse. # noqa: E501
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
:return: The tags of this DescribeCenAttributesResponse. # noqa: E501
|
|
274
|
+
:rtype: list[TagForDescribeCenAttributesOutput]
|
|
275
|
+
"""
|
|
276
|
+
return self._tags
|
|
277
|
+
|
|
278
|
+
@tags.setter
|
|
279
|
+
def tags(self, tags):
|
|
280
|
+
"""Sets the tags of this DescribeCenAttributesResponse.
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
:param tags: The tags of this DescribeCenAttributesResponse. # noqa: E501
|
|
284
|
+
:type: list[TagForDescribeCenAttributesOutput]
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
self._tags = tags
|
|
288
|
+
|
|
289
|
+
@property
|
|
290
|
+
def update_time(self):
|
|
291
|
+
"""Gets the update_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:return: The update_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
295
|
+
:rtype: str
|
|
296
|
+
"""
|
|
297
|
+
return self._update_time
|
|
298
|
+
|
|
299
|
+
@update_time.setter
|
|
300
|
+
def update_time(self, update_time):
|
|
301
|
+
"""Sets the update_time of this DescribeCenAttributesResponse.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
:param update_time: The update_time of this DescribeCenAttributesResponse. # noqa: E501
|
|
305
|
+
:type: str
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
self._update_time = update_time
|
|
309
|
+
|
|
310
|
+
def to_dict(self):
|
|
311
|
+
"""Returns the model properties as a dict"""
|
|
312
|
+
result = {}
|
|
313
|
+
|
|
314
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
315
|
+
value = getattr(self, attr)
|
|
316
|
+
if isinstance(value, list):
|
|
317
|
+
result[attr] = list(map(
|
|
318
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
319
|
+
value
|
|
320
|
+
))
|
|
321
|
+
elif hasattr(value, "to_dict"):
|
|
322
|
+
result[attr] = value.to_dict()
|
|
323
|
+
elif isinstance(value, dict):
|
|
324
|
+
result[attr] = dict(map(
|
|
325
|
+
lambda item: (item[0], item[1].to_dict())
|
|
326
|
+
if hasattr(item[1], "to_dict") else item,
|
|
327
|
+
value.items()
|
|
328
|
+
))
|
|
329
|
+
else:
|
|
330
|
+
result[attr] = value
|
|
331
|
+
if issubclass(DescribeCenAttributesResponse, dict):
|
|
332
|
+
for key, value in self.items():
|
|
333
|
+
result[key] = value
|
|
334
|
+
|
|
335
|
+
return result
|
|
336
|
+
|
|
337
|
+
def to_str(self):
|
|
338
|
+
"""Returns the string representation of the model"""
|
|
339
|
+
return pprint.pformat(self.to_dict())
|
|
340
|
+
|
|
341
|
+
def __repr__(self):
|
|
342
|
+
"""For `print` and `pprint`"""
|
|
343
|
+
return self.to_str()
|
|
344
|
+
|
|
345
|
+
def __eq__(self, other):
|
|
346
|
+
"""Returns true if both objects are equal"""
|
|
347
|
+
if not isinstance(other, DescribeCenAttributesResponse):
|
|
348
|
+
return False
|
|
349
|
+
|
|
350
|
+
return self.to_dict() == other.to_dict()
|
|
351
|
+
|
|
352
|
+
def __ne__(self, other):
|
|
353
|
+
"""Returns true if both objects are not equal"""
|
|
354
|
+
if not isinstance(other, DescribeCenAttributesResponse):
|
|
355
|
+
return True
|
|
356
|
+
|
|
357
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,124 @@
|
|
|
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 DescribeCenBandwidthPackageAttributesRequest(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_bandwidth_package_id': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'cen_bandwidth_package_id': 'CenBandwidthPackageId'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, cen_bandwidth_package_id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""DescribeCenBandwidthPackageAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._cen_bandwidth_package_id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
self.cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def cen_bandwidth_package_id(self):
|
|
56
|
+
"""Gets the cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:return: The cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
60
|
+
:rtype: str
|
|
61
|
+
"""
|
|
62
|
+
return self._cen_bandwidth_package_id
|
|
63
|
+
|
|
64
|
+
@cen_bandwidth_package_id.setter
|
|
65
|
+
def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
|
|
66
|
+
"""Sets the cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesRequest.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:param cen_bandwidth_package_id: The cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
70
|
+
:type: str
|
|
71
|
+
"""
|
|
72
|
+
if self._configuration.client_side_validation and cen_bandwidth_package_id is None:
|
|
73
|
+
raise ValueError("Invalid value for `cen_bandwidth_package_id`, must not be `None`") # noqa: E501
|
|
74
|
+
|
|
75
|
+
self._cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
76
|
+
|
|
77
|
+
def to_dict(self):
|
|
78
|
+
"""Returns the model properties as a dict"""
|
|
79
|
+
result = {}
|
|
80
|
+
|
|
81
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
82
|
+
value = getattr(self, attr)
|
|
83
|
+
if isinstance(value, list):
|
|
84
|
+
result[attr] = list(map(
|
|
85
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
+
value
|
|
87
|
+
))
|
|
88
|
+
elif hasattr(value, "to_dict"):
|
|
89
|
+
result[attr] = value.to_dict()
|
|
90
|
+
elif isinstance(value, dict):
|
|
91
|
+
result[attr] = dict(map(
|
|
92
|
+
lambda item: (item[0], item[1].to_dict())
|
|
93
|
+
if hasattr(item[1], "to_dict") else item,
|
|
94
|
+
value.items()
|
|
95
|
+
))
|
|
96
|
+
else:
|
|
97
|
+
result[attr] = value
|
|
98
|
+
if issubclass(DescribeCenBandwidthPackageAttributesRequest, dict):
|
|
99
|
+
for key, value in self.items():
|
|
100
|
+
result[key] = value
|
|
101
|
+
|
|
102
|
+
return result
|
|
103
|
+
|
|
104
|
+
def to_str(self):
|
|
105
|
+
"""Returns the string representation of the model"""
|
|
106
|
+
return pprint.pformat(self.to_dict())
|
|
107
|
+
|
|
108
|
+
def __repr__(self):
|
|
109
|
+
"""For `print` and `pprint`"""
|
|
110
|
+
return self.to_str()
|
|
111
|
+
|
|
112
|
+
def __eq__(self, other):
|
|
113
|
+
"""Returns true if both objects are equal"""
|
|
114
|
+
if not isinstance(other, DescribeCenBandwidthPackageAttributesRequest):
|
|
115
|
+
return False
|
|
116
|
+
|
|
117
|
+
return self.to_dict() == other.to_dict()
|
|
118
|
+
|
|
119
|
+
def __ne__(self, other):
|
|
120
|
+
"""Returns true if both objects are not equal"""
|
|
121
|
+
if not isinstance(other, DescribeCenBandwidthPackageAttributesRequest):
|
|
122
|
+
return True
|
|
123
|
+
|
|
124
|
+
return self.to_dict() != other.to_dict()
|