fireblocks_sdk/models/create_internal_wallet_asset_request.rs
1// Fireblocks API
2//
3// Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
4//
5// The version of the OpenAPI document: 1.8.0
6// Contact: developers@fireblocks.com
7// Generated by: https://openapi-generator.tech
8
9use serde::{Deserialize, Serialize};
10
11#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
12pub struct CreateInternalWalletAssetRequest {
13 /// The wallet's address or, for EOS wallets, the account name
14 #[serde(rename = "address")]
15 pub address: String,
16 /// for XRP wallets, the destination tag; for EOS, the memo; for the fiat
17 /// providers (BLINC by BCB Group), the Bank Transfer Description
18 #[serde(rename = "tag", skip_serializing_if = "Option::is_none")]
19 pub tag: Option<String>,
20}
21
22impl CreateInternalWalletAssetRequest {
23 pub fn new(address: String) -> CreateInternalWalletAssetRequest {
24 CreateInternalWalletAssetRequest { address, tag: None }
25 }
26}