fireblocks_sdk/models/resend_failed_notifications_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 {
10 crate::models,
11 serde::{Deserialize, Serialize},
12};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ResendFailedNotificationsRequest {
16 /// (optional) Start time for the resend window in milliseconds since epoch
17 /// up to 24 hours before the current time - Default if missing means 24
18 /// hours before the current time in milliseconds since epoch - Maximum
19 /// value is current time in milliseconds since epoch - Minimum value is 24
20 /// hours before the current time in milliseconds since epoch
21 #[serde(rename = "startTime", skip_serializing_if = "Option::is_none")]
22 pub start_time: Option<f64>,
23 /// (optional) Event types to resend, default is all event types - Default
24 /// if missing means all events will be included - Empty array means all
25 /// events will be included
26 #[serde(rename = "events", skip_serializing_if = "Option::is_none")]
27 pub events: Option<Vec<String>>,
28 #[serde(rename = "items", skip_serializing_if = "Option::is_none")]
29 pub items: Option<models::WebhookEvent>,
30}
31
32impl ResendFailedNotificationsRequest {
33 pub fn new() -> ResendFailedNotificationsRequest {
34 ResendFailedNotificationsRequest {
35 start_time: None,
36 events: None,
37 items: None,
38 }
39 }
40}