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 RegionInstanceGroupManagersListInstancesResponse {
    /// A list of managed instances.
    #[serde(rename = "managedInstances", skip_serializing_if = "Option::is_none")]
    pub managed_instances:
        Option<Vec<crate::google_rest_apis::compute_v1::models::ManagedInstance>>,
    /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
}

impl RegionInstanceGroupManagersListInstancesResponse {
    pub fn new() -> RegionInstanceGroupManagersListInstancesResponse {
        RegionInstanceGroupManagersListInstancesResponse {
            managed_instances: None,
            next_page_token: None,
        }
    }
}
