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
// Fireblocks API
//
// 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)
//
// The version of the OpenAPI document: 1.8.0
// Contact: developers@fireblocks.com
// Generated by: https://openapi-generator.tech
use {
crate::models,
serde::{Deserialize, Serialize},
};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ResendNotificationsByResourceIdRequest {
/// The resource id to resend notifications for
#[serde(rename = "resourceId")]
pub resource_id: uuid::Uuid,
/// (optional) List of notification statuses to exclude from the resend
/// operation - It's optional but it must be included. For example, if
/// there is no status, the syntax will be \"excludeStatuses\": [] -
/// Empty array means all statuses will be included - If you want to
/// exclude some statuses, you can use the following example: [ IN_PROGRESS,
/// FAILED ] - Default if missing, means all statuses other than
/// \"COMPLETED\" will be included
#[serde(rename = "excludeStatuses", skip_serializing_if = "Option::is_none")]
pub exclude_statuses: Option<Vec<models::NotificationStatus>>,
}
impl ResendNotificationsByResourceIdRequest {
pub fn new(resource_id: uuid::Uuid) -> ResendNotificationsByResourceIdRequest {
ResendNotificationsByResourceIdRequest {
resource_id,
exclude_statuses: None,
}
}
}