Skip to main content

ledger_models/
fintekkers.requests.transaction.rs

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