/*
 * 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 ListGoogleBusinessMedia200Response {
    #[serde(rename = "success", skip_serializing_if = "Option::is_none")]
    pub success: Option<bool>,
    #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
    pub account_id: Option<String>,
    #[serde(rename = "locationId", skip_serializing_if = "Option::is_none")]
    pub location_id: Option<String>,
    #[serde(rename = "mediaItems", skip_serializing_if = "Option::is_none")]
    pub media_items: Option<Vec<models::ListGoogleBusinessMedia200ResponseMediaItemsInner>>,
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
    #[serde(
        rename = "totalMediaItemsCount",
        skip_serializing_if = "Option::is_none"
    )]
    pub total_media_items_count: Option<i32>,
}

impl ListGoogleBusinessMedia200Response {
    pub fn new() -> ListGoogleBusinessMedia200Response {
        ListGoogleBusinessMedia200Response {
            success: None,
            account_id: None,
            location_id: None,
            media_items: None,
            next_page_token: None,
            total_media_items_count: None,
        }
    }
}
