/*
 * photon-indexer
 *
 * Solana indexer for general compression
 *
 * The version of the OpenAPI document: 0.50.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCompressedAccountProofPostRequestParams {
    /// A 32-byte hash represented as a base58 string.
    #[serde(rename = "hash")]
    pub hash: String,
}

impl GetCompressedAccountProofPostRequestParams {
    pub fn new(hash: String) -> GetCompressedAccountProofPostRequestParams {
        GetCompressedAccountProofPostRequestParams { hash }
    }
}
