/*
 * This is an auto-generated file.
 * Any manual changes may be overwritten without notice!
 */

use derive_builder::Builder;
use serde::{Deserialize, Serialize};

/// CSIVolumeCapability is a requested attachment and access mode for a
/// volume
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct CSIVolumeCapability {
    #[serde(rename = "access_mode", skip_serializing_if = "Option::is_none")]
    pub access_mode: Option<String>,

    #[serde(rename = "attachment_mode", skip_serializing_if = "Option::is_none")]
    pub attachment_mode: Option<String>,
}
