amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Feeds
 *
 * The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
 *
 * The version of the OpenAPI document: 2021-06-30
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// CreateFeedResponse : Response schema.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateFeedResponse {
    /// The identifier for the feed. This identifier is unique only in combination with a seller ID.
    #[serde(rename = "feedId")]
    pub feed_id: String,
}

impl CreateFeedResponse {
    /// Response schema.
    pub fn new(feed_id: String) -> CreateFeedResponse {
        CreateFeedResponse {
            feed_id,
        }
    }
}