/*
* 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};
/// CrawlCreatedEventData : The data associated with the crawl.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CrawlCreatedEventData {
#[serde(rename = "crawl")]
pub crawl: Box<models::Crawl>,
}
impl CrawlCreatedEventData {
/// The data associated with the crawl.
pub fn new(crawl: models::Crawl) -> CrawlCreatedEventData {
CrawlCreatedEventData {
crawl: Box::new(crawl),
}
}
}