use serde::{Deserialize, Serialize}; /*
                                      * Compute Engine API
                                      *
                                      * Creates and runs virtual machines on Google Cloud Platform.
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
    /// [Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.
    #[serde(rename = "lastRunStartTime", skip_serializing_if = "Option::is_none")]
    pub last_run_start_time: Option<String>,
    /// [Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.
    #[serde(rename = "nextRunStartTime", skip_serializing_if = "Option::is_none")]
    pub next_run_start_time: Option<String>,
}

impl ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
    pub fn new() -> ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
        ResourcePolicyResourceStatusInstanceSchedulePolicyStatus {
            last_run_start_time: None,
            next_run_start_time: None,
        }
    }
}
