azisaba-graph 0.1.0-rc.3

An API for connecting and sharing data across Azisaba Network.
Documentation
/*
 * Azisaba Graph API
 *
 * An API for connecting and sharing data across Azisaba Network.
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListPlayers200Response {
    #[serde(rename = "items")]
    pub items: Vec<models::ListPlayers200ResponseItemsInner>,
    /// The cursor for retrieving the next page, or `null` if no more results are available.
    #[serde(rename = "nextCursor", deserialize_with = "Option::deserialize")]
    pub next_cursor: Option<String>,
}

impl ListPlayers200Response {
    pub fn new(items: Vec<models::ListPlayers200ResponseItemsInner>, next_cursor: Option<String>) -> ListPlayers200Response {
        ListPlayers200Response {
            items,
            next_cursor,
        }
    }
}