1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * CryptoAPIs
 *
 * Crypto APIs 2.0 is a complex and innovative infrastructure layer that radically simplifies the development of any Blockchain and Crypto related applications. Organized around REST, Crypto APIs 2.0 can assist both novice Bitcoin/Ethereum enthusiasts and crypto experts with the development of their blockchain applications. Crypto APIs 2.0 provides unified endpoints and data, raw data, automatic tokens and coins forwardings, callback functionalities, and much more.
 *
 * The version of the OpenAPI document: 2.0.0
 * Contact: developers@cryptoapis.io
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AddressCoinsTransactionConfirmedEachConfirmation {
    /// Specifies the version of the API that incorporates this endpoint.
    #[serde(rename = "apiVersion")]
    pub api_version: String,
    /// Represents a unique identifier that serves as reference to the specific request which prompts a callback, e.g. Blockchain Events Subscription, Blockchain Automation, etc.
    #[serde(rename = "referenceId")]
    pub reference_id: String,
    /// Specifies a unique ID generated by the system and attached to each callback. It is used by the server to recognize consecutive requests with the same data with the purpose not to perform the same operation twice.
    #[serde(rename = "idempotencyKey")]
    pub idempotency_key: String,
    #[serde(rename = "data")]
    pub data: Box<crate::models::AddressCoinsTransactionConfirmedEachConfirmationData>,
}

impl AddressCoinsTransactionConfirmedEachConfirmation {
    pub fn new(api_version: String, reference_id: String, idempotency_key: String, data: crate::models::AddressCoinsTransactionConfirmedEachConfirmationData) -> AddressCoinsTransactionConfirmedEachConfirmation {
        AddressCoinsTransactionConfirmedEachConfirmation {
            api_version,
            reference_id,
            idempotency_key,
            data: Box::new(data),
        }
    }
}