Skip to main content

amazon_spapi/models/aplus_content_2020_11_01/
aplus_response.rs

1/*
2 * Selling Partner API for A+ Content Management
3 *
4 * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
5 *
6 * The version of the OpenAPI document: 2020-11-01
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// AplusResponse : The base response data for all A+ Content operations when a request is successful or partially successful. Individual operations can extend this with additional data.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AplusResponse {
17    /// A set of messages to the user, such as warnings or comments.
18    #[serde(rename = "warnings", skip_serializing_if = "Option::is_none")]
19    pub warnings: Option<Vec<models::aplus_content_2020_11_01::Error>>,
20}
21
22impl AplusResponse {
23    /// The base response data for all A+ Content operations when a request is successful or partially successful. Individual operations can extend this with additional data.
24    pub fn new() -> AplusResponse {
25        AplusResponse {
26            warnings: None,
27        }
28    }
29}
30