amazon_spapi/models/services/
assign_appointment_resources_response_payload.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/// AssignAppointmentResourcesResponsePayload : The payload for the `assignAppointmentResource` operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct AssignAppointmentResourcesResponsePayload {
17    /// A list of warnings returned in the sucessful execution response of an API request.
18    #[serde(rename = "warnings", skip_serializing_if = "Option::is_none")]
19    pub warnings: Option<Vec<models::services::Warning>>,
20}
21
22impl AssignAppointmentResourcesResponsePayload {
23    /// The payload for the `assignAppointmentResource` operation.
24    pub fn new() -> AssignAppointmentResourcesResponsePayload {
25        AssignAppointmentResourcesResponsePayload {
26            warnings: None,
27        }
28    }
29}
30