amazon_spapi/models/services/
technician.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/// Technician : A technician who is assigned to perform the service job in part or in full.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Technician {
17    /// The technician identifier.
18    #[serde(rename = "technicianId", skip_serializing_if = "Option::is_none")]
19    pub technician_id: Option<String>,
20    /// The name of the technician.
21    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
22    pub name: Option<String>,
23}
24
25impl Technician {
26    /// A technician who is assigned to perform the service job in part or in full.
27    pub fn new() -> Technician {
28        Technician {
29            technician_id: None,
30            name: None,
31        }
32    }
33}
34