volcengine-python-sdk 4.0.16__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.
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/RECORD +270 -141
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/top_level.txt +1 -0
- volcenginesdkapig/__init__.py +52 -10
- volcenginesdkapig/api/apig_api.py +1489 -228
- volcenginesdkapig/models/__init__.py +52 -10
- volcenginesdkapig/models/apm_trace_spec_for_create_gateway_input.py +123 -0
- volcenginesdkapig/models/apm_trace_spec_for_get_gateway_output.py +95 -0
- volcenginesdkapig/models/apm_trace_spec_for_list_gateways_output.py +95 -0
- volcenginesdkapig/models/apm_trace_spec_for_update_gateway_trace_input.py +123 -0
- volcenginesdkapig/models/attach_gateway_lb_request.py +150 -0
- volcenginesdkapig/models/{tag_for_get_upstream_output.py → attach_gateway_lb_response.py} +20 -46
- volcenginesdkapig/models/create_custom_domain_request.py +255 -0
- volcenginesdkapig/models/create_custom_domain_response.py +123 -0
- volcenginesdkapig/models/create_gateway_request.py +17 -43
- volcenginesdkapig/models/create_upstream_request.py +1 -53
- volcenginesdkapig/models/create_upstream_version_request.py +150 -0
- volcenginesdkapig/models/create_upstream_version_response.py +149 -0
- volcenginesdkapig/models/custom_domain_for_get_custom_domain_output.py +357 -0
- volcenginesdkapig/models/delete_custom_domain_request.py +124 -0
- volcenginesdkapig/models/delete_custom_domain_response.py +95 -0
- volcenginesdkapig/models/delete_gateway_request.py +1 -27
- volcenginesdkapig/models/delete_upstream_version_request.py +151 -0
- volcenginesdkapig/models/delete_upstream_version_response.py +95 -0
- volcenginesdkapig20221112/models/tag_for_get_route_output.py → volcenginesdkapig/models/detach_gateway_lb_request.py +22 -47
- volcenginesdkapig/models/detach_gateway_lb_response.py +95 -0
- volcenginesdkapig/models/domain_spec_for_get_gateway_service_output.py +123 -0
- volcenginesdkapig/models/domain_spec_for_list_gateway_services_output.py +123 -0
- volcenginesdkapig/models/domain_spec_for_update_gateway_service_input.py +123 -0
- volcenginesdkapig/models/filter_for_list_gateways_input.py +1 -27
- volcenginesdkapig/models/gateway_for_get_gateway_output.py +17 -43
- volcenginesdkapig/models/gateway_service_for_get_gateway_service_output.py +29 -29
- volcenginesdkapig20221112/models/tag_for_list_routes_output.py → volcenginesdkapig/models/get_custom_domain_request.py +22 -47
- volcenginesdkapig/models/get_custom_domain_response.py +123 -0
- volcenginesdkapig/models/get_jwt_token_request.py +123 -0
- volcenginesdkapig/models/{tag_for_list_gateways_input.py → get_jwt_token_response.py} +20 -46
- volcenginesdkapig/models/imported_clb_spec_for_attach_gateway_lb_input.py +149 -0
- volcenginesdkapig/models/imported_clb_spec_for_list_gateway_lbs_output.py +201 -0
- volcenginesdkapig/models/ip_list_for_list_gateway_lbs_output.py +149 -0
- volcenginesdkapig/models/item_for_list_custom_domains_output.py +357 -0
- volcenginesdkapig/models/item_for_list_gateway_lbs_output.py +305 -0
- volcenginesdkapig/models/item_for_list_gateway_services_output.py +29 -29
- volcenginesdkapig/models/item_for_list_gateways_output.py +27 -1
- volcenginesdkapig/models/item_for_list_upstreams_output.py +1 -53
- volcenginesdkapig/models/{tag_for_list_gateway_services_output.py → label_for_create_upstream_version_input.py} +13 -13
- volcenginesdkapig/models/{tag_for_get_gateway_service_output.py → label_for_update_upstream_version_input.py} +13 -13
- volcenginesdkapig/models/list_custom_domains_request.py +201 -0
- volcenginesdkapig/models/list_custom_domains_response.py +149 -0
- volcenginesdkapig/models/list_gateway_lbs_request.py +124 -0
- volcenginesdkapig/models/list_gateway_lbs_response.py +149 -0
- volcenginesdkapig/models/list_upstreams_request.py +1 -27
- volcenginesdkapig/models/port_for_list_gateway_lbs_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_create_gateway_input.py +201 -0
- volcenginesdkapig/models/tls_trace_spec_for_get_gateway_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_list_gateways_output.py +149 -0
- volcenginesdkapig/models/tls_trace_spec_for_update_gateway_trace_input.py +201 -0
- volcenginesdkapig/models/trace_spec_for_create_gateway_input.py +201 -0
- volcenginesdkapig/models/trace_spec_for_get_gateway_output.py +201 -0
- volcenginesdkapig/models/trace_spec_for_list_gateways_output.py +201 -0
- volcenginesdkapig/models/trace_spec_for_update_gateway_trace_input.py +201 -0
- volcenginesdkapig/models/update_custom_domain_request.py +228 -0
- volcenginesdkapig/models/update_custom_domain_response.py +123 -0
- volcenginesdkapig/models/update_gateway_service_request.py +27 -1
- volcenginesdkapig/models/update_gateway_trace_request.py +150 -0
- volcenginesdkapig/models/update_gateway_trace_response.py +123 -0
- volcenginesdkapig/models/update_upstream_version_request.py +150 -0
- volcenginesdkapig/models/update_upstream_version_response.py +149 -0
- volcenginesdkapig/models/upstream_for_get_upstream_output.py +1 -53
- volcenginesdkapig/models/upstream_version_for_create_upstream_version_input.py +175 -0
- volcenginesdkapig/models/upstream_version_for_update_upstream_version_input.py +175 -0
- volcenginesdkapig20221112/__init__.py +12 -3
- volcenginesdkapig20221112/models/__init__.py +12 -3
- volcenginesdkapig/models/tag_for_list_upstreams_output.py → volcenginesdkapig20221112/models/allow_origin_for_create_route_input.py +25 -25
- volcenginesdkapig20221112/models/{tag_for_create_route_input.py → allow_origin_for_get_route_output.py} +24 -24
- volcenginesdkapig20221112/models/allow_origin_for_list_routes_output.py +149 -0
- volcenginesdkapig20221112/models/allow_origin_for_update_route_input.py +149 -0
- volcenginesdkapig20221112/models/cors_policy_setting_for_create_route_input.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_get_route_output.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_list_routes_output.py +159 -3
- volcenginesdkapig20221112/models/cors_policy_setting_for_update_route_input.py +159 -3
- volcenginesdkapig20221112/models/create_route_request.py +27 -53
- volcenginesdkapig20221112/models/fallback_setting_for_create_route_input.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_get_route_output.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_list_routes_output.py +175 -0
- volcenginesdkapig20221112/models/fallback_setting_for_update_route_input.py +175 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_create_route_input.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_get_route_output.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_list_routes_output.py +201 -0
- volcenginesdkapig20221112/models/fallback_upstream_for_update_route_input.py +201 -0
- volcenginesdkapig20221112/models/header_operation_for_create_route_input.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_get_route_output.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_list_routes_output.py +1 -27
- volcenginesdkapig20221112/models/header_operation_for_update_route_input.py +1 -27
- volcenginesdkapig20221112/models/item_for_list_routes_output.py +27 -53
- volcenginesdkapig20221112/models/list_routes_request.py +1 -27
- volcenginesdkapig20221112/models/route_for_get_route_output.py +27 -53
- volcenginesdkapig20221112/models/update_route_request.py +27 -1
- volcenginesdkarkruntime/resources/images/images.py +178 -4
- volcenginesdkarkruntime/types/images/__init__.py +3 -2
- volcenginesdkarkruntime/types/images/image_gen_completed_event.py +51 -0
- volcenginesdkarkruntime/types/images/image_gen_generating_event.py +53 -0
- volcenginesdkarkruntime/types/images/image_gen_stream_event.py +24 -0
- volcenginesdkarkruntime/types/images/images.py +6 -2
- volcenginesdkarkruntime/types/responses/mcp_input_item_param.py +109 -0
- volcenginesdkarkruntime/types/responses/mcp_tool.py +80 -0
- volcenginesdkarkruntime/types/responses/mcp_tool_param.py +78 -0
- volcenginesdkarkruntime/types/responses/response_create_params.py +2 -1
- volcenginesdkarkruntime/types/responses/response_input_param.py +5 -0
- volcenginesdkarkruntime/types/responses/response_item.py +4 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_delta_event.py +37 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_arguments_done_event.py +34 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_completed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_failed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_call_in_progress_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_item.py +110 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_completed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_failed_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_mcp_list_tools_in_progress_event.py +31 -0
- volcenginesdkarkruntime/types/responses/response_output_item.py +4 -0
- volcenginesdkarkruntime/types/responses/response_stream_event.py +18 -0
- volcenginesdkarkruntime/types/responses/response_tool_usage.py +32 -0
- volcenginesdkarkruntime/types/responses/response_usage.py +7 -0
- volcenginesdkarkruntime/types/responses/tool.py +3 -1
- volcenginesdkarkruntime/types/responses/tool_choice_mcp_param.py +29 -0
- volcenginesdkarkruntime/types/responses/tool_param.py +2 -1
- volcenginesdkarkruntime/types/responses/web_search_tool.py +49 -0
- volcenginesdkarkruntime/types/responses/web_search_tool_param.py +1 -1
- volcenginesdkcen/__init__.py +9 -0
- volcenginesdkcen/api/cen_api.py +388 -0
- volcenginesdkcen/models/__init__.py +9 -0
- volcenginesdkcen/models/associate_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/attach_instance_to_cen_response.py +1 -29
- volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
- volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +50 -24
- volcenginesdkcen/models/create_cen_bandwidth_package_request.py +27 -1
- volcenginesdkcen/models/create_cen_bandwidth_package_response.py +3 -29
- volcenginesdkcen/models/create_cen_inter_region_bandwidth_request.py +27 -1
- volcenginesdkcen/models/create_cen_inter_region_bandwidth_response.py +3 -29
- volcenginesdkcen/models/create_cen_request.py +3 -0
- volcenginesdkcen/models/create_cen_response.py +3 -29
- volcenginesdkcen/models/create_cen_service_route_entry_response.py +1 -29
- volcenginesdkcen/models/create_cen_summary_route_entry_response.py +1 -29
- volcenginesdkcen/models/delete_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/delete_cen_inter_region_bandwidth_response.py +1 -29
- volcenginesdkcen/models/delete_cen_response.py +1 -29
- volcenginesdkcen/models/delete_cen_service_route_entry_response.py +1 -29
- volcenginesdkcen/models/delete_cen_summary_route_entry_response.py +1 -29
- volcenginesdkcen/models/describe_cen_attached_instance_attributes_response.py +27 -27
- volcenginesdkcen/models/describe_cen_attached_instances_response.py +1 -27
- volcenginesdkcen/models/describe_cen_attributes_response.py +1 -27
- volcenginesdkcen/models/describe_cen_bandwidth_package_attributes_response.py +41 -41
- volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
- volcenginesdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
- volcenginesdkcen/models/describe_cen_bandwidth_packages_response.py +1 -27
- volcenginesdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +1 -27
- volcenginesdkcen/models/describe_cen_inter_region_bandwidths_response.py +1 -27
- volcenginesdkcen/models/describe_cen_route_entries_response.py +1 -27
- volcenginesdkcen/models/describe_cen_summary_route_entries_response.py +1 -27
- volcenginesdkcen/models/describe_cens_response.py +1 -27
- volcenginesdkcen/models/describe_grant_rules_to_cen_response.py +1 -27
- volcenginesdkcen/models/describe_instance_granted_rules_response.py +1 -27
- volcenginesdkcen/models/detach_instance_from_cen_response.py +1 -29
- volcenginesdkcen/models/disassociate_cen_bandwidth_package_response.py +1 -29
- volcenginesdkcen/models/grant_instance_to_cen_response.py +1 -29
- volcenginesdkcen/models/list_tags_for_resources_response.py +1 -27
- volcenginesdkcen/models/modify_cen_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
- volcenginesdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
- volcenginesdkcen/models/modify_cen_bandwidth_package_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +27 -1
- volcenginesdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +1 -29
- volcenginesdkcen/models/modify_cen_service_route_entry_attributes_response.py +1 -29
- volcenginesdkcen/models/publish_cen_route_entry_response.py +1 -29
- volcenginesdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
- volcenginesdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
- volcenginesdkcen/models/revoke_instance_from_cen_response.py +1 -29
- volcenginesdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
- volcenginesdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
- volcenginesdkcen/models/tag_filter_for_describe_cens_input.py +15 -15
- volcenginesdkcen/models/tag_resources_response.py +1 -29
- volcenginesdkcen/models/untag_resources_response.py +1 -29
- volcenginesdkcen/models/withdraw_cen_route_entry_response.py +1 -29
- volcenginesdkclb/__init__.py +2 -0
- volcenginesdkclb/api/clb_api.py +97 -0
- volcenginesdkclb/models/__init__.py +2 -0
- volcenginesdkclb/models/certificate_for_describe_nlb_listener_certificates_output.py +27 -1
- volcenginesdkclb/models/create_nlb_listener_request.py +157 -1
- volcenginesdkclb/models/describe_certificates_response.py +1 -53
- volcenginesdkclb/models/describe_load_balancers_request.py +53 -1
- volcenginesdkclb/models/describe_load_balancers_response.py +1 -27
- volcenginesdkclb/models/describe_nlb_listener_attributes_response.py +131 -1
- volcenginesdkclb/models/describe_nlb_listener_certificates_request.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_group_attributes_response.py +1 -27
- volcenginesdkclb/models/modify_nlb_listener_additional_certificates_request.py +202 -0
- volcenginesdkclb/models/modify_nlb_listener_additional_certificates_response.py +123 -0
- volcenginesdkclb/models/modify_nlb_listener_attributes_request.py +157 -1
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/auth/providers/sts_provider.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkllmshield/__init__.py +82 -0
- volcenginesdkllmshield/api/__init__.py +4 -0
- volcenginesdkllmshield/api/llm_shield_sdk_v2.py +470 -0
- volcenginesdkllmshield/models/__init__.py +20 -0
- volcenginesdkllmshield/models/llm_shield_sign.py +159 -0
- volcenginesdktransitrouter/__init__.py +49 -6
- volcenginesdktransitrouter/api/transitrouter_api.py +2318 -572
- volcenginesdktransitrouter/models/__init__.py +49 -4
- volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_request.py +178 -0
- volcenginesdktransitrouter/models/associate_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_bandwidth_package_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_flow_log_request.py +388 -0
- volcenginesdktransitrouter/models/create_transit_router_flow_log_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_forward_policy_entry_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_multicast_domain_request.py +228 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_domain_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_request.py +204 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_member_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_request.py +204 -0
- volcenginesdktransitrouter/models/create_transit_router_multicast_group_source_response.py +95 -0
- volcenginesdktransitrouter/models/create_transit_router_request.py +27 -1
- volcenginesdktransitrouter/models/create_transit_router_route_policy_entry_request.py +27 -1
- volcenginesdktransitrouter/models/delete_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/delete_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_request.py +124 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_member_response.py +95 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_multicast_group_source_response.py +95 -0
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_request.py +386 -0
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_forward_policy_entries_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_request.py +279 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domain_associations_response.py +201 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_request.py +254 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_domains_response.py +201 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_request.py +435 -0
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_request.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_response.py +55 -3
- volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_request.py +178 -0
- volcenginesdktransitrouter/models/dissociate_transit_router_multicast_domain_response.py +95 -0
- volcenginesdktransitrouter/models/models.py +2198 -2208
- volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_request.py +202 -0
- volcenginesdktransitrouter/models/modify_transit_router_flow_log_attributes_response.py +95 -0
- volcenginesdktransitrouter/models/modify_transit_router_forward_policy_entry_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_request.py +176 -0
- volcenginesdktransitrouter/models/modify_transit_router_multicast_domain_attributes_response.py +95 -0
- volcenginesdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/start_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/start_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/stop_transit_router_flow_log_request.py +124 -0
- volcenginesdktransitrouter/models/stop_transit_router_flow_log_response.py +95 -0
- volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_flow_logs_input.py +149 -0
- volcenginesdktransitrouter/models/tag_filter_for_describe_transit_router_multicast_domains_input.py +149 -0
- volcenginesdkapig/models/tag_for_get_gateway_output.py → volcenginesdktransitrouter/models/tag_for_create_transit_router_flow_log_input.py +14 -14
- volcenginesdkapig/models/tag_for_create_gateway_input.py → volcenginesdktransitrouter/models/tag_for_create_transit_router_multicast_domain_input.py +14 -14
- volcenginesdkapig/models/tag_for_create_upstream_input.py → volcenginesdktransitrouter/models/tag_for_describe_transit_router_multicast_domains_output.py +14 -14
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_flow_log_for_describe_transit_router_flow_logs_output.py +513 -0
- volcenginesdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_multicast_domains_for_describe_transit_router_multicast_domains_output.py +279 -0
- volcenginesdktransitrouter/models/transit_router_multicast_group_for_describe_transit_router_multicast_groups_output.py +487 -0
- volcenginesdkwafruntime/__init__.py +4 -2
- volcenginesdkwafruntime/api/waf_runtime_api.py +7 -3
- volcenginesdkwafruntime/models/llm_stream_session.py +4 -2
- volcenginesdkapig/models/backend_spec_for_create_gateway_input.py +0 -149
- volcenginesdkapig/models/backend_spec_for_get_gateway_output.py +0 -149
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.16.dist-info → volcengine_python_sdk-4.0.18.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
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 FallbackUpstreamForUpdateRouteInput(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
|
+
'ai_provider_settings': 'AIProviderSettingsForUpdateRouteInput',
|
|
37
|
+
'upstream_id': 'str',
|
|
38
|
+
'version': 'str',
|
|
39
|
+
'weight': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'ai_provider_settings': 'AIProviderSettings',
|
|
44
|
+
'upstream_id': 'UpstreamId',
|
|
45
|
+
'version': 'Version',
|
|
46
|
+
'weight': 'Weight'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, ai_provider_settings=None, upstream_id=None, version=None, weight=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""FallbackUpstreamForUpdateRouteInput - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._ai_provider_settings = None
|
|
56
|
+
self._upstream_id = None
|
|
57
|
+
self._version = None
|
|
58
|
+
self._weight = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if ai_provider_settings is not None:
|
|
62
|
+
self.ai_provider_settings = ai_provider_settings
|
|
63
|
+
if upstream_id is not None:
|
|
64
|
+
self.upstream_id = upstream_id
|
|
65
|
+
if version is not None:
|
|
66
|
+
self.version = version
|
|
67
|
+
if weight is not None:
|
|
68
|
+
self.weight = weight
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def ai_provider_settings(self):
|
|
72
|
+
"""Gets the ai_provider_settings of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The ai_provider_settings of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
76
|
+
:rtype: AIProviderSettingsForUpdateRouteInput
|
|
77
|
+
"""
|
|
78
|
+
return self._ai_provider_settings
|
|
79
|
+
|
|
80
|
+
@ai_provider_settings.setter
|
|
81
|
+
def ai_provider_settings(self, ai_provider_settings):
|
|
82
|
+
"""Sets the ai_provider_settings of this FallbackUpstreamForUpdateRouteInput.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param ai_provider_settings: The ai_provider_settings of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
86
|
+
:type: AIProviderSettingsForUpdateRouteInput
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._ai_provider_settings = ai_provider_settings
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def upstream_id(self):
|
|
93
|
+
"""Gets the upstream_id of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The upstream_id of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
97
|
+
:rtype: str
|
|
98
|
+
"""
|
|
99
|
+
return self._upstream_id
|
|
100
|
+
|
|
101
|
+
@upstream_id.setter
|
|
102
|
+
def upstream_id(self, upstream_id):
|
|
103
|
+
"""Sets the upstream_id of this FallbackUpstreamForUpdateRouteInput.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param upstream_id: The upstream_id of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
107
|
+
:type: str
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._upstream_id = upstream_id
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def version(self):
|
|
114
|
+
"""Gets the version of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The version of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._version
|
|
121
|
+
|
|
122
|
+
@version.setter
|
|
123
|
+
def version(self, version):
|
|
124
|
+
"""Sets the version of this FallbackUpstreamForUpdateRouteInput.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param version: The version of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
128
|
+
:type: str
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._version = version
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def weight(self):
|
|
135
|
+
"""Gets the weight of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The weight of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._weight
|
|
142
|
+
|
|
143
|
+
@weight.setter
|
|
144
|
+
def weight(self, weight):
|
|
145
|
+
"""Sets the weight of this FallbackUpstreamForUpdateRouteInput.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param weight: The weight of this FallbackUpstreamForUpdateRouteInput. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._weight = weight
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(FallbackUpstreamForUpdateRouteInput, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, FallbackUpstreamForUpdateRouteInput):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, FallbackUpstreamForUpdateRouteInput):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -33,33 +33,28 @@ class HeaderOperationForCreateRouteInput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'direction_type': 'str',
|
|
37
36
|
'key': 'str',
|
|
38
37
|
'operation': 'str',
|
|
39
38
|
'value': 'str'
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
attribute_map = {
|
|
43
|
-
'direction_type': 'DirectionType',
|
|
44
42
|
'key': 'Key',
|
|
45
43
|
'operation': 'Operation',
|
|
46
44
|
'value': 'Value'
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
def __init__(self,
|
|
47
|
+
def __init__(self, key=None, operation=None, value=None, _configuration=None): # noqa: E501
|
|
50
48
|
"""HeaderOperationForCreateRouteInput - a model defined in Swagger""" # noqa: E501
|
|
51
49
|
if _configuration is None:
|
|
52
50
|
_configuration = Configuration()
|
|
53
51
|
self._configuration = _configuration
|
|
54
52
|
|
|
55
|
-
self._direction_type = None
|
|
56
53
|
self._key = None
|
|
57
54
|
self._operation = None
|
|
58
55
|
self._value = None
|
|
59
56
|
self.discriminator = None
|
|
60
57
|
|
|
61
|
-
if direction_type is not None:
|
|
62
|
-
self.direction_type = direction_type
|
|
63
58
|
if key is not None:
|
|
64
59
|
self.key = key
|
|
65
60
|
if operation is not None:
|
|
@@ -67,27 +62,6 @@ class HeaderOperationForCreateRouteInput(object):
|
|
|
67
62
|
if value is not None:
|
|
68
63
|
self.value = value
|
|
69
64
|
|
|
70
|
-
@property
|
|
71
|
-
def direction_type(self):
|
|
72
|
-
"""Gets the direction_type of this HeaderOperationForCreateRouteInput. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The direction_type of this HeaderOperationForCreateRouteInput. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._direction_type
|
|
79
|
-
|
|
80
|
-
@direction_type.setter
|
|
81
|
-
def direction_type(self, direction_type):
|
|
82
|
-
"""Sets the direction_type of this HeaderOperationForCreateRouteInput.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param direction_type: The direction_type of this HeaderOperationForCreateRouteInput. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._direction_type = direction_type
|
|
90
|
-
|
|
91
65
|
@property
|
|
92
66
|
def key(self):
|
|
93
67
|
"""Gets the key of this HeaderOperationForCreateRouteInput. # noqa: E501
|
|
@@ -33,33 +33,28 @@ class HeaderOperationForGetRouteOutput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'direction_type': 'str',
|
|
37
36
|
'key': 'str',
|
|
38
37
|
'operation': 'str',
|
|
39
38
|
'value': 'str'
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
attribute_map = {
|
|
43
|
-
'direction_type': 'DirectionType',
|
|
44
42
|
'key': 'Key',
|
|
45
43
|
'operation': 'Operation',
|
|
46
44
|
'value': 'Value'
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
def __init__(self,
|
|
47
|
+
def __init__(self, key=None, operation=None, value=None, _configuration=None): # noqa: E501
|
|
50
48
|
"""HeaderOperationForGetRouteOutput - a model defined in Swagger""" # noqa: E501
|
|
51
49
|
if _configuration is None:
|
|
52
50
|
_configuration = Configuration()
|
|
53
51
|
self._configuration = _configuration
|
|
54
52
|
|
|
55
|
-
self._direction_type = None
|
|
56
53
|
self._key = None
|
|
57
54
|
self._operation = None
|
|
58
55
|
self._value = None
|
|
59
56
|
self.discriminator = None
|
|
60
57
|
|
|
61
|
-
if direction_type is not None:
|
|
62
|
-
self.direction_type = direction_type
|
|
63
58
|
if key is not None:
|
|
64
59
|
self.key = key
|
|
65
60
|
if operation is not None:
|
|
@@ -67,27 +62,6 @@ class HeaderOperationForGetRouteOutput(object):
|
|
|
67
62
|
if value is not None:
|
|
68
63
|
self.value = value
|
|
69
64
|
|
|
70
|
-
@property
|
|
71
|
-
def direction_type(self):
|
|
72
|
-
"""Gets the direction_type of this HeaderOperationForGetRouteOutput. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The direction_type of this HeaderOperationForGetRouteOutput. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._direction_type
|
|
79
|
-
|
|
80
|
-
@direction_type.setter
|
|
81
|
-
def direction_type(self, direction_type):
|
|
82
|
-
"""Sets the direction_type of this HeaderOperationForGetRouteOutput.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param direction_type: The direction_type of this HeaderOperationForGetRouteOutput. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._direction_type = direction_type
|
|
90
|
-
|
|
91
65
|
@property
|
|
92
66
|
def key(self):
|
|
93
67
|
"""Gets the key of this HeaderOperationForGetRouteOutput. # noqa: E501
|
|
@@ -33,33 +33,28 @@ class HeaderOperationForListRoutesOutput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'direction_type': 'str',
|
|
37
36
|
'key': 'str',
|
|
38
37
|
'operation': 'str',
|
|
39
38
|
'value': 'str'
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
attribute_map = {
|
|
43
|
-
'direction_type': 'DirectionType',
|
|
44
42
|
'key': 'Key',
|
|
45
43
|
'operation': 'Operation',
|
|
46
44
|
'value': 'Value'
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
def __init__(self,
|
|
47
|
+
def __init__(self, key=None, operation=None, value=None, _configuration=None): # noqa: E501
|
|
50
48
|
"""HeaderOperationForListRoutesOutput - a model defined in Swagger""" # noqa: E501
|
|
51
49
|
if _configuration is None:
|
|
52
50
|
_configuration = Configuration()
|
|
53
51
|
self._configuration = _configuration
|
|
54
52
|
|
|
55
|
-
self._direction_type = None
|
|
56
53
|
self._key = None
|
|
57
54
|
self._operation = None
|
|
58
55
|
self._value = None
|
|
59
56
|
self.discriminator = None
|
|
60
57
|
|
|
61
|
-
if direction_type is not None:
|
|
62
|
-
self.direction_type = direction_type
|
|
63
58
|
if key is not None:
|
|
64
59
|
self.key = key
|
|
65
60
|
if operation is not None:
|
|
@@ -67,27 +62,6 @@ class HeaderOperationForListRoutesOutput(object):
|
|
|
67
62
|
if value is not None:
|
|
68
63
|
self.value = value
|
|
69
64
|
|
|
70
|
-
@property
|
|
71
|
-
def direction_type(self):
|
|
72
|
-
"""Gets the direction_type of this HeaderOperationForListRoutesOutput. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The direction_type of this HeaderOperationForListRoutesOutput. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._direction_type
|
|
79
|
-
|
|
80
|
-
@direction_type.setter
|
|
81
|
-
def direction_type(self, direction_type):
|
|
82
|
-
"""Sets the direction_type of this HeaderOperationForListRoutesOutput.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param direction_type: The direction_type of this HeaderOperationForListRoutesOutput. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._direction_type = direction_type
|
|
90
|
-
|
|
91
65
|
@property
|
|
92
66
|
def key(self):
|
|
93
67
|
"""Gets the key of this HeaderOperationForListRoutesOutput. # noqa: E501
|
|
@@ -33,33 +33,28 @@ class HeaderOperationForUpdateRouteInput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'direction_type': 'str',
|
|
37
36
|
'key': 'str',
|
|
38
37
|
'operation': 'str',
|
|
39
38
|
'value': 'str'
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
attribute_map = {
|
|
43
|
-
'direction_type': 'DirectionType',
|
|
44
42
|
'key': 'Key',
|
|
45
43
|
'operation': 'Operation',
|
|
46
44
|
'value': 'Value'
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
def __init__(self,
|
|
47
|
+
def __init__(self, key=None, operation=None, value=None, _configuration=None): # noqa: E501
|
|
50
48
|
"""HeaderOperationForUpdateRouteInput - a model defined in Swagger""" # noqa: E501
|
|
51
49
|
if _configuration is None:
|
|
52
50
|
_configuration = Configuration()
|
|
53
51
|
self._configuration = _configuration
|
|
54
52
|
|
|
55
|
-
self._direction_type = None
|
|
56
53
|
self._key = None
|
|
57
54
|
self._operation = None
|
|
58
55
|
self._value = None
|
|
59
56
|
self.discriminator = None
|
|
60
57
|
|
|
61
|
-
if direction_type is not None:
|
|
62
|
-
self.direction_type = direction_type
|
|
63
58
|
if key is not None:
|
|
64
59
|
self.key = key
|
|
65
60
|
if operation is not None:
|
|
@@ -67,27 +62,6 @@ class HeaderOperationForUpdateRouteInput(object):
|
|
|
67
62
|
if value is not None:
|
|
68
63
|
self.value = value
|
|
69
64
|
|
|
70
|
-
@property
|
|
71
|
-
def direction_type(self):
|
|
72
|
-
"""Gets the direction_type of this HeaderOperationForUpdateRouteInput. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The direction_type of this HeaderOperationForUpdateRouteInput. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._direction_type
|
|
79
|
-
|
|
80
|
-
@direction_type.setter
|
|
81
|
-
def direction_type(self, direction_type):
|
|
82
|
-
"""Sets the direction_type of this HeaderOperationForUpdateRouteInput.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param direction_type: The direction_type of this HeaderOperationForUpdateRouteInput. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._direction_type = direction_type
|
|
90
|
-
|
|
91
65
|
@property
|
|
92
66
|
def key(self):
|
|
93
67
|
"""Gets the key of this HeaderOperationForUpdateRouteInput. # noqa: E501
|
|
@@ -38,16 +38,15 @@ class ItemForListRoutesOutput(object):
|
|
|
38
38
|
'custom_domains': 'list[CustomDomainForListRoutesOutput]',
|
|
39
39
|
'domains': 'list[DomainForListRoutesOutput]',
|
|
40
40
|
'enable': 'bool',
|
|
41
|
+
'fallback_setting': 'FallbackSettingForListRoutesOutput',
|
|
41
42
|
'id': 'str',
|
|
42
43
|
'match_rule': 'MatchRuleForListRoutesOutput',
|
|
43
44
|
'name': 'str',
|
|
44
45
|
'priority': 'int',
|
|
45
46
|
'reason': 'str',
|
|
46
|
-
'resource_type': 'str',
|
|
47
47
|
'service_id': 'str',
|
|
48
48
|
'service_name': 'str',
|
|
49
49
|
'status': 'str',
|
|
50
|
-
'tags': 'list[TagForListRoutesOutput]',
|
|
51
50
|
'update_time': 'str',
|
|
52
51
|
'upstream_list': 'list[UpstreamListForListRoutesOutput]'
|
|
53
52
|
}
|
|
@@ -58,21 +57,20 @@ class ItemForListRoutesOutput(object):
|
|
|
58
57
|
'custom_domains': 'CustomDomains',
|
|
59
58
|
'domains': 'Domains',
|
|
60
59
|
'enable': 'Enable',
|
|
60
|
+
'fallback_setting': 'FallbackSetting',
|
|
61
61
|
'id': 'Id',
|
|
62
62
|
'match_rule': 'MatchRule',
|
|
63
63
|
'name': 'Name',
|
|
64
64
|
'priority': 'Priority',
|
|
65
65
|
'reason': 'Reason',
|
|
66
|
-
'resource_type': 'ResourceType',
|
|
67
66
|
'service_id': 'ServiceId',
|
|
68
67
|
'service_name': 'ServiceName',
|
|
69
68
|
'status': 'Status',
|
|
70
|
-
'tags': 'Tags',
|
|
71
69
|
'update_time': 'UpdateTime',
|
|
72
70
|
'upstream_list': 'UpstreamList'
|
|
73
71
|
}
|
|
74
72
|
|
|
75
|
-
def __init__(self, advanced_setting=None, create_time=None, custom_domains=None, domains=None, enable=None, id=None, match_rule=None, name=None, priority=None, reason=None,
|
|
73
|
+
def __init__(self, advanced_setting=None, create_time=None, custom_domains=None, domains=None, enable=None, fallback_setting=None, id=None, match_rule=None, name=None, priority=None, reason=None, service_id=None, service_name=None, status=None, update_time=None, upstream_list=None, _configuration=None): # noqa: E501
|
|
76
74
|
"""ItemForListRoutesOutput - a model defined in Swagger""" # noqa: E501
|
|
77
75
|
if _configuration is None:
|
|
78
76
|
_configuration = Configuration()
|
|
@@ -83,16 +81,15 @@ class ItemForListRoutesOutput(object):
|
|
|
83
81
|
self._custom_domains = None
|
|
84
82
|
self._domains = None
|
|
85
83
|
self._enable = None
|
|
84
|
+
self._fallback_setting = None
|
|
86
85
|
self._id = None
|
|
87
86
|
self._match_rule = None
|
|
88
87
|
self._name = None
|
|
89
88
|
self._priority = None
|
|
90
89
|
self._reason = None
|
|
91
|
-
self._resource_type = None
|
|
92
90
|
self._service_id = None
|
|
93
91
|
self._service_name = None
|
|
94
92
|
self._status = None
|
|
95
|
-
self._tags = None
|
|
96
93
|
self._update_time = None
|
|
97
94
|
self._upstream_list = None
|
|
98
95
|
self.discriminator = None
|
|
@@ -107,6 +104,8 @@ class ItemForListRoutesOutput(object):
|
|
|
107
104
|
self.domains = domains
|
|
108
105
|
if enable is not None:
|
|
109
106
|
self.enable = enable
|
|
107
|
+
if fallback_setting is not None:
|
|
108
|
+
self.fallback_setting = fallback_setting
|
|
110
109
|
if id is not None:
|
|
111
110
|
self.id = id
|
|
112
111
|
if match_rule is not None:
|
|
@@ -117,16 +116,12 @@ class ItemForListRoutesOutput(object):
|
|
|
117
116
|
self.priority = priority
|
|
118
117
|
if reason is not None:
|
|
119
118
|
self.reason = reason
|
|
120
|
-
if resource_type is not None:
|
|
121
|
-
self.resource_type = resource_type
|
|
122
119
|
if service_id is not None:
|
|
123
120
|
self.service_id = service_id
|
|
124
121
|
if service_name is not None:
|
|
125
122
|
self.service_name = service_name
|
|
126
123
|
if status is not None:
|
|
127
124
|
self.status = status
|
|
128
|
-
if tags is not None:
|
|
129
|
-
self.tags = tags
|
|
130
125
|
if update_time is not None:
|
|
131
126
|
self.update_time = update_time
|
|
132
127
|
if upstream_list is not None:
|
|
@@ -237,6 +232,27 @@ class ItemForListRoutesOutput(object):
|
|
|
237
232
|
|
|
238
233
|
self._enable = enable
|
|
239
234
|
|
|
235
|
+
@property
|
|
236
|
+
def fallback_setting(self):
|
|
237
|
+
"""Gets the fallback_setting of this ItemForListRoutesOutput. # noqa: E501
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
:return: The fallback_setting of this ItemForListRoutesOutput. # noqa: E501
|
|
241
|
+
:rtype: FallbackSettingForListRoutesOutput
|
|
242
|
+
"""
|
|
243
|
+
return self._fallback_setting
|
|
244
|
+
|
|
245
|
+
@fallback_setting.setter
|
|
246
|
+
def fallback_setting(self, fallback_setting):
|
|
247
|
+
"""Sets the fallback_setting of this ItemForListRoutesOutput.
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
:param fallback_setting: The fallback_setting of this ItemForListRoutesOutput. # noqa: E501
|
|
251
|
+
:type: FallbackSettingForListRoutesOutput
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
self._fallback_setting = fallback_setting
|
|
255
|
+
|
|
240
256
|
@property
|
|
241
257
|
def id(self):
|
|
242
258
|
"""Gets the id of this ItemForListRoutesOutput. # noqa: E501
|
|
@@ -342,27 +358,6 @@ class ItemForListRoutesOutput(object):
|
|
|
342
358
|
|
|
343
359
|
self._reason = reason
|
|
344
360
|
|
|
345
|
-
@property
|
|
346
|
-
def resource_type(self):
|
|
347
|
-
"""Gets the resource_type of this ItemForListRoutesOutput. # noqa: E501
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
:return: The resource_type of this ItemForListRoutesOutput. # noqa: E501
|
|
351
|
-
:rtype: str
|
|
352
|
-
"""
|
|
353
|
-
return self._resource_type
|
|
354
|
-
|
|
355
|
-
@resource_type.setter
|
|
356
|
-
def resource_type(self, resource_type):
|
|
357
|
-
"""Sets the resource_type of this ItemForListRoutesOutput.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
:param resource_type: The resource_type of this ItemForListRoutesOutput. # noqa: E501
|
|
361
|
-
:type: str
|
|
362
|
-
"""
|
|
363
|
-
|
|
364
|
-
self._resource_type = resource_type
|
|
365
|
-
|
|
366
361
|
@property
|
|
367
362
|
def service_id(self):
|
|
368
363
|
"""Gets the service_id of this ItemForListRoutesOutput. # noqa: E501
|
|
@@ -426,27 +421,6 @@ class ItemForListRoutesOutput(object):
|
|
|
426
421
|
|
|
427
422
|
self._status = status
|
|
428
423
|
|
|
429
|
-
@property
|
|
430
|
-
def tags(self):
|
|
431
|
-
"""Gets the tags of this ItemForListRoutesOutput. # noqa: E501
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
:return: The tags of this ItemForListRoutesOutput. # noqa: E501
|
|
435
|
-
:rtype: list[TagForListRoutesOutput]
|
|
436
|
-
"""
|
|
437
|
-
return self._tags
|
|
438
|
-
|
|
439
|
-
@tags.setter
|
|
440
|
-
def tags(self, tags):
|
|
441
|
-
"""Sets the tags of this ItemForListRoutesOutput.
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
:param tags: The tags of this ItemForListRoutesOutput. # noqa: E501
|
|
445
|
-
:type: list[TagForListRoutesOutput]
|
|
446
|
-
"""
|
|
447
|
-
|
|
448
|
-
self._tags = tags
|
|
449
|
-
|
|
450
424
|
@property
|
|
451
425
|
def update_time(self):
|
|
452
426
|
"""Gets the update_time of this ItemForListRoutesOutput. # noqa: E501
|
|
@@ -37,7 +37,6 @@ class ListRoutesRequest(object):
|
|
|
37
37
|
'gateway_id': 'str',
|
|
38
38
|
'page_number': 'int',
|
|
39
39
|
'page_size': 'int',
|
|
40
|
-
'resource_type': 'str',
|
|
41
40
|
'service_id': 'str',
|
|
42
41
|
'upstream_id': 'str',
|
|
43
42
|
'upstream_version': 'str'
|
|
@@ -48,13 +47,12 @@ class ListRoutesRequest(object):
|
|
|
48
47
|
'gateway_id': 'GatewayId',
|
|
49
48
|
'page_number': 'PageNumber',
|
|
50
49
|
'page_size': 'PageSize',
|
|
51
|
-
'resource_type': 'ResourceType',
|
|
52
50
|
'service_id': 'ServiceId',
|
|
53
51
|
'upstream_id': 'UpstreamId',
|
|
54
52
|
'upstream_version': 'UpstreamVersion'
|
|
55
53
|
}
|
|
56
54
|
|
|
57
|
-
def __init__(self, filter=None, gateway_id=None, page_number=None, page_size=None,
|
|
55
|
+
def __init__(self, filter=None, gateway_id=None, page_number=None, page_size=None, service_id=None, upstream_id=None, upstream_version=None, _configuration=None): # noqa: E501
|
|
58
56
|
"""ListRoutesRequest - a model defined in Swagger""" # noqa: E501
|
|
59
57
|
if _configuration is None:
|
|
60
58
|
_configuration = Configuration()
|
|
@@ -64,7 +62,6 @@ class ListRoutesRequest(object):
|
|
|
64
62
|
self._gateway_id = None
|
|
65
63
|
self._page_number = None
|
|
66
64
|
self._page_size = None
|
|
67
|
-
self._resource_type = None
|
|
68
65
|
self._service_id = None
|
|
69
66
|
self._upstream_id = None
|
|
70
67
|
self._upstream_version = None
|
|
@@ -78,8 +75,6 @@ class ListRoutesRequest(object):
|
|
|
78
75
|
self.page_number = page_number
|
|
79
76
|
if page_size is not None:
|
|
80
77
|
self.page_size = page_size
|
|
81
|
-
if resource_type is not None:
|
|
82
|
-
self.resource_type = resource_type
|
|
83
78
|
if service_id is not None:
|
|
84
79
|
self.service_id = service_id
|
|
85
80
|
if upstream_id is not None:
|
|
@@ -171,27 +166,6 @@ class ListRoutesRequest(object):
|
|
|
171
166
|
|
|
172
167
|
self._page_size = page_size
|
|
173
168
|
|
|
174
|
-
@property
|
|
175
|
-
def resource_type(self):
|
|
176
|
-
"""Gets the resource_type of this ListRoutesRequest. # noqa: E501
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
:return: The resource_type of this ListRoutesRequest. # noqa: E501
|
|
180
|
-
:rtype: str
|
|
181
|
-
"""
|
|
182
|
-
return self._resource_type
|
|
183
|
-
|
|
184
|
-
@resource_type.setter
|
|
185
|
-
def resource_type(self, resource_type):
|
|
186
|
-
"""Sets the resource_type of this ListRoutesRequest.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
:param resource_type: The resource_type of this ListRoutesRequest. # noqa: E501
|
|
190
|
-
:type: str
|
|
191
|
-
"""
|
|
192
|
-
|
|
193
|
-
self._resource_type = resource_type
|
|
194
|
-
|
|
195
169
|
@property
|
|
196
170
|
def service_id(self):
|
|
197
171
|
"""Gets the service_id of this ListRoutesRequest. # noqa: E501
|