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
41
42
/*
 * 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 GetWalletAssetDetailsRi {
    #[serde(rename = "confirmedBalance")]
    pub confirmed_balance: Box<crate::models::GetWalletAssetDetailsRiConfirmedBalance>,
    /// Specifies the count of deposit addresses in the Wallet.
    #[serde(rename = "depositAddressesCount")]
    pub deposit_addresses_count: i32,
    /// Defines the name of the Wallet given to it by the user.
    #[serde(rename = "name")]
    pub name: String,
    #[serde(rename = "recievedConfirmedAmount")]
    pub recieved_confirmed_amount: Box<crate::models::GetWalletAssetDetailsRiRecievedConfirmedAmount>,
    #[serde(rename = "sentConfirmedAmount")]
    pub sent_confirmed_amount: Box<crate::models::GetWalletAssetDetailsRiSentConfirmedAmount>,
}

impl GetWalletAssetDetailsRi {
    pub fn new(confirmed_balance: crate::models::GetWalletAssetDetailsRiConfirmedBalance, deposit_addresses_count: i32, name: String, recieved_confirmed_amount: crate::models::GetWalletAssetDetailsRiRecievedConfirmedAmount, sent_confirmed_amount: crate::models::GetWalletAssetDetailsRiSentConfirmedAmount) -> GetWalletAssetDetailsRi {
        GetWalletAssetDetailsRi {
            confirmed_balance: Box::new(confirmed_balance),
            deposit_addresses_count,
            name,
            recieved_confirmed_amount: Box::new(recieved_confirmed_amount),
            sent_confirmed_amount: Box::new(sent_confirmed_amount),
        }
    }
}