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 AndObject {
    #[serde(rename = "and")]
    pub and: Box<crate::models::ObservationObject>,
    #[serde(rename = "both")]
    pub both: Box<crate::models::ObservationObject>,
}

impl AndObject {
    pub fn new(
        and: crate::models::ObservationObject,
        both: crate::models::ObservationObject,
    ) -> AndObject {
        AndObject {
            and: Box::new(and),
            both: Box::new(both),
        }
    }
}