amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * 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};

/// AppointmentSlotTime : An appointment slot time with start and end.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AppointmentSlotTime {
    /// The end timestamp of the appointment in UTC.
    #[serde(rename = "endTime")]
    pub end_time: String,
    /// The start timestamp of the appointment in UTC.
    #[serde(rename = "startTime")]
    pub start_time: String,
}

impl AppointmentSlotTime {
    /// An appointment slot time with start and end.
    pub fn new(end_time: String, start_time: String) -> AppointmentSlotTime {
        AppointmentSlotTime {
            end_time,
            start_time,
        }
    }
}