/*
 * Zernio API
 *
 * API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
 *
 * The version of the OpenAPI document: 1.0.1
 * Contact: support@zernio.com
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateSequence200ResponseSequence {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
    pub name: Option<String>,
    #[serde(rename = "description", skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
    #[serde(rename = "steps", skip_serializing_if = "Option::is_none")]
    pub steps: Option<Vec<serde_json::Value>>,
    #[serde(rename = "exitOnReply", skip_serializing_if = "Option::is_none")]
    pub exit_on_reply: Option<bool>,
    #[serde(rename = "exitOnUnsubscribe", skip_serializing_if = "Option::is_none")]
    pub exit_on_unsubscribe: Option<bool>,
    #[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")]
    pub updated_at: Option<String>,
}

impl UpdateSequence200ResponseSequence {
    pub fn new() -> UpdateSequence200ResponseSequence {
        UpdateSequence200ResponseSequence {
            id: None,
            name: None,
            description: None,
            status: None,
            steps: None,
            exit_on_reply: None,
            exit_on_unsubscribe: None,
            updated_at: None,
        }
    }
}
