/*
* The Selling Partner API for FBA inbound operations.
*
* 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.
*
* The version of the OpenAPI document: 2024-03-20
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// WindowInput : Contains only a starting DateTime.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WindowInput {
/// 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.
#[serde(rename = "start")]
pub start: String,
}
impl WindowInput {
/// Contains only a starting DateTime.
pub fn new(start: String) -> WindowInput {
WindowInput {
start,
}
}
}