Skip to main content

hermes_ebay_sell_metadata/models/
compatibility.rs

1/*
2 * Metadata API
3 *
4 * The Metadata API has operations that retrieve configuration details pertaining to the different eBay marketplaces. In addition to marketplace information, the API also has operations that get information that helps sellers list items on eBay.
5 *
6 * The version of the OpenAPI document: v1.11.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/// Compatibility : This type defines the property names and values that are compatible with the property name values specified in the request.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Compatibility {
17    /// This array returns a list of compatibility details associated with the specified property name(s).
18    #[serde(rename = "compatibilityDetails", skip_serializing_if = "Option::is_none")]
19    pub compatibility_details: Option<Vec<models::CompatibilityDetails>>,
20}
21
22impl Compatibility {
23    /// This type defines the property names and values that are compatible with the property name values specified in the request.
24    pub fn new() -> Compatibility {
25        Compatibility {
26            compatibility_details: None,
27        }
28    }
29}
30