/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * The version of the OpenAPI document: 3.1.0 (3.1)
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct JobInputRequest {
    #[serde(
        rename = "data",
        default,
        with = "::serde_with::rust::double_option",
        skip_serializing_if = "Option::is_none"
    )]
    pub data: Option<Option<serde_json::Value>>,
    #[serde(rename = "schedule", skip_serializing_if = "Option::is_none")]
    pub schedule: Option<Box<crate::models::JobCreationRequest>>,
    #[serde(rename = "task_queue", skip_serializing_if = "Option::is_none")]
    pub task_queue: Option<String>,
    #[serde(rename = "job_queue", skip_serializing_if = "Option::is_none")]
    pub job_queue: Option<String>,
}

impl JobInputRequest {
    pub fn new() -> JobInputRequest {
        JobInputRequest {
            data: None,
            schedule: None,
            task_queue: None,
            job_queue: None,
        }
    }
}
