Skip to main content

ark_rest/models/
batch_started_event.rs

1/*
2 * Ark API
3 *
4 * Combined Ark Service, Indexer, Admin, Signer Manager, and Wallet API
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::Deserialize;
13use serde::Serialize;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct BatchStartedEvent {
17    #[serde(rename = "batchExpiry", skip_serializing_if = "Option::is_none")]
18    pub batch_expiry: Option<String>,
19    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
20    pub id: Option<String>,
21    #[serde(rename = "intentIdHashes", skip_serializing_if = "Option::is_none")]
22    pub intent_id_hashes: Option<Vec<String>>,
23}
24
25impl BatchStartedEvent {
26    pub fn new() -> BatchStartedEvent {
27        BatchStartedEvent {
28            batch_expiry: None,
29            id: None,
30            intent_id_hashes: None,
31        }
32    }
33}