
    3i                     B    S r SSKrSSKrSSKrSSKJr   " S S\5      rg)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.34
Generated by: https://openapi-generator.tech
    N)Configurationc                   .   \ rS rSrSr SSSSS.r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 rS rS rS rS rSrg)V1NetworkPolicy   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
strV1ObjectMetaV1NetworkPolicySpec)api_versionkindmetadataspec
apiVersionr   r   r   Nc                     Uc
  [        5       nXPl        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
        gg)z,V1NetworkPolicy - a model defined in OpenAPIN)r   local_vars_configuration_api_version_kind	_metadata_specdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         d/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_network_policy.py__init__V1NetworkPolicy.__init__1   sm    #+'4$(@% 

!"*I$MI     c                     U R                   $ )a  Gets the api_version of this V1NetworkPolicy.  # noqa: E501

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/sig-architecture/api-conventions.md#resources  # noqa: E501

:return: The api_version of this V1NetworkPolicy.  # noqa: E501
:rtype: str
r   r   s    r   r
   V1NetworkPolicy.api_versionF   s        r   c                     Xl         g)a  Sets the api_version of this V1NetworkPolicy.

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/sig-architecture/api-conventions.md#resources  # noqa: E501

:param api_version: The api_version of this V1NetworkPolicy.  # noqa: E501
:type: str
Nr   )r   r
   s     r   r
   r   Q   s
     (r   c                     U R                   $ )a  Gets the kind of this V1NetworkPolicy.  # noqa: E501

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/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

:return: The kind of this V1NetworkPolicy.  # noqa: E501
:rtype: str
r   r   s    r   r   V1NetworkPolicy.kind]   s     zzr   c                     Xl         g)a  Sets the kind of this V1NetworkPolicy.

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/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

:param kind: The kind of this V1NetworkPolicy.  # noqa: E501
:type: str
Nr!   )r   r   s     r   r   r"   h   s	     
r   c                     U R                   $ )zGets the metadata of this V1NetworkPolicy.  # noqa: E501


:return: The metadata of this V1NetworkPolicy.  # noqa: E501
:rtype: V1ObjectMeta
r   r   s    r   r   V1NetworkPolicy.metadatat   s     ~~r   c                     Xl         g)zSets the metadata of this V1NetworkPolicy.


:param metadata: The metadata of this V1NetworkPolicy.  # noqa: E501
:type: V1ObjectMeta
Nr%   )r   r   s     r   r   r&   ~   s	     "r   c                     U R                   $ )zGets the spec of this V1NetworkPolicy.  # noqa: E501


:return: The spec of this V1NetworkPolicy.  # noqa: E501
:rtype: V1NetworkPolicySpec
r   r   s    r   r   V1NetworkPolicy.spec   s     zzr   c                     Xl         g)zSets the spec of this V1NetworkPolicy.


:param spec: The spec of this V1NetworkPolicy.  # noqa: E501
:type: V1NetworkPolicySpec
Nr)   )r   r   s     r   r   r*      s	     
r   c                    0 n[         R                  " 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 dictc                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrr.   )xs    r   <lambda>)V1NetworkPolicy.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r.   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r.   r   r/   )items    r   r2   r3      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr0   r.   dictitems)r   resultattr_values        r   r.   V1NetworkPolicy.to_dict   s    }}T%7%78GDD'E%&&#CI%   	**$}}E4((#C=KKM%    %t! 9$ r   c                 J    [         R                  " U R                  5       5      $ )z.Returns the string representation of the model)pprintpformatr.   r   s    r   to_strV1NetworkPolicy.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rH   r   s    r   __repr__V1NetworkPolicy.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr;   r   r.   r   others     r   __eq__V1NetworkPolicy.__eq__   s)    %11||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrN   rO   s     r   __ne__V1NetworkPolicy.__ne__   s)    %11||~00r   )
r   r   r   r   r
   r   r   r   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r9   attribute_mapr   propertyr
   setterr   r   r   r.   rH   rK   rQ   rT   __static_attributes__ r   r   r   r      s    "%	M $	M* ! ! 	( 	(   
[[	 	   __" "   
[[ 0.11r   r   )rZ   rF   rer7   kubernetes.client.configurationr   objectr   r_   r   r   <module>rc      s&     	 
 9u1f u1r   