volcengine-python-sdk 4.0.17__py2.py3-none-any.whl → 4.0.18__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.

Potentially problematic release.


This version of volcengine-python-sdk might be problematic. Click here for more details.

Files changed (263) hide show
  1. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/RECORD +261 -137
  3. volcenginesdkapig/__init__.py +52 -10
  4. volcenginesdkapig/api/apig_api.py +1489 -228
  5. volcenginesdkapig/models/__init__.py +52 -10
  6. volcenginesdkapig/models/apm_trace_spec_for_create_gateway_input.py +123 -0
  7. volcenginesdkapig/models/apm_trace_spec_for_get_gateway_output.py +95 -0
  8. volcenginesdkapig/models/apm_trace_spec_for_list_gateways_output.py +95 -0
  9. volcenginesdkapig/models/apm_trace_spec_for_update_gateway_trace_input.py +123 -0
  10. volcenginesdkapig/models/attach_gateway_lb_request.py +150 -0
  11. volcenginesdkapig/models/{tag_for_get_upstream_output.py → attach_gateway_lb_response.py} +20 -46
  12. volcenginesdkapig/models/create_custom_domain_request.py +255 -0
  13. volcenginesdkapig/models/create_custom_domain_response.py +123 -0
  14. volcenginesdkapig/models/create_gateway_request.py +17 -43
  15. volcenginesdkapig/models/create_upstream_request.py +1 -53
  16. volcenginesdkapig/models/create_upstream_version_request.py +150 -0
  17. volcenginesdkapig/models/create_upstream_version_response.py +149 -0
  18. volcenginesdkapig/models/custom_domain_for_get_custom_domain_output.py +357 -0
  19. volcenginesdkapig/models/delete_custom_domain_request.py +124 -0
  20. volcenginesdkapig/models/delete_custom_domain_response.py +95 -0
  21. volcenginesdkapig/models/delete_gateway_request.py +1 -27
  22. volcenginesdkapig/models/delete_upstream_version_request.py +151 -0
  23. volcenginesdkapig/models/delete_upstream_version_response.py +95 -0
  24. volcenginesdkapig20221112/models/tag_for_get_route_output.py → volcenginesdkapig/models/detach_gateway_lb_request.py +22 -47
  25. volcenginesdkapig/models/detach_gateway_lb_response.py +95 -0
  26. volcenginesdkapig/models/domain_spec_for_get_gateway_service_output.py +123 -0
  27. volcenginesdkapig/models/domain_spec_for_list_gateway_services_output.py +123 -0
  28. volcenginesdkapig/models/domain_spec_for_update_gateway_service_input.py +123 -0
  29. volcenginesdkapig/models/filter_for_list_gateways_input.py +1 -27
  30. volcenginesdkapig/models/gateway_for_get_gateway_output.py +17 -43
  31. volcenginesdkapig/models/gateway_service_for_get_gateway_service_output.py +29 -29
  32. volcenginesdkapig20221112/models/tag_for_list_routes_output.py → volcenginesdkapig/models/get_custom_domain_request.py +22 -47
  33. volcenginesdkapig/models/get_custom_domain_response.py +123 -0
  34. volcenginesdkapig/models/get_jwt_token_request.py +123 -0
  35. volcenginesdkapig/models/{tag_for_list_gateways_input.py → get_jwt_token_response.py} +20 -46
  36. volcenginesdkapig/models/imported_clb_spec_for_attach_gateway_lb_input.py +149 -0
  37. volcenginesdkapig/models/imported_clb_spec_for_list_gateway_lbs_output.py +201 -0
  38. volcenginesdkapig/models/ip_list_for_list_gateway_lbs_output.py +149 -0
  39. volcenginesdkapig/models/item_for_list_custom_domains_output.py +357 -0
  40. volcenginesdkapig/models/item_for_list_gateway_lbs_output.py +305 -0
  41. volcenginesdkapig/models/item_for_list_gateway_services_output.py +29 -29
  42. volcenginesdkapig/models/item_for_list_gateways_output.py +27 -1
  43. volcenginesdkapig/models/item_for_list_upstreams_output.py +1 -53
  44. volcenginesdkapig/models/{tag_for_list_gateway_services_output.py → label_for_create_upstream_version_input.py} +13 -13
  45. volcenginesdkapig/models/{tag_for_get_gateway_service_output.py → label_for_update_upstream_version_input.py} +13 -13
  46. volcenginesdkapig/models/list_custom_domains_request.py +201 -0
  47. volcenginesdkapig/models/list_custom_domains_response.py +149 -0
  48. volcenginesdkapig/models/list_gateway_lbs_request.py +124 -0
  49. volcenginesdkapig/models/list_gateway_lbs_response.py +149 -0
  50. volcenginesdkapig/models/list_upstreams_request.py +1 -27
  51. volcenginesdkapig/models/port_for_list_gateway_lbs_output.py +149 -0
  52. volcenginesdkapig/models/tls_trace_spec_for_create_gateway_input.py +201 -0
  53. volcenginesdkapig/models/tls_trace_spec_for_get_gateway_output.py +149 -0
  54. volcenginesdkapig/models/tls_trace_spec_for_list_gateways_output.py +149 -0
  55. volcenginesdkapig/models/tls_trace_spec_for_update_gateway_trace_input.py +201 -0
  56. volcenginesdkapig/models/trace_spec_for_create_gateway_input.py +201 -0
  57. volcenginesdkapig/models/trace_spec_for_get_gateway_output.py +201 -0
  58. volcenginesdkapig/models/trace_spec_for_list_gateways_output.py +201 -0
  59. volcenginesdkapig/models/trace_spec_for_update_gateway_trace_input.py +201 -0
  60. volcenginesdkapig/models/update_custom_domain_request.py +228 -0
  61. volcenginesdkapig/models/update_custom_domain_response.py +123 -0
  62. volcenginesdkapig/models/update_gateway_service_request.py +27 -1
  63. volcenginesdkapig/models/update_gateway_trace_request.py +150 -0
  64. volcenginesdkapig/models/update_gateway_trace_response.py +123 -0
  65. volcenginesdkapig/models/update_upstream_version_request.py +150 -0
  66. volcenginesdkapig/models/update_upstream_version_response.py +149 -0
  67. volcenginesdkapig/models/upstream_for_get_upstream_output.py +1 -53
  68. volcenginesdkapig/models/upstream_version_for_create_upstream_version_input.py +175 -0
  69. volcenginesdkapig/models/upstream_version_for_update_upstream_version_input.py +175 -0
  70. volcenginesdkapig20221112/__init__.py +12 -3
  71. volcenginesdkapig20221112/models/__init__.py +12 -3
  72. volcenginesdkapig/models/tag_for_list_upstreams_output.py → volcenginesdkapig20221112/models/allow_origin_for_create_route_input.py +25 -25
  73. volcenginesdkapig20221112/models/{tag_for_create_route_input.py → allow_origin_for_get_route_output.py} +24 -24
  74. volcenginesdkapig20221112/models/allow_origin_for_list_routes_output.py +149 -0
  75. volcenginesdkapig20221112/models/allow_origin_for_update_route_input.py +149 -0
  76. volcenginesdkapig20221112/models/cors_policy_setting_for_create_route_input.py +159 -3
  77. volcenginesdkapig20221112/models/cors_policy_setting_for_get_route_output.py +159 -3
  78. volcenginesdkapig20221112/models/cors_policy_setting_for_list_routes_output.py +159 -3
  79. volcenginesdkapig20221112/models/cors_policy_setting_for_update_route_input.py +159 -3
  80. volcenginesdkapig20221112/models/create_route_request.py +27 -53
  81. volcenginesdkapig20221112/models/fallback_setting_for_create_route_input.py +175 -0
  82. volcenginesdkapig20221112/models/fallback_setting_for_get_route_output.py +175 -0
  83. volcenginesdkapig20221112/models/fallback_setting_for_list_routes_output.py +175 -0
  84. volcenginesdkapig20221112/models/fallback_setting_for_update_route_input.py +175 -0
  85. volcenginesdkapig20221112/models/fallback_upstream_for_create_route_input.py +201 -0
  86. volcenginesdkapig20221112/models/fallback_upstream_for_get_route_output.py +201 -0
  87. volcenginesdkapig20221112/models/fallback_upstream_for_list_routes_output.py +201 -0
  88. volcenginesdkapig20221112/models/fallback_upstream_for_update_route_input.py +201 -0
  89. volcenginesdkapig20221112/models/header_operation_for_create_route_input.py +1 -27
  90. volcenginesdkapig20221112/models/header_operation_for_get_route_output.py +1 -27
  91. volcenginesdkapig20221112/models/header_operation_for_list_routes_output.py +1 -27
  92. volcenginesdkapig20221112/models/header_operation_for_update_route_input.py +1 -27
  93. volcenginesdkapig20221112/models/item_for_list_routes_output.py +27 -53
  94. volcenginesdkapig20221112/models/list_routes_request.py +1 -27
  95. volcenginesdkapig20221112/models/route_for_get_route_output.py +27 -53
  96. volcenginesdkapig20221112/models/update_route_request.py +27 -1
  97. volcenginesdkarkruntime/resources/images/images.py +178 -4
  98. volcenginesdkarkruntime/types/images/__init__.py +3 -2
  99. volcenginesdkarkruntime/types/images/image_gen_completed_event.py +51 -0
  100. volcenginesdkarkruntime/types/images/image_gen_generating_event.py +53 -0
  101. volcenginesdkarkruntime/types/images/image_gen_stream_event.py +24 -0
  102. volcenginesdkarkruntime/types/images/images.py +6 -2
  103. volcenginesdkarkruntime/types/responses/mcp_input_item_param.py +109 -0
  104. volcenginesdkarkruntime/types/responses/mcp_tool.py +80 -0
  105. volcenginesdkarkruntime/types/responses/mcp_tool_param.py +78 -0
  106. volcenginesdkarkruntime/types/responses/response_create_params.py +2 -1
  107. volcenginesdkarkruntime/types/responses/response_input_param.py +5 -0
  108. volcenginesdkarkruntime/types/responses/response_item.py +4 -0
  109. volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_delta_event.py +37 -0
  110. volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_done_event.py +34 -0
  111. volcenginesdkarkruntime/types/responses/response_mcp_call_completed_event.py +31 -0
  112. volcenginesdkarkruntime/types/responses/response_mcp_call_failed_event.py +31 -0
  113. volcenginesdkarkruntime/types/responses/response_mcp_call_in_progress_event.py +31 -0
  114. volcenginesdkarkruntime/types/responses/response_mcp_item.py +110 -0
  115. volcenginesdkarkruntime/types/responses/response_mcp_list_tools_completed_event.py +31 -0
  116. volcenginesdkarkruntime/types/responses/response_mcp_list_tools_failed_event.py +31 -0
  117. volcenginesdkarkruntime/types/responses/response_mcp_list_tools_in_progress_event.py +31 -0
  118. volcenginesdkarkruntime/types/responses/response_output_item.py +4 -0
  119. volcenginesdkarkruntime/types/responses/response_stream_event.py +18 -0
  120. volcenginesdkarkruntime/types/responses/response_tool_usage.py +32 -0
  121. volcenginesdkarkruntime/types/responses/response_usage.py +7 -0
  122. volcenginesdkarkruntime/types/responses/tool.py +3 -1
  123. volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +29 -0
  124. volcenginesdkarkruntime/types/responses/tool_param.py +2 -1
  125. volcenginesdkarkruntime/types/responses/web_search_tool.py +49 -0
  126. volcenginesdkarkruntime/types/responses/web_search_tool_param.py +1 -1
  127. volcenginesdkcen/__init__.py +9 -0
  128. volcenginesdkcen/api/cen_api.py +388 -0
  129. volcenginesdkcen/models/__init__.py +9 -0
  130. volcenginesdkcen/models/associate_cen_bandwidth_package_response.py +1 -29
  131. volcenginesdkcen/models/attach_instance_to_cen_response.py +1 -29
  132. volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
  133. volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +50 -24
  134. volcenginesdkcen/models/create_cen_bandwidth_package_request.py +27 -1
  135. volcenginesdkcen/models/create_cen_bandwidth_package_response.py +3 -29
  136. volcenginesdkcen/models/create_cen_inter_region_bandwidth_request.py +27 -1
  137. volcenginesdkcen/models/create_cen_inter_region_bandwidth_response.py +3 -29
  138. volcenginesdkcen/models/create_cen_request.py +3 -0
  139. volcenginesdkcen/models/create_cen_response.py +3 -29
  140. volcenginesdkcen/models/create_cen_service_route_entry_response.py +1 -29
  141. volcenginesdkcen/models/create_cen_summary_route_entry_response.py +1 -29
  142. volcenginesdkcen/models/delete_cen_bandwidth_package_response.py +1 -29
  143. volcenginesdkcen/models/delete_cen_inter_region_bandwidth_response.py +1 -29
  144. volcenginesdkcen/models/delete_cen_response.py +1 -29
  145. volcenginesdkcen/models/delete_cen_service_route_entry_response.py +1 -29
  146. volcenginesdkcen/models/delete_cen_summary_route_entry_response.py +1 -29
  147. volcenginesdkcen/models/describe_cen_attached_instance_attributes_response.py +27 -27
  148. volcenginesdkcen/models/describe_cen_attached_instances_response.py +1 -27
  149. volcenginesdkcen/models/describe_cen_attributes_response.py +1 -27
  150. volcenginesdkcen/models/describe_cen_bandwidth_package_attributes_response.py +41 -41
  151. volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
  152. volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
  153. volcenginesdkcen/models/describe_cen_bandwidth_packages_response.py +1 -27
  154. volcenginesdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +1 -27
  155. volcenginesdkcen/models/describe_cen_inter_region_bandwidths_response.py +1 -27
  156. volcenginesdkcen/models/describe_cen_route_entries_response.py +1 -27
  157. volcenginesdkcen/models/describe_cen_summary_route_entries_response.py +1 -27
  158. volcenginesdkcen/models/describe_cens_response.py +1 -27
  159. volcenginesdkcen/models/describe_grant_rules_to_cen_response.py +1 -27
  160. volcenginesdkcen/models/describe_instance_granted_rules_response.py +1 -27
  161. volcenginesdkcen/models/detach_instance_from_cen_response.py +1 -29
  162. volcenginesdkcen/models/disassociate_cen_bandwidth_package_response.py +1 -29
  163. volcenginesdkcen/models/grant_instance_to_cen_response.py +1 -29
  164. volcenginesdkcen/models/list_tags_for_resources_response.py +1 -27
  165. volcenginesdkcen/models/modify_cen_attributes_response.py +1 -29
  166. volcenginesdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
  167. volcenginesdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
  168. volcenginesdkcen/models/modify_cen_bandwidth_package_attributes_response.py +1 -29
  169. volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +27 -1
  170. volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +1 -29
  171. volcenginesdkcen/models/modify_cen_service_route_entry_attributes_response.py +1 -29
  172. volcenginesdkcen/models/publish_cen_route_entry_response.py +1 -29
  173. volcenginesdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
  174. volcenginesdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
  175. volcenginesdkcen/models/revoke_instance_from_cen_response.py +1 -29
  176. volcenginesdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
  177. volcenginesdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
  178. volcenginesdkcen/models/tag_filter_for_describe_cens_input.py +15 -15
  179. volcenginesdkcen/models/tag_resources_response.py +1 -29
  180. volcenginesdkcen/models/untag_resources_response.py +1 -29
  181. volcenginesdkcen/models/withdraw_cen_route_entry_response.py +1 -29
  182. volcenginesdkclb/__init__.py +2 -0
  183. volcenginesdkclb/api/clb_api.py +97 -0
  184. volcenginesdkclb/models/__init__.py +2 -0
  185. volcenginesdkclb/models/certificate_for_describe_nlb_listener_certificates_output.py +27 -1
  186. volcenginesdkclb/models/create_nlb_listener_request.py +157 -1
  187. volcenginesdkclb/models/describe_certificates_response.py +1 -53
  188. volcenginesdkclb/models/describe_load_balancers_request.py +53 -1
  189. volcenginesdkclb/models/describe_load_balancers_response.py +1 -27
  190. volcenginesdkclb/models/describe_nlb_listener_attributes_response.py +131 -1
  191. volcenginesdkclb/models/describe_nlb_listener_certificates_request.py +27 -1
  192. volcenginesdkclb/models/describe_nlb_server_group_attributes_response.py +1 -27
  193. volcenginesdkclb/models/modify_nlb_listener_additional_certificates_request.py +202 -0
  194. volcenginesdkclb/models/modify_nlb_listener_additional_certificates_response.py +123 -0
  195. volcenginesdkclb/models/modify_nlb_listener_attributes_request.py +157 -1
  196. volcenginesdkcore/api_client.py +1 -1
  197. volcenginesdkcore/configuration.py +1 -1
  198. volcenginesdktransitrouter/__init__.py +49 -6
  199. volcenginesdktransitrouter/api/transitrouter_api.py +2318 -572
  200. volcenginesdktransitrouter/models/__init__.py +49 -4
  201. volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_request.py +178 -0
  202. volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_response.py +95 -0
  203. volcenginesdktransitrouter/models/create_transit_router_bandwidth_package_request.py +27 -1
  204. volcenginesdktransitrouter/models/create_transit_router_flow_log_request.py +388 -0
  205. volcenginesdktransitrouter/models/create_transit_router_flow_log_response.py +123 -0
  206. volcenginesdktransitrouter/models/create_transit_router_forward_policy_entry_request.py +27 -1
  207. volcenginesdktransitrouter/models/create_transit_router_multicast_domain_request.py +228 -0
  208. volcenginesdktransitrouter/models/create_transit_router_multicast_domain_response.py +123 -0
  209. volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_request.py +204 -0
  210. volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_response.py +95 -0
  211. volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_request.py +204 -0
  212. volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_response.py +95 -0
  213. volcenginesdktransitrouter/models/create_transit_router_request.py +27 -1
  214. volcenginesdktransitrouter/models/create_transit_router_route_policy_entry_request.py +27 -1
  215. volcenginesdktransitrouter/models/delete_transit_router_flow_log_request.py +124 -0
  216. volcenginesdktransitrouter/models/delete_transit_router_flow_log_response.py +95 -0
  217. volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_request.py +124 -0
  218. volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_response.py +95 -0
  219. volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_request.py +178 -0
  220. volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_response.py +95 -0
  221. volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_request.py +178 -0
  222. volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_response.py +95 -0
  223. volcenginesdktransitrouter/models/describe_transit_router_flow_logs_request.py +386 -0
  224. volcenginesdktransitrouter/models/describe_transit_router_flow_logs_response.py +123 -0
  225. volcenginesdktransitrouter/models/describe_transit_router_forward_policy_entries_request.py +27 -1
  226. volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_request.py +279 -0
  227. volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_response.py +201 -0
  228. volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_request.py +254 -0
  229. volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_response.py +201 -0
  230. volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_request.py +435 -0
  231. volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_response.py +123 -0
  232. volcenginesdktransitrouter/models/describe_transit_router_route_entries_request.py +79 -1
  233. volcenginesdktransitrouter/models/describe_transit_router_route_entries_response.py +55 -3
  234. volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_request.py +178 -0
  235. volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_response.py +95 -0
  236. volcenginesdktransitrouter/models/models.py +2198 -2208
  237. volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_request.py +202 -0
  238. volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_response.py +95 -0
  239. volcenginesdktransitrouter/models/modify_transit_router_forward_policy_entry_attributes_request.py +27 -1
  240. volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_request.py +176 -0
  241. volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_response.py +95 -0
  242. volcenginesdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +27 -1
  243. volcenginesdktransitrouter/models/start_transit_router_flow_log_request.py +124 -0
  244. volcenginesdktransitrouter/models/start_transit_router_flow_log_response.py +95 -0
  245. volcenginesdktransitrouter/models/stop_transit_router_flow_log_request.py +124 -0
  246. volcenginesdktransitrouter/models/stop_transit_router_flow_log_response.py +95 -0
  247. volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_flow_logs_input.py +149 -0
  248. volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_multicast_domains_input.py +149 -0
  249. volcenginesdkapig/models/tag_for_get_gateway_output.py → volcenginesdktransitrouter/models/tag_for_create_transit_router_flow_log_input.py +14 -14
  250. volcenginesdkapig/models/tag_for_create_gateway_input.py → volcenginesdktransitrouter/models/tag_for_create_transit_router_multicast_domain_input.py +14 -14
  251. volcenginesdkapig/models/tag_for_create_upstream_input.py → volcenginesdktransitrouter/models/tag_for_describe_transit_router_multicast_domains_output.py +14 -14
  252. volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +27 -1
  253. volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
  254. volcenginesdktransitrouter/models/transit_router_flow_log_for_describe_transit_router_flow_logs_output.py +513 -0
  255. volcenginesdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
  256. volcenginesdktransitrouter/models/transit_router_multicast_domains_for_describe_transit_router_multicast_domains_output.py +279 -0
  257. volcenginesdktransitrouter/models/transit_router_multicast_group_for_describe_transit_router_multicast_groups_output.py +487 -0
  258. volcenginesdkapig/models/backend_spec_for_create_gateway_input.py +0 -149
  259. volcenginesdkapig/models/backend_spec_for_get_gateway_output.py +0 -149
  260. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/LICENSE.txt +0 -0
  261. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/NOTICE.md +0 -0
  262. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/WHEEL +0 -0
  263. {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/top_level.txt +0 -0
@@ -33,24 +33,138 @@ class CorsPolicySettingForListRoutesOutput(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  swagger_types = {
36
- 'enable': 'bool'
36
+ 'allow_credentials': 'bool',
37
+ 'allow_headers': 'list[str]',
38
+ 'allow_methods': 'list[str]',
39
+ 'allow_origins': 'list[AllowOriginForListRoutesOutput]',
40
+ 'enable': 'bool',
41
+ 'expose_headers': 'list[str]',
42
+ 'max_age': 'int'
37
43
  }
38
44
 
39
45
  attribute_map = {
40
- 'enable': 'Enable'
46
+ 'allow_credentials': 'AllowCredentials',
47
+ 'allow_headers': 'AllowHeaders',
48
+ 'allow_methods': 'AllowMethods',
49
+ 'allow_origins': 'AllowOrigins',
50
+ 'enable': 'Enable',
51
+ 'expose_headers': 'ExposeHeaders',
52
+ 'max_age': 'MaxAge'
41
53
  }
42
54
 
43
- def __init__(self, enable=None, _configuration=None): # noqa: E501
55
+ def __init__(self, allow_credentials=None, allow_headers=None, allow_methods=None, allow_origins=None, enable=None, expose_headers=None, max_age=None, _configuration=None): # noqa: E501
44
56
  """CorsPolicySettingForListRoutesOutput - a model defined in Swagger""" # noqa: E501
45
57
  if _configuration is None:
46
58
  _configuration = Configuration()
47
59
  self._configuration = _configuration
48
60
 
61
+ self._allow_credentials = None
62
+ self._allow_headers = None
63
+ self._allow_methods = None
64
+ self._allow_origins = None
49
65
  self._enable = None
66
+ self._expose_headers = None
67
+ self._max_age = None
50
68
  self.discriminator = None
51
69
 
70
+ if allow_credentials is not None:
71
+ self.allow_credentials = allow_credentials
72
+ if allow_headers is not None:
73
+ self.allow_headers = allow_headers
74
+ if allow_methods is not None:
75
+ self.allow_methods = allow_methods
76
+ if allow_origins is not None:
77
+ self.allow_origins = allow_origins
52
78
  if enable is not None:
53
79
  self.enable = enable
80
+ if expose_headers is not None:
81
+ self.expose_headers = expose_headers
82
+ if max_age is not None:
83
+ self.max_age = max_age
84
+
85
+ @property
86
+ def allow_credentials(self):
87
+ """Gets the allow_credentials of this CorsPolicySettingForListRoutesOutput. # noqa: E501
88
+
89
+
90
+ :return: The allow_credentials of this CorsPolicySettingForListRoutesOutput. # noqa: E501
91
+ :rtype: bool
92
+ """
93
+ return self._allow_credentials
94
+
95
+ @allow_credentials.setter
96
+ def allow_credentials(self, allow_credentials):
97
+ """Sets the allow_credentials of this CorsPolicySettingForListRoutesOutput.
98
+
99
+
100
+ :param allow_credentials: The allow_credentials of this CorsPolicySettingForListRoutesOutput. # noqa: E501
101
+ :type: bool
102
+ """
103
+
104
+ self._allow_credentials = allow_credentials
105
+
106
+ @property
107
+ def allow_headers(self):
108
+ """Gets the allow_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
109
+
110
+
111
+ :return: The allow_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
112
+ :rtype: list[str]
113
+ """
114
+ return self._allow_headers
115
+
116
+ @allow_headers.setter
117
+ def allow_headers(self, allow_headers):
118
+ """Sets the allow_headers of this CorsPolicySettingForListRoutesOutput.
119
+
120
+
121
+ :param allow_headers: The allow_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
122
+ :type: list[str]
123
+ """
124
+
125
+ self._allow_headers = allow_headers
126
+
127
+ @property
128
+ def allow_methods(self):
129
+ """Gets the allow_methods of this CorsPolicySettingForListRoutesOutput. # noqa: E501
130
+
131
+
132
+ :return: The allow_methods of this CorsPolicySettingForListRoutesOutput. # noqa: E501
133
+ :rtype: list[str]
134
+ """
135
+ return self._allow_methods
136
+
137
+ @allow_methods.setter
138
+ def allow_methods(self, allow_methods):
139
+ """Sets the allow_methods of this CorsPolicySettingForListRoutesOutput.
140
+
141
+
142
+ :param allow_methods: The allow_methods of this CorsPolicySettingForListRoutesOutput. # noqa: E501
143
+ :type: list[str]
144
+ """
145
+
146
+ self._allow_methods = allow_methods
147
+
148
+ @property
149
+ def allow_origins(self):
150
+ """Gets the allow_origins of this CorsPolicySettingForListRoutesOutput. # noqa: E501
151
+
152
+
153
+ :return: The allow_origins of this CorsPolicySettingForListRoutesOutput. # noqa: E501
154
+ :rtype: list[AllowOriginForListRoutesOutput]
155
+ """
156
+ return self._allow_origins
157
+
158
+ @allow_origins.setter
159
+ def allow_origins(self, allow_origins):
160
+ """Sets the allow_origins of this CorsPolicySettingForListRoutesOutput.
161
+
162
+
163
+ :param allow_origins: The allow_origins of this CorsPolicySettingForListRoutesOutput. # noqa: E501
164
+ :type: list[AllowOriginForListRoutesOutput]
165
+ """
166
+
167
+ self._allow_origins = allow_origins
54
168
 
55
169
  @property
56
170
  def enable(self):
@@ -73,6 +187,48 @@ class CorsPolicySettingForListRoutesOutput(object):
73
187
 
74
188
  self._enable = enable
75
189
 
190
+ @property
191
+ def expose_headers(self):
192
+ """Gets the expose_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
193
+
194
+
195
+ :return: The expose_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
196
+ :rtype: list[str]
197
+ """
198
+ return self._expose_headers
199
+
200
+ @expose_headers.setter
201
+ def expose_headers(self, expose_headers):
202
+ """Sets the expose_headers of this CorsPolicySettingForListRoutesOutput.
203
+
204
+
205
+ :param expose_headers: The expose_headers of this CorsPolicySettingForListRoutesOutput. # noqa: E501
206
+ :type: list[str]
207
+ """
208
+
209
+ self._expose_headers = expose_headers
210
+
211
+ @property
212
+ def max_age(self):
213
+ """Gets the max_age of this CorsPolicySettingForListRoutesOutput. # noqa: E501
214
+
215
+
216
+ :return: The max_age of this CorsPolicySettingForListRoutesOutput. # noqa: E501
217
+ :rtype: int
218
+ """
219
+ return self._max_age
220
+
221
+ @max_age.setter
222
+ def max_age(self, max_age):
223
+ """Sets the max_age of this CorsPolicySettingForListRoutesOutput.
224
+
225
+
226
+ :param max_age: The max_age of this CorsPolicySettingForListRoutesOutput. # noqa: E501
227
+ :type: int
228
+ """
229
+
230
+ self._max_age = max_age
231
+
76
232
  def to_dict(self):
77
233
  """Returns the model properties as a dict"""
78
234
  result = {}
@@ -33,24 +33,138 @@ class CorsPolicySettingForUpdateRouteInput(object):
33
33
  and the value is json key in definition.
34
34
  """
35
35
  swagger_types = {
36
- 'enable': 'bool'
36
+ 'allow_credentials': 'bool',
37
+ 'allow_headers': 'list[str]',
38
+ 'allow_methods': 'list[str]',
39
+ 'allow_origins': 'list[AllowOriginForUpdateRouteInput]',
40
+ 'enable': 'bool',
41
+ 'expose_headers': 'list[str]',
42
+ 'max_age': 'int'
37
43
  }
38
44
 
39
45
  attribute_map = {
40
- 'enable': 'Enable'
46
+ 'allow_credentials': 'AllowCredentials',
47
+ 'allow_headers': 'AllowHeaders',
48
+ 'allow_methods': 'AllowMethods',
49
+ 'allow_origins': 'AllowOrigins',
50
+ 'enable': 'Enable',
51
+ 'expose_headers': 'ExposeHeaders',
52
+ 'max_age': 'MaxAge'
41
53
  }
42
54
 
43
- def __init__(self, enable=None, _configuration=None): # noqa: E501
55
+ def __init__(self, allow_credentials=None, allow_headers=None, allow_methods=None, allow_origins=None, enable=None, expose_headers=None, max_age=None, _configuration=None): # noqa: E501
44
56
  """CorsPolicySettingForUpdateRouteInput - a model defined in Swagger""" # noqa: E501
45
57
  if _configuration is None:
46
58
  _configuration = Configuration()
47
59
  self._configuration = _configuration
48
60
 
61
+ self._allow_credentials = None
62
+ self._allow_headers = None
63
+ self._allow_methods = None
64
+ self._allow_origins = None
49
65
  self._enable = None
66
+ self._expose_headers = None
67
+ self._max_age = None
50
68
  self.discriminator = None
51
69
 
70
+ if allow_credentials is not None:
71
+ self.allow_credentials = allow_credentials
72
+ if allow_headers is not None:
73
+ self.allow_headers = allow_headers
74
+ if allow_methods is not None:
75
+ self.allow_methods = allow_methods
76
+ if allow_origins is not None:
77
+ self.allow_origins = allow_origins
52
78
  if enable is not None:
53
79
  self.enable = enable
80
+ if expose_headers is not None:
81
+ self.expose_headers = expose_headers
82
+ if max_age is not None:
83
+ self.max_age = max_age
84
+
85
+ @property
86
+ def allow_credentials(self):
87
+ """Gets the allow_credentials of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
88
+
89
+
90
+ :return: The allow_credentials of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
91
+ :rtype: bool
92
+ """
93
+ return self._allow_credentials
94
+
95
+ @allow_credentials.setter
96
+ def allow_credentials(self, allow_credentials):
97
+ """Sets the allow_credentials of this CorsPolicySettingForUpdateRouteInput.
98
+
99
+
100
+ :param allow_credentials: The allow_credentials of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
101
+ :type: bool
102
+ """
103
+
104
+ self._allow_credentials = allow_credentials
105
+
106
+ @property
107
+ def allow_headers(self):
108
+ """Gets the allow_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
109
+
110
+
111
+ :return: The allow_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
112
+ :rtype: list[str]
113
+ """
114
+ return self._allow_headers
115
+
116
+ @allow_headers.setter
117
+ def allow_headers(self, allow_headers):
118
+ """Sets the allow_headers of this CorsPolicySettingForUpdateRouteInput.
119
+
120
+
121
+ :param allow_headers: The allow_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
122
+ :type: list[str]
123
+ """
124
+
125
+ self._allow_headers = allow_headers
126
+
127
+ @property
128
+ def allow_methods(self):
129
+ """Gets the allow_methods of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
130
+
131
+
132
+ :return: The allow_methods of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
133
+ :rtype: list[str]
134
+ """
135
+ return self._allow_methods
136
+
137
+ @allow_methods.setter
138
+ def allow_methods(self, allow_methods):
139
+ """Sets the allow_methods of this CorsPolicySettingForUpdateRouteInput.
140
+
141
+
142
+ :param allow_methods: The allow_methods of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
143
+ :type: list[str]
144
+ """
145
+
146
+ self._allow_methods = allow_methods
147
+
148
+ @property
149
+ def allow_origins(self):
150
+ """Gets the allow_origins of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
151
+
152
+
153
+ :return: The allow_origins of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
154
+ :rtype: list[AllowOriginForUpdateRouteInput]
155
+ """
156
+ return self._allow_origins
157
+
158
+ @allow_origins.setter
159
+ def allow_origins(self, allow_origins):
160
+ """Sets the allow_origins of this CorsPolicySettingForUpdateRouteInput.
161
+
162
+
163
+ :param allow_origins: The allow_origins of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
164
+ :type: list[AllowOriginForUpdateRouteInput]
165
+ """
166
+
167
+ self._allow_origins = allow_origins
54
168
 
55
169
  @property
56
170
  def enable(self):
@@ -73,6 +187,48 @@ class CorsPolicySettingForUpdateRouteInput(object):
73
187
 
74
188
  self._enable = enable
75
189
 
190
+ @property
191
+ def expose_headers(self):
192
+ """Gets the expose_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
193
+
194
+
195
+ :return: The expose_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
196
+ :rtype: list[str]
197
+ """
198
+ return self._expose_headers
199
+
200
+ @expose_headers.setter
201
+ def expose_headers(self, expose_headers):
202
+ """Sets the expose_headers of this CorsPolicySettingForUpdateRouteInput.
203
+
204
+
205
+ :param expose_headers: The expose_headers of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
206
+ :type: list[str]
207
+ """
208
+
209
+ self._expose_headers = expose_headers
210
+
211
+ @property
212
+ def max_age(self):
213
+ """Gets the max_age of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
214
+
215
+
216
+ :return: The max_age of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
217
+ :rtype: int
218
+ """
219
+ return self._max_age
220
+
221
+ @max_age.setter
222
+ def max_age(self, max_age):
223
+ """Sets the max_age of this CorsPolicySettingForUpdateRouteInput.
224
+
225
+
226
+ :param max_age: The max_age of this CorsPolicySettingForUpdateRouteInput. # noqa: E501
227
+ :type: int
228
+ """
229
+
230
+ self._max_age = max_age
231
+
76
232
  def to_dict(self):
77
233
  """Returns the model properties as a dict"""
78
234
  result = {}
@@ -35,28 +35,26 @@ class CreateRouteRequest(object):
35
35
  swagger_types = {
36
36
  'advanced_setting': 'AdvancedSettingForCreateRouteInput',
37
37
  'enable': 'bool',
38
+ 'fallback_setting': 'FallbackSettingForCreateRouteInput',
38
39
  'match_rule': 'MatchRuleForCreateRouteInput',
39
40
  'name': 'str',
40
41
  'priority': 'int',
41
- 'resource_type': 'str',
42
42
  'service_id': 'str',
43
- 'tags': 'list[TagForCreateRouteInput]',
44
43
  'upstream_list': 'list[UpstreamListForCreateRouteInput]'
45
44
  }
46
45
 
47
46
  attribute_map = {
48
47
  'advanced_setting': 'AdvancedSetting',
49
48
  'enable': 'Enable',
49
+ 'fallback_setting': 'FallbackSetting',
50
50
  'match_rule': 'MatchRule',
51
51
  'name': 'Name',
52
52
  'priority': 'Priority',
53
- 'resource_type': 'ResourceType',
54
53
  'service_id': 'ServiceId',
55
- 'tags': 'Tags',
56
54
  'upstream_list': 'UpstreamList'
57
55
  }
58
56
 
59
- def __init__(self, advanced_setting=None, enable=None, match_rule=None, name=None, priority=None, resource_type=None, service_id=None, tags=None, upstream_list=None, _configuration=None): # noqa: E501
57
+ def __init__(self, advanced_setting=None, enable=None, fallback_setting=None, match_rule=None, name=None, priority=None, service_id=None, upstream_list=None, _configuration=None): # noqa: E501
60
58
  """CreateRouteRequest - a model defined in Swagger""" # noqa: E501
61
59
  if _configuration is None:
62
60
  _configuration = Configuration()
@@ -64,12 +62,11 @@ class CreateRouteRequest(object):
64
62
 
65
63
  self._advanced_setting = None
66
64
  self._enable = None
65
+ self._fallback_setting = None
67
66
  self._match_rule = None
68
67
  self._name = None
69
68
  self._priority = None
70
- self._resource_type = None
71
69
  self._service_id = None
72
- self._tags = None
73
70
  self._upstream_list = None
74
71
  self.discriminator = None
75
72
 
@@ -77,16 +74,14 @@ class CreateRouteRequest(object):
77
74
  self.advanced_setting = advanced_setting
78
75
  if enable is not None:
79
76
  self.enable = enable
77
+ if fallback_setting is not None:
78
+ self.fallback_setting = fallback_setting
80
79
  if match_rule is not None:
81
80
  self.match_rule = match_rule
82
81
  self.name = name
83
82
  if priority is not None:
84
83
  self.priority = priority
85
- if resource_type is not None:
86
- self.resource_type = resource_type
87
84
  self.service_id = service_id
88
- if tags is not None:
89
- self.tags = tags
90
85
  if upstream_list is not None:
91
86
  self.upstream_list = upstream_list
92
87
 
@@ -132,6 +127,27 @@ class CreateRouteRequest(object):
132
127
 
133
128
  self._enable = enable
134
129
 
130
+ @property
131
+ def fallback_setting(self):
132
+ """Gets the fallback_setting of this CreateRouteRequest. # noqa: E501
133
+
134
+
135
+ :return: The fallback_setting of this CreateRouteRequest. # noqa: E501
136
+ :rtype: FallbackSettingForCreateRouteInput
137
+ """
138
+ return self._fallback_setting
139
+
140
+ @fallback_setting.setter
141
+ def fallback_setting(self, fallback_setting):
142
+ """Sets the fallback_setting of this CreateRouteRequest.
143
+
144
+
145
+ :param fallback_setting: The fallback_setting of this CreateRouteRequest. # noqa: E501
146
+ :type: FallbackSettingForCreateRouteInput
147
+ """
148
+
149
+ self._fallback_setting = fallback_setting
150
+
135
151
  @property
136
152
  def match_rule(self):
137
153
  """Gets the match_rule of this CreateRouteRequest. # noqa: E501
@@ -197,27 +213,6 @@ class CreateRouteRequest(object):
197
213
 
198
214
  self._priority = priority
199
215
 
200
- @property
201
- def resource_type(self):
202
- """Gets the resource_type of this CreateRouteRequest. # noqa: E501
203
-
204
-
205
- :return: The resource_type of this CreateRouteRequest. # noqa: E501
206
- :rtype: str
207
- """
208
- return self._resource_type
209
-
210
- @resource_type.setter
211
- def resource_type(self, resource_type):
212
- """Sets the resource_type of this CreateRouteRequest.
213
-
214
-
215
- :param resource_type: The resource_type of this CreateRouteRequest. # noqa: E501
216
- :type: str
217
- """
218
-
219
- self._resource_type = resource_type
220
-
221
216
  @property
222
217
  def service_id(self):
223
218
  """Gets the service_id of this CreateRouteRequest. # noqa: E501
@@ -241,27 +236,6 @@ class CreateRouteRequest(object):
241
236
 
242
237
  self._service_id = service_id
243
238
 
244
- @property
245
- def tags(self):
246
- """Gets the tags of this CreateRouteRequest. # noqa: E501
247
-
248
-
249
- :return: The tags of this CreateRouteRequest. # noqa: E501
250
- :rtype: list[TagForCreateRouteInput]
251
- """
252
- return self._tags
253
-
254
- @tags.setter
255
- def tags(self, tags):
256
- """Sets the tags of this CreateRouteRequest.
257
-
258
-
259
- :param tags: The tags of this CreateRouteRequest. # noqa: E501
260
- :type: list[TagForCreateRouteInput]
261
- """
262
-
263
- self._tags = tags
264
-
265
239
  @property
266
240
  def upstream_list(self):
267
241
  """Gets the upstream_list of this CreateRouteRequest. # noqa: E501
@@ -0,0 +1,175 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ apig20221112
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 volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class FallbackSettingForCreateRouteInput(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
+ 'conditions': 'list[str]',
37
+ 'enable': 'bool',
38
+ 'fallback_upstreams': 'list[FallbackUpstreamForCreateRouteInput]'
39
+ }
40
+
41
+ attribute_map = {
42
+ 'conditions': 'Conditions',
43
+ 'enable': 'Enable',
44
+ 'fallback_upstreams': 'FallbackUpstreams'
45
+ }
46
+
47
+ def __init__(self, conditions=None, enable=None, fallback_upstreams=None, _configuration=None): # noqa: E501
48
+ """FallbackSettingForCreateRouteInput - a model defined in Swagger""" # noqa: E501
49
+ if _configuration is None:
50
+ _configuration = Configuration()
51
+ self._configuration = _configuration
52
+
53
+ self._conditions = None
54
+ self._enable = None
55
+ self._fallback_upstreams = None
56
+ self.discriminator = None
57
+
58
+ if conditions is not None:
59
+ self.conditions = conditions
60
+ if enable is not None:
61
+ self.enable = enable
62
+ if fallback_upstreams is not None:
63
+ self.fallback_upstreams = fallback_upstreams
64
+
65
+ @property
66
+ def conditions(self):
67
+ """Gets the conditions of this FallbackSettingForCreateRouteInput. # noqa: E501
68
+
69
+
70
+ :return: The conditions of this FallbackSettingForCreateRouteInput. # noqa: E501
71
+ :rtype: list[str]
72
+ """
73
+ return self._conditions
74
+
75
+ @conditions.setter
76
+ def conditions(self, conditions):
77
+ """Sets the conditions of this FallbackSettingForCreateRouteInput.
78
+
79
+
80
+ :param conditions: The conditions of this FallbackSettingForCreateRouteInput. # noqa: E501
81
+ :type: list[str]
82
+ """
83
+
84
+ self._conditions = conditions
85
+
86
+ @property
87
+ def enable(self):
88
+ """Gets the enable of this FallbackSettingForCreateRouteInput. # noqa: E501
89
+
90
+
91
+ :return: The enable of this FallbackSettingForCreateRouteInput. # noqa: E501
92
+ :rtype: bool
93
+ """
94
+ return self._enable
95
+
96
+ @enable.setter
97
+ def enable(self, enable):
98
+ """Sets the enable of this FallbackSettingForCreateRouteInput.
99
+
100
+
101
+ :param enable: The enable of this FallbackSettingForCreateRouteInput. # noqa: E501
102
+ :type: bool
103
+ """
104
+
105
+ self._enable = enable
106
+
107
+ @property
108
+ def fallback_upstreams(self):
109
+ """Gets the fallback_upstreams of this FallbackSettingForCreateRouteInput. # noqa: E501
110
+
111
+
112
+ :return: The fallback_upstreams of this FallbackSettingForCreateRouteInput. # noqa: E501
113
+ :rtype: list[FallbackUpstreamForCreateRouteInput]
114
+ """
115
+ return self._fallback_upstreams
116
+
117
+ @fallback_upstreams.setter
118
+ def fallback_upstreams(self, fallback_upstreams):
119
+ """Sets the fallback_upstreams of this FallbackSettingForCreateRouteInput.
120
+
121
+
122
+ :param fallback_upstreams: The fallback_upstreams of this FallbackSettingForCreateRouteInput. # noqa: E501
123
+ :type: list[FallbackUpstreamForCreateRouteInput]
124
+ """
125
+
126
+ self._fallback_upstreams = fallback_upstreams
127
+
128
+ def to_dict(self):
129
+ """Returns the model properties as a dict"""
130
+ result = {}
131
+
132
+ for attr, _ in six.iteritems(self.swagger_types):
133
+ value = getattr(self, attr)
134
+ if isinstance(value, list):
135
+ result[attr] = list(map(
136
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
137
+ value
138
+ ))
139
+ elif hasattr(value, "to_dict"):
140
+ result[attr] = value.to_dict()
141
+ elif isinstance(value, dict):
142
+ result[attr] = dict(map(
143
+ lambda item: (item[0], item[1].to_dict())
144
+ if hasattr(item[1], "to_dict") else item,
145
+ value.items()
146
+ ))
147
+ else:
148
+ result[attr] = value
149
+ if issubclass(FallbackSettingForCreateRouteInput, dict):
150
+ for key, value in self.items():
151
+ result[key] = value
152
+
153
+ return result
154
+
155
+ def to_str(self):
156
+ """Returns the string representation of the model"""
157
+ return pprint.pformat(self.to_dict())
158
+
159
+ def __repr__(self):
160
+ """For `print` and `pprint`"""
161
+ return self.to_str()
162
+
163
+ def __eq__(self, other):
164
+ """Returns true if both objects are equal"""
165
+ if not isinstance(other, FallbackSettingForCreateRouteInput):
166
+ return False
167
+
168
+ return self.to_dict() == other.to_dict()
169
+
170
+ def __ne__(self, other):
171
+ """Returns true if both objects are not equal"""
172
+ if not isinstance(other, FallbackSettingForCreateRouteInput):
173
+ return True
174
+
175
+ return self.to_dict() != other.to_dict()