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,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 FallbackSettingForGetRouteOutput(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[FallbackUpstreamForGetRouteOutput]'
|
|
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
|
+
"""FallbackSettingForGetRouteOutput - 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 FallbackSettingForGetRouteOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The conditions of this FallbackSettingForGetRouteOutput. # 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 FallbackSettingForGetRouteOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param conditions: The conditions of this FallbackSettingForGetRouteOutput. # 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 FallbackSettingForGetRouteOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The enable of this FallbackSettingForGetRouteOutput. # 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 FallbackSettingForGetRouteOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param enable: The enable of this FallbackSettingForGetRouteOutput. # 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 FallbackSettingForGetRouteOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The fallback_upstreams of this FallbackSettingForGetRouteOutput. # noqa: E501
|
|
113
|
+
:rtype: list[FallbackUpstreamForGetRouteOutput]
|
|
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 FallbackSettingForGetRouteOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param fallback_upstreams: The fallback_upstreams of this FallbackSettingForGetRouteOutput. # noqa: E501
|
|
123
|
+
:type: list[FallbackUpstreamForGetRouteOutput]
|
|
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(FallbackSettingForGetRouteOutput, 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, FallbackSettingForGetRouteOutput):
|
|
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, FallbackSettingForGetRouteOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -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 FallbackSettingForListRoutesOutput(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[FallbackUpstreamForListRoutesOutput]'
|
|
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
|
+
"""FallbackSettingForListRoutesOutput - 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 FallbackSettingForListRoutesOutput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The conditions of this FallbackSettingForListRoutesOutput. # 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 FallbackSettingForListRoutesOutput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param conditions: The conditions of this FallbackSettingForListRoutesOutput. # 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 FallbackSettingForListRoutesOutput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The enable of this FallbackSettingForListRoutesOutput. # 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 FallbackSettingForListRoutesOutput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param enable: The enable of this FallbackSettingForListRoutesOutput. # 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 FallbackSettingForListRoutesOutput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The fallback_upstreams of this FallbackSettingForListRoutesOutput. # noqa: E501
|
|
113
|
+
:rtype: list[FallbackUpstreamForListRoutesOutput]
|
|
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 FallbackSettingForListRoutesOutput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param fallback_upstreams: The fallback_upstreams of this FallbackSettingForListRoutesOutput. # noqa: E501
|
|
123
|
+
:type: list[FallbackUpstreamForListRoutesOutput]
|
|
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(FallbackSettingForListRoutesOutput, 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, FallbackSettingForListRoutesOutput):
|
|
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, FallbackSettingForListRoutesOutput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -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 FallbackSettingForUpdateRouteInput(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[FallbackUpstreamForUpdateRouteInput]'
|
|
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
|
+
"""FallbackSettingForUpdateRouteInput - 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 FallbackSettingForUpdateRouteInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The conditions of this FallbackSettingForUpdateRouteInput. # 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 FallbackSettingForUpdateRouteInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param conditions: The conditions of this FallbackSettingForUpdateRouteInput. # 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 FallbackSettingForUpdateRouteInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The enable of this FallbackSettingForUpdateRouteInput. # 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 FallbackSettingForUpdateRouteInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param enable: The enable of this FallbackSettingForUpdateRouteInput. # 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 FallbackSettingForUpdateRouteInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The fallback_upstreams of this FallbackSettingForUpdateRouteInput. # noqa: E501
|
|
113
|
+
:rtype: list[FallbackUpstreamForUpdateRouteInput]
|
|
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 FallbackSettingForUpdateRouteInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param fallback_upstreams: The fallback_upstreams of this FallbackSettingForUpdateRouteInput. # noqa: E501
|
|
123
|
+
:type: list[FallbackUpstreamForUpdateRouteInput]
|
|
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(FallbackSettingForUpdateRouteInput, 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, FallbackSettingForUpdateRouteInput):
|
|
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, FallbackSettingForUpdateRouteInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|