
    5                     >    S r SSKJr  SSKJr  SSKr " S S\5      rg)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                      \ rS rSrSr SSSSSSSSSSS	.
rS
SSSSSSSSSS	.
r          S0S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S  5       r\R                  S! 5       r\S" 5       r\R                  S# 5       r\S$ 5       r\R                  S% 5       r\S& 5       r\R                  S' 5       r\S( 5       r\R                  S) 5       rS* rS+ rS, rS- rS. rS/rg)1V1beta1StorageClass   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
boolzlist[V1TopologySelectorTerm]strV1ObjectMetaz	list[str]zdict(str, str))
allow_volume_expansionallowed_topologiesapi_versionkindmetadatamount_options
parametersprovisionerreclaim_policyvolume_binding_modeallowVolumeExpansionallowedTopologies
apiVersionr   r   mountOptionsr   r   reclaimPolicyvolumeBindingModeNc                 N   SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l	        SU l
        Ub  Xl        Ub  X l        Ub  X0l        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        Xl        U	b  Xl        U
b  Xl        gg)z2
V1beta1StorageClass - a model defined in Swagger
N)_allow_volume_expansion_allowed_topologies_api_version_kind	_metadata_mount_options_parameters_provisioner_reclaim_policy_volume_binding_modediscriminatorr   r   r   r   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   r   r   r   s              Alib/third_party/kubernetes/client/models/v1beta1_storage_class.py__init__V1beta1StorageClass.__init__8   s     $(D #DDDJDNDDDD $DD)$:!% 2$im ("o"!*&!4 '    c                     U R                   $ )z
Gets the allow_volume_expansion of this V1beta1StorageClass.
AllowVolumeExpansion shows whether the storage class allow volume expand

:return: The allow_volume_expansion of this V1beta1StorageClass.
:rtype: bool
r   r'   s    r(   r   *V1beta1StorageClass.allow_volume_expansiong   s     '''r+   c                     Xl         g)z
Sets the allow_volume_expansion of this V1beta1StorageClass.
AllowVolumeExpansion shows whether the storage class allow volume expand

:param allow_volume_expansion: The allow_volume_expansion of this
V1beta1StorageClass.
:type: bool
Nr-   )r'   r   s     r(   r   r/   r   s
     $: r+   c                     U R                   $ )a  
Gets the allowed_topologies of this V1beta1StorageClass.
Restrict the node topologies where volumes can be dynamically
provisioned. Each volume plugin defines its own supported topology
specifications. An empty TopologySelectorTerm list means there is no
topology restriction. This field is only honored by servers that enable
the VolumeScheduling feature.

:return: The allowed_topologies of this V1beta1StorageClass.
:rtype: list[V1TopologySelectorTerm]
r   r.   s    r(   r   &V1beta1StorageClass.allowed_topologies   s     ###r+   c                     Xl         g)a  
Sets the allowed_topologies of this V1beta1StorageClass.
Restrict the node topologies where volumes can be dynamically
provisioned. Each volume plugin defines its own supported topology
specifications. An empty TopologySelectorTerm list means there is no
topology restriction. This field is only honored by servers that enable
the VolumeScheduling feature.

:param allowed_topologies: The allowed_topologies of this
V1beta1StorageClass.
:type: list[V1TopologySelectorTerm]
Nr2   )r'   r   s     r(   r   r3      s
      2r+   c                     U R                   $ )a  
Gets the api_version of this V1beta1StorageClass.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:return: The api_version of this V1beta1StorageClass.
:rtype: str
r   r.   s    r(   r   V1beta1StorageClass.api_version   s     r+   c                     Xl         g)a  
Sets the api_version of this V1beta1StorageClass.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:param api_version: The api_version of this V1beta1StorageClass.
:type: str
Nr6   )r'   r   s     r(   r   r7      s
     $r+   c                     U R                   $ )az  
Gets the kind of this V1beta1StorageClass.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:return: The kind of this V1beta1StorageClass.
:rtype: str
r   r.   s    r(   r   V1beta1StorageClass.kind   s     ::r+   c                     Xl         g)a}  
Sets the kind of this V1beta1StorageClass.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:param kind: The kind of this V1beta1StorageClass.
:type: str
Nr:   )r'   r   s     r(   r   r;      s	     Jr+   c                     U R                   $ )z
Gets the metadata of this V1beta1StorageClass.
Standard object's metadata. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

:return: The metadata of this V1beta1StorageClass.
:rtype: V1ObjectMeta
r    r.   s    r(   r   V1beta1StorageClass.metadata   s     >>r+   c                     Xl         g)z
Sets the metadata of this V1beta1StorageClass.
Standard object's metadata. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

:param metadata: The metadata of this V1beta1StorageClass.
:type: V1ObjectMeta
Nr>   )r'   r   s     r(   r   r?      s	     Nr+   c                     U R                   $ )a?  
Gets the mount_options of this V1beta1StorageClass.
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g. ["ro", "soft"]. Not validated
- mount of the PVs will simply fail if one is invalid.

:return: The mount_options of this V1beta1StorageClass.
:rtype: list[str]
r!   r.   s    r(   r   !V1beta1StorageClass.mount_options   s     r+   c                     Xl         g)aK  
Sets the mount_options of this V1beta1StorageClass.
Dynamically provisioned PersistentVolumes of this storage class are
created with these mountOptions, e.g. ["ro", "soft"]. Not validated
- mount of the PVs will simply fail if one is invalid.

:param mount_options: The mount_options of this V1beta1StorageClass.
:type: list[str]
NrB   )r'   r   s     r(   r   rC      s
     (r+   c                     U R                   $ )z
Gets the parameters of this V1beta1StorageClass.
Parameters holds the parameters for the provisioner that should create
volumes of this storage class.

:return: The parameters of this V1beta1StorageClass.
:rtype: dict(str, str)
r"   r.   s    r(   r   V1beta1StorageClass.parameters  s     r+   c                     Xl         g)z
Sets the parameters of this V1beta1StorageClass.
Parameters holds the parameters for the provisioner that should create
volumes of this storage class.

:param parameters: The parameters of this V1beta1StorageClass.
:type: dict(str, str)
NrF   )r'   r   s     r(   r   rG     s
     "r+   c                     U R                   $ )z
Gets the provisioner of this V1beta1StorageClass.
Provisioner indicates the type of the provisioner.

:return: The provisioner of this V1beta1StorageClass.
:rtype: str
)r#   r.   s    r(   r   V1beta1StorageClass.provisioner&  s     r+   c                 ,    Uc  [        S5      eXl        g)z
Sets the provisioner of this V1beta1StorageClass.
Provisioner indicates the type of the provisioner.

:param provisioner: The provisioner of this V1beta1StorageClass.
:type: str
Nz3Invalid value for `provisioner`, must not be `None`)
ValueErrorr#   )r'   r   s     r(   r   rJ   1  s     LMM#r+   c                     U R                   $ )z
Gets the reclaim_policy of this V1beta1StorageClass.
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy. Defaults to Delete.

:return: The reclaim_policy of this V1beta1StorageClass.
:rtype: str
r$   r.   s    r(   r   "V1beta1StorageClass.reclaim_policy?  s     r+   c                     Xl         g)a  
Sets the reclaim_policy of this V1beta1StorageClass.
Dynamically provisioned PersistentVolumes of this storage class are
created with this reclaimPolicy. Defaults to Delete.

:param reclaim_policy: The reclaim_policy of this V1beta1StorageClass.
:type: str
NrN   )r'   r   s     r(   r   rO   K  s
     *r+   c                     U R                   $ )a[  
Gets the volume_binding_mode of this V1beta1StorageClass.
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.  When unset, VolumeBindingImmediate is used. This
field is only honored by servers that enable the VolumeScheduling
feature.

:return: The volume_binding_mode of this V1beta1StorageClass.
:rtype: str
r%   r.   s    r(   r   'V1beta1StorageClass.volume_binding_modeX  s     $$$r+   c                     Xl         g)am  
Sets the volume_binding_mode of this V1beta1StorageClass.
VolumeBindingMode indicates how PersistentVolumeClaims should be
provisioned and bound.  When unset, VolumeBindingImmediate is used. This
field is only honored by servers that enable the VolumeScheduling
feature.

:param volume_binding_mode: The volume_binding_mode of this
V1beta1StorageClass.
:type: str
NrR   )r'   r   s     r(   r   rS   f  s
     !4r+   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrW   )xs    r(   <lambda>-V1beta1StorageClass.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr+   rW   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rW   r   rX   )items    r(   r[   r\     s9    47I.. #1gtAw'89 9489r+   )
r   swagger_typesgetattr
isinstancelistmaprY   rW   dictitems)r'   resultattr_values        r(   rW   V1beta1StorageClass.to_dictv  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr+   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   rW   r.   s    r(   to_strV1beta1StorageClass.to_str  s     4<<>""r+   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rm   r.   s    r(   __repr__V1beta1StorageClass.__repr__  s     ;;=r+   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rb   r   __dict__r'   others     r(   __eq__V1beta1StorageClass.__eq__  s(     e011==ENN**r+   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rt   s     r(   __ne__V1beta1StorageClass.__ne__  s     r+   )r   r   r   r   r    r!   r"   r#   r$   r%   r   r   r   r&   r   r   r   r   r   r   r   )
NNNNNNNNNN)__name__
__module____qualname____firstlineno____doc__r`   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   r   r   rW   rm   rp   rv   rz   __static_attributes__ry   r+   r(   r   r      sa    !': "$"- !7/!% "'0- '+"&!"#'-5^ ( (   
: !
: $ $ 2 2    $ $   ;;  	 	 ??
 
 
 
 ( ( 	 	 
" 
"   $ $ 	  	  
* 
* % % 4 4.#+r+   r   )r   pprintr   sixr   reobjectr   ry   r+   r(   <module>r      s#   	   	T& Tr+   