azisaba-graph 0.1.0-rc.16

An API for connecting and sharing data across the Azisaba Network.
Documentation
/*
 * 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};

/// PatchNoteCreatedEventData : The data associated with the patch note.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PatchNoteCreatedEventData {
    #[serde(rename = "patchNote")]
    pub patch_note: Box<models::PatchNote>,
}

impl PatchNoteCreatedEventData {
    /// The data associated with the patch note.
    pub fn new(patch_note: models::PatchNote) -> PatchNoteCreatedEventData {
        PatchNoteCreatedEventData {
            patch_note: Box::new(patch_note),
        }
    }
}