btcpay_client/models/
update_notification.rs

1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct UpdateNotification {
16    /// Sets the notification as seen/unseen. If left null, sets it to the opposite value
17    #[serde(rename = "seen", skip_serializing_if = "Option::is_none")]
18    pub seen: Option<bool>,
19}
20
21impl UpdateNotification {
22    pub fn new() -> UpdateNotification {
23        UpdateNotification {
24            seen: None,
25        }
26    }
27}
28
29