azisaba-graph 0.1.0-rc.2

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 DeletePunishmentByIdRequest {
    #[serde(rename = "reason")]
    pub reason: String,
}

impl DeletePunishmentByIdRequest {
    pub fn new(reason: String) -> DeletePunishmentByIdRequest {
        DeletePunishmentByIdRequest {
            reason,
        }
    }
}