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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListUnconfirmedOmniTransactionsByPropertyIdri {
#[serde(rename = "amount")]
pub amount: String,
#[serde(rename = "divisible")]
pub divisible: bool,
#[serde(rename = "mined")]
pub mined: bool,
#[serde(rename = "propertyId")]
pub property_id: i32,
#[serde(rename = "recipients")]
pub recipients: Vec<crate::models::ListOmniTransactionsByAddressRiRecipients>,
#[serde(rename = "senders")]
pub senders: Vec<crate::models::GetUnconfirmedOmniTransactionByTransactionIdTxidRiSenders>,
#[serde(rename = "sent")]
pub sent: bool,
#[serde(rename = "timestamp")]
pub timestamp: i32,
#[serde(rename = "transactionId")]
pub transaction_id: String,
#[serde(rename = "type")]
pub _type: String,
#[serde(rename = "typeIint")]
pub type_iint: i32,
#[serde(rename = "version")]
pub version: i32,
#[serde(rename = "fee")]
pub fee: Box<crate::models::ListUnconfirmedOmniTransactionsByAddressRiFee>,
}
impl ListUnconfirmedOmniTransactionsByPropertyIdri {
pub fn new(amount: String, divisible: bool, mined: bool, property_id: i32, recipients: Vec<crate::models::ListOmniTransactionsByAddressRiRecipients>, senders: Vec<crate::models::GetUnconfirmedOmniTransactionByTransactionIdTxidRiSenders>, sent: bool, timestamp: i32, transaction_id: String, _type: String, type_iint: i32, version: i32, fee: crate::models::ListUnconfirmedOmniTransactionsByAddressRiFee) -> ListUnconfirmedOmniTransactionsByPropertyIdri {
ListUnconfirmedOmniTransactionsByPropertyIdri {
amount,
divisible,
mined,
property_id,
recipients,
senders,
sent,
timestamp,
transaction_id,
_type,
type_iint,
version,
fee: Box::new(fee),
}
}
}