amazon_spapi/models/product_pricing_v0/http_response_headers.rs
1/*
2 * Selling Partner API for Pricing
3 *
4 * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
5 *
6 * The version of the OpenAPI document: v0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// HttpResponseHeaders : A mapping of additional HTTP headers to send/receive for the individual batch request.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct HttpResponseHeaders {
17 /// The timestamp that the API request was received. For more information, consult [RFC 2616 Section 14](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
18 #[serde(rename = "Date", skip_serializing_if = "Option::is_none")]
19 pub date: Option<String>,
20 /// Unique request reference identifier.
21 #[serde(rename = "x-amzn-RequestId", skip_serializing_if = "Option::is_none")]
22 pub x_amzn_request_id: Option<String>,
23}
24
25impl HttpResponseHeaders {
26 /// A mapping of additional HTTP headers to send/receive for the individual batch request.
27 pub fn new() -> HttpResponseHeaders {
28 HttpResponseHeaders {
29 date: None,
30 x_amzn_request_id: None,
31 }
32 }
33}
34