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