/*
* 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 Error {
/// The type of error.
#[serde(rename = "type", skip_serializing_if = "Option::is_none")]
pub r#type: Option<String>,
/// A human-readable error message.
#[serde(rename = "message", skip_serializing_if = "Option::is_none")]
pub message: Option<String>,
}
impl Error {
pub fn new() -> Error {
Error {
r#type: None,
message: None,
}
}
}