/*
 * 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 ListDiscordGuildMembers200ResponsePagination {
    /// Pass as `after` on the next call. Null when there are no more pages.
    #[serde(
        rename = "nextCursor",
        default,
        with = "::serde_with::rust::double_option",
        skip_serializing_if = "Option::is_none"
    )]
    pub next_cursor: Option<Option<String>>,
    #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")]
    pub has_more: Option<bool>,
}

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