amazon_spapi/models/feeds_2021_06_30/
create_feed_response.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/// CreateFeedResponse : Response schema.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateFeedResponse {
17    /// The identifier for the feed. This identifier is unique only in combination with a seller ID.
18    #[serde(rename = "feedId")]
19    pub feed_id: String,
20}
21
22impl CreateFeedResponse {
23    /// Response schema.
24    pub fn new(feed_id: String) -> CreateFeedResponse {
25        CreateFeedResponse {
26            feed_id,
27        }
28    }
29}
30