Skip to main content

autogen_squareup/models/
labor_shift_created_event_object.rs

1/*
2 * Square
3 *
4 * Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.
5 *
6 * The version of the OpenAPI document: 2.0
7 * Contact: developers@squareup.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct LaborShiftCreatedEventObject {
16    #[serde(rename = "shift", skip_serializing_if = "Option::is_none")]
17    pub shift: Option<Box<models::Shift>>,
18}
19
20impl LaborShiftCreatedEventObject {
21    pub fn new() -> LaborShiftCreatedEventObject {
22        LaborShiftCreatedEventObject {
23            shift: None,
24        }
25    }
26}
27