byteplus-python-sdk-v2 3.0.52__py2.py3-none-any.whl → 3.0.54__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.54.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/RECORD +213 -61
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/WHEEL +1 -1
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/top_level.txt +2 -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
- byteplussdkclawsentry/__init__.py +24 -0
- byteplussdkclawsentry/api/__init__.py +6 -0
- byteplussdkclawsentry/api/clawsentry_api.py +131 -0
- byteplussdkclawsentry/models/__init__.py +20 -0
- byteplussdkclawsentry/models/base_for_create_claw_input.py +126 -0
- byteplussdkclawsentry/models/create_claw_request.py +251 -0
- byteplussdkclawsentry/models/create_claw_response.py +279 -0
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/endpoint/providers/default_provider.py +21 -0
- byteplussdkcore/endpoint/providers/standard_provider.py +1 -0
- byteplussdkcpaas/__init__.py +4 -0
- byteplussdkcpaas/models/__init__.py +4 -0
- byteplussdkcpaas/models/create_template_v2_request.py +27 -1
- byteplussdkcpaas/models/data_for_get_template_v2_output.py +79 -1
- byteplussdkcpaas/models/element_style_for_create_template_v2_input.py +497 -3
- byteplussdkcpaas/models/element_style_for_get_template_v2_output.py +497 -3
- byteplussdkcpaas/models/extend_attrs_for_create_template_v2_input.py +79 -1
- byteplussdkcpaas/models/extend_attrs_for_get_template_v2_output.py +79 -1
- byteplussdkcpaas/models/item_for_create_template_v2_input.py +149 -0
- byteplussdkcpaas/models/item_for_get_template_v2_output.py +149 -0
- byteplussdkcpaas/models/page_dto_list_for_create_template_v2_input.py +29 -3
- byteplussdkcpaas/models/page_dto_list_for_get_template_v2_output.py +29 -3
- byteplussdkcpaas/models/page_element_dto_list_for_create_template_v2_input.py +29 -3
- byteplussdkcpaas/models/page_element_dto_list_for_get_template_v2_output.py +29 -3
- byteplussdkcpaas/models/template_button_list_for_create_template_v2_input.py +227 -0
- byteplussdkcpaas/models/template_button_list_for_get_template_v2_output.py +227 -0
- byteplussdkcpaas/models/template_list_for_create_template_v2_input.py +235 -1
- byteplussdkcpaas/models/template_list_for_get_template_v2_output.py +235 -1
- byteplussdkcpaas/models/template_status_for_list_template_v2_output.py +79 -1
- byteplussdkcpaas/models/variables_dto_list_for_create_template_v2_input.py +27 -1
- byteplussdkcpaas/models/variables_dto_list_for_get_template_v2_output.py +27 -1
- 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.54.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.54.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
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 AttachInstanceToCenResponse(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
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""AttachInstanceToCenResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(AttachInstanceToCenResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, AttachInstanceToCenResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, AttachInstanceToCenResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,279 @@
|
|
|
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 AttachedInstanceForDescribeCenAttachedInstancesOutput(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
|
+
'creation_time': 'str',
|
|
38
|
+
'instance_id': 'str',
|
|
39
|
+
'instance_owner_id': 'str',
|
|
40
|
+
'instance_region_id': 'str',
|
|
41
|
+
'instance_type': 'str',
|
|
42
|
+
'status': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'cen_id': 'CenId',
|
|
47
|
+
'creation_time': 'CreationTime',
|
|
48
|
+
'instance_id': 'InstanceId',
|
|
49
|
+
'instance_owner_id': 'InstanceOwnerId',
|
|
50
|
+
'instance_region_id': 'InstanceRegionId',
|
|
51
|
+
'instance_type': 'InstanceType',
|
|
52
|
+
'status': 'Status'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, cen_id=None, creation_time=None, instance_id=None, instance_owner_id=None, instance_region_id=None, instance_type=None, status=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""AttachedInstanceForDescribeCenAttachedInstancesOutput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._cen_id = None
|
|
62
|
+
self._creation_time = None
|
|
63
|
+
self._instance_id = None
|
|
64
|
+
self._instance_owner_id = None
|
|
65
|
+
self._instance_region_id = None
|
|
66
|
+
self._instance_type = None
|
|
67
|
+
self._status = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if cen_id is not None:
|
|
71
|
+
self.cen_id = cen_id
|
|
72
|
+
if creation_time is not None:
|
|
73
|
+
self.creation_time = creation_time
|
|
74
|
+
if instance_id is not None:
|
|
75
|
+
self.instance_id = instance_id
|
|
76
|
+
if instance_owner_id is not None:
|
|
77
|
+
self.instance_owner_id = instance_owner_id
|
|
78
|
+
if instance_region_id is not None:
|
|
79
|
+
self.instance_region_id = instance_region_id
|
|
80
|
+
if instance_type is not None:
|
|
81
|
+
self.instance_type = instance_type
|
|
82
|
+
if status is not None:
|
|
83
|
+
self.status = status
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def cen_id(self):
|
|
87
|
+
"""Gets the cen_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The cen_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._cen_id
|
|
94
|
+
|
|
95
|
+
@cen_id.setter
|
|
96
|
+
def cen_id(self, cen_id):
|
|
97
|
+
"""Sets the cen_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param cen_id: The cen_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._cen_id = cen_id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def creation_time(self):
|
|
108
|
+
"""Gets the creation_time of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The creation_time of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._creation_time
|
|
115
|
+
|
|
116
|
+
@creation_time.setter
|
|
117
|
+
def creation_time(self, creation_time):
|
|
118
|
+
"""Sets the creation_time of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param creation_time: The creation_time of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
122
|
+
:type: str
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._creation_time = creation_time
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def instance_id(self):
|
|
129
|
+
"""Gets the instance_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The instance_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._instance_id
|
|
136
|
+
|
|
137
|
+
@instance_id.setter
|
|
138
|
+
def instance_id(self, instance_id):
|
|
139
|
+
"""Sets the instance_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param instance_id: The instance_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._instance_id = instance_id
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def instance_owner_id(self):
|
|
150
|
+
"""Gets the instance_owner_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The instance_owner_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
156
|
+
return self._instance_owner_id
|
|
157
|
+
|
|
158
|
+
@instance_owner_id.setter
|
|
159
|
+
def instance_owner_id(self, instance_owner_id):
|
|
160
|
+
"""Sets the instance_owner_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param instance_owner_id: The instance_owner_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
164
|
+
:type: str
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._instance_owner_id = instance_owner_id
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def instance_region_id(self):
|
|
171
|
+
"""Gets the instance_region_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The instance_region_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._instance_region_id
|
|
178
|
+
|
|
179
|
+
@instance_region_id.setter
|
|
180
|
+
def instance_region_id(self, instance_region_id):
|
|
181
|
+
"""Sets the instance_region_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param instance_region_id: The instance_region_id of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
185
|
+
:type: str
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._instance_region_id = instance_region_id
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def instance_type(self):
|
|
192
|
+
"""Gets the instance_type of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The instance_type of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._instance_type
|
|
199
|
+
|
|
200
|
+
@instance_type.setter
|
|
201
|
+
def instance_type(self, instance_type):
|
|
202
|
+
"""Sets the instance_type of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param instance_type: The instance_type of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
206
|
+
:type: str
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._instance_type = instance_type
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def status(self):
|
|
213
|
+
"""Gets the status of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The status of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._status
|
|
220
|
+
|
|
221
|
+
@status.setter
|
|
222
|
+
def status(self, status):
|
|
223
|
+
"""Sets the status of this AttachedInstanceForDescribeCenAttachedInstancesOutput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param status: The status of this AttachedInstanceForDescribeCenAttachedInstancesOutput. # noqa: E501
|
|
227
|
+
:type: str
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._status = status
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(AttachedInstanceForDescribeCenAttachedInstancesOutput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, AttachedInstanceForDescribeCenAttachedInstancesOutput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, AttachedInstanceForDescribeCenAttachedInstancesOutput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|
byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
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 CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput(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
|
+
'billing_status': 'int',
|
|
37
|
+
'billing_type': 'int',
|
|
38
|
+
'cen_bandwidth_package_id': 'str',
|
|
39
|
+
'expired_time': 'str',
|
|
40
|
+
'reclaim_time': 'str',
|
|
41
|
+
'remain_renew_times': 'int',
|
|
42
|
+
'renew_type': 'str'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'billing_status': 'BillingStatus',
|
|
47
|
+
'billing_type': 'BillingType',
|
|
48
|
+
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
|
|
49
|
+
'expired_time': 'ExpiredTime',
|
|
50
|
+
'reclaim_time': 'ReclaimTime',
|
|
51
|
+
'remain_renew_times': 'RemainRenewTimes',
|
|
52
|
+
'renew_type': 'RenewType'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, billing_status=None, billing_type=None, cen_bandwidth_package_id=None, expired_time=None, reclaim_time=None, remain_renew_times=None, renew_type=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._billing_status = None
|
|
62
|
+
self._billing_type = None
|
|
63
|
+
self._cen_bandwidth_package_id = None
|
|
64
|
+
self._expired_time = None
|
|
65
|
+
self._reclaim_time = None
|
|
66
|
+
self._remain_renew_times = None
|
|
67
|
+
self._renew_type = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if billing_status is not None:
|
|
71
|
+
self.billing_status = billing_status
|
|
72
|
+
if billing_type is not None:
|
|
73
|
+
self.billing_type = billing_type
|
|
74
|
+
if cen_bandwidth_package_id is not None:
|
|
75
|
+
self.cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
76
|
+
if expired_time is not None:
|
|
77
|
+
self.expired_time = expired_time
|
|
78
|
+
if reclaim_time is not None:
|
|
79
|
+
self.reclaim_time = reclaim_time
|
|
80
|
+
if remain_renew_times is not None:
|
|
81
|
+
self.remain_renew_times = remain_renew_times
|
|
82
|
+
if renew_type is not None:
|
|
83
|
+
self.renew_type = renew_type
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def billing_status(self):
|
|
87
|
+
"""Gets the billing_status of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The billing_status of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
91
|
+
:rtype: int
|
|
92
|
+
"""
|
|
93
|
+
return self._billing_status
|
|
94
|
+
|
|
95
|
+
@billing_status.setter
|
|
96
|
+
def billing_status(self, billing_status):
|
|
97
|
+
"""Sets the billing_status of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param billing_status: The billing_status of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
101
|
+
:type: int
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._billing_status = billing_status
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def billing_type(self):
|
|
108
|
+
"""Gets the billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
112
|
+
:rtype: int
|
|
113
|
+
"""
|
|
114
|
+
return self._billing_type
|
|
115
|
+
|
|
116
|
+
@billing_type.setter
|
|
117
|
+
def billing_type(self, billing_type):
|
|
118
|
+
"""Sets the billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param billing_type: The billing_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
122
|
+
:type: int
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._billing_type = billing_type
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def cen_bandwidth_package_id(self):
|
|
129
|
+
"""Gets the cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._cen_bandwidth_package_id
|
|
136
|
+
|
|
137
|
+
@cen_bandwidth_package_id.setter
|
|
138
|
+
def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
|
|
139
|
+
"""Sets the cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param cen_bandwidth_package_id: The cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def expired_time(self):
|
|
150
|
+
"""Gets the expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
156
|
+
return self._expired_time
|
|
157
|
+
|
|
158
|
+
@expired_time.setter
|
|
159
|
+
def expired_time(self, expired_time):
|
|
160
|
+
"""Sets the expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param expired_time: The expired_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
164
|
+
:type: str
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._expired_time = expired_time
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def reclaim_time(self):
|
|
171
|
+
"""Gets the reclaim_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The reclaim_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._reclaim_time
|
|
178
|
+
|
|
179
|
+
@reclaim_time.setter
|
|
180
|
+
def reclaim_time(self, reclaim_time):
|
|
181
|
+
"""Sets the reclaim_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param reclaim_time: The reclaim_time of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
185
|
+
:type: str
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._reclaim_time = reclaim_time
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def remain_renew_times(self):
|
|
192
|
+
"""Gets the remain_renew_times of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The remain_renew_times of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
196
|
+
:rtype: int
|
|
197
|
+
"""
|
|
198
|
+
return self._remain_renew_times
|
|
199
|
+
|
|
200
|
+
@remain_renew_times.setter
|
|
201
|
+
def remain_renew_times(self, remain_renew_times):
|
|
202
|
+
"""Sets the remain_renew_times of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param remain_renew_times: The remain_renew_times of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
206
|
+
:type: int
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._remain_renew_times = remain_renew_times
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def renew_type(self):
|
|
213
|
+
"""Gets the renew_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The renew_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
219
|
+
return self._renew_type
|
|
220
|
+
|
|
221
|
+
@renew_type.setter
|
|
222
|
+
def renew_type(self, renew_type):
|
|
223
|
+
"""Sets the renew_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param renew_type: The renew_type of this CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput. # noqa: E501
|
|
227
|
+
:type: str
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._renew_type = renew_type
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, CenBandwidthPackageForDescribeCenBandwidthPackagesBillingOutput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|