#![allow(
dead_code,
unused_variables,
clippy::let_and_return,
clippy::single_match
)]
use winterbaume_core::MockResponse;
pub use super::model::*;
pub fn serialize_describe_services_response(result: &DescribeServicesResponse) -> MockResponse {
let body = serde_json::to_string(result).unwrap_or_else(|_| "{}".to_string());
MockResponse::json(200, body)
}
pub fn serialize_get_attribute_values_response(
result: &GetAttributeValuesResponse,
) -> MockResponse {
let body = serde_json::to_string(result).unwrap_or_else(|_| "{}".to_string());
MockResponse::json(200, body)
}
pub fn serialize_get_price_list_file_url_response(
result: &GetPriceListFileUrlResponse,
) -> MockResponse {
let body = serde_json::to_string(result).unwrap_or_else(|_| "{}".to_string());
MockResponse::json(200, body)
}
pub fn serialize_get_products_response(result: &GetProductsResponse) -> MockResponse {
let body = serde_json::to_string(result).unwrap_or_else(|_| "{}".to_string());
MockResponse::json(200, body)
}
pub fn serialize_list_price_lists_response(result: &ListPriceListsResponse) -> MockResponse {
let body = serde_json::to_string(result).unwrap_or_else(|_| "{}".to_string());
MockResponse::json(200, body)
}