Skip to main content

amazon_spapi/models/services/
set_appointment_fulfillment_data_request.rs

1/*
2 * Selling Partner API for Services
3 *
4 * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// SetAppointmentFulfillmentDataRequest : Input for set appointment fulfillment data operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SetAppointmentFulfillmentDataRequest {
17    #[serde(rename = "estimatedArrivalTime", skip_serializing_if = "Option::is_none")]
18    pub estimated_arrival_time: Option<Box<models::services::DateTimeRange>>,
19    #[serde(rename = "fulfillmentTime", skip_serializing_if = "Option::is_none")]
20    pub fulfillment_time: Option<Box<models::services::FulfillmentTime>>,
21    /// List of resources that performs or performed job appointment fulfillment.
22    #[serde(rename = "appointmentResources", skip_serializing_if = "Option::is_none")]
23    pub appointment_resources: Option<Vec<models::services::AppointmentResource>>,
24    /// List of documents captured during service appointment fulfillment.
25    #[serde(rename = "fulfillmentDocuments", skip_serializing_if = "Option::is_none")]
26    pub fulfillment_documents: Option<Vec<models::services::FulfillmentDocument>>,
27}
28
29impl SetAppointmentFulfillmentDataRequest {
30    /// Input for set appointment fulfillment data operation.
31    pub fn new() -> SetAppointmentFulfillmentDataRequest {
32        SetAppointmentFulfillmentDataRequest {
33            estimated_arrival_time: None,
34            fulfillment_time: None,
35            appointment_resources: None,
36            fulfillment_documents: None,
37        }
38    }
39}
40