cortex-client 0.1.1

API for Cortex, a powerful observable analysis and active response engine.
Documentation
/*
 * Cortex API
 *
 * API for Cortex, a powerful observable analysis and active response engine.
 *
 * The version of the OpenAPI document: 3.1.8
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ResponderConfigUpdateRequest {
    /// Arbitrary JSON object representing a worker's specific configuration.
    #[serde(rename = "config")]
    pub config: std::collections::HashMap<String, serde_json::Value>,
}

impl ResponderConfigUpdateRequest {
    pub fn new(config: std::collections::HashMap<String, serde_json::Value>) -> ResponderConfigUpdateRequest {
        ResponderConfigUpdateRequest {
            config,
        }
    }
}