use crate::gen::task_automation::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct IntegrationProxyAction {
#[serde(rename = "action_type")]
pub action_type: String,
#[serde(rename = "action", skip_serializing_if = "Option::is_none")]
pub action: Option<Box<models::IntegrationProxy>>,
}
impl IntegrationProxyAction {
pub fn new(action_type: String) -> IntegrationProxyAction {
IntegrationProxyAction {
action_type,
action: None,
}
}
}