/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.8
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebsocketTriggerInitialMessage {
    #[serde(rename = "raw_message")]
    pub raw_message: String,
    #[serde(rename = "runnable_result")]
    pub runnable_result: Box<models::WebsocketTriggerInitialMessageAnyOf1RunnableResult>,
}

impl WebsocketTriggerInitialMessage {
    pub fn new(raw_message: String, runnable_result: models::WebsocketTriggerInitialMessageAnyOf1RunnableResult) -> WebsocketTriggerInitialMessage {
        WebsocketTriggerInitialMessage {
            raw_message,
            runnable_result: Box::new(runnable_result),
        }
    }
}

