/*
 * Tapis Workflows API
 *
 * Create and manage pipelines
 *
 * The version of the OpenAPI document: 1.6.0
 * Contact: cicsupport@tacc.utexas.edu
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RespPipelineLockAcquisitionAllOfResult {
    #[serde(rename = "pipeline_lock_uuid", skip_serializing_if = "Option::is_none")]
    pub pipeline_lock_uuid: Option<uuid::Uuid>,
    #[serde(rename = "acquired", skip_serializing_if = "Option::is_none")]
    pub acquired: Option<bool>,
    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
    pub message: Option<String>,
}

impl RespPipelineLockAcquisitionAllOfResult {
    pub fn new() -> RespPipelineLockAcquisitionAllOfResult {
        RespPipelineLockAcquisitionAllOfResult {
            pipeline_lock_uuid: None,
            acquired: None,
            message: None,
        }
    }
}
