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
|
+
apig
|
|
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 UpstreamVersionForUpdateUpstreamVersionInput(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
|
+
'labels': 'list[LabelForUpdateUpstreamVersionInput]',
|
|
37
|
+
'name': 'str',
|
|
38
|
+
'update_time': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'labels': 'Labels',
|
|
43
|
+
'name': 'Name',
|
|
44
|
+
'update_time': 'UpdateTime'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, labels=None, name=None, update_time=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""UpstreamVersionForUpdateUpstreamVersionInput - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._labels = None
|
|
54
|
+
self._name = None
|
|
55
|
+
self._update_time = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if labels is not None:
|
|
59
|
+
self.labels = labels
|
|
60
|
+
if name is not None:
|
|
61
|
+
self.name = name
|
|
62
|
+
if update_time is not None:
|
|
63
|
+
self.update_time = update_time
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def labels(self):
|
|
67
|
+
"""Gets the labels of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The labels of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
71
|
+
:rtype: list[LabelForUpdateUpstreamVersionInput]
|
|
72
|
+
"""
|
|
73
|
+
return self._labels
|
|
74
|
+
|
|
75
|
+
@labels.setter
|
|
76
|
+
def labels(self, labels):
|
|
77
|
+
"""Sets the labels of this UpstreamVersionForUpdateUpstreamVersionInput.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param labels: The labels of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
81
|
+
:type: list[LabelForUpdateUpstreamVersionInput]
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
self._labels = labels
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def name(self):
|
|
88
|
+
"""Gets the name of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The name of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
92
|
+
:rtype: str
|
|
93
|
+
"""
|
|
94
|
+
return self._name
|
|
95
|
+
|
|
96
|
+
@name.setter
|
|
97
|
+
def name(self, name):
|
|
98
|
+
"""Sets the name of this UpstreamVersionForUpdateUpstreamVersionInput.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param name: The name of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
102
|
+
:type: str
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._name = name
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def update_time(self):
|
|
109
|
+
"""Gets the update_time of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:return: The update_time of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
113
|
+
:rtype: str
|
|
114
|
+
"""
|
|
115
|
+
return self._update_time
|
|
116
|
+
|
|
117
|
+
@update_time.setter
|
|
118
|
+
def update_time(self, update_time):
|
|
119
|
+
"""Sets the update_time of this UpstreamVersionForUpdateUpstreamVersionInput.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
:param update_time: The update_time of this UpstreamVersionForUpdateUpstreamVersionInput. # noqa: E501
|
|
123
|
+
:type: str
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
self._update_time = update_time
|
|
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(UpstreamVersionForUpdateUpstreamVersionInput, 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, UpstreamVersionForUpdateUpstreamVersionInput):
|
|
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, UpstreamVersionForUpdateUpstreamVersionInput):
|
|
173
|
+
return True
|
|
174
|
+
|
|
175
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -27,6 +27,10 @@ from volcenginesdkapig20221112.models.advanced_setting_for_create_route_input im
|
|
|
27
27
|
from volcenginesdkapig20221112.models.advanced_setting_for_get_route_output import AdvancedSettingForGetRouteOutput
|
|
28
28
|
from volcenginesdkapig20221112.models.advanced_setting_for_list_routes_output import AdvancedSettingForListRoutesOutput
|
|
29
29
|
from volcenginesdkapig20221112.models.advanced_setting_for_update_route_input import AdvancedSettingForUpdateRouteInput
|
|
30
|
+
from volcenginesdkapig20221112.models.allow_origin_for_create_route_input import AllowOriginForCreateRouteInput
|
|
31
|
+
from volcenginesdkapig20221112.models.allow_origin_for_get_route_output import AllowOriginForGetRouteOutput
|
|
32
|
+
from volcenginesdkapig20221112.models.allow_origin_for_list_routes_output import AllowOriginForListRoutesOutput
|
|
33
|
+
from volcenginesdkapig20221112.models.allow_origin_for_update_route_input import AllowOriginForUpdateRouteInput
|
|
30
34
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_create_route_input import CorsPolicySettingForCreateRouteInput
|
|
31
35
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_get_route_output import CorsPolicySettingForGetRouteOutput
|
|
32
36
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_list_routes_output import CorsPolicySettingForListRoutesOutput
|
|
@@ -39,6 +43,14 @@ from volcenginesdkapig20221112.models.delete_route_request import DeleteRouteReq
|
|
|
39
43
|
from volcenginesdkapig20221112.models.delete_route_response import DeleteRouteResponse
|
|
40
44
|
from volcenginesdkapig20221112.models.domain_for_get_route_output import DomainForGetRouteOutput
|
|
41
45
|
from volcenginesdkapig20221112.models.domain_for_list_routes_output import DomainForListRoutesOutput
|
|
46
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_create_route_input import FallbackSettingForCreateRouteInput
|
|
47
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_get_route_output import FallbackSettingForGetRouteOutput
|
|
48
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_list_routes_output import FallbackSettingForListRoutesOutput
|
|
49
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_update_route_input import FallbackSettingForUpdateRouteInput
|
|
50
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_create_route_input import FallbackUpstreamForCreateRouteInput
|
|
51
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_get_route_output import FallbackUpstreamForGetRouteOutput
|
|
52
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_list_routes_output import FallbackUpstreamForListRoutesOutput
|
|
53
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_update_route_input import FallbackUpstreamForUpdateRouteInput
|
|
42
54
|
from volcenginesdkapig20221112.models.filter_for_list_routes_input import FilterForListRoutesInput
|
|
43
55
|
from volcenginesdkapig20221112.models.get_route_request import GetRouteRequest
|
|
44
56
|
from volcenginesdkapig20221112.models.get_route_response import GetRouteResponse
|
|
@@ -78,9 +90,6 @@ from volcenginesdkapig20221112.models.retry_policy_setting_for_get_route_output
|
|
|
78
90
|
from volcenginesdkapig20221112.models.retry_policy_setting_for_list_routes_output import RetryPolicySettingForListRoutesOutput
|
|
79
91
|
from volcenginesdkapig20221112.models.retry_policy_setting_for_update_route_input import RetryPolicySettingForUpdateRouteInput
|
|
80
92
|
from volcenginesdkapig20221112.models.route_for_get_route_output import RouteForGetRouteOutput
|
|
81
|
-
from volcenginesdkapig20221112.models.tag_for_create_route_input import TagForCreateRouteInput
|
|
82
|
-
from volcenginesdkapig20221112.models.tag_for_get_route_output import TagForGetRouteOutput
|
|
83
|
-
from volcenginesdkapig20221112.models.tag_for_list_routes_output import TagForListRoutesOutput
|
|
84
93
|
from volcenginesdkapig20221112.models.timeout_setting_for_create_route_input import TimeoutSettingForCreateRouteInput
|
|
85
94
|
from volcenginesdkapig20221112.models.timeout_setting_for_get_route_output import TimeoutSettingForGetRouteOutput
|
|
86
95
|
from volcenginesdkapig20221112.models.timeout_setting_for_list_routes_output import TimeoutSettingForListRoutesOutput
|
|
@@ -23,6 +23,10 @@ from volcenginesdkapig20221112.models.advanced_setting_for_create_route_input im
|
|
|
23
23
|
from volcenginesdkapig20221112.models.advanced_setting_for_get_route_output import AdvancedSettingForGetRouteOutput
|
|
24
24
|
from volcenginesdkapig20221112.models.advanced_setting_for_list_routes_output import AdvancedSettingForListRoutesOutput
|
|
25
25
|
from volcenginesdkapig20221112.models.advanced_setting_for_update_route_input import AdvancedSettingForUpdateRouteInput
|
|
26
|
+
from volcenginesdkapig20221112.models.allow_origin_for_create_route_input import AllowOriginForCreateRouteInput
|
|
27
|
+
from volcenginesdkapig20221112.models.allow_origin_for_get_route_output import AllowOriginForGetRouteOutput
|
|
28
|
+
from volcenginesdkapig20221112.models.allow_origin_for_list_routes_output import AllowOriginForListRoutesOutput
|
|
29
|
+
from volcenginesdkapig20221112.models.allow_origin_for_update_route_input import AllowOriginForUpdateRouteInput
|
|
26
30
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_create_route_input import CorsPolicySettingForCreateRouteInput
|
|
27
31
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_get_route_output import CorsPolicySettingForGetRouteOutput
|
|
28
32
|
from volcenginesdkapig20221112.models.cors_policy_setting_for_list_routes_output import CorsPolicySettingForListRoutesOutput
|
|
@@ -35,6 +39,14 @@ from volcenginesdkapig20221112.models.delete_route_request import DeleteRouteReq
|
|
|
35
39
|
from volcenginesdkapig20221112.models.delete_route_response import DeleteRouteResponse
|
|
36
40
|
from volcenginesdkapig20221112.models.domain_for_get_route_output import DomainForGetRouteOutput
|
|
37
41
|
from volcenginesdkapig20221112.models.domain_for_list_routes_output import DomainForListRoutesOutput
|
|
42
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_create_route_input import FallbackSettingForCreateRouteInput
|
|
43
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_get_route_output import FallbackSettingForGetRouteOutput
|
|
44
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_list_routes_output import FallbackSettingForListRoutesOutput
|
|
45
|
+
from volcenginesdkapig20221112.models.fallback_setting_for_update_route_input import FallbackSettingForUpdateRouteInput
|
|
46
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_create_route_input import FallbackUpstreamForCreateRouteInput
|
|
47
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_get_route_output import FallbackUpstreamForGetRouteOutput
|
|
48
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_list_routes_output import FallbackUpstreamForListRoutesOutput
|
|
49
|
+
from volcenginesdkapig20221112.models.fallback_upstream_for_update_route_input import FallbackUpstreamForUpdateRouteInput
|
|
38
50
|
from volcenginesdkapig20221112.models.filter_for_list_routes_input import FilterForListRoutesInput
|
|
39
51
|
from volcenginesdkapig20221112.models.get_route_request import GetRouteRequest
|
|
40
52
|
from volcenginesdkapig20221112.models.get_route_response import GetRouteResponse
|
|
@@ -74,9 +86,6 @@ from volcenginesdkapig20221112.models.retry_policy_setting_for_get_route_output
|
|
|
74
86
|
from volcenginesdkapig20221112.models.retry_policy_setting_for_list_routes_output import RetryPolicySettingForListRoutesOutput
|
|
75
87
|
from volcenginesdkapig20221112.models.retry_policy_setting_for_update_route_input import RetryPolicySettingForUpdateRouteInput
|
|
76
88
|
from volcenginesdkapig20221112.models.route_for_get_route_output import RouteForGetRouteOutput
|
|
77
|
-
from volcenginesdkapig20221112.models.tag_for_create_route_input import TagForCreateRouteInput
|
|
78
|
-
from volcenginesdkapig20221112.models.tag_for_get_route_output import TagForGetRouteOutput
|
|
79
|
-
from volcenginesdkapig20221112.models.tag_for_list_routes_output import TagForListRoutesOutput
|
|
80
89
|
from volcenginesdkapig20221112.models.timeout_setting_for_create_route_input import TimeoutSettingForCreateRouteInput
|
|
81
90
|
from volcenginesdkapig20221112.models.timeout_setting_for_get_route_output import TimeoutSettingForGetRouteOutput
|
|
82
91
|
from volcenginesdkapig20221112.models.timeout_setting_for_list_routes_output import TimeoutSettingForListRoutesOutput
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
apig20221112
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class AllowOriginForCreateRouteInput(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -33,67 +33,67 @@ class TagForListUpstreamsOutput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
36
|
+
'match_type': 'str',
|
|
37
37
|
'value': 'str'
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
attribute_map = {
|
|
41
|
-
'
|
|
41
|
+
'match_type': 'MatchType',
|
|
42
42
|
'value': 'Value'
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
def __init__(self,
|
|
46
|
-
"""
|
|
45
|
+
def __init__(self, match_type=None, value=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""AllowOriginForCreateRouteInput - a model defined in Swagger""" # noqa: E501
|
|
47
47
|
if _configuration is None:
|
|
48
48
|
_configuration = Configuration()
|
|
49
49
|
self._configuration = _configuration
|
|
50
50
|
|
|
51
|
-
self.
|
|
51
|
+
self._match_type = None
|
|
52
52
|
self._value = None
|
|
53
53
|
self.discriminator = None
|
|
54
54
|
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
55
|
+
if match_type is not None:
|
|
56
|
+
self.match_type = match_type
|
|
57
57
|
if value is not None:
|
|
58
58
|
self.value = value
|
|
59
59
|
|
|
60
60
|
@property
|
|
61
|
-
def
|
|
62
|
-
"""Gets the
|
|
61
|
+
def match_type(self):
|
|
62
|
+
"""Gets the match_type of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
:return: The
|
|
65
|
+
:return: The match_type of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
66
66
|
:rtype: str
|
|
67
67
|
"""
|
|
68
|
-
return self.
|
|
68
|
+
return self._match_type
|
|
69
69
|
|
|
70
|
-
@
|
|
71
|
-
def
|
|
72
|
-
"""Sets the
|
|
70
|
+
@match_type.setter
|
|
71
|
+
def match_type(self, match_type):
|
|
72
|
+
"""Sets the match_type of this AllowOriginForCreateRouteInput.
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
:param
|
|
75
|
+
:param match_type: The match_type of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
76
76
|
:type: str
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
|
-
self.
|
|
79
|
+
self._match_type = match_type
|
|
80
80
|
|
|
81
81
|
@property
|
|
82
82
|
def value(self):
|
|
83
|
-
"""Gets the value of this
|
|
83
|
+
"""Gets the value of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
:return: The value of this
|
|
86
|
+
:return: The value of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
87
87
|
:rtype: str
|
|
88
88
|
"""
|
|
89
89
|
return self._value
|
|
90
90
|
|
|
91
91
|
@value.setter
|
|
92
92
|
def value(self, value):
|
|
93
|
-
"""Sets the value of this
|
|
93
|
+
"""Sets the value of this AllowOriginForCreateRouteInput.
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
:param value: The value of this
|
|
96
|
+
:param value: The value of this AllowOriginForCreateRouteInput. # noqa: E501
|
|
97
97
|
:type: str
|
|
98
98
|
"""
|
|
99
99
|
|
|
@@ -120,7 +120,7 @@ class TagForListUpstreamsOutput(object):
|
|
|
120
120
|
))
|
|
121
121
|
else:
|
|
122
122
|
result[attr] = value
|
|
123
|
-
if issubclass(
|
|
123
|
+
if issubclass(AllowOriginForCreateRouteInput, dict):
|
|
124
124
|
for key, value in self.items():
|
|
125
125
|
result[key] = value
|
|
126
126
|
|
|
@@ -136,14 +136,14 @@ class TagForListUpstreamsOutput(object):
|
|
|
136
136
|
|
|
137
137
|
def __eq__(self, other):
|
|
138
138
|
"""Returns true if both objects are equal"""
|
|
139
|
-
if not isinstance(other,
|
|
139
|
+
if not isinstance(other, AllowOriginForCreateRouteInput):
|
|
140
140
|
return False
|
|
141
141
|
|
|
142
142
|
return self.to_dict() == other.to_dict()
|
|
143
143
|
|
|
144
144
|
def __ne__(self, other):
|
|
145
145
|
"""Returns true if both objects are not equal"""
|
|
146
|
-
if not isinstance(other,
|
|
146
|
+
if not isinstance(other, AllowOriginForCreateRouteInput):
|
|
147
147
|
return True
|
|
148
148
|
|
|
149
149
|
return self.to_dict() != other.to_dict()
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class AllowOriginForGetRouteOutput(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -33,67 +33,67 @@ class TagForCreateRouteInput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
36
|
+
'match_type': 'str',
|
|
37
37
|
'value': 'str'
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
attribute_map = {
|
|
41
|
-
'
|
|
41
|
+
'match_type': 'MatchType',
|
|
42
42
|
'value': 'Value'
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
def __init__(self,
|
|
46
|
-
"""
|
|
45
|
+
def __init__(self, match_type=None, value=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""AllowOriginForGetRouteOutput - a model defined in Swagger""" # noqa: E501
|
|
47
47
|
if _configuration is None:
|
|
48
48
|
_configuration = Configuration()
|
|
49
49
|
self._configuration = _configuration
|
|
50
50
|
|
|
51
|
-
self.
|
|
51
|
+
self._match_type = None
|
|
52
52
|
self._value = None
|
|
53
53
|
self.discriminator = None
|
|
54
54
|
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
55
|
+
if match_type is not None:
|
|
56
|
+
self.match_type = match_type
|
|
57
57
|
if value is not None:
|
|
58
58
|
self.value = value
|
|
59
59
|
|
|
60
60
|
@property
|
|
61
|
-
def
|
|
62
|
-
"""Gets the
|
|
61
|
+
def match_type(self):
|
|
62
|
+
"""Gets the match_type of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
:return: The
|
|
65
|
+
:return: The match_type of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
66
66
|
:rtype: str
|
|
67
67
|
"""
|
|
68
|
-
return self.
|
|
68
|
+
return self._match_type
|
|
69
69
|
|
|
70
|
-
@
|
|
71
|
-
def
|
|
72
|
-
"""Sets the
|
|
70
|
+
@match_type.setter
|
|
71
|
+
def match_type(self, match_type):
|
|
72
|
+
"""Sets the match_type of this AllowOriginForGetRouteOutput.
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
:param
|
|
75
|
+
:param match_type: The match_type of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
76
76
|
:type: str
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
|
-
self.
|
|
79
|
+
self._match_type = match_type
|
|
80
80
|
|
|
81
81
|
@property
|
|
82
82
|
def value(self):
|
|
83
|
-
"""Gets the value of this
|
|
83
|
+
"""Gets the value of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
:return: The value of this
|
|
86
|
+
:return: The value of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
87
87
|
:rtype: str
|
|
88
88
|
"""
|
|
89
89
|
return self._value
|
|
90
90
|
|
|
91
91
|
@value.setter
|
|
92
92
|
def value(self, value):
|
|
93
|
-
"""Sets the value of this
|
|
93
|
+
"""Sets the value of this AllowOriginForGetRouteOutput.
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
:param value: The value of this
|
|
96
|
+
:param value: The value of this AllowOriginForGetRouteOutput. # noqa: E501
|
|
97
97
|
:type: str
|
|
98
98
|
"""
|
|
99
99
|
|
|
@@ -120,7 +120,7 @@ class TagForCreateRouteInput(object):
|
|
|
120
120
|
))
|
|
121
121
|
else:
|
|
122
122
|
result[attr] = value
|
|
123
|
-
if issubclass(
|
|
123
|
+
if issubclass(AllowOriginForGetRouteOutput, dict):
|
|
124
124
|
for key, value in self.items():
|
|
125
125
|
result[key] = value
|
|
126
126
|
|
|
@@ -136,14 +136,14 @@ class TagForCreateRouteInput(object):
|
|
|
136
136
|
|
|
137
137
|
def __eq__(self, other):
|
|
138
138
|
"""Returns true if both objects are equal"""
|
|
139
|
-
if not isinstance(other,
|
|
139
|
+
if not isinstance(other, AllowOriginForGetRouteOutput):
|
|
140
140
|
return False
|
|
141
141
|
|
|
142
142
|
return self.to_dict() == other.to_dict()
|
|
143
143
|
|
|
144
144
|
def __ne__(self, other):
|
|
145
145
|
"""Returns true if both objects are not equal"""
|
|
146
|
-
if not isinstance(other,
|
|
146
|
+
if not isinstance(other, AllowOriginForGetRouteOutput):
|
|
147
147
|
return True
|
|
148
148
|
|
|
149
149
|
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,149 @@
|
|
|
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 AllowOriginForListRoutesOutput(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
|
+
'match_type': 'str',
|
|
37
|
+
'value': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'match_type': 'MatchType',
|
|
42
|
+
'value': 'Value'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, match_type=None, value=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""AllowOriginForListRoutesOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._match_type = None
|
|
52
|
+
self._value = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if match_type is not None:
|
|
56
|
+
self.match_type = match_type
|
|
57
|
+
if value is not None:
|
|
58
|
+
self.value = value
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def match_type(self):
|
|
62
|
+
"""Gets the match_type of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The match_type of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._match_type
|
|
69
|
+
|
|
70
|
+
@match_type.setter
|
|
71
|
+
def match_type(self, match_type):
|
|
72
|
+
"""Sets the match_type of this AllowOriginForListRoutesOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param match_type: The match_type of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._match_type = match_type
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def value(self):
|
|
83
|
+
"""Gets the value of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The value of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._value
|
|
90
|
+
|
|
91
|
+
@value.setter
|
|
92
|
+
def value(self, value):
|
|
93
|
+
"""Sets the value of this AllowOriginForListRoutesOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param value: The value of this AllowOriginForListRoutesOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._value = value
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(AllowOriginForListRoutesOutput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, AllowOriginForListRoutesOutput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, AllowOriginForListRoutesOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|