ledger_models/
fintekkers.requests.transaction.rs

1#[allow(clippy::derive_partial_eq_without_eq)]
2#[derive(Clone, PartialEq, ::prost::Message)]
3pub struct QueryTransactionRequestProto {
4    #[prost(string, tag = "1")]
5    pub object_class: ::prost::alloc::string::String,
6    #[prost(string, tag = "2")]
7    pub version: ::prost::alloc::string::String,
8    /// The list of UUIds to return
9    #[prost(message, repeated, tag = "21")]
10    pub uu_ids: ::prost::alloc::vec::Vec<super::super::models::util::UuidProto>,
11    /// A list of position filters that will filter securities that match.
12    #[prost(message, optional, tag = "22")]
13    pub search_transaction_input: ::core::option::Option<
14        super::super::models::position::PositionFilterProto,
15    >,
16    /// The as of date to query the data set
17    #[prost(message, optional, tag = "23")]
18    pub as_of: ::core::option::Option<super::super::models::util::LocalTimestampProto>,
19    /// Max number of records to return
20    #[prost(int32, tag = "24")]
21    pub limit: i32,
22}
23#[allow(clippy::derive_partial_eq_without_eq)]
24#[derive(Clone, PartialEq, ::prost::Message)]
25pub struct QueryTransactionResponseProto {
26    #[prost(string, tag = "1")]
27    pub object_class: ::prost::alloc::string::String,
28    #[prost(string, tag = "2")]
29    pub version: ::prost::alloc::string::String,
30    #[prost(message, optional, tag = "20")]
31    pub create_transaction_request: ::core::option::Option<QueryTransactionRequestProto>,
32    #[prost(message, repeated, tag = "30")]
33    pub transaction_response: ::prost::alloc::vec::Vec<
34        super::super::models::transaction::TransactionProto,
35    >,
36    /// If no errors or warnings in the response then the request was processed successfully without any
37    /// contingencies.
38    #[prost(message, optional, tag = "40")]
39    pub errors_or_warnings: ::core::option::Option<super::util::errors::SummaryProto>,
40}
41#[allow(clippy::derive_partial_eq_without_eq)]
42#[derive(Clone, PartialEq, ::prost::Message)]
43pub struct CreateTransactionRequestProto {
44    #[prost(string, tag = "1")]
45    pub object_class: ::prost::alloc::string::String,
46    #[prost(string, tag = "2")]
47    pub version: ::prost::alloc::string::String,
48    #[prost(message, optional, tag = "20")]
49    pub create_transaction_input: ::core::option::Option<
50        super::super::models::transaction::TransactionProto,
51    >,
52}
53#[allow(clippy::derive_partial_eq_without_eq)]
54#[derive(Clone, PartialEq, ::prost::Message)]
55pub struct CreateTransactionResponseProto {
56    #[prost(string, tag = "1")]
57    pub object_class: ::prost::alloc::string::String,
58    #[prost(string, tag = "2")]
59    pub version: ::prost::alloc::string::String,
60    #[prost(message, optional, tag = "20")]
61    pub create_transaction_request: ::core::option::Option<
62        CreateTransactionRequestProto,
63    >,
64    #[prost(message, optional, tag = "30")]
65    pub transaction_response: ::core::option::Option<
66        super::super::models::transaction::TransactionProto,
67    >,
68}