hermes_ebay_commerce_taxonomy/models/error_parameter.rs
1/*
2 * Taxonomy API
3 *
4 * Use the Taxonomy API to discover the most appropriate eBay categories under which sellers can offer inventory items for sale, and the most likely categories under which buyers can browse or search for items to purchase. In addition, the Taxonomy API provides metadata about the required and recommended category aspects to include in listings, and also has two operations to retrieve parts compatibility information.
5 *
6 * The version of the OpenAPI document: v1.1.1
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