amazon_spapi/models/feeds_2021_06_30/create_feed_document_specification.rs
1/*
2 * Selling Partner API for Feeds
3 *
4 * The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
5 *
6 * The version of the OpenAPI document: 2021-06-30
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateFeedDocumentSpecification : Specifies the content type for the createFeedDocument operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateFeedDocumentSpecification {
17 /// The content type of the feed.
18 #[serde(rename = "contentType")]
19 pub content_type: String,
20}
21
22impl CreateFeedDocumentSpecification {
23 /// Specifies the content type for the createFeedDocument operation.
24 pub fn new(content_type: String) -> CreateFeedDocumentSpecification {
25 CreateFeedDocumentSpecification {
26 content_type,
27 }
28 }
29}
30