/*
 * 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 UploadWhatsAppFlowJson200ResponseValidationErrorsInner {
    #[serde(rename = "error", skip_serializing_if = "Option::is_none")]
    pub error: Option<String>,
    #[serde(rename = "error_type", skip_serializing_if = "Option::is_none")]
    pub error_type: Option<String>,
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
    #[serde(rename = "line_start", skip_serializing_if = "Option::is_none")]
    pub line_start: Option<i32>,
    #[serde(rename = "line_end", skip_serializing_if = "Option::is_none")]
    pub line_end: Option<i32>,
    #[serde(rename = "column_start", skip_serializing_if = "Option::is_none")]
    pub column_start: Option<i32>,
    #[serde(rename = "column_end", skip_serializing_if = "Option::is_none")]
    pub column_end: Option<i32>,
}

impl UploadWhatsAppFlowJson200ResponseValidationErrorsInner {
    pub fn new() -> UploadWhatsAppFlowJson200ResponseValidationErrorsInner {
        UploadWhatsAppFlowJson200ResponseValidationErrorsInner {
            error: None,
            error_type: None,
            message: None,
            line_start: None,
            line_end: None,
            column_start: None,
            column_end: None,
        }
    }
}
