/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ArgoSyncWindows {
/// ActiveWindows are the sync windows in force right now. Always null: this platform declares none, so nothing is ever in force.
#[serde(rename = "activeWindows", skip_serializing_if = "Option::is_none")]
pub active_windows: Option<Vec<serde_json::Value>>,
/// AssignedWindows are the windows configured for this application at all, whether or not currently in force. Always null, for the same reason.
#[serde(rename = "assignedWindows", skip_serializing_if = "Option::is_none")]
pub assigned_windows: Option<Vec<serde_json::Value>>,
/// CanSync is whether a sync would be permitted at this moment. Always true — with no windows there is nothing to deny it. A caller must not read this as \"a sync will succeed\"; it only means no window is blocking one.
#[serde(rename = "canSync", skip_serializing_if = "Option::is_none")]
pub can_sync: Option<bool>,
}
impl ArgoSyncWindows {
pub fn new() -> ArgoSyncWindows {
ArgoSyncWindows {
active_windows: None,
assigned_windows: None,
can_sync: None,
}
}
}