use serde::{Deserialize, Serialize}; /*
                                      * Google Cloud Managed Lustre API
                                      *
                                      * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
                                      *
                                      * The version of the OpenAPI document: v1
                                      *
                                      * Generated by: https://openapi-generator.tech
                                      */

use crate::google_rest_apis::lustre_v1::models;

/// ListLocationsResponse : The response message for Locations.ListLocations.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListLocationsResponse {
    /// A list of locations that matches the specified filter in the request.
    #[serde(rename = "locations", skip_serializing_if = "Option::is_none")]
    pub locations: Option<Vec<models::Location>>,
    /// The standard List next-page token.
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
}

impl ListLocationsResponse {
    /// The response message for Locations.ListLocations.
    pub fn new() -> ListLocationsResponse {
        ListLocationsResponse {
            locations: None,
            next_page_token: None,
        }
    }
}
