/*
* 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 CreateProofRequest {
#[serde(rename = "text")]
pub text: String,
#[serde(rename = "public")]
pub public: bool,
}
impl CreateProofRequest {
pub fn new(text: String, public: bool) -> CreateProofRequest {
CreateProofRequest {
text,
public,
}
}
}