amazon_spapi/models/fulfillment_outbound_2020_07_01/get_features_response.rs
1/*
2 * Selling Partner APIs for Fulfillment Outbound
3 *
4 * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
5 *
6 * The version of the OpenAPI document: 2020-07-01
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GetFeaturesResponse : The response schema for the `getFeatures` operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetFeaturesResponse {
17 #[serde(rename = "payload", skip_serializing_if = "Option::is_none")]
18 pub payload: Option<Box<models::fulfillment_outbound_2020_07_01::GetFeaturesResult>>,
19 /// A list of error responses returned when a request is unsuccessful.
20 #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
21 pub errors: Option<Vec<models::fulfillment_outbound_2020_07_01::Error>>,
22}
23
24impl GetFeaturesResponse {
25 /// The response schema for the `getFeatures` operation.
26 pub fn new() -> GetFeaturesResponse {
27 GetFeaturesResponse {
28 payload: None,
29 errors: None,
30 }
31 }
32}
33