
    <gZ}                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                      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&d&d-d.Zi dd/dd0dd1dd2d
d
dddddd3dddddd4dddd5dddd6d d d"d"d7d8d9d:d;d<d=d>d?d@dAdBdCdDd.ZddF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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&ed        Z'e'j                  d        Z'd Z(d Z)d Z*d Z+d Z,yE)V1PersistentVolumeSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    access_modesz	list[str]aws_elastic_block_store"V1AWSElasticBlockStoreVolumeSource
azure_diskV1AzureDiskVolumeSource
azure_file!V1AzureFilePersistentVolumeSourcecapacityzdict(str, str)cephfsV1CephFSPersistentVolumeSourcecinderV1CinderPersistentVolumeSource	claim_refV1ObjectReferencecsiV1CSIPersistentVolumeSourcefcV1FCVolumeSourceflex_volumeV1FlexPersistentVolumeSourceflockerV1FlockerVolumeSourcegce_persistent_diskV1GCEPersistentDiskVolumeSource	glusterfs!V1GlusterfsPersistentVolumeSource	host_pathV1HostPathVolumeSourceiscsiV1ISCSIPersistentVolumeSourcelocalV1LocalVolumeSourceV1NFSVolumeSourceV1VolumeNodeAffinitystr"V1PhotonPersistentDiskVolumeSourceV1PortworxVolumeSourceV1QuobyteVolumeSourceV1RBDPersistentVolumeSourceV1ScaleIOPersistentVolumeSource!V1StorageOSPersistentVolumeSource V1VsphereVirtualDiskVolumeSource)mount_optionsnfsnode_affinity persistent_volume_reclaim_policyphoton_persistent_diskportworx_volumequobyterbdscale_iostorage_class_name	storageosvolume_attributes_class_namevolume_modevsphere_volumeaccessModesawsElasticBlockStore	azureDisk	azureFileclaimRef
flexVolumegcePersistentDiskhostPathmountOptionsr1   nodeAffinitypersistentVolumeReclaimPolicyphotonPersistentDiskportworxVolumer6   r7   scaleIOstorageClassNamer:   volumeAttributesClassName
volumeModevsphereVolumeNc!                    | 
t               } | | _        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| _!        ||| _"        ||| _#        ||| _$        ||| _%        ||| _&        ||| _'        ||| _(        ||| _)        |	|	| _*        |
|
| _+        ||| _,        ||| _-        ||| _.        ||| _/        ||| _0        ||| _1        ||| _2        ||| _3        ||| _4        ||| _5        ||| _6        ||| _7        ||| _8        ||| _9        ||| _:        ||| _;        ||| _<        ||| _=        ||| _>        ||| _?        ||| _@        yy)z3V1PersistentVolumeSpec - a model defined in OpenAPIN)Ar   local_vars_configuration_access_modes_aws_elastic_block_store_azure_disk_azure_file	_capacity_cephfs_cinder
_claim_ref_csi_fc_flex_volume_flocker_gce_persistent_disk
_glusterfs
_host_path_iscsi_local_mount_options_nfs_node_affinity!_persistent_volume_reclaim_policy_photon_persistent_disk_portworx_volume_quobyte_rbd	_scale_io_storage_class_name
_storageos_volume_attributes_class_name_volume_mode_vsphere_volumediscriminatorr   r   r	   r   r   r   r   r   r   r   r   r   r   r   r    r"   r$   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   )!selfr   r   r	   r   r   r   r   r   r   r   r   r   r   r   r    r"   r$   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   rQ   s!                                    g/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_persistent_volume_spec.py__init__zV1PersistentVolumeSpec.__init__g   s   #+'4$(@%!(,%	 $(!"	"15.'+$ $	#' -1* #!# ,D".+BD(!(DO!(DO$DM DK DK &DN?DH>DG"*D"DL*':D$ &DN &DNDJDJ$!.D?DH$!.D+74TD1!-*@D'&#2D "DL?DH$DM)&8D# &DN'30LD-"*D%"0D &    c                     | j                   S )a^  Gets the access_modes of this V1PersistentVolumeSpec.  # noqa: E501

        accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes  # noqa: E501

        :return: The access_modes of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: list[str]
        rR   rr   s    rs   r   z#V1PersistentVolumeSpec.access_modes   s     !!!ru   c                     || _         y)a[  Sets the access_modes of this V1PersistentVolumeSpec.

        accessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes  # noqa: E501

        :param access_modes: The access_modes of this V1PersistentVolumeSpec.  # noqa: E501
        :type: list[str]
        Nrw   )rr   r   s     rs   r   z#V1PersistentVolumeSpec.access_modes   s     *ru   c                     | j                   S )zGets the aws_elastic_block_store of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The aws_elastic_block_store of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1AWSElasticBlockStoreVolumeSource
        rS   rx   s    rs   r   z.V1PersistentVolumeSpec.aws_elastic_block_store   s     ,,,ru   c                     || _         y)zSets the aws_elastic_block_store of this V1PersistentVolumeSpec.


        :param aws_elastic_block_store: The aws_elastic_block_store of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1AWSElasticBlockStoreVolumeSource
        Nr{   )rr   r   s     rs   r   z.V1PersistentVolumeSpec.aws_elastic_block_store   s     )@%ru   c                     | j                   S )zGets the azure_disk of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The azure_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1AzureDiskVolumeSource
        rT   rx   s    rs   r	   z!V1PersistentVolumeSpec.azure_disk        ru   c                     || _         y)zSets the azure_disk of this V1PersistentVolumeSpec.


        :param azure_disk: The azure_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1AzureDiskVolumeSource
        Nr~   )rr   r	   s     rs   r	   z!V1PersistentVolumeSpec.azure_disk       &ru   c                     | j                   S )zGets the azure_file of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The azure_file of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1AzureFilePersistentVolumeSource
        rU   rx   s    rs   r   z!V1PersistentVolumeSpec.azure_file  r   ru   c                     || _         y)zSets the azure_file of this V1PersistentVolumeSpec.


        :param azure_file: The azure_file of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1AzureFilePersistentVolumeSource
        Nr   )rr   r   s     rs   r   z!V1PersistentVolumeSpec.azure_file  r   ru   c                     | j                   S )am  Gets the capacity of this V1PersistentVolumeSpec.  # noqa: E501

        capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity  # noqa: E501

        :return: The capacity of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: dict(str, str)
        rV   rx   s    rs   r   zV1PersistentVolumeSpec.capacity#  s     ~~ru   c                     || _         y)af  Sets the capacity of this V1PersistentVolumeSpec.

        capacity is the description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity  # noqa: E501

        :param capacity: The capacity of this V1PersistentVolumeSpec.  # noqa: E501
        :type: dict(str, str)
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.capacity.  s     "ru   c                     | j                   S )zGets the cephfs of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The cephfs of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1CephFSPersistentVolumeSource
        rW   rx   s    rs   r   zV1PersistentVolumeSpec.cephfs:       ||ru   c                     || _         y)zSets the cephfs of this V1PersistentVolumeSpec.


        :param cephfs: The cephfs of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1CephFSPersistentVolumeSource
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.cephfsD       ru   c                     | j                   S )zGets the cinder of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The cinder of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1CinderPersistentVolumeSource
        rX   rx   s    rs   r   zV1PersistentVolumeSpec.cinderO  r   ru   c                     || _         y)zSets the cinder of this V1PersistentVolumeSpec.


        :param cinder: The cinder of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1CinderPersistentVolumeSource
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.cinderY  r   ru   c                     | j                   S )zGets the claim_ref of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The claim_ref of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1ObjectReference
        rY   rx   s    rs   r   z V1PersistentVolumeSpec.claim_refd       ru   c                     || _         y)zSets the claim_ref of this V1PersistentVolumeSpec.


        :param claim_ref: The claim_ref of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1ObjectReference
        Nr   )rr   r   s     rs   r   z V1PersistentVolumeSpec.claim_refn       $ru   c                     | j                   S )zGets the csi of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The csi of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1CSIPersistentVolumeSource
        rZ   rx   s    rs   r   zV1PersistentVolumeSpec.csiy       yyru   c                     || _         y)zSets the csi of this V1PersistentVolumeSpec.


        :param csi: The csi of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1CSIPersistentVolumeSource
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.csi       	ru   c                     | j                   S )zGets the fc of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The fc of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1FCVolumeSource
        r[   rx   s    rs   r   zV1PersistentVolumeSpec.fc  s     xxru   c                     || _         y)zSets the fc of this V1PersistentVolumeSpec.


        :param fc: The fc of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1FCVolumeSource
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.fc  s     ru   c                     | j                   S )zGets the flex_volume of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The flex_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1FlexPersistentVolumeSource
        r\   rx   s    rs   r   z"V1PersistentVolumeSpec.flex_volume  s        ru   c                     || _         y)zSets the flex_volume of this V1PersistentVolumeSpec.


        :param flex_volume: The flex_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1FlexPersistentVolumeSource
        Nr   )rr   r   s     rs   r   z"V1PersistentVolumeSpec.flex_volume  s     (ru   c                     | j                   S )zGets the flocker of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The flocker of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1FlockerVolumeSource
        r]   rx   s    rs   r   zV1PersistentVolumeSpec.flocker       }}ru   c                     || _         y)zSets the flocker of this V1PersistentVolumeSpec.


        :param flocker: The flocker of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1FlockerVolumeSource
        Nr   )rr   r   s     rs   r   zV1PersistentVolumeSpec.flocker        ru   c                     | j                   S )zGets the gce_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The gce_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1GCEPersistentDiskVolumeSource
        r^   rx   s    rs   r   z*V1PersistentVolumeSpec.gce_persistent_disk  s     (((ru   c                     || _         y)zSets the gce_persistent_disk of this V1PersistentVolumeSpec.


        :param gce_persistent_disk: The gce_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1GCEPersistentDiskVolumeSource
        Nr   )rr   r   s     rs   r   z*V1PersistentVolumeSpec.gce_persistent_disk  s     %8!ru   c                     | j                   S )zGets the glusterfs of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The glusterfs of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1GlusterfsPersistentVolumeSource
        r_   rx   s    rs   r   z V1PersistentVolumeSpec.glusterfs  r   ru   c                     || _         y)zSets the glusterfs of this V1PersistentVolumeSpec.


        :param glusterfs: The glusterfs of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1GlusterfsPersistentVolumeSource
        Nr   )rr   r   s     rs   r   z V1PersistentVolumeSpec.glusterfs  r   ru   c                     | j                   S )zGets the host_path of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The host_path of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1HostPathVolumeSource
        r`   rx   s    rs   r    z V1PersistentVolumeSpec.host_path  r   ru   c                     || _         y)zSets the host_path of this V1PersistentVolumeSpec.


        :param host_path: The host_path of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1HostPathVolumeSource
        Nr   )rr   r    s     rs   r    z V1PersistentVolumeSpec.host_path  r   ru   c                     | j                   S )zGets the iscsi of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The iscsi of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1ISCSIPersistentVolumeSource
        ra   rx   s    rs   r"   zV1PersistentVolumeSpec.iscsi       {{ru   c                     || _         y)zSets the iscsi of this V1PersistentVolumeSpec.


        :param iscsi: The iscsi of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1ISCSIPersistentVolumeSource
        Nr   )rr   r"   s     rs   r"   zV1PersistentVolumeSpec.iscsi       ru   c                     | j                   S )zGets the local of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The local of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1LocalVolumeSource
        rb   rx   s    rs   r$   zV1PersistentVolumeSpec.local!  r   ru   c                     || _         y)zSets the local of this V1PersistentVolumeSpec.


        :param local: The local of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1LocalVolumeSource
        Nr   )rr   r$   s     rs   r$   zV1PersistentVolumeSpec.local+  r   ru   c                     | j                   S )a  Gets the mount_options of this V1PersistentVolumeSpec.  # noqa: E501

        mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options  # noqa: E501

        :return: The mount_options of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: list[str]
        rc   rx   s    rs   r0   z$V1PersistentVolumeSpec.mount_options6  s     """ru   c                     || _         y)a  Sets the mount_options of this V1PersistentVolumeSpec.

        mountOptions is the list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options  # noqa: E501

        :param mount_options: The mount_options of this V1PersistentVolumeSpec.  # noqa: E501
        :type: list[str]
        Nr   )rr   r0   s     rs   r0   z$V1PersistentVolumeSpec.mount_optionsA  s     ,ru   c                     | j                   S )zGets the nfs of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The nfs of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1NFSVolumeSource
        rd   rx   s    rs   r1   zV1PersistentVolumeSpec.nfsM  r   ru   c                     || _         y)zSets the nfs of this V1PersistentVolumeSpec.


        :param nfs: The nfs of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1NFSVolumeSource
        Nr   )rr   r1   s     rs   r1   zV1PersistentVolumeSpec.nfsW  r   ru   c                     | j                   S )zGets the node_affinity of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The node_affinity of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1VolumeNodeAffinity
        re   rx   s    rs   r2   z$V1PersistentVolumeSpec.node_affinityb  s     """ru   c                     || _         y)zSets the node_affinity of this V1PersistentVolumeSpec.


        :param node_affinity: The node_affinity of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1VolumeNodeAffinity
        Nr   )rr   r2   s     rs   r2   z$V1PersistentVolumeSpec.node_affinityl  s     ,ru   c                     | j                   S )a  Gets the persistent_volume_reclaim_policy of this V1PersistentVolumeSpec.  # noqa: E501

        persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming  # noqa: E501

        :return: The persistent_volume_reclaim_policy of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: str
        rf   rx   s    rs   r3   z7V1PersistentVolumeSpec.persistent_volume_reclaim_policyw  s     555ru   c                     || _         y)a  Sets the persistent_volume_reclaim_policy of this V1PersistentVolumeSpec.

        persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming  # noqa: E501

        :param persistent_volume_reclaim_policy: The persistent_volume_reclaim_policy of this V1PersistentVolumeSpec.  # noqa: E501
        :type: str
        Nr   )rr   r3   s     rs   r3   z7V1PersistentVolumeSpec.persistent_volume_reclaim_policy  s     2R.ru   c                     | j                   S )zGets the photon_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The photon_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1PhotonPersistentDiskVolumeSource
        rg   rx   s    rs   r4   z-V1PersistentVolumeSpec.photon_persistent_disk  s     +++ru   c                     || _         y)zSets the photon_persistent_disk of this V1PersistentVolumeSpec.


        :param photon_persistent_disk: The photon_persistent_disk of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1PhotonPersistentDiskVolumeSource
        Nr   )rr   r4   s     rs   r4   z-V1PersistentVolumeSpec.photon_persistent_disk  s     (>$ru   c                     | j                   S )zGets the portworx_volume of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The portworx_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1PortworxVolumeSource
        rh   rx   s    rs   r5   z&V1PersistentVolumeSpec.portworx_volume  s     $$$ru   c                     || _         y)zSets the portworx_volume of this V1PersistentVolumeSpec.


        :param portworx_volume: The portworx_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1PortworxVolumeSource
        Nr   )rr   r5   s     rs   r5   z&V1PersistentVolumeSpec.portworx_volume  s     !0ru   c                     | j                   S )zGets the quobyte of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The quobyte of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1QuobyteVolumeSource
        ri   rx   s    rs   r6   zV1PersistentVolumeSpec.quobyte  r   ru   c                     || _         y)zSets the quobyte of this V1PersistentVolumeSpec.


        :param quobyte: The quobyte of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1QuobyteVolumeSource
        Nr   )rr   r6   s     rs   r6   zV1PersistentVolumeSpec.quobyte  r   ru   c                     | j                   S )zGets the rbd of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The rbd of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1RBDPersistentVolumeSource
        rj   rx   s    rs   r7   zV1PersistentVolumeSpec.rbd  r   ru   c                     || _         y)zSets the rbd of this V1PersistentVolumeSpec.


        :param rbd: The rbd of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1RBDPersistentVolumeSource
        Nr   )rr   r7   s     rs   r7   zV1PersistentVolumeSpec.rbd  r   ru   c                     | j                   S )zGets the scale_io of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The scale_io of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1ScaleIOPersistentVolumeSource
        rk   rx   s    rs   r8   zV1PersistentVolumeSpec.scale_io  s     ~~ru   c                     || _         y)zSets the scale_io of this V1PersistentVolumeSpec.


        :param scale_io: The scale_io of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1ScaleIOPersistentVolumeSource
        Nr   )rr   r8   s     rs   r8   zV1PersistentVolumeSpec.scale_io  s     "ru   c                     | j                   S )ar  Gets the storage_class_name of this V1PersistentVolumeSpec.  # noqa: E501

        storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.  # noqa: E501

        :return: The storage_class_name of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: str
        rl   rx   s    rs   r9   z)V1PersistentVolumeSpec.storage_class_name  s     '''ru   c                     || _         y)au  Sets the storage_class_name of this V1PersistentVolumeSpec.

        storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.  # noqa: E501

        :param storage_class_name: The storage_class_name of this V1PersistentVolumeSpec.  # noqa: E501
        :type: str
        Nr   )rr   r9   s     rs   r9   z)V1PersistentVolumeSpec.storage_class_name  s     $6 ru   c                     | j                   S )zGets the storageos of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The storageos of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1StorageOSPersistentVolumeSource
        rm   rx   s    rs   r:   z V1PersistentVolumeSpec.storageos  r   ru   c                     || _         y)zSets the storageos of this V1PersistentVolumeSpec.


        :param storageos: The storageos of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1StorageOSPersistentVolumeSource
        Nr   )rr   r:   s     rs   r:   z V1PersistentVolumeSpec.storageos  r   ru   c                     | j                   S )a  Gets the volume_attributes_class_name of this V1PersistentVolumeSpec.  # noqa: E501

        Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).  # noqa: E501

        :return: The volume_attributes_class_name of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: str
        rn   rx   s    rs   r;   z3V1PersistentVolumeSpec.volume_attributes_class_name#  s     111ru   c                     || _         y)a"  Sets the volume_attributes_class_name of this V1PersistentVolumeSpec.

        Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is a beta field and requires enabling VolumeAttributesClass feature (off by default).  # noqa: E501

        :param volume_attributes_class_name: The volume_attributes_class_name of this V1PersistentVolumeSpec.  # noqa: E501
        :type: str
        Nr   )rr   r;   s     rs   r;   z3V1PersistentVolumeSpec.volume_attributes_class_name.  s     .J*ru   c                     | j                   S )as  Gets the volume_mode of this V1PersistentVolumeSpec.  # noqa: E501

        volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.  # noqa: E501

        :return: The volume_mode of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: str
        ro   rx   s    rs   r<   z"V1PersistentVolumeSpec.volume_mode:  s        ru   c                     || _         y)ao  Sets the volume_mode of this V1PersistentVolumeSpec.

        volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.  # noqa: E501

        :param volume_mode: The volume_mode of this V1PersistentVolumeSpec.  # noqa: E501
        :type: str
        Nr   )rr   r<   s     rs   r<   z"V1PersistentVolumeSpec.volume_modeE  s     (ru   c                     | j                   S )zGets the vsphere_volume of this V1PersistentVolumeSpec.  # noqa: E501


        :return: The vsphere_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :rtype: V1VsphereVirtualDiskVolumeSource
        rp   rx   s    rs   r=   z%V1PersistentVolumeSpec.vsphere_volumeQ  s     ###ru   c                     || _         y)zSets the vsphere_volume of this V1PersistentVolumeSpec.


        :param vsphere_volume: The vsphere_volume of this V1PersistentVolumeSpec.  # noqa: E501
        :type: V1VsphereVirtualDiskVolumeSource
        Nr   )rr   r=   s     rs   r=   z%V1PersistentVolumeSpec.vsphere_volume[  s      .ru   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr   )xs    rs   <lambda>z0V1PersistentVolumeSpec.to_dict.<locals>.<lambda>n  s    WQ	-BaiikIIru   r   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r   r   r   )items    rs   r   z0V1PersistentVolumeSpec.to_dict.<locals>.<lambda>u  s6    tAw	2 #'q'47??+<!= "=8<"=ru   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr   r   dictitems)rr   resultattr_values        rs   r   zV1PersistentVolumeSpec.to_dictf  s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ ru   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr   rx   s    rs   to_strzV1PersistentVolumeSpec.to_str~  s    ~~dlln--ru   c                 "    | j                         S )zFor `print` and `pprint`)r   rx   s    rs   __repr__zV1PersistentVolumeSpec.__repr__  s    {{}ru   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr   r   r   rr   others     rs   __eq__zV1PersistentVolumeSpec.__eq__  s'    %!78||~00ru   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr   r   s     rs   __ne__zV1PersistentVolumeSpec.__ne__  s'    %!78||~00ru   ) NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)-__name__
__module____qualname____doc__r   attribute_maprt   propertyr   setterr   r	   r   r   r   r   r   r   r   r   r   r   r   r    r"   r$   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r   r   r   r  r   ru   rs   r   r      s     !#G  	/  	9	 
 	$  	2  	2  	(  	,  	   	5  	*  	@  	8  	-   	0! " 	&# $ %"/,1"F3*,5#8(-<? MD  !#9  	k  	k	 
 	J  	(  	(  	Z  	u  	d  	|  	9  	2  	[  	Z   	! " 	# $ (',K"8+0 (C#)? MDd1L " " 	* 	* - - ##@ $@     & &     & &   __	" 	"   ]]    ]]    $ $   	ZZ    YY  ! ! ( (   ^^    ) ) 8  8   $ $   $ $   \\    \\  # # 	, 	,   	ZZ  # # , , 6 6 &,,	R -	R , , ""> #> % % 0 0   ^^      	ZZ    __" " ( ( 	6 	6   $ $ 2 2 "((	J )	J ! ! 	( 	( $ $ . .0.11ru   r   )r  r   rer   kubernetes.client.configurationr   objectr   r  ru   rs   <module>r     s&     	 
 9}1V }1ru   