/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.2
 * 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 WebsocketTriggerInitialMessageAnyOf1RunnableResult {
    #[serde(rename = "path")]
    pub path: String,
    /// The arguments to pass to the script or flow
    #[serde(rename = "args")]
    pub args: std::collections::HashMap<String, serde_json::Value>,
    #[serde(rename = "is_flow")]
    pub is_flow: bool,
}

impl WebsocketTriggerInitialMessageAnyOf1RunnableResult {
    pub fn new(path: String, args: std::collections::HashMap<String, serde_json::Value>, is_flow: bool) -> WebsocketTriggerInitialMessageAnyOf1RunnableResult {
        WebsocketTriggerInitialMessageAnyOf1RunnableResult {
            path,
            args,
            is_flow,
        }
    }
}

