
    Fx                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                   f   e Zd ZdZ	 i dddddddd	d
dddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0Zi dd1dd2dd3ddd
d
dd4dddd5dd6dddd7dddd8dd9ddd d:d"d"d;d<d=d>d?d@dAdBdCdDdEdFd0Z	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 ddHZedI        Zej                  dJ        ZedK        Z
e
j                  dL        Z
edM        Zej                  dN        ZedO        Zej                  dP        ZedQ        Zej                  dR        ZedS        Zej                  dT        ZedU        Zej                  dV        ZedW        Zej                  dX        ZedY        Zej                  dZ        Zed[        Zej                  d\        Zed]        Zej                  d^        Zed_        Zej                  d`        Zeda        Zej                  db        Zedc        Zej                  dd        Zede        Zej                  df        Zedg        Zej                  dh        Zedi        Zej                  dj        Zedk        Zej                  dl        Zedm        Zej                  dn        Zedo        Zej                  dp        Zedq        Zej                  dr        Zeds        Zej                  dt        Zedu        Zej                  dv        Zedw        Z e j                  dx        Z edy        Z!e!j                  dz        Z!ed{        Z"e"j                  d|        Z"ed}        Z#e#j                  d~        Z#ed        Z$e$j                  d        Z$ed        Z%e%j                  d        Z%d Z&d Z'd Z(d Z)d Z*yG)V1Volumezw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    aws_elastic_block_store"V1AWSElasticBlockStoreVolumeSource
azure_diskV1AzureDiskVolumeSource
azure_fileV1AzureFileVolumeSourcecephfsV1CephFSVolumeSourcecinderV1CinderVolumeSource
config_mapV1ConfigMapVolumeSourcecsiV1CSIVolumeSourcedownward_apiV1DownwardAPIVolumeSource	empty_dirV1EmptyDirVolumeSourcefcV1FCVolumeSourceflex_volumeV1FlexVolumeSourceflockerV1FlockerVolumeSourcegce_persistent_diskV1GCEPersistentDiskVolumeSourcegit_repoV1GitRepoVolumeSource	glusterfsV1GlusterfsVolumeSource	host_pathV1HostPathVolumeSourceiscsiV1ISCSIVolumeSourcestrV1NFSVolumeSource#V1PersistentVolumeClaimVolumeSource"V1PhotonPersistentDiskVolumeSourceV1PortworxVolumeSourceV1ProjectedVolumeSourceV1QuobyteVolumeSourceV1RBDVolumeSourceV1ScaleIOVolumeSourceV1SecretVolumeSourceV1StorageOSVolumeSource V1VsphereVirtualDiskVolumeSource)namenfspersistent_volume_claimphoton_persistent_diskportworx_volume	projectedquobyterbdscale_iosecret	storageosvsphere_volumeawsElasticBlockStore	azureDisk	azureFile	configMapdownwardAPIemptyDir
flexVolumegcePersistentDiskgitRepohostPathr5   r6   persistentVolumeClaimphotonPersistentDiskportworxVolumer:   r;   r<   scaleIOr>   r?   vsphereVolumeNc                    d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _         ||| _!        ||| _"        ||| _#        ||| _$        ||| _%        |	|	| _&        |
|
| _'        ||| _(        ||| _)        ||| _*        ||| _+        ||| _,        ||| _-        ||| _.        || _/        ||| _0        ||| _1        ||| _2        ||| _3        ||| _4        ||| _5        ||| _6        ||| _7        ||| _8        ||| _9        ||| _:        yy)z7
        V1Volume - a model defined in Swagger
        N);_aws_elastic_block_store_azure_disk_azure_file_cephfs_cinder_config_map_csi_downward_api
_empty_dir_fc_flex_volume_flocker_gce_persistent_disk	_git_repo
_glusterfs
_host_path_iscsi_name_nfs_persistent_volume_claim_photon_persistent_disk_portworx_volume
_projected_quobyte_rbd	_scale_io_secret
_storageos_vsphere_volumediscriminatorr   r	   r   r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   )selfr   r	   r   r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   s                                 5lib/third_party/kubernetes/client/models/v1_volume.py__init__zV1Volume.__init__^   s_   D %)D!DDDLDLDDIDDODHDDM $DDNDODODKDJDI$(D!#'D  DDODMDIDNDLDODD*%<d""do"dodkdk"do
dh&d dn	~dg$ddl&!4ddm dn dndjDI
dh*%<d")$:d!",d dndl
dhdmdk dn!*d "    c                     | j                   S )a  
        Gets the aws_elastic_block_store of this V1Volume.
        AWSElasticBlockStore represents an AWS Disk resource that is attached to
        a kubelet's host machine and then exposed to the pod. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

        :return: The aws_elastic_block_store of this V1Volume.
        :rtype: V1AWSElasticBlockStoreVolumeSource
        rQ   ro   s    rp   r   z V1Volume.aws_elastic_block_store        (((rr   c                     || _         y)a  
        Sets the aws_elastic_block_store of this V1Volume.
        AWSElasticBlockStore represents an AWS Disk resource that is attached to
        a kubelet's host machine and then exposed to the pod. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

        :param aws_elastic_block_store: The aws_elastic_block_store of this
        V1Volume.
        :type: V1AWSElasticBlockStoreVolumeSource
        Nrt   )ro   r   s     rp   r   z V1Volume.aws_elastic_block_store        %<D!rr   c                     | j                   S )z
        Gets the azure_disk of this V1Volume.
        AzureDisk represents an Azure Data Disk mount on the host and bind mount
        to the pod.

        :return: The azure_disk of this V1Volume.
        :rtype: V1AzureDiskVolumeSource
        rR   ru   s    rp   r	   zV1Volume.azure_disk        rr   c                     || _         y)a   
        Sets the azure_disk of this V1Volume.
        AzureDisk represents an Azure Data Disk mount on the host and bind mount
        to the pod.

        :param azure_disk: The azure_disk of this V1Volume.
        :type: V1AzureDiskVolumeSource
        Nrz   )ro   r	   s     rp   r	   zV1Volume.azure_disk       "Drr   c                     | j                   S )z
        Gets the azure_file of this V1Volume.
        AzureFile represents an Azure File Service mount on the host and bind
        mount to the pod.

        :return: The azure_file of this V1Volume.
        :rtype: V1AzureFileVolumeSource
        rS   ru   s    rp   r   zV1Volume.azure_file  r{   rr   c                     || _         y)a  
        Sets the azure_file of this V1Volume.
        AzureFile represents an Azure File Service mount on the host and bind
        mount to the pod.

        :param azure_file: The azure_file of this V1Volume.
        :type: V1AzureFileVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.azure_file  r}   rr   c                     | j                   S )z
        Gets the cephfs of this V1Volume.
        CephFS represents a Ceph FS mount on the host that shares a pod's
        lifetime

        :return: The cephfs of this V1Volume.
        :rtype: V1CephFSVolumeSource
        rT   ru   s    rp   r   zV1Volume.cephfs'       <<rr   c                     || _         y)z
        Sets the cephfs of this V1Volume.
        CephFS represents a Ceph FS mount on the host that shares a pod's
        lifetime

        :param cephfs: The cephfs of this V1Volume.
        :type: V1CephFSVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.cephfs3       DLrr   c                     | j                   S )a:  
        Gets the cinder of this V1Volume.
        Cinder represents a cinder volume attached and mounted on kubelets host
        machine More info:
        https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

        :return: The cinder of this V1Volume.
        :rtype: V1CinderVolumeSource
        rU   ru   s    rp   r   zV1Volume.cinder@  s     <<rr   c                     || _         y)a?  
        Sets the cinder of this V1Volume.
        Cinder represents a cinder volume attached and mounted on kubelets host
        machine More info:
        https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

        :param cinder: The cinder of this V1Volume.
        :type: V1CinderVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.cinderM  s     DLrr   c                     | j                   S )z
        Gets the config_map of this V1Volume.
        ConfigMap represents a configMap that should populate this volume

        :return: The config_map of this V1Volume.
        :rtype: V1ConfigMapVolumeSource
        rV   ru   s    rp   r   zV1Volume.config_map[  s     rr   c                     || _         y)z
        Sets the config_map of this V1Volume.
        ConfigMap represents a configMap that should populate this volume

        :param config_map: The config_map of this V1Volume.
        :type: V1ConfigMapVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.config_mapf  s     "Drr   c                     | j                   S )z
        Gets the csi of this V1Volume.
        CSI (Container Storage Interface) represents storage that is handled by
        an external CSI driver (Alpha feature).

        :return: The csi of this V1Volume.
        :rtype: V1CSIVolumeSource
        rW   ru   s    rp   r   zV1Volume.csir       99rr   c                     || _         y)a   
        Sets the csi of this V1Volume.
        CSI (Container Storage Interface) represents storage that is handled by
        an external CSI driver (Alpha feature).

        :param csi: The csi of this V1Volume.
        :type: V1CSIVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.csi~       DIrr   c                     | j                   S )z
        Gets the downward_api of this V1Volume.
        DownwardAPI represents downward API about the pod that should populate
        this volume

        :return: The downward_api of this V1Volume.
        :rtype: V1DownwardAPIVolumeSource
        rX   ru   s    rp   r   zV1Volume.downward_api  s     rr   c                     || _         y)a  
        Sets the downward_api of this V1Volume.
        DownwardAPI represents downward API about the pod that should populate
        this volume

        :param downward_api: The downward_api of this V1Volume.
        :type: V1DownwardAPIVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.downward_api  s     &Drr   c                     | j                   S )a/  
        Gets the empty_dir of this V1Volume.
        EmptyDir represents a temporary directory that shares a pod's lifetime.
        More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

        :return: The empty_dir of this V1Volume.
        :rtype: V1EmptyDirVolumeSource
        rY   ru   s    rp   r   zV1Volume.empty_dir       ??rr   c                     || _         y)a7  
        Sets the empty_dir of this V1Volume.
        EmptyDir represents a temporary directory that shares a pod's lifetime.
        More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir

        :param empty_dir: The empty_dir of this V1Volume.
        :type: V1EmptyDirVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.empty_dir        DOrr   c                     | j                   S )z
        Gets the fc of this V1Volume.
        FC represents a Fibre Channel resource that is attached to a kubelet's
        host machine and then exposed to the pod.

        :return: The fc of this V1Volume.
        :rtype: V1FCVolumeSource
        rZ   ru   s    rp   r   zV1Volume.fc  s     88Orr   c                     || _         y)z
        Sets the fc of this V1Volume.
        FC represents a Fibre Channel resource that is attached to a kubelet's
        host machine and then exposed to the pod.

        :param fc: The fc of this V1Volume.
        :type: V1FCVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.fc  s     DHrr   c                     | j                   S )a  
        Gets the flex_volume of this V1Volume.
        FlexVolume represents a generic volume resource that is
        provisioned/attached using an exec based plugin.

        :return: The flex_volume of this V1Volume.
        :rtype: V1FlexVolumeSource
        r[   ru   s    rp   r   zV1Volume.flex_volume  s     rr   c                     || _         y)a  
        Sets the flex_volume of this V1Volume.
        FlexVolume represents a generic volume resource that is
        provisioned/attached using an exec based plugin.

        :param flex_volume: The flex_volume of this V1Volume.
        :type: V1FlexVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.flex_volume  s     $Drr   c                     | j                   S )a  
        Gets the flocker of this V1Volume.
        Flocker represents a Flocker volume attached to a kubelet's host
        machine. This depends on the Flocker control service being running

        :return: The flocker of this V1Volume.
        :rtype: V1FlockerVolumeSource
        r\   ru   s    rp   r   zV1Volume.flocker       ==rr   c                     || _         y)a$  
        Sets the flocker of this V1Volume.
        Flocker represents a Flocker volume attached to a kubelet's host
        machine. This depends on the Flocker control service being running

        :param flocker: The flocker of this V1Volume.
        :type: V1FlockerVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.flocker       DMrr   c                     | j                   S )a  
        Gets the gce_persistent_disk of this V1Volume.
        GCEPersistentDisk represents a GCE Disk resource that is attached to a
        kubelet's host machine and then exposed to the pod. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

        :return: The gce_persistent_disk of this V1Volume.
        :rtype: V1GCEPersistentDiskVolumeSource
        r]   ru   s    rp   r   zV1Volume.gce_persistent_disk  s     $$$rr   c                     || _         y)a  
        Sets the gce_persistent_disk of this V1Volume.
        GCEPersistentDisk represents a GCE Disk resource that is attached to a
        kubelet's host machine and then exposed to the pod. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk

        :param gce_persistent_disk: The gce_persistent_disk of this V1Volume.
        :type: V1GCEPersistentDiskVolumeSource
        Nr   )ro   r   s     rp   r   zV1Volume.gce_persistent_disk  s     !4Drr   c                     | j                   S )a  
        Gets the git_repo of this V1Volume.
        GitRepo represents a git repository at a particular revision.
        DEPRECATED: GitRepo is deprecated. To provision a container with a git
        repo, mount an EmptyDir into an InitContainer that clones the repo using
        git, then mount the EmptyDir into the Pod's container.

        :return: The git_repo of this V1Volume.
        :rtype: V1GitRepoVolumeSource
        r^   ru   s    rp   r!   zV1Volume.git_repo#  s     >>rr   c                     || _         y)a  
        Sets the git_repo of this V1Volume.
        GitRepo represents a git repository at a particular revision.
        DEPRECATED: GitRepo is deprecated. To provision a container with a git
        repo, mount an EmptyDir into an InitContainer that clones the repo using
        git, then mount the EmptyDir into the Pod's container.

        :param git_repo: The git_repo of this V1Volume.
        :type: V1GitRepoVolumeSource
        Nr   )ro   r!   s     rp   r!   zV1Volume.git_repo1  s     DNrr   c                     | j                   S )aF  
        Gets the glusterfs of this V1Volume.
        Glusterfs represents a Glusterfs mount on the host that shares a pod's
        lifetime. More info:
        https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md

        :return: The glusterfs of this V1Volume.
        :rtype: V1GlusterfsVolumeSource
        r_   ru   s    rp   r#   zV1Volume.glusterfs@  s     ??rr   c                     || _         y)aN  
        Sets the glusterfs of this V1Volume.
        Glusterfs represents a Glusterfs mount on the host that shares a pod's
        lifetime. More info:
        https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md

        :param glusterfs: The glusterfs of this V1Volume.
        :type: V1GlusterfsVolumeSource
        Nr   )ro   r#   s     rp   r#   zV1Volume.glusterfsM  s      DOrr   c                     | j                   S )a  
        Gets the host_path of this V1Volume.
        HostPath represents a pre-existing file or directory on the host machine
        that is directly exposed to the container. This is generally used for
        system agents or other privileged things that are allowed to see the
        host machine. Most containers will NOT need this. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#hostpath

        :return: The host_path of this V1Volume.
        :rtype: V1HostPathVolumeSource
        r`   ru   s    rp   r%   zV1Volume.host_path[  s     ??rr   c                     || _         y)a  
        Sets the host_path of this V1Volume.
        HostPath represents a pre-existing file or directory on the host machine
        that is directly exposed to the container. This is generally used for
        system agents or other privileged things that are allowed to see the
        host machine. Most containers will NOT need this. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#hostpath

        :param host_path: The host_path of this V1Volume.
        :type: V1HostPathVolumeSource
        Nr   )ro   r%   s     rp   r%   zV1Volume.host_pathj  s      DOrr   c                     | j                   S )aW  
        Gets the iscsi of this V1Volume.
        ISCSI represents an ISCSI Disk resource that is attached to a kubelet's
        host machine and then exposed to the pod. More info:
        https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md

        :return: The iscsi of this V1Volume.
        :rtype: V1ISCSIVolumeSource
        ra   ru   s    rp   r'   zV1Volume.iscsiz  s     ;;rr   c                     || _         y)a[  
        Sets the iscsi of this V1Volume.
        ISCSI represents an ISCSI Disk resource that is attached to a kubelet's
        host machine and then exposed to the pod. More info:
        https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md

        :param iscsi: The iscsi of this V1Volume.
        :type: V1ISCSIVolumeSource
        Nr   )ro   r'   s     rp   r'   zV1Volume.iscsi  s     DKrr   c                     | j                   S )a  
        Gets the name of this V1Volume.
        Volume's name. Must be a DNS_LABEL and unique within the pod. More info:
        https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

        :return: The name of this V1Volume.
        :rtype: str
        )rb   ru   s    rp   r5   zV1Volume.name  s     ::rr   c                 ,    |t        d      || _        y)a  
        Sets the name of this V1Volume.
        Volume's name. Must be a DNS_LABEL and unique within the pod. More info:
        https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

        :param name: The name of this V1Volume.
        :type: str
        Nz,Invalid value for `name`, must not be `None`)
ValueErrorrb   )ro   r5   s     rp   r5   zV1Volume.name  s     |EFFDJrr   c                     | j                   S )a  
        Gets the nfs of this V1Volume.
        NFS represents an NFS mount on the host that shares a pod's lifetime
        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

        :return: The nfs of this V1Volume.
        :rtype: V1NFSVolumeSource
        rc   ru   s    rp   r6   zV1Volume.nfs  r   rr   c                     || _         y)a  
        Sets the nfs of this V1Volume.
        NFS represents an NFS mount on the host that shares a pod's lifetime
        More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

        :param nfs: The nfs of this V1Volume.
        :type: V1NFSVolumeSource
        Nr   )ro   r6   s     rp   r6   zV1Volume.nfs  r   rr   c                     | j                   S )a  
        Gets the persistent_volume_claim of this V1Volume.
        PersistentVolumeClaimVolumeSource represents a reference to a
        PersistentVolumeClaim in the same namespace. More info:
        https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

        :return: The persistent_volume_claim of this V1Volume.
        :rtype: V1PersistentVolumeClaimVolumeSource
        rd   ru   s    rp   r7   z V1Volume.persistent_volume_claim  rv   rr   c                     || _         y)a  
        Sets the persistent_volume_claim of this V1Volume.
        PersistentVolumeClaimVolumeSource represents a reference to a
        PersistentVolumeClaim in the same namespace. More info:
        https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

        :param persistent_volume_claim: The persistent_volume_claim of this
        V1Volume.
        :type: V1PersistentVolumeClaimVolumeSource
        Nr   )ro   r7   s     rp   r7   z V1Volume.persistent_volume_claim  rx   rr   c                     | j                   S )a6  
        Gets the photon_persistent_disk of this V1Volume.
        PhotonPersistentDisk represents a PhotonController persistent disk
        attached and mounted on kubelets host machine

        :return: The photon_persistent_disk of this V1Volume.
        :rtype: V1PhotonPersistentDiskVolumeSource
        re   ru   s    rp   r8   zV1Volume.photon_persistent_disk  s     '''rr   c                     || _         y)aS  
        Sets the photon_persistent_disk of this V1Volume.
        PhotonPersistentDisk represents a PhotonController persistent disk
        attached and mounted on kubelets host machine

        :param photon_persistent_disk: The photon_persistent_disk of this
        V1Volume.
        :type: V1PhotonPersistentDiskVolumeSource
        Nr   )ro   r8   s     rp   r8   zV1Volume.photon_persistent_disk  s     $:D rr   c                     | j                   S )a  
        Gets the portworx_volume of this V1Volume.
        PortworxVolume represents a portworx volume attached and mounted on
        kubelets host machine

        :return: The portworx_volume of this V1Volume.
        :rtype: V1PortworxVolumeSource
        rf   ru   s    rp   r9   zV1Volume.portworx_volume  s        rr   c                     || _         y)a  
        Sets the portworx_volume of this V1Volume.
        PortworxVolume represents a portworx volume attached and mounted on
        kubelets host machine

        :param portworx_volume: The portworx_volume of this V1Volume.
        :type: V1PortworxVolumeSource
        Nr   )ro   r9   s     rp   r9   zV1Volume.portworx_volume  s     ,Drr   c                     | j                   S )z
        Gets the projected of this V1Volume.
        Items for all in one resources secrets, configmaps, and downward API

        :return: The projected of this V1Volume.
        :rtype: V1ProjectedVolumeSource
        rg   ru   s    rp   r:   zV1Volume.projected  s     ??rr   c                     || _         y)z
        Sets the projected of this V1Volume.
        Items for all in one resources secrets, configmaps, and downward API

        :param projected: The projected of this V1Volume.
        :type: V1ProjectedVolumeSource
        Nr   )ro   r:   s     rp   r:   zV1Volume.projected#  s      DOrr   c                     | j                   S )z
        Gets the quobyte of this V1Volume.
        Quobyte represents a Quobyte mount on the host that shares a pod's
        lifetime

        :return: The quobyte of this V1Volume.
        :rtype: V1QuobyteVolumeSource
        rh   ru   s    rp   r;   zV1Volume.quobyte/  r   rr   c                     || _         y)z
        Sets the quobyte of this V1Volume.
        Quobyte represents a Quobyte mount on the host that shares a pod's
        lifetime

        :param quobyte: The quobyte of this V1Volume.
        :type: V1QuobyteVolumeSource
        Nr   )ro   r;   s     rp   r;   zV1Volume.quobyte;  r   rr   c                     | j                   S )a1  
        Gets the rbd of this V1Volume.
        RBD represents a Rados Block Device mount on the host that shares a
        pod's lifetime. More info:
        https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md

        :return: The rbd of this V1Volume.
        :rtype: V1RBDVolumeSource
        ri   ru   s    rp   r<   zV1Volume.rbdH  s     99rr   c                     || _         y)a3  
        Sets the rbd of this V1Volume.
        RBD represents a Rados Block Device mount on the host that shares a
        pod's lifetime. More info:
        https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md

        :param rbd: The rbd of this V1Volume.
        :type: V1RBDVolumeSource
        Nr   )ro   r<   s     rp   r<   zV1Volume.rbdU  s     DIrr   c                     | j                   S )z
        Gets the scale_io of this V1Volume.
        ScaleIO represents a ScaleIO persistent volume attached and mounted on
        Kubernetes nodes.

        :return: The scale_io of this V1Volume.
        :rtype: V1ScaleIOVolumeSource
        rj   ru   s    rp   r=   zV1Volume.scale_ioc  s     >>rr   c                     || _         y)z
        Sets the scale_io of this V1Volume.
        ScaleIO represents a ScaleIO persistent volume attached and mounted on
        Kubernetes nodes.

        :param scale_io: The scale_io of this V1Volume.
        :type: V1ScaleIOVolumeSource
        Nr   )ro   r=   s     rp   r=   zV1Volume.scale_ioo  s     DNrr   c                     | j                   S )a  
        Gets the secret of this V1Volume.
        Secret represents a secret that should populate this volume. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#secret

        :return: The secret of this V1Volume.
        :rtype: V1SecretVolumeSource
        rk   ru   s    rp   r>   zV1Volume.secret|  r   rr   c                     || _         y)a  
        Sets the secret of this V1Volume.
        Secret represents a secret that should populate this volume. More info:
        https://kubernetes.io/docs/concepts/storage/volumes#secret

        :param secret: The secret of this V1Volume.
        :type: V1SecretVolumeSource
        Nr   )ro   r>   s     rp   r>   zV1Volume.secret  r   rr   c                     | j                   S )z
        Gets the storageos of this V1Volume.
        StorageOS represents a StorageOS volume attached and mounted on
        Kubernetes nodes.

        :return: The storageos of this V1Volume.
        :rtype: V1StorageOSVolumeSource
        rl   ru   s    rp   r?   zV1Volume.storageos  r   rr   c                     || _         y)z
        Sets the storageos of this V1Volume.
        StorageOS represents a StorageOS volume attached and mounted on
        Kubernetes nodes.

        :param storageos: The storageos of this V1Volume.
        :type: V1StorageOSVolumeSource
        Nr   )ro   r?   s     rp   r?   zV1Volume.storageos  r   rr   c                     | j                   S )a  
        Gets the vsphere_volume of this V1Volume.
        VsphereVolume represents a vSphere volume attached and mounted on
        kubelets host machine

        :return: The vsphere_volume of this V1Volume.
        :rtype: V1VsphereVirtualDiskVolumeSource
        rm   ru   s    rp   r@   zV1Volume.vsphere_volume  s     rr   c                     || _         y)a  
        Sets the vsphere_volume of this V1Volume.
        VsphereVolume represents a vSphere volume attached and mounted on
        kubelets host machine

        :param vsphere_volume: The vsphere_volume of this V1Volume.
        :type: V1VsphereVirtualDiskVolumeSource
        Nr   )ro   r@   s     rp   r@   zV1Volume.vsphere_volume  s     *Drr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr   )xs    rp   <lambda>z"V1Volume.to_dict.<locals>.<lambda>  s    I)>!))+EAErr   r   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r   r   r   )items    rp   r   z"V1Volume.to_dict.<locals>.<lambda>  s6    47I. #1gtAw'89 9489rr   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)ro   resultattr_values        rp   r   zV1Volume.to_dict  s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mrr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r   ru   s    rp   to_strzV1Volume.to_str  s     4<<>""rr   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r   ru   s    rp   __repr__zV1Volume.__repr__  s     ;;=rr   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r   r   __dict__ro   others     rp   __eq__zV1Volume.__eq__  s$     eX&==ENN**rr   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r   s     rp   __ne__zV1Volume.__ne__  s     u}rr   )NNNNNNNNNNNNNNNNNNNNNNNNNNNNN)+__name__
__module____qualname____doc__r   attribute_maprq   propertyr   setterr	   r   r   r   r   r   r   r   r   r   r   r   r!   r#   r%   r'   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   r   r   r   r   r   r   rr   rp   r   r      s   !E- - &	
 & -   1 +  ) ( > ) ,  +!" $#$  !F D1,( )&,:;-@!7K K 	
  K U m : D \  0 ) ;  :!" w#$ !8 6)';-B (, #''+&*#";y+v 
) 
) !!< "< 	 	 
" 
" 	 	 
" 
" 	 	 
==
 
 
 
 
==    	" 	" 	 	 ::
 
 	 	 
& 
& 	 	 
  
  	 	 99
 
 	 	 
$ 
$ 	 	 >>
 
 
% 
% 4 4   ??  
 
           
 
 	<<  	 	 ;;  	 	 ::
 
 
) 
) !!< "< 	( 	(   : !: 	! 	! 
, 
,   	  	  	 	 >>
 
 
 
 ::  	 	 ??
 
 	 	 
==
 
 	 	 
  
  	  	  
* 
*.#+rr   r   )r   pprintr   sixr   reobjectr   r   rr   rp   <module>r     s#   	   	ev err   