volcengine-python-sdk 4.0.17__py2.py3-none-any.whl → 4.0.18__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/RECORD +261 -137
- 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/configuration.py +1 -1
- 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
- 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.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.17.dist-info → volcengine_python_sdk-4.0.18.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
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 AttachGatewayLBRequest(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
|
+
'gateway_id': 'str',
|
|
37
|
+
'imported_clb_spec': 'ImportedCLBSpecForAttachGatewayLBInput'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'gateway_id': 'GatewayId',
|
|
42
|
+
'imported_clb_spec': 'ImportedCLBSpec'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, gateway_id=None, imported_clb_spec=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""AttachGatewayLBRequest - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._gateway_id = None
|
|
52
|
+
self._imported_clb_spec = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.gateway_id = gateway_id
|
|
56
|
+
if imported_clb_spec is not None:
|
|
57
|
+
self.imported_clb_spec = imported_clb_spec
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def gateway_id(self):
|
|
61
|
+
"""Gets the gateway_id of this AttachGatewayLBRequest. # noqa: E501
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
:return: The gateway_id of this AttachGatewayLBRequest. # noqa: E501
|
|
65
|
+
:rtype: str
|
|
66
|
+
"""
|
|
67
|
+
return self._gateway_id
|
|
68
|
+
|
|
69
|
+
@gateway_id.setter
|
|
70
|
+
def gateway_id(self, gateway_id):
|
|
71
|
+
"""Sets the gateway_id of this AttachGatewayLBRequest.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:param gateway_id: The gateway_id of this AttachGatewayLBRequest. # noqa: E501
|
|
75
|
+
:type: str
|
|
76
|
+
"""
|
|
77
|
+
if self._configuration.client_side_validation and gateway_id is None:
|
|
78
|
+
raise ValueError("Invalid value for `gateway_id`, must not be `None`") # noqa: E501
|
|
79
|
+
|
|
80
|
+
self._gateway_id = gateway_id
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
def imported_clb_spec(self):
|
|
84
|
+
"""Gets the imported_clb_spec of this AttachGatewayLBRequest. # noqa: E501
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
:return: The imported_clb_spec of this AttachGatewayLBRequest. # noqa: E501
|
|
88
|
+
:rtype: ImportedCLBSpecForAttachGatewayLBInput
|
|
89
|
+
"""
|
|
90
|
+
return self._imported_clb_spec
|
|
91
|
+
|
|
92
|
+
@imported_clb_spec.setter
|
|
93
|
+
def imported_clb_spec(self, imported_clb_spec):
|
|
94
|
+
"""Sets the imported_clb_spec of this AttachGatewayLBRequest.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param imported_clb_spec: The imported_clb_spec of this AttachGatewayLBRequest. # noqa: E501
|
|
98
|
+
:type: ImportedCLBSpecForAttachGatewayLBInput
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
self._imported_clb_spec = imported_clb_spec
|
|
102
|
+
|
|
103
|
+
def to_dict(self):
|
|
104
|
+
"""Returns the model properties as a dict"""
|
|
105
|
+
result = {}
|
|
106
|
+
|
|
107
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
108
|
+
value = getattr(self, attr)
|
|
109
|
+
if isinstance(value, list):
|
|
110
|
+
result[attr] = list(map(
|
|
111
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
112
|
+
value
|
|
113
|
+
))
|
|
114
|
+
elif hasattr(value, "to_dict"):
|
|
115
|
+
result[attr] = value.to_dict()
|
|
116
|
+
elif isinstance(value, dict):
|
|
117
|
+
result[attr] = dict(map(
|
|
118
|
+
lambda item: (item[0], item[1].to_dict())
|
|
119
|
+
if hasattr(item[1], "to_dict") else item,
|
|
120
|
+
value.items()
|
|
121
|
+
))
|
|
122
|
+
else:
|
|
123
|
+
result[attr] = value
|
|
124
|
+
if issubclass(AttachGatewayLBRequest, dict):
|
|
125
|
+
for key, value in self.items():
|
|
126
|
+
result[key] = value
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
|
|
130
|
+
def to_str(self):
|
|
131
|
+
"""Returns the string representation of the model"""
|
|
132
|
+
return pprint.pformat(self.to_dict())
|
|
133
|
+
|
|
134
|
+
def __repr__(self):
|
|
135
|
+
"""For `print` and `pprint`"""
|
|
136
|
+
return self.to_str()
|
|
137
|
+
|
|
138
|
+
def __eq__(self, other):
|
|
139
|
+
"""Returns true if both objects are equal"""
|
|
140
|
+
if not isinstance(other, AttachGatewayLBRequest):
|
|
141
|
+
return False
|
|
142
|
+
|
|
143
|
+
return self.to_dict() == other.to_dict()
|
|
144
|
+
|
|
145
|
+
def __ne__(self, other):
|
|
146
|
+
"""Returns true if both objects are not equal"""
|
|
147
|
+
if not isinstance(other, AttachGatewayLBRequest):
|
|
148
|
+
return True
|
|
149
|
+
|
|
150
|
+
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 AttachGatewayLBResponse(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,71 +33,45 @@ class TagForGetUpstreamOutput(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
37
|
-
'value': 'str'
|
|
36
|
+
'id': 'str'
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
attribute_map = {
|
|
41
|
-
'
|
|
42
|
-
'value': 'Value'
|
|
40
|
+
'id': 'Id'
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
def __init__(self,
|
|
46
|
-
"""
|
|
43
|
+
def __init__(self, id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""AttachGatewayLBResponse - a model defined in Swagger""" # noqa: E501
|
|
47
45
|
if _configuration is None:
|
|
48
46
|
_configuration = Configuration()
|
|
49
47
|
self._configuration = _configuration
|
|
50
48
|
|
|
51
|
-
self.
|
|
52
|
-
self._value = None
|
|
49
|
+
self._id = None
|
|
53
50
|
self.discriminator = None
|
|
54
51
|
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
57
|
-
if value is not None:
|
|
58
|
-
self.value = value
|
|
52
|
+
if id is not None:
|
|
53
|
+
self.id = id
|
|
59
54
|
|
|
60
55
|
@property
|
|
61
|
-
def
|
|
62
|
-
"""Gets the
|
|
56
|
+
def id(self):
|
|
57
|
+
"""Gets the id of this AttachGatewayLBResponse. # noqa: E501
|
|
63
58
|
|
|
64
59
|
|
|
65
|
-
:return: The
|
|
60
|
+
:return: The id of this AttachGatewayLBResponse. # noqa: E501
|
|
66
61
|
:rtype: str
|
|
67
62
|
"""
|
|
68
|
-
return self.
|
|
63
|
+
return self._id
|
|
69
64
|
|
|
70
|
-
@
|
|
71
|
-
def
|
|
72
|
-
"""Sets the
|
|
65
|
+
@id.setter
|
|
66
|
+
def id(self, id):
|
|
67
|
+
"""Sets the id of this AttachGatewayLBResponse.
|
|
73
68
|
|
|
74
69
|
|
|
75
|
-
:param
|
|
70
|
+
:param id: The id of this AttachGatewayLBResponse. # noqa: E501
|
|
76
71
|
:type: str
|
|
77
72
|
"""
|
|
78
73
|
|
|
79
|
-
self.
|
|
80
|
-
|
|
81
|
-
@property
|
|
82
|
-
def value(self):
|
|
83
|
-
"""Gets the value of this TagForGetUpstreamOutput. # noqa: E501
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
:return: The value of this TagForGetUpstreamOutput. # 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 TagForGetUpstreamOutput.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
:param value: The value of this TagForGetUpstreamOutput. # noqa: E501
|
|
97
|
-
:type: str
|
|
98
|
-
"""
|
|
99
|
-
|
|
100
|
-
self._value = value
|
|
74
|
+
self._id = id
|
|
101
75
|
|
|
102
76
|
def to_dict(self):
|
|
103
77
|
"""Returns the model properties as a dict"""
|
|
@@ -120,7 +94,7 @@ class TagForGetUpstreamOutput(object):
|
|
|
120
94
|
))
|
|
121
95
|
else:
|
|
122
96
|
result[attr] = value
|
|
123
|
-
if issubclass(
|
|
97
|
+
if issubclass(AttachGatewayLBResponse, dict):
|
|
124
98
|
for key, value in self.items():
|
|
125
99
|
result[key] = value
|
|
126
100
|
|
|
@@ -136,14 +110,14 @@ class TagForGetUpstreamOutput(object):
|
|
|
136
110
|
|
|
137
111
|
def __eq__(self, other):
|
|
138
112
|
"""Returns true if both objects are equal"""
|
|
139
|
-
if not isinstance(other,
|
|
113
|
+
if not isinstance(other, AttachGatewayLBResponse):
|
|
140
114
|
return False
|
|
141
115
|
|
|
142
116
|
return self.to_dict() == other.to_dict()
|
|
143
117
|
|
|
144
118
|
def __ne__(self, other):
|
|
145
119
|
"""Returns true if both objects are not equal"""
|
|
146
|
-
if not isinstance(other,
|
|
120
|
+
if not isinstance(other, AttachGatewayLBResponse):
|
|
147
121
|
return True
|
|
148
122
|
|
|
149
123
|
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,255 @@
|
|
|
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 CreateCustomDomainRequest(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
|
+
'certificate_id': 'str',
|
|
37
|
+
'comments': 'str',
|
|
38
|
+
'domain': 'str',
|
|
39
|
+
'protocol': 'list[str]',
|
|
40
|
+
'ssl_redirect': 'bool',
|
|
41
|
+
'service_id': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'certificate_id': 'CertificateId',
|
|
46
|
+
'comments': 'Comments',
|
|
47
|
+
'domain': 'Domain',
|
|
48
|
+
'protocol': 'Protocol',
|
|
49
|
+
'ssl_redirect': 'SSLRedirect',
|
|
50
|
+
'service_id': 'ServiceId'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, certificate_id=None, comments=None, domain=None, protocol=None, ssl_redirect=None, service_id=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""CreateCustomDomainRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._certificate_id = None
|
|
60
|
+
self._comments = None
|
|
61
|
+
self._domain = None
|
|
62
|
+
self._protocol = None
|
|
63
|
+
self._ssl_redirect = None
|
|
64
|
+
self._service_id = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if certificate_id is not None:
|
|
68
|
+
self.certificate_id = certificate_id
|
|
69
|
+
if comments is not None:
|
|
70
|
+
self.comments = comments
|
|
71
|
+
self.domain = domain
|
|
72
|
+
if protocol is not None:
|
|
73
|
+
self.protocol = protocol
|
|
74
|
+
if ssl_redirect is not None:
|
|
75
|
+
self.ssl_redirect = ssl_redirect
|
|
76
|
+
self.service_id = service_id
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def certificate_id(self):
|
|
80
|
+
"""Gets the certificate_id of this CreateCustomDomainRequest. # noqa: E501
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
:return: The certificate_id of this CreateCustomDomainRequest. # noqa: E501
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._certificate_id
|
|
87
|
+
|
|
88
|
+
@certificate_id.setter
|
|
89
|
+
def certificate_id(self, certificate_id):
|
|
90
|
+
"""Sets the certificate_id of this CreateCustomDomainRequest.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param certificate_id: The certificate_id of this CreateCustomDomainRequest. # noqa: E501
|
|
94
|
+
:type: str
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
self._certificate_id = certificate_id
|
|
98
|
+
|
|
99
|
+
@property
|
|
100
|
+
def comments(self):
|
|
101
|
+
"""Gets the comments of this CreateCustomDomainRequest. # noqa: E501
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
:return: The comments of this CreateCustomDomainRequest. # noqa: E501
|
|
105
|
+
:rtype: str
|
|
106
|
+
"""
|
|
107
|
+
return self._comments
|
|
108
|
+
|
|
109
|
+
@comments.setter
|
|
110
|
+
def comments(self, comments):
|
|
111
|
+
"""Sets the comments of this CreateCustomDomainRequest.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
:param comments: The comments of this CreateCustomDomainRequest. # noqa: E501
|
|
115
|
+
:type: str
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
self._comments = comments
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
def domain(self):
|
|
122
|
+
"""Gets the domain of this CreateCustomDomainRequest. # noqa: E501
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
:return: The domain of this CreateCustomDomainRequest. # noqa: E501
|
|
126
|
+
:rtype: str
|
|
127
|
+
"""
|
|
128
|
+
return self._domain
|
|
129
|
+
|
|
130
|
+
@domain.setter
|
|
131
|
+
def domain(self, domain):
|
|
132
|
+
"""Sets the domain of this CreateCustomDomainRequest.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:param domain: The domain of this CreateCustomDomainRequest. # noqa: E501
|
|
136
|
+
:type: str
|
|
137
|
+
"""
|
|
138
|
+
if self._configuration.client_side_validation and domain is None:
|
|
139
|
+
raise ValueError("Invalid value for `domain`, must not be `None`") # noqa: E501
|
|
140
|
+
|
|
141
|
+
self._domain = domain
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def protocol(self):
|
|
145
|
+
"""Gets the protocol of this CreateCustomDomainRequest. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The protocol of this CreateCustomDomainRequest. # noqa: E501
|
|
149
|
+
:rtype: list[str]
|
|
150
|
+
"""
|
|
151
|
+
return self._protocol
|
|
152
|
+
|
|
153
|
+
@protocol.setter
|
|
154
|
+
def protocol(self, protocol):
|
|
155
|
+
"""Sets the protocol of this CreateCustomDomainRequest.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param protocol: The protocol of this CreateCustomDomainRequest. # noqa: E501
|
|
159
|
+
:type: list[str]
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._protocol = protocol
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def ssl_redirect(self):
|
|
166
|
+
"""Gets the ssl_redirect of this CreateCustomDomainRequest. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The ssl_redirect of this CreateCustomDomainRequest. # noqa: E501
|
|
170
|
+
:rtype: bool
|
|
171
|
+
"""
|
|
172
|
+
return self._ssl_redirect
|
|
173
|
+
|
|
174
|
+
@ssl_redirect.setter
|
|
175
|
+
def ssl_redirect(self, ssl_redirect):
|
|
176
|
+
"""Sets the ssl_redirect of this CreateCustomDomainRequest.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param ssl_redirect: The ssl_redirect of this CreateCustomDomainRequest. # noqa: E501
|
|
180
|
+
:type: bool
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._ssl_redirect = ssl_redirect
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def service_id(self):
|
|
187
|
+
"""Gets the service_id of this CreateCustomDomainRequest. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The service_id of this CreateCustomDomainRequest. # noqa: E501
|
|
191
|
+
:rtype: str
|
|
192
|
+
"""
|
|
193
|
+
return self._service_id
|
|
194
|
+
|
|
195
|
+
@service_id.setter
|
|
196
|
+
def service_id(self, service_id):
|
|
197
|
+
"""Sets the service_id of this CreateCustomDomainRequest.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param service_id: The service_id of this CreateCustomDomainRequest. # noqa: E501
|
|
201
|
+
:type: str
|
|
202
|
+
"""
|
|
203
|
+
if self._configuration.client_side_validation and service_id is None:
|
|
204
|
+
raise ValueError("Invalid value for `service_id`, must not be `None`") # noqa: E501
|
|
205
|
+
|
|
206
|
+
self._service_id = service_id
|
|
207
|
+
|
|
208
|
+
def to_dict(self):
|
|
209
|
+
"""Returns the model properties as a dict"""
|
|
210
|
+
result = {}
|
|
211
|
+
|
|
212
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
213
|
+
value = getattr(self, attr)
|
|
214
|
+
if isinstance(value, list):
|
|
215
|
+
result[attr] = list(map(
|
|
216
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
217
|
+
value
|
|
218
|
+
))
|
|
219
|
+
elif hasattr(value, "to_dict"):
|
|
220
|
+
result[attr] = value.to_dict()
|
|
221
|
+
elif isinstance(value, dict):
|
|
222
|
+
result[attr] = dict(map(
|
|
223
|
+
lambda item: (item[0], item[1].to_dict())
|
|
224
|
+
if hasattr(item[1], "to_dict") else item,
|
|
225
|
+
value.items()
|
|
226
|
+
))
|
|
227
|
+
else:
|
|
228
|
+
result[attr] = value
|
|
229
|
+
if issubclass(CreateCustomDomainRequest, dict):
|
|
230
|
+
for key, value in self.items():
|
|
231
|
+
result[key] = value
|
|
232
|
+
|
|
233
|
+
return result
|
|
234
|
+
|
|
235
|
+
def to_str(self):
|
|
236
|
+
"""Returns the string representation of the model"""
|
|
237
|
+
return pprint.pformat(self.to_dict())
|
|
238
|
+
|
|
239
|
+
def __repr__(self):
|
|
240
|
+
"""For `print` and `pprint`"""
|
|
241
|
+
return self.to_str()
|
|
242
|
+
|
|
243
|
+
def __eq__(self, other):
|
|
244
|
+
"""Returns true if both objects are equal"""
|
|
245
|
+
if not isinstance(other, CreateCustomDomainRequest):
|
|
246
|
+
return False
|
|
247
|
+
|
|
248
|
+
return self.to_dict() == other.to_dict()
|
|
249
|
+
|
|
250
|
+
def __ne__(self, other):
|
|
251
|
+
"""Returns true if both objects are not equal"""
|
|
252
|
+
if not isinstance(other, CreateCustomDomainRequest):
|
|
253
|
+
return True
|
|
254
|
+
|
|
255
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,123 @@
|
|
|
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 CreateCustomDomainResponse(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
|
+
'id': 'str'
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
attribute_map = {
|
|
40
|
+
'id': 'Id'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self, id=None, _configuration=None): # noqa: E501
|
|
44
|
+
"""CreateCustomDomainResponse - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
if _configuration is None:
|
|
46
|
+
_configuration = Configuration()
|
|
47
|
+
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._id = None
|
|
50
|
+
self.discriminator = None
|
|
51
|
+
|
|
52
|
+
if id is not None:
|
|
53
|
+
self.id = id
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def id(self):
|
|
57
|
+
"""Gets the id of this CreateCustomDomainResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The id of this CreateCustomDomainResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._id
|
|
64
|
+
|
|
65
|
+
@id.setter
|
|
66
|
+
def id(self, id):
|
|
67
|
+
"""Sets the id of this CreateCustomDomainResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param id: The id of this CreateCustomDomainResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._id = id
|
|
75
|
+
|
|
76
|
+
def to_dict(self):
|
|
77
|
+
"""Returns the model properties as a dict"""
|
|
78
|
+
result = {}
|
|
79
|
+
|
|
80
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
81
|
+
value = getattr(self, attr)
|
|
82
|
+
if isinstance(value, list):
|
|
83
|
+
result[attr] = list(map(
|
|
84
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
85
|
+
value
|
|
86
|
+
))
|
|
87
|
+
elif hasattr(value, "to_dict"):
|
|
88
|
+
result[attr] = value.to_dict()
|
|
89
|
+
elif isinstance(value, dict):
|
|
90
|
+
result[attr] = dict(map(
|
|
91
|
+
lambda item: (item[0], item[1].to_dict())
|
|
92
|
+
if hasattr(item[1], "to_dict") else item,
|
|
93
|
+
value.items()
|
|
94
|
+
))
|
|
95
|
+
else:
|
|
96
|
+
result[attr] = value
|
|
97
|
+
if issubclass(CreateCustomDomainResponse, dict):
|
|
98
|
+
for key, value in self.items():
|
|
99
|
+
result[key] = value
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def to_str(self):
|
|
104
|
+
"""Returns the string representation of the model"""
|
|
105
|
+
return pprint.pformat(self.to_dict())
|
|
106
|
+
|
|
107
|
+
def __repr__(self):
|
|
108
|
+
"""For `print` and `pprint`"""
|
|
109
|
+
return self.to_str()
|
|
110
|
+
|
|
111
|
+
def __eq__(self, other):
|
|
112
|
+
"""Returns true if both objects are equal"""
|
|
113
|
+
if not isinstance(other, CreateCustomDomainResponse):
|
|
114
|
+
return False
|
|
115
|
+
|
|
116
|
+
return self.to_dict() == other.to_dict()
|
|
117
|
+
|
|
118
|
+
def __ne__(self, other):
|
|
119
|
+
"""Returns true if both objects are not equal"""
|
|
120
|
+
if not isinstance(other, CreateCustomDomainResponse):
|
|
121
|
+
return True
|
|
122
|
+
|
|
123
|
+
return self.to_dict() != other.to_dict()
|