hermes_ebay_sell_inventory/models/document.rs
1/*
2 * Inventory API
3 *
4 * The Inventory API is used to create and manage inventory, and then to publish and manage this inventory on an eBay marketplace. There are also methods in this API that will convert eligible, active eBay listings into the Inventory API model.
5 *
6 * The version of the OpenAPI document: 1.18.4
7 * Contact: your-email@example.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// Document : This type provides an array of one or more regulatory documents associated with a listing for Regulatory Compliance.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Document {
17 /// The unique identifier of a regulatory document associated with the listing.<br><br>This value can be found in the response of the <a href=\"/api-docs/commerce/media/resources/document/methods/createDocument\" target=\"_blank\">createDocument</a> method of the Media API.
18 #[serde(rename = "documentId", skip_serializing_if = "Option::is_none")]
19 pub document_id: Option<String>,
20}
21
22impl Document {
23 /// This type provides an array of one or more regulatory documents associated with a listing for Regulatory Compliance.
24 pub fn new() -> Document {
25 Document {
26 document_id: None,
27 }
28 }
29}
30