/*
* Azisaba Graph API
*
* An API for connecting and sharing data across the 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 ListCrawls200Response {
#[serde(rename = "items")]
pub items: Vec<models::Crawl>,
/// 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 ListCrawls200Response {
pub fn new(items: Vec<models::Crawl>, next_cursor: Option<String>) -> ListCrawls200Response {
ListCrawls200Response {
items,
next_cursor,
}
}
}