amazon_spapi/models/product_pricing_v0/
batch_offers_response.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct BatchOffersResponse {
17 #[serde(rename = "headers", skip_serializing_if = "Option::is_none")]
18 pub headers: Option<models::product_pricing_v0::HttpResponseHeaders>,
19 #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
20 pub status: Option<Box<models::product_pricing_v0::GetOffersHttpStatusLine>>,
21 #[serde(rename = "body")]
22 pub body: Box<models::product_pricing_v0::GetOffersResponse>,
23}
24
25impl BatchOffersResponse {
26 pub fn new(body: models::product_pricing_v0::GetOffersResponse) -> BatchOffersResponse {
28 BatchOffersResponse {
29 headers: None,
30 status: None,
31 body: Box::new(body),
32 }
33 }
34}
35