linkbreakers 1.87.7

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.87.7
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// ListVisitorsJsonResponse : ListVisitorsJsonResponse is the default structured payload used by dashboards.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListVisitorsJsonResponse {
    #[serde(rename = "hasMore", skip_serializing_if = "Option::is_none")]
    pub has_more: Option<bool>,
    /// Cursor token returned when another page is available
    #[serde(rename = "nextPageToken", skip_serializing_if = "Option::is_none")]
    pub next_page_token: Option<String>,
    /// Total number of visitors matching the current filters
    #[serde(rename = "totalCount", skip_serializing_if = "Option::is_none")]
    pub total_count: Option<i64>,
    #[serde(rename = "visitors", skip_serializing_if = "Option::is_none")]
    pub visitors: Option<Vec<models::Visitor>>,
}

impl ListVisitorsJsonResponse {
    /// ListVisitorsJsonResponse is the default structured payload used by dashboards.
    pub fn new() -> ListVisitorsJsonResponse {
        ListVisitorsJsonResponse {
            has_more: None,
            next_page_token: None,
            total_count: None,
            visitors: None,
        }
    }
}