/*
 * 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.1
 * 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 GetInboxConversationMessages200ResponsePagination {
    /// Whether more messages are available beyond this page.
    #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")]
    pub has_more: Option<bool>,
    /// Opaque cursor to fetch the next page. `null` on the last page.
    #[serde(rename = "nextCursor", skip_serializing_if = "Option::is_none")]
    pub next_cursor: Option<String>,
}

impl GetInboxConversationMessages200ResponsePagination {
    pub fn new() -> GetInboxConversationMessages200ResponsePagination {
        GetInboxConversationMessages200ResponsePagination {
            has_more: None,
            next_cursor: None,
        }
    }
}
