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 InstanceGroupManagerStatusVersionTarget {
    /// [Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
    #[serde(rename = "isReached", skip_serializing_if = "Option::is_none")]
    pub is_reached: Option<bool>,
}

impl InstanceGroupManagerStatusVersionTarget {
    pub fn new() -> InstanceGroupManagerStatusVersionTarget {
        InstanceGroupManagerStatusVersionTarget { is_reached: None }
    }
}
