amazon_spapi/models/fulfillment_inbound_2024_03_20/
window_input.rs

1/*
2 * The Selling Partner API for FBA inbound operations.
3 *
4 * The Selling Partner API for Fulfillment By Amazon (FBA) Inbound. The FBA Inbound API enables building inbound workflows to create, manage, and send shipments into Amazon's fulfillment network. The API has interoperability with the Send-to-Amazon user interface.
5 *
6 * The version of the OpenAPI document: 2024-03-20
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// WindowInput : Contains only a starting DateTime.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct WindowInput {
17    /// The start date of the window. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) datetime format with minute precision. Supports patterns `yyyy-MM-ddTHH:mmZ`, `yyyy-MM-ddTHH:mm:ssZ`, or `yyyy-MM-ddTHH:mm:ss.sssZ`. Note that non-zero second and millisecond components are removed.
18    #[serde(rename = "start")]
19    pub start: String,
20}
21
22impl WindowInput {
23    /// Contains only a starting DateTime.
24    pub fn new(start: String) -> WindowInput {
25        WindowInput {
26            start,
27        }
28    }
29}
30