
    )0                     >    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          S-S 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).V1APIResource   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
z	list[str]strbool)

categoriesgroupkindname
namespacedshort_namessingular_namestorage_version_hashverbsversionr
   r   r   r   r   
shortNamessingularNamestorageVersionHashr   r   Nc                 6   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        X0l        X@l        XPl        Ub  X`l        Xpl        Ub  Xl        Xl        U
b  Xl        gg)z,
V1APIResource - a model defined in Swagger
N)_categories_group_kind_name_namespaced_short_names_singular_name_storage_version_hash_verbs_versiondiscriminatorr
   r   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   s              ;lib/third_party/kubernetes/client/models/v1_api_resource.py__init__V1APIResource.__init__8   s     DDKDJDJDDD!%DDKDMD"ojII O$&'"6Jl     c                     U R                   $ )z
Gets the categories of this V1APIResource.
categories is a list of the grouped resources this resource belongs to
(e.g. 'all')

:return: The categories of this V1APIResource.
:rtype: list[str]
r   r#   s    r$   r
   V1APIResource.categoriesc   s     r'   c                     Xl         g)z
Sets the categories of this V1APIResource.
categories is a list of the grouped resources this resource belongs to
(e.g. 'all')

:param categories: The categories of this V1APIResource.
:type: list[str]
Nr)   )r#   r
   s     r$   r
   r+   o   s
     "r'   c                     U R                   $ )a  
Gets the group of this V1APIResource.
group is the preferred group of the resource.  Empty implies the group
of the containing resource list. For subresources, this may have a
different value, for example: Scale".

:return: The group of this V1APIResource.
:rtype: str
r   r*   s    r$   r   V1APIResource.group|   s     ;;r'   c                     Xl         g)a  
Sets the group of this V1APIResource.
group is the preferred group of the resource.  Empty implies the group
of the containing resource list. For subresources, this may have a
different value, for example: Scale".

:param group: The group of this V1APIResource.
:type: str
Nr.   )r#   r   s     r$   r   r/      s	     Kr'   c                     U R                   $ )z
Gets the kind of this V1APIResource.
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource
'foo')

:return: The kind of this V1APIResource.
:rtype: str
)r   r*   s    r$   r   V1APIResource.kind   s     ::r'   c                 ,    Uc  [        S5      eXl        g)z
Sets the kind of this V1APIResource.
kind is the kind for the resource (e.g. 'Foo' is the kind for a resource
'foo')

:param kind: The kind of this V1APIResource.
:type: str
Nz,Invalid value for `kind`, must not be `None`)
ValueErrorr   )r#   r   s     r$   r   r2      s     |EFFJr'   c                     U R                   $ )z
Gets the name of this V1APIResource.
name is the plural name of the resource.

:return: The name of this V1APIResource.
:rtype: str
)r   r*   s    r$   r   V1APIResource.name   s     ::r'   c                 ,    Uc  [        S5      eXl        g)z
Sets the name of this V1APIResource.
name is the plural name of the resource.

:param name: The name of this V1APIResource.
:type: str
Nz,Invalid value for `name`, must not be `None`)r4   r   )r#   r   s     r$   r   r6      s     |EFFJr'   c                     U R                   $ )z
Gets the namespaced of this V1APIResource.
namespaced indicates if a resource is namespaced or not.

:return: The namespaced of this V1APIResource.
:rtype: bool
)r   r*   s    r$   r   V1APIResource.namespaced   s     r'   c                 ,    Uc  [        S5      eXl        g)z
Sets the namespaced of this V1APIResource.
namespaced indicates if a resource is namespaced or not.

:param namespaced: The namespaced of this V1APIResource.
:type: bool
Nz2Invalid value for `namespaced`, must not be `None`)r4   r   )r#   r   s     r$   r   r9      s     KLL!r'   c                     U R                   $ )z
Gets the short_names of this V1APIResource.
shortNames is a list of suggested short names of the resource.

:return: The short_names of this V1APIResource.
:rtype: list[str]
r   r*   s    r$   r   V1APIResource.short_names   s     r'   c                     Xl         g)z
Sets the short_names of this V1APIResource.
shortNames is a list of suggested short names of the resource.

:param short_names: The short_names of this V1APIResource.
:type: list[str]
Nr<   )r#   r   s     r$   r   r=      s
     $r'   c                     U R                   $ )an  
Gets the singular_name of this V1APIResource.
singularName is the singular name of the resource.  This allows clients
to handle plural and singular opaquely. The singularName is more correct
for reporting status on a single item and both singular and plural are
allowed from the kubectl CLI interface.

:return: The singular_name of this V1APIResource.
:rtype: str
)r   r*   s    r$   r   V1APIResource.singular_name   s     r'   c                 ,    Uc  [        S5      eXl        g)az  
Sets the singular_name of this V1APIResource.
singularName is the singular name of the resource.  This allows clients
to handle plural and singular opaquely. The singularName is more correct
for reporting status on a single item and both singular and plural are
allowed from the kubectl CLI interface.

:param singular_name: The singular_name of this V1APIResource.
:type: str
Nz5Invalid value for `singular_name`, must not be `None`)r4   r   )r#   r   s     r$   r   r@   	  s     NOO'r'   c                     U R                   $ )a$  
Gets the storage_version_hash of this V1APIResource.
The hash value of the storage version, the version this resource is
converted to when written to the data store. Value must be treated as
opaque by clients. Only equality comparison on the value is valid. This
is an alpha feature and may change or be removed in the future. The
field is populated by the apiserver only if the StorageVersionHash
feature gate is enabled. This field will remain optional even if it
graduates.

:return: The storage_version_hash of this V1APIResource.
:rtype: str
r   r*   s    r$   r   "V1APIResource.storage_version_hash  s     %%%r'   c                     Xl         g)a7  
Sets the storage_version_hash of this V1APIResource.
The hash value of the storage version, the version this resource is
converted to when written to the data store. Value must be treated as
opaque by clients. Only equality comparison on the value is valid. This
is an alpha feature and may change or be removed in the future. The
field is populated by the apiserver only if the StorageVersionHash
feature gate is enabled. This field will remain optional even if it
graduates.

:param storage_version_hash: The storage_version_hash of this
V1APIResource.
:type: str
NrC   )r#   r   s     r$   r   rD   +  s
    " "6r'   c                     U R                   $ )z
Gets the verbs of this V1APIResource.
verbs is a list of supported kube verbs (this includes get, list, watch,
create, update, patch, delete, deletecollection, and proxy)

:return: The verbs of this V1APIResource.
:rtype: list[str]
)r    r*   s    r$   r   V1APIResource.verbs>  s     ;;r'   c                 ,    Uc  [        S5      eXl        g)z
Sets the verbs of this V1APIResource.
verbs is a list of supported kube verbs (this includes get, list, watch,
create, update, patch, delete, deletecollection, and proxy)

:param verbs: The verbs of this V1APIResource.
:type: list[str]
Nz-Invalid value for `verbs`, must not be `None`)r4   r    )r#   r   s     r$   r   rG   J  s     }FGGKr'   c                     U R                   $ )aR  
Gets the version of this V1APIResource.
version is the preferred version of the resource.  Empty implies the
version of the containing resource list For subresources, this may have
a different value, for example: v1 (while inside a v1beta1 version of
the core resource's group)".

:return: The version of this V1APIResource.
:rtype: str
r!   r*   s    r$   r   V1APIResource.versionY  s     ==r'   c                     Xl         g)aX  
Sets the version of this V1APIResource.
version is the preferred version of the resource.  Empty implies the
version of the containing resource list For subresources, this may have
a different value, for example: v1 (while inside a v1beta1 version of
the core resource's group)".

:param version: The version of this V1APIResource.
:type: str
NrJ   )r#   r   s     r$   r   rK   g  s	     Mr'   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hasattrrO   )xs    r$   <lambda>'V1APIResource.to_dict.<locals>.<lambda>  s    I)>)>!))+EAEr'   rO   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rO   r   rP   )items    r$   rS   rT     s9    47I.. #1gtAw'89 9489r'   )
r   swagger_typesgetattr
isinstancelistmaprQ   rO   dictitems)r#   resultattr_values        r$   rO   V1APIResource.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   rO   r*   s    r$   to_strV1APIResource.to_str  s     4<<>""r'   c                 "    U R                  5       $ )z
For `print` and `pprint`
)re   r*   s    r$   __repr__V1APIResource.__repr__  s     ;;=r'   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rZ   r   __dict__r#   others     r$   __eq__V1APIResource.__eq__  s'     e]++==ENN**r'   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rl   s     r$   __ne__V1APIResource.__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__rX   attribute_mapr%   propertyr
   setterr   r   r   r   r   r   r   r   r   rO   re   rh   rn   rr   __static_attributes__rq   r'   r$   r   r      s[      #- ! !%2- !$()V 	 	 
" 
" 
 
 	<<  	 	 ;;    ;;    " "   	$ 	$   ( (  & &  6 6$ 	 	 	<<    >> .#+r'   r   )rx   pprintr   sixr   reobjectr   rq   r'   r$   <module>r      s#   	   	TF Tr'   