/*
* task-automation API
*
* task-automation engine to automate and customize web based integration processes
*
* The version of the OpenAPI document: 3.63.10
* Contact: support@babelforce.com
* Generated by: https://openapi-generator.tech
*/
use crate::gen::task_automation::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct LogAction {
#[serde(rename = "action_type")]
pub action_type: String,
#[serde(rename = "log", skip_serializing_if = "Option::is_none")]
pub log: Option<Box<models::LogActionData>>,
}
impl LogAction {
pub fn new(action_type: String) -> LogAction {
LogAction {
action_type,
log: None,
}
}
}