byteplus-python-sdk-v2 3.0.51__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.
Files changed (185) hide show
  1. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/RECORD +185 -44
  3. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/WHEEL +1 -1
  4. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/top_level.txt +1 -0
  5. byteplussdkarkruntime/resources/content_generation/tasks.py +4 -0
  6. byteplussdkarkruntime/types/content_generation/content_generation_task.py +3 -0
  7. byteplussdkarkruntime/types/content_generation/create_task_content_param.py +31 -1
  8. byteplussdkcen/__init__.py +133 -0
  9. byteplussdkcen/api/__init__.py +6 -0
  10. byteplussdkcen/api/cen_api.py +4205 -0
  11. byteplussdkcen/models/__init__.py +129 -0
  12. byteplussdkcen/models/associate_cen_bandwidth_package_request.py +151 -0
  13. byteplussdkcen/models/associate_cen_bandwidth_package_response.py +95 -0
  14. byteplussdkcen/models/attach_instance_to_cen_request.py +231 -0
  15. byteplussdkcen/models/attach_instance_to_cen_response.py +95 -0
  16. byteplussdkcen/models/attached_instance_for_describe_cen_attached_instances_output.py +279 -0
  17. byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
  18. byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +617 -0
  19. byteplussdkcen/models/cen_for_describe_cens_output.py +357 -0
  20. byteplussdkcen/models/cen_grant_rule_for_describe_grant_rules_to_cen_output.py +253 -0
  21. byteplussdkcen/models/cen_grant_rule_for_describe_instance_granted_rules_output.py +253 -0
  22. byteplussdkcen/models/cen_route_entry_for_describe_cen_route_entries_output.py +331 -0
  23. byteplussdkcen/models/cen_summary_route_entry_for_describe_cen_summary_route_entries_output.py +253 -0
  24. byteplussdkcen/models/create_cen_bandwidth_package_request.py +462 -0
  25. byteplussdkcen/models/create_cen_bandwidth_package_response.py +123 -0
  26. byteplussdkcen/models/create_cen_inter_region_bandwidth_request.py +231 -0
  27. byteplussdkcen/models/create_cen_inter_region_bandwidth_response.py +123 -0
  28. byteplussdkcen/models/create_cen_request.py +230 -0
  29. byteplussdkcen/models/create_cen_response.py +123 -0
  30. byteplussdkcen/models/create_cen_service_route_entry_request.py +283 -0
  31. byteplussdkcen/models/create_cen_service_route_entry_response.py +95 -0
  32. byteplussdkcen/models/create_cen_summary_route_entry_request.py +177 -0
  33. byteplussdkcen/models/create_cen_summary_route_entry_response.py +95 -0
  34. byteplussdkcen/models/delete_cen_bandwidth_package_request.py +124 -0
  35. byteplussdkcen/models/delete_cen_bandwidth_package_response.py +95 -0
  36. byteplussdkcen/models/delete_cen_inter_region_bandwidth_request.py +124 -0
  37. byteplussdkcen/models/delete_cen_inter_region_bandwidth_response.py +95 -0
  38. byteplussdkcen/models/delete_cen_request.py +124 -0
  39. byteplussdkcen/models/delete_cen_response.py +95 -0
  40. byteplussdkcen/models/delete_cen_service_route_entry_request.py +178 -0
  41. byteplussdkcen/models/delete_cen_service_route_entry_response.py +95 -0
  42. byteplussdkcen/models/delete_cen_summary_route_entry_request.py +151 -0
  43. byteplussdkcen/models/delete_cen_summary_route_entry_response.py +95 -0
  44. byteplussdkcen/models/describe95_traffic_request.py +178 -0
  45. byteplussdkcen/models/describe95_traffic_response.py +123 -0
  46. byteplussdkcen/models/describe_cen_attached_instance_attributes_request.py +205 -0
  47. byteplussdkcen/models/describe_cen_attached_instance_attributes_response.py +279 -0
  48. byteplussdkcen/models/describe_cen_attached_instances_request.py +253 -0
  49. byteplussdkcen/models/describe_cen_attached_instances_response.py +201 -0
  50. byteplussdkcen/models/describe_cen_attributes_request.py +124 -0
  51. byteplussdkcen/models/describe_cen_attributes_response.py +357 -0
  52. byteplussdkcen/models/describe_cen_bandwidth_package_attributes_request.py +124 -0
  53. byteplussdkcen/models/describe_cen_bandwidth_package_attributes_response.py +591 -0
  54. byteplussdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
  55. byteplussdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
  56. byteplussdkcen/models/describe_cen_bandwidth_packages_request.py +331 -0
  57. byteplussdkcen/models/describe_cen_bandwidth_packages_response.py +201 -0
  58. byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_request.py +124 -0
  59. byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +331 -0
  60. byteplussdkcen/models/describe_cen_inter_region_bandwidths_request.py +201 -0
  61. byteplussdkcen/models/describe_cen_inter_region_bandwidths_response.py +201 -0
  62. byteplussdkcen/models/describe_cen_route_entries_request.py +279 -0
  63. byteplussdkcen/models/describe_cen_route_entries_response.py +201 -0
  64. byteplussdkcen/models/describe_cen_service_route_entries_request.py +279 -0
  65. byteplussdkcen/models/describe_cen_service_route_entries_response.py +201 -0
  66. byteplussdkcen/models/describe_cen_summary_route_entries_request.py +202 -0
  67. byteplussdkcen/models/describe_cen_summary_route_entries_response.py +201 -0
  68. byteplussdkcen/models/describe_cens_request.py +253 -0
  69. byteplussdkcen/models/describe_cens_response.py +201 -0
  70. byteplussdkcen/models/describe_grant_rules_to_cen_request.py +260 -0
  71. byteplussdkcen/models/describe_grant_rules_to_cen_response.py +201 -0
  72. byteplussdkcen/models/describe_instance_granted_rules_request.py +234 -0
  73. byteplussdkcen/models/describe_instance_granted_rules_response.py +201 -0
  74. byteplussdkcen/models/detach_instance_from_cen_request.py +205 -0
  75. byteplussdkcen/models/detach_instance_from_cen_response.py +95 -0
  76. byteplussdkcen/models/disassociate_cen_bandwidth_package_request.py +151 -0
  77. byteplussdkcen/models/disassociate_cen_bandwidth_package_response.py +95 -0
  78. byteplussdkcen/models/grant_instance_to_cen_request.py +239 -0
  79. byteplussdkcen/models/grant_instance_to_cen_response.py +95 -0
  80. byteplussdkcen/models/inter_region_bandwidth_for_describe_cen_inter_region_bandwidths_output.py +331 -0
  81. byteplussdkcen/models/list_tags_for_resources_request.py +264 -0
  82. byteplussdkcen/models/list_tags_for_resources_response.py +149 -0
  83. byteplussdkcen/models/modify_cen_attributes_request.py +176 -0
  84. byteplussdkcen/models/modify_cen_attributes_response.py +95 -0
  85. byteplussdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
  86. byteplussdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
  87. byteplussdkcen/models/modify_cen_bandwidth_package_attributes_request.py +214 -0
  88. byteplussdkcen/models/modify_cen_bandwidth_package_attributes_response.py +95 -0
  89. byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +176 -0
  90. byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +95 -0
  91. byteplussdkcen/models/modify_cen_service_route_entry_attributes_request.py +256 -0
  92. byteplussdkcen/models/modify_cen_service_route_entry_attributes_response.py +95 -0
  93. byteplussdkcen/models/publish_cen_route_entry_request.py +232 -0
  94. byteplussdkcen/models/publish_cen_route_entry_response.py +95 -0
  95. byteplussdkcen/models/publish_to_instance_for_create_cen_service_route_entry_input.py +175 -0
  96. byteplussdkcen/models/publish_to_instance_for_describe_cen_service_route_entries_output.py +175 -0
  97. byteplussdkcen/models/publish_to_instance_for_modify_cen_service_route_entry_attributes_input.py +175 -0
  98. byteplussdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
  99. byteplussdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
  100. byteplussdkcen/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  101. byteplussdkcen/models/revoke_instance_from_cen_request.py +239 -0
  102. byteplussdkcen/models/revoke_instance_from_cen_response.py +95 -0
  103. byteplussdkcen/models/service_route_entry_for_describe_cen_service_route_entries_output.py +331 -0
  104. byteplussdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
  105. byteplussdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
  106. byteplussdkcen/models/tag_filter_for_describe_cen_bandwidth_packages_input.py +149 -0
  107. byteplussdkcen/models/tag_filter_for_describe_cens_input.py +149 -0
  108. byteplussdkcen/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  109. byteplussdkcen/models/tag_for_create_cen_bandwidth_package_input.py +149 -0
  110. byteplussdkcen/models/tag_for_create_cen_input.py +149 -0
  111. byteplussdkcen/models/tag_for_describe_cen_attributes_output.py +149 -0
  112. byteplussdkcen/models/tag_for_describe_cen_bandwidth_package_attributes_output.py +149 -0
  113. byteplussdkcen/models/tag_for_describe_cen_bandwidth_packages_output.py +149 -0
  114. byteplussdkcen/models/tag_for_describe_cens_output.py +149 -0
  115. byteplussdkcen/models/tag_for_tag_resources_input.py +150 -0
  116. byteplussdkcen/models/tag_resources_request.py +183 -0
  117. byteplussdkcen/models/tag_resources_response.py +95 -0
  118. byteplussdkcen/models/traffic_data_for_describe95_traffic_output.py +201 -0
  119. byteplussdkcen/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
  120. byteplussdkcen/models/untag_resources_request.py +183 -0
  121. byteplussdkcen/models/untag_resources_response.py +95 -0
  122. byteplussdkcen/models/withdraw_cen_route_entry_request.py +232 -0
  123. byteplussdkcen/models/withdraw_cen_route_entry_response.py +95 -0
  124. byteplussdkcore/api_client.py +1 -1
  125. byteplussdkcore/configuration.py +1 -1
  126. byteplussdkcore/endpoint/providers/default_provider.py +14 -0
  127. byteplussdkexamples/byteplussdkarkruntime/content_generation_tasks.py +8 -0
  128. byteplussdktransitrouter/__init__.py +24 -1
  129. byteplussdktransitrouter/api/transitrouter_api.py +983 -13
  130. byteplussdktransitrouter/models/__init__.py +24 -1
  131. byteplussdktransitrouter/models/accept_shared_transit_router_request.py +124 -0
  132. byteplussdktransitrouter/models/accept_shared_transit_router_response.py +95 -0
  133. byteplussdktransitrouter/models/accept_transit_router_peer_attachment_request.py +124 -0
  134. byteplussdktransitrouter/models/accept_transit_router_peer_attachment_response.py +95 -0
  135. byteplussdktransitrouter/models/create_transit_router_grant_rule_request.py +177 -0
  136. byteplussdktransitrouter/models/create_transit_router_grant_rule_response.py +95 -0
  137. byteplussdktransitrouter/models/create_transit_router_peer_attachment_request.py +79 -1
  138. byteplussdktransitrouter/models/create_transit_router_route_entry_request.py +29 -4
  139. byteplussdktransitrouter/models/create_transit_router_route_policy_entry_request.py +33 -1
  140. byteplussdktransitrouter/models/create_transit_router_traffic_qos_queue_entry_request.py +39 -4
  141. byteplussdktransitrouter/models/create_transit_router_vpn_attachment_request.py +27 -1
  142. byteplussdktransitrouter/models/delete_transit_router_grant_rule_request.py +151 -0
  143. byteplussdktransitrouter/models/delete_transit_router_grant_rule_response.py +95 -0
  144. byteplussdktransitrouter/models/describe95_traffic_request.py +185 -0
  145. byteplussdktransitrouter/models/describe95_traffic_response.py +123 -0
  146. byteplussdktransitrouter/models/describe_transit_router_attachments_request.py +3 -0
  147. byteplussdktransitrouter/models/describe_transit_router_grant_rules_request.py +202 -0
  148. byteplussdktransitrouter/models/describe_transit_router_grant_rules_response.py +201 -0
  149. byteplussdktransitrouter/models/describe_transit_router_multicast_domains_response.py +3 -3
  150. byteplussdktransitrouter/models/describe_transit_router_route_entries_request.py +3 -0
  151. byteplussdktransitrouter/models/describe_transit_router_route_policy_entries_request.py +3 -0
  152. byteplussdktransitrouter/models/describe_transit_router_traffic_qos_queue_entries_request.py +3 -0
  153. byteplussdktransitrouter/models/describe_transit_router_vpn_attachments_request.py +3 -0
  154. byteplussdktransitrouter/models/describe_transit_routers_request.py +3 -0
  155. byteplussdktransitrouter/models/enable_transit_router_route_table_propagation_request.py +27 -1
  156. byteplussdktransitrouter/models/models.py +1522 -1447
  157. byteplussdktransitrouter/models/modify_transit_router_attributes_request.py +34 -1
  158. byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py +177 -0
  159. byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py +95 -0
  160. byteplussdktransitrouter/models/modify_transit_router_peer_attachment_attributes_request.py +53 -1
  161. byteplussdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +33 -1
  162. byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_request.py +208 -0
  163. byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_response.py +95 -0
  164. byteplussdktransitrouter/models/reject_shared_transit_router_request.py +124 -0
  165. byteplussdktransitrouter/models/reject_shared_transit_router_response.py +95 -0
  166. byteplussdktransitrouter/models/reject_transit_router_peer_attachment_request.py +124 -0
  167. byteplussdktransitrouter/models/reject_transit_router_peer_attachment_response.py +95 -0
  168. byteplussdktransitrouter/models/traffic_data_for_describe95_traffic_output.py +201 -0
  169. byteplussdktransitrouter/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
  170. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_attachments_output.py +27 -1
  171. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +105 -1
  172. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
  173. byteplussdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
  174. byteplussdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +253 -0
  175. 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
  176. byteplussdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
  177. byteplussdkvke/__init__.py +2 -0
  178. byteplussdkvke/api/vke_api.py +97 -0
  179. byteplussdkvke/models/__init__.py +2 -0
  180. byteplussdkvke/models/item_for_list_scaling_policies_output.py +27 -1
  181. byteplussdkvke/models/scale_node_pool_request.py +204 -0
  182. byteplussdkvke/models/scale_node_pool_response.py +95 -0
  183. byteplussdkvs/models/create_voice_task_request.py +3 -3
  184. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/LICENSE.txt +0 -0
  185. {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/NOTICE.md +0 -0
@@ -35,16 +35,20 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
35
35
  swagger_types = {
36
36
  'auto_publish_route_enabled': 'bool',
37
37
  'bandwidth': 'int',
38
+ 'bandwidth_type': 'str',
38
39
  'creation_time': 'str',
39
40
  'description': 'str',
40
41
  'ipv6_enabled': 'bool',
42
+ 'line_operator': 'str',
41
43
  'peer_transit_router_id': 'str',
44
+ 'peer_transit_router_owner_id': 'str',
42
45
  'peer_transit_router_region_id': 'str',
43
46
  'status': 'str',
44
47
  'tags': 'list[TagForDescribeTransitRouterPeerAttachmentsOutput]',
45
48
  'transit_router_attachment_id': 'str',
46
49
  'transit_router_attachment_name': 'str',
47
50
  'transit_router_bandwidth_package_id': 'str',
51
+ 'transit_router_bandwidth_package_owner_id': 'str',
48
52
  'transit_router_forward_policy_table_id': 'str',
49
53
  'transit_router_id': 'str',
50
54
  'transit_router_route_table_id': 'str',
@@ -56,16 +60,20 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
56
60
  attribute_map = {
57
61
  'auto_publish_route_enabled': 'AutoPublishRouteEnabled',
58
62
  'bandwidth': 'Bandwidth',
63
+ 'bandwidth_type': 'BandwidthType',
59
64
  'creation_time': 'CreationTime',
60
65
  'description': 'Description',
61
66
  'ipv6_enabled': 'Ipv6Enabled',
67
+ 'line_operator': 'LineOperator',
62
68
  'peer_transit_router_id': 'PeerTransitRouterId',
69
+ 'peer_transit_router_owner_id': 'PeerTransitRouterOwnerId',
63
70
  'peer_transit_router_region_id': 'PeerTransitRouterRegionId',
64
71
  'status': 'Status',
65
72
  'tags': 'Tags',
66
73
  'transit_router_attachment_id': 'TransitRouterAttachmentId',
67
74
  'transit_router_attachment_name': 'TransitRouterAttachmentName',
68
75
  'transit_router_bandwidth_package_id': 'TransitRouterBandwidthPackageId',
76
+ 'transit_router_bandwidth_package_owner_id': 'TransitRouterBandwidthPackageOwnerId',
69
77
  'transit_router_forward_policy_table_id': 'TransitRouterForwardPolicyTableId',
70
78
  'transit_router_id': 'TransitRouterId',
71
79
  'transit_router_route_table_id': 'TransitRouterRouteTableId',
@@ -74,7 +82,7 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
74
82
  'update_time': 'UpdateTime'
75
83
  }
76
84
 
77
- def __init__(self, auto_publish_route_enabled=None, bandwidth=None, creation_time=None, description=None, ipv6_enabled=None, peer_transit_router_id=None, peer_transit_router_region_id=None, status=None, tags=None, transit_router_attachment_id=None, transit_router_attachment_name=None, transit_router_bandwidth_package_id=None, transit_router_forward_policy_table_id=None, transit_router_id=None, transit_router_route_table_id=None, transit_router_traffic_qos_marking_policy_id=None, transit_router_traffic_qos_queue_policy_id=None, update_time=None, _configuration=None): # noqa: E501
85
+ def __init__(self, auto_publish_route_enabled=None, bandwidth=None, bandwidth_type=None, creation_time=None, description=None, ipv6_enabled=None, line_operator=None, peer_transit_router_id=None, peer_transit_router_owner_id=None, peer_transit_router_region_id=None, status=None, tags=None, transit_router_attachment_id=None, transit_router_attachment_name=None, transit_router_bandwidth_package_id=None, transit_router_bandwidth_package_owner_id=None, transit_router_forward_policy_table_id=None, transit_router_id=None, transit_router_route_table_id=None, transit_router_traffic_qos_marking_policy_id=None, transit_router_traffic_qos_queue_policy_id=None, update_time=None, _configuration=None): # noqa: E501
78
86
  """TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput - a model defined in Swagger""" # noqa: E501
79
87
  if _configuration is None:
80
88
  _configuration = Configuration()
@@ -82,16 +90,20 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
82
90
 
83
91
  self._auto_publish_route_enabled = None
84
92
  self._bandwidth = None
93
+ self._bandwidth_type = None
85
94
  self._creation_time = None
86
95
  self._description = None
87
96
  self._ipv6_enabled = None
97
+ self._line_operator = None
88
98
  self._peer_transit_router_id = None
99
+ self._peer_transit_router_owner_id = None
89
100
  self._peer_transit_router_region_id = None
90
101
  self._status = None
91
102
  self._tags = None
92
103
  self._transit_router_attachment_id = None
93
104
  self._transit_router_attachment_name = None
94
105
  self._transit_router_bandwidth_package_id = None
106
+ self._transit_router_bandwidth_package_owner_id = None
95
107
  self._transit_router_forward_policy_table_id = None
96
108
  self._transit_router_id = None
97
109
  self._transit_router_route_table_id = None
@@ -104,14 +116,20 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
104
116
  self.auto_publish_route_enabled = auto_publish_route_enabled
105
117
  if bandwidth is not None:
106
118
  self.bandwidth = bandwidth
119
+ if bandwidth_type is not None:
120
+ self.bandwidth_type = bandwidth_type
107
121
  if creation_time is not None:
108
122
  self.creation_time = creation_time
109
123
  if description is not None:
110
124
  self.description = description
111
125
  if ipv6_enabled is not None:
112
126
  self.ipv6_enabled = ipv6_enabled
127
+ if line_operator is not None:
128
+ self.line_operator = line_operator
113
129
  if peer_transit_router_id is not None:
114
130
  self.peer_transit_router_id = peer_transit_router_id
131
+ if peer_transit_router_owner_id is not None:
132
+ self.peer_transit_router_owner_id = peer_transit_router_owner_id
115
133
  if peer_transit_router_region_id is not None:
116
134
  self.peer_transit_router_region_id = peer_transit_router_region_id
117
135
  if status is not None:
@@ -124,6 +142,8 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
124
142
  self.transit_router_attachment_name = transit_router_attachment_name
125
143
  if transit_router_bandwidth_package_id is not None:
126
144
  self.transit_router_bandwidth_package_id = transit_router_bandwidth_package_id
145
+ if transit_router_bandwidth_package_owner_id is not None:
146
+ self.transit_router_bandwidth_package_owner_id = transit_router_bandwidth_package_owner_id
127
147
  if transit_router_forward_policy_table_id is not None:
128
148
  self.transit_router_forward_policy_table_id = transit_router_forward_policy_table_id
129
149
  if transit_router_id is not None:
@@ -179,6 +199,27 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
179
199
 
180
200
  self._bandwidth = bandwidth
181
201
 
202
+ @property
203
+ def bandwidth_type(self):
204
+ """Gets the bandwidth_type of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
205
+
206
+
207
+ :return: The bandwidth_type of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
208
+ :rtype: str
209
+ """
210
+ return self._bandwidth_type
211
+
212
+ @bandwidth_type.setter
213
+ def bandwidth_type(self, bandwidth_type):
214
+ """Sets the bandwidth_type of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput.
215
+
216
+
217
+ :param bandwidth_type: The bandwidth_type of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
218
+ :type: str
219
+ """
220
+
221
+ self._bandwidth_type = bandwidth_type
222
+
182
223
  @property
183
224
  def creation_time(self):
184
225
  """Gets the creation_time of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
@@ -242,6 +283,27 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
242
283
 
243
284
  self._ipv6_enabled = ipv6_enabled
244
285
 
286
+ @property
287
+ def line_operator(self):
288
+ """Gets the line_operator of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
289
+
290
+
291
+ :return: The line_operator of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
292
+ :rtype: str
293
+ """
294
+ return self._line_operator
295
+
296
+ @line_operator.setter
297
+ def line_operator(self, line_operator):
298
+ """Sets the line_operator of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput.
299
+
300
+
301
+ :param line_operator: The line_operator of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
302
+ :type: str
303
+ """
304
+
305
+ self._line_operator = line_operator
306
+
245
307
  @property
246
308
  def peer_transit_router_id(self):
247
309
  """Gets the peer_transit_router_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
@@ -263,6 +325,27 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
263
325
 
264
326
  self._peer_transit_router_id = peer_transit_router_id
265
327
 
328
+ @property
329
+ def peer_transit_router_owner_id(self):
330
+ """Gets the peer_transit_router_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
331
+
332
+
333
+ :return: The peer_transit_router_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
334
+ :rtype: str
335
+ """
336
+ return self._peer_transit_router_owner_id
337
+
338
+ @peer_transit_router_owner_id.setter
339
+ def peer_transit_router_owner_id(self, peer_transit_router_owner_id):
340
+ """Sets the peer_transit_router_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput.
341
+
342
+
343
+ :param peer_transit_router_owner_id: The peer_transit_router_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
344
+ :type: str
345
+ """
346
+
347
+ self._peer_transit_router_owner_id = peer_transit_router_owner_id
348
+
266
349
  @property
267
350
  def peer_transit_router_region_id(self):
268
351
  """Gets the peer_transit_router_region_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
@@ -389,6 +472,27 @@ class TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput(objec
389
472
 
390
473
  self._transit_router_bandwidth_package_id = transit_router_bandwidth_package_id
391
474
 
475
+ @property
476
+ def transit_router_bandwidth_package_owner_id(self):
477
+ """Gets the transit_router_bandwidth_package_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
478
+
479
+
480
+ :return: The transit_router_bandwidth_package_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
481
+ :rtype: str
482
+ """
483
+ return self._transit_router_bandwidth_package_owner_id
484
+
485
+ @transit_router_bandwidth_package_owner_id.setter
486
+ def transit_router_bandwidth_package_owner_id(self, transit_router_bandwidth_package_owner_id):
487
+ """Sets the transit_router_bandwidth_package_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput.
488
+
489
+
490
+ :param transit_router_bandwidth_package_owner_id: The transit_router_bandwidth_package_owner_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
491
+ :type: str
492
+ """
493
+
494
+ self._transit_router_bandwidth_package_owner_id = transit_router_bandwidth_package_owner_id
495
+
392
496
  @property
393
497
  def transit_router_forward_policy_table_id(self):
394
498
  """Gets the transit_router_forward_policy_table_id of this TransitRouterAttachmentForDescribeTransitRouterPeerAttachmentsOutput. # noqa: E501
@@ -38,6 +38,7 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
38
38
  'description': 'str',
39
39
  'health_check_revoke_route_enabled': 'bool',
40
40
  'ipv6_enabled': 'bool',
41
+ 'secondary_zone_id': 'str',
41
42
  'status': 'str',
42
43
  'tags': 'list[TagForDescribeTransitRouterVpnAttachmentsOutput]',
43
44
  'transit_router_attachment_id': 'str',
@@ -54,6 +55,7 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
54
55
  'description': 'Description',
55
56
  'health_check_revoke_route_enabled': 'HealthCheckRevokeRouteEnabled',
56
57
  'ipv6_enabled': 'Ipv6Enabled',
58
+ 'secondary_zone_id': 'SecondaryZoneId',
57
59
  'status': 'Status',
58
60
  'tags': 'Tags',
59
61
  'transit_router_attachment_id': 'TransitRouterAttachmentId',
@@ -64,7 +66,7 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
64
66
  'zone_id': 'ZoneId'
65
67
  }
66
68
 
67
- def __init__(self, auto_publish_route_enabled=None, creation_time=None, description=None, health_check_revoke_route_enabled=None, ipv6_enabled=None, status=None, tags=None, transit_router_attachment_id=None, transit_router_attachment_name=None, transit_router_id=None, update_time=None, vpn_connection_id=None, zone_id=None, _configuration=None): # noqa: E501
69
+ def __init__(self, auto_publish_route_enabled=None, creation_time=None, description=None, health_check_revoke_route_enabled=None, ipv6_enabled=None, secondary_zone_id=None, status=None, tags=None, transit_router_attachment_id=None, transit_router_attachment_name=None, transit_router_id=None, update_time=None, vpn_connection_id=None, zone_id=None, _configuration=None): # noqa: E501
68
70
  """TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput - a model defined in Swagger""" # noqa: E501
69
71
  if _configuration is None:
70
72
  _configuration = Configuration()
@@ -75,6 +77,7 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
75
77
  self._description = None
76
78
  self._health_check_revoke_route_enabled = None
77
79
  self._ipv6_enabled = None
80
+ self._secondary_zone_id = None
78
81
  self._status = None
79
82
  self._tags = None
80
83
  self._transit_router_attachment_id = None
@@ -95,6 +98,8 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
95
98
  self.health_check_revoke_route_enabled = health_check_revoke_route_enabled
96
99
  if ipv6_enabled is not None:
97
100
  self.ipv6_enabled = ipv6_enabled
101
+ if secondary_zone_id is not None:
102
+ self.secondary_zone_id = secondary_zone_id
98
103
  if status is not None:
99
104
  self.status = status
100
105
  if tags is not None:
@@ -217,6 +222,27 @@ class TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput(object
217
222
 
218
223
  self._ipv6_enabled = ipv6_enabled
219
224
 
225
+ @property
226
+ def secondary_zone_id(self):
227
+ """Gets the secondary_zone_id of this TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput. # noqa: E501
228
+
229
+
230
+ :return: The secondary_zone_id of this TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput. # noqa: E501
231
+ :rtype: str
232
+ """
233
+ return self._secondary_zone_id
234
+
235
+ @secondary_zone_id.setter
236
+ def secondary_zone_id(self, secondary_zone_id):
237
+ """Sets the secondary_zone_id of this TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput.
238
+
239
+
240
+ :param secondary_zone_id: The secondary_zone_id of this TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput. # noqa: E501
241
+ :type: str
242
+ """
243
+
244
+ self._secondary_zone_id = secondary_zone_id
245
+
220
246
  @property
221
247
  def status(self):
222
248
  """Gets the status of this TransitRouterAttachmentForDescribeTransitRouterVpnAttachmentsOutput. # noqa: E501
@@ -35,6 +35,7 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
35
35
  swagger_types = {
36
36
  'account_id': 'str',
37
37
  'asn': 'int',
38
+ 'billing_owner_type': 'str',
38
39
  'business_status': 'str',
39
40
  'creation_time': 'str',
40
41
  'deleted_time': 'str',
@@ -54,6 +55,7 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
54
55
  attribute_map = {
55
56
  'account_id': 'AccountId',
56
57
  'asn': 'Asn',
58
+ 'billing_owner_type': 'BillingOwnerType',
57
59
  'business_status': 'BusinessStatus',
58
60
  'creation_time': 'CreationTime',
59
61
  'deleted_time': 'DeletedTime',
@@ -70,7 +72,7 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
70
72
  'update_time': 'UpdateTime'
71
73
  }
72
74
 
73
- def __init__(self, account_id=None, asn=None, business_status=None, creation_time=None, deleted_time=None, description=None, grant_source_type=None, grant_status=None, multicast_enabled=None, overdue_time=None, project_name=None, status=None, tags=None, transit_router_id=None, transit_router_name=None, update_time=None, _configuration=None): # noqa: E501
75
+ def __init__(self, account_id=None, asn=None, billing_owner_type=None, business_status=None, creation_time=None, deleted_time=None, description=None, grant_source_type=None, grant_status=None, multicast_enabled=None, overdue_time=None, project_name=None, status=None, tags=None, transit_router_id=None, transit_router_name=None, update_time=None, _configuration=None): # noqa: E501
74
76
  """TransitRouterForDescribeTransitRoutersOutput - a model defined in Swagger""" # noqa: E501
75
77
  if _configuration is None:
76
78
  _configuration = Configuration()
@@ -78,6 +80,7 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
78
80
 
79
81
  self._account_id = None
80
82
  self._asn = None
83
+ self._billing_owner_type = None
81
84
  self._business_status = None
82
85
  self._creation_time = None
83
86
  self._deleted_time = None
@@ -98,6 +101,8 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
98
101
  self.account_id = account_id
99
102
  if asn is not None:
100
103
  self.asn = asn
104
+ if billing_owner_type is not None:
105
+ self.billing_owner_type = billing_owner_type
101
106
  if business_status is not None:
102
107
  self.business_status = business_status
103
108
  if creation_time is not None:
@@ -169,6 +174,27 @@ class TransitRouterForDescribeTransitRoutersOutput(object):
169
174
 
170
175
  self._asn = asn
171
176
 
177
+ @property
178
+ def billing_owner_type(self):
179
+ """Gets the billing_owner_type of this TransitRouterForDescribeTransitRoutersOutput. # noqa: E501
180
+
181
+
182
+ :return: The billing_owner_type of this TransitRouterForDescribeTransitRoutersOutput. # noqa: E501
183
+ :rtype: str
184
+ """
185
+ return self._billing_owner_type
186
+
187
+ @billing_owner_type.setter
188
+ def billing_owner_type(self, billing_owner_type):
189
+ """Sets the billing_owner_type of this TransitRouterForDescribeTransitRoutersOutput.
190
+
191
+
192
+ :param billing_owner_type: The billing_owner_type of this TransitRouterForDescribeTransitRoutersOutput. # noqa: E501
193
+ :type: str
194
+ """
195
+
196
+ self._billing_owner_type = billing_owner_type
197
+
172
198
  @property
173
199
  def business_status(self):
174
200
  """Gets the business_status of this TransitRouterForDescribeTransitRoutersOutput. # noqa: E501
@@ -0,0 +1,253 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ transitrouter
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 TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput(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
+ 'creation_time': 'str',
37
+ 'description': 'str',
38
+ 'grant_account_id': 'str',
39
+ 'status': 'str',
40
+ 'transit_router_id': 'str',
41
+ 'update_time': 'str'
42
+ }
43
+
44
+ attribute_map = {
45
+ 'creation_time': 'CreationTime',
46
+ 'description': 'Description',
47
+ 'grant_account_id': 'GrantAccountId',
48
+ 'status': 'Status',
49
+ 'transit_router_id': 'TransitRouterId',
50
+ 'update_time': 'UpdateTime'
51
+ }
52
+
53
+ def __init__(self, creation_time=None, description=None, grant_account_id=None, status=None, transit_router_id=None, update_time=None, _configuration=None): # noqa: E501
54
+ """TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput - a model defined in Swagger""" # noqa: E501
55
+ if _configuration is None:
56
+ _configuration = Configuration()
57
+ self._configuration = _configuration
58
+
59
+ self._creation_time = None
60
+ self._description = None
61
+ self._grant_account_id = None
62
+ self._status = None
63
+ self._transit_router_id = None
64
+ self._update_time = None
65
+ self.discriminator = None
66
+
67
+ if creation_time is not None:
68
+ self.creation_time = creation_time
69
+ if description is not None:
70
+ self.description = description
71
+ if grant_account_id is not None:
72
+ self.grant_account_id = grant_account_id
73
+ if status is not None:
74
+ self.status = status
75
+ if transit_router_id is not None:
76
+ self.transit_router_id = transit_router_id
77
+ if update_time is not None:
78
+ self.update_time = update_time
79
+
80
+ @property
81
+ def creation_time(self):
82
+ """Gets the creation_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
83
+
84
+
85
+ :return: The creation_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
86
+ :rtype: str
87
+ """
88
+ return self._creation_time
89
+
90
+ @creation_time.setter
91
+ def creation_time(self, creation_time):
92
+ """Sets the creation_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
93
+
94
+
95
+ :param creation_time: The creation_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
96
+ :type: str
97
+ """
98
+
99
+ self._creation_time = creation_time
100
+
101
+ @property
102
+ def description(self):
103
+ """Gets the description of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
104
+
105
+
106
+ :return: The description of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
107
+ :rtype: str
108
+ """
109
+ return self._description
110
+
111
+ @description.setter
112
+ def description(self, description):
113
+ """Sets the description of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
114
+
115
+
116
+ :param description: The description of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
117
+ :type: str
118
+ """
119
+
120
+ self._description = description
121
+
122
+ @property
123
+ def grant_account_id(self):
124
+ """Gets the grant_account_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
125
+
126
+
127
+ :return: The grant_account_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
128
+ :rtype: str
129
+ """
130
+ return self._grant_account_id
131
+
132
+ @grant_account_id.setter
133
+ def grant_account_id(self, grant_account_id):
134
+ """Sets the grant_account_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
135
+
136
+
137
+ :param grant_account_id: The grant_account_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
138
+ :type: str
139
+ """
140
+
141
+ self._grant_account_id = grant_account_id
142
+
143
+ @property
144
+ def status(self):
145
+ """Gets the status of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
146
+
147
+
148
+ :return: The status of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
149
+ :rtype: str
150
+ """
151
+ return self._status
152
+
153
+ @status.setter
154
+ def status(self, status):
155
+ """Sets the status of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
156
+
157
+
158
+ :param status: The status of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
159
+ :type: str
160
+ """
161
+
162
+ self._status = status
163
+
164
+ @property
165
+ def transit_router_id(self):
166
+ """Gets the transit_router_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
167
+
168
+
169
+ :return: The transit_router_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
170
+ :rtype: str
171
+ """
172
+ return self._transit_router_id
173
+
174
+ @transit_router_id.setter
175
+ def transit_router_id(self, transit_router_id):
176
+ """Sets the transit_router_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
177
+
178
+
179
+ :param transit_router_id: The transit_router_id of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
180
+ :type: str
181
+ """
182
+
183
+ self._transit_router_id = transit_router_id
184
+
185
+ @property
186
+ def update_time(self):
187
+ """Gets the update_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
188
+
189
+
190
+ :return: The update_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
191
+ :rtype: str
192
+ """
193
+ return self._update_time
194
+
195
+ @update_time.setter
196
+ def update_time(self, update_time):
197
+ """Sets the update_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput.
198
+
199
+
200
+ :param update_time: The update_time of this TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput. # noqa: E501
201
+ :type: str
202
+ """
203
+
204
+ self._update_time = update_time
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(TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput, 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, TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput):
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, TransitRouterGrantRuleForDescribeTransitRouterGrantRulesOutput):
251
+ return True
252
+
253
+ return self.to_dict() != other.to_dict()