/*
 * Late API
 *
 * API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
 *
 * The version of the OpenAPI document: 1.0.1
 * Contact: support@getlate.dev
 * 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>>,
    #[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,
            selected_location_id: None,
            cached: None,
        }
    }
}
