kimai_client_lib 1.0.0

JSON API for the Kimai time-tracking software. Read our [API documentation](https://www.kimai.org/documentation/rest-api.html) and download the [Open API definition](doc.json) to import into your API client.
Documentation
/*
 * Kimai - API
 *
 * JSON API for the Kimai time-tracking software. Read our [API documentation](https://www.kimai.org/documentation/rest-api.html) and download the [Open API definition](doc.json) to import into your API client. 
 *
 * The version of the OpenAPI document: 1.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TimesheetConfig {
    #[serde(rename = "trackingMode", skip_serializing_if = "Option::is_none")]
    pub tracking_mode: Option<String>,
    #[serde(rename = "defaultBeginTime", skip_serializing_if = "Option::is_none")]
    pub default_begin_time: Option<String>,
    #[serde(rename = "activeEntriesHardLimit", skip_serializing_if = "Option::is_none")]
    pub active_entries_hard_limit: Option<i32>,
    #[serde(rename = "isAllowFutureTimes", skip_serializing_if = "Option::is_none")]
    pub is_allow_future_times: Option<bool>,
    #[serde(rename = "isAllowOverlapping", skip_serializing_if = "Option::is_none")]
    pub is_allow_overlapping: Option<bool>,
}

impl TimesheetConfig {
    pub fn new() -> TimesheetConfig {
        TimesheetConfig {
            tracking_mode: None,
            default_begin_time: None,
            active_entries_hard_limit: None,
            is_allow_future_times: None,
            is_allow_overlapping: None,
        }
    }
}