1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * Selling Partner API for Pricing
 *
 * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.
 *
 * The version of the OpenAPI document: v0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// GetOffersHttpStatusLine : The HTTP status line associated with the response.  For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).



#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct GetOffersHttpStatusLine {
    /// The HTTP response Status Code.
    #[serde(default, rename = "statusCode", skip_serializing_if = "Option::is_none")]
    pub status_code: Option<i32>,
    /// The HTTP response Reason-Phase.
    #[serde(default, rename = "reasonPhrase", skip_serializing_if = "Option::is_none")]
    pub reason_phrase: Option<String>,
}

impl GetOffersHttpStatusLine {
    /// The HTTP status line associated with the response.  For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
    pub fn new() -> GetOffersHttpStatusLine {
        GetOffersHttpStatusLine {
            status_code: None,
            reason_phrase: None,
        }
    }
}