/*
* API Documentation
*
* Source of truth and network automation platform
*
* The version of the OpenAPI document: 2.4.20 (2.4)
*
* Generated by: https://openapi-generator.tech
*/
/// JobRunResponse : Serializer representing responses from the JobModelViewSet.run() POST endpoint.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct JobRunResponse {
#[serde(rename = "schedule", skip_serializing_if = "Option::is_none")]
pub schedule: Option<Box<crate::models::ScheduledJob>>,
#[serde(rename = "job_result", skip_serializing_if = "Option::is_none")]
pub job_result: Option<Box<crate::models::JobResult>>,
}
impl JobRunResponse {
/// Serializer representing responses from the JobModelViewSet.run() POST endpoint.
pub fn new() -> JobRunResponse {
JobRunResponse {
schedule: None,
job_result: None,
}
}
}