marlowe_client 0.0.5

HTTP client for the Marlowe Runtime REST API
Documentation
/*
 * Marlowe Runtime REST API
 *
 * REST API for Marlowe Runtime
 *
 * The version of the OpenAPI document: 0.0.5.1
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct NotifyActionObject {
    #[serde(rename = "notify_if")]
    pub notify_if: Box<crate::models::Observation>,
}

impl NotifyActionObject {
    pub fn new(notify_if: crate::models::Observation) -> NotifyActionObject {
        NotifyActionObject {
            notify_if: Box::new(notify_if),
        }
    }
}