amazon_spapi/models/services/
scope_of_work.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/// ScopeOfWork : The scope of work for the order.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ScopeOfWork {
17    /// The Amazon Standard Identification Number (ASIN) of the service job.
18    #[serde(rename = "asin", skip_serializing_if = "Option::is_none")]
19    pub asin: Option<String>,
20    /// The title of the service job.
21    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
22    pub title: Option<String>,
23    /// The number of service jobs.
24    #[serde(rename = "quantity", skip_serializing_if = "Option::is_none")]
25    pub quantity: Option<i32>,
26    /// A list of skills required to perform the job.
27    #[serde(rename = "requiredSkills", skip_serializing_if = "Option::is_none")]
28    pub required_skills: Option<Vec<String>>,
29}
30
31impl ScopeOfWork {
32    /// The scope of work for the order.
33    pub fn new() -> ScopeOfWork {
34        ScopeOfWork {
35            asin: None,
36            title: None,
37            quantity: None,
38            required_skills: None,
39        }
40    }
41}
42