/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.4
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetGmbLocations200Response {
    #[serde(rename = "locations", skip_serializing_if = "Option::is_none")]
    pub locations: Option<Vec<models::GetGmbLocations200ResponseLocationsInner>>,
    /// True when more locations exist than were returned (use search to narrow down).
    #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")]
    pub has_more: Option<bool>,
    #[serde(rename = "selectedLocationId", skip_serializing_if = "Option::is_none")]
    pub selected_location_id: Option<String>,
    #[serde(rename = "cached", skip_serializing_if = "Option::is_none")]
    pub cached: Option<bool>,
}

impl GetGmbLocations200Response {
    pub fn new() -> GetGmbLocations200Response {
        GetGmbLocations200Response {
            locations: None,
            has_more: None,
            selected_location_id: None,
            cached: None,
        }
    }
}
