artcoded_api/models/
timesheet_settings_form.rs

1/*
2 * Artcoded
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
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 TimesheetSettingsForm {
16    #[serde(rename = "maxHoursPerDay", skip_serializing_if = "Option::is_none")]
17    pub max_hours_per_day: Option<f64>,
18    #[serde(rename = "minHoursPerDay", skip_serializing_if = "Option::is_none")]
19    pub min_hours_per_day: Option<f64>,
20    #[serde(rename = "clientId", skip_serializing_if = "Option::is_none")]
21    pub client_id: Option<String>,
22    #[serde(rename = "timesheetId", skip_serializing_if = "Option::is_none")]
23    pub timesheet_id: Option<String>,
24}
25
26impl TimesheetSettingsForm {
27    pub fn new() -> TimesheetSettingsForm {
28        TimesheetSettingsForm {
29            max_hours_per_day: None,
30            min_hours_per_day: None,
31            client_id: None,
32            timesheet_id: None,
33        }
34    }
35}