photon_api/models/
_get_validity_proof_post_request_params.rs

1/*
2 * photon-indexer
3 *
4 * Solana indexer for general compression
5 *
6 * The version of the OpenAPI document: 0.50.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct GetValidityProofPostRequestParams {
15    #[serde(rename = "hashes", skip_serializing_if = "Option::is_none")]
16    pub hashes: Option<Vec<String>>,
17    #[serde(
18        rename = "newAddressesWithTrees",
19        skip_serializing_if = "Option::is_none"
20    )]
21    pub new_addresses_with_trees: Option<Vec<models::AddressWithTree>>,
22}
23
24impl GetValidityProofPostRequestParams {
25    pub fn new() -> GetValidityProofPostRequestParams {
26        GetValidityProofPostRequestParams {
27            hashes: None,
28            new_addresses_with_trees: None,
29        }
30    }
31}