Skip to main content

hermes_ebay_sell_recommendation/models/
error_parameter.rs

1/*
2 * Recommendation API
3 *
4 * The <b>Recommendation API</b> returns information that sellers can use to optimize the configuration of their listings on eBay. <br><br>Currently, the API contains a single method, <b>findListingRecommendations</b>. This method provides information that sellers can use to configure Promoted Listings ad campaigns to maximize the visibility of their items in the eBay marketplace.
5 *
6 * The version of the OpenAPI document: v1.1.0
7 * Contact: your-email@example.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ErrorParameter {
16    /// The object of the error.
17    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18    pub name: Option<String>,
19    /// The value of the object.
20    #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
21    pub value: Option<String>,
22}
23
24impl ErrorParameter {
25    pub fn new() -> ErrorParameter {
26        ErrorParameter {
27            name: None,
28            value: None,
29        }
30    }
31}
32