
    [j                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)Configurationc                   0   e Zd ZdZ	 dddddZdddddZd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dZd Zd Zd Zd Zd	S )'AdmissionregistrationV1ServiceReferencezNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strint)name	namespacepathportr
   r   r   r   Nc                     |t          j                    }|| _        d| _        d| _        d| _        d| _        d| _        || _        || _	        ||| _
        |	|| _        dS dS )zDAdmissionregistrationV1ServiceReference - a model defined in OpenAPIN)r   get_default_copylocal_vars_configuration_name
_namespace_path_portdiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         /var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/admissionregistration_v1_service_reference.py__init__z0AdmissionregistrationV1ServiceReference.__init__4   sw    #+'4'E'G'G$(@%


!	"DIDIII     c                     | j         S )a  Gets the name of this AdmissionregistrationV1ServiceReference.  # noqa: E501

        name is the name of the service. Required  # noqa: E501

        :return: The name of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   z,AdmissionregistrationV1ServiceReference.nameG        zr   c                 N    | j         j        r|t          d          || _        dS )zSets the name of this AdmissionregistrationV1ServiceReference.

        name is the name of the service. Required  # noqa: E501

        :param name: The name of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :type name: str
        Nz,Invalid value for `name`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r
   s     r   r
   z,AdmissionregistrationV1ServiceReference.nameR   s1     (? 	MDLKLLL


r   c                     | j         S )a  Gets the namespace of this AdmissionregistrationV1ServiceReference.  # noqa: E501

        namespace is the namespace of the service. Required  # noqa: E501

        :return: The namespace of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z1AdmissionregistrationV1ServiceReference.namespace`   s     r   c                 N    | j         j        r|t          d          || _        dS )a  Sets the namespace of this AdmissionregistrationV1ServiceReference.

        namespace is the namespace of the service. Required  # noqa: E501

        :param namespace: The namespace of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :type namespace: str
        Nz1Invalid value for `namespace`, must not be `None`)r   r   r   r   )r   r   s     r   r   z1AdmissionregistrationV1ServiceReference.namespacek   s2     (? 	RIDUPQQQ#r   c                     | j         S )a*  Gets the path of this AdmissionregistrationV1ServiceReference.  # noqa: E501

        path is an optional URL path which will be sent in any request to this service.  # noqa: E501

        :return: The path of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :rtype: str
        r   r   s    r   r   z,AdmissionregistrationV1ServiceReference.pathy   r   r   c                     || _         dS )a$  Sets the path of this AdmissionregistrationV1ServiceReference.

        path is an optional URL path which will be sent in any request to this service.  # noqa: E501

        :param path: The path of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :type path: str
        Nr#   )r   r   s     r   r   z,AdmissionregistrationV1ServiceReference.path        


r   c                     | j         S )ax  Gets the port of this AdmissionregistrationV1ServiceReference.  # noqa: E501

        port is the port on the service that hosts the webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).  # noqa: E501

        :return: The port of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z,AdmissionregistrationV1ServiceReference.port   r   r   c                     || _         dS )ar  Sets the port of this AdmissionregistrationV1ServiceReference.

        port is the port on the service that hosts the webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).  # noqa: E501

        :param port: The port of this AdmissionregistrationV1ServiceReference.  # noqa: E501
        :type port: int
        Nr'   )r   r   s     r   r   z,AdmissionregistrationV1ServiceReference.port   r%   r   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r+   argslen)xr.   	serializes     r   convertz@AdmissionregistrationV1ServiceReference.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r   c                      |           S )N )r0   r2   s    r   <lambda>zAAdmissionregistrationV1ServiceReference.to_dict.<locals>.<lambda>   s    ggajj r   c                 6    | d          | d                   fS )Nr   r,   r4   )itemr2   s    r   r5   zAAdmissionregistrationV1ServiceReference.to_dict.<locals>.<lambda>   s    $q'7747+;+;!< r   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r   r1   resultattr_valuer2   s    `    @r   r+   z/AdmissionregistrationV1ServiceReference.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr+   r   s    r   to_strz.AdmissionregistrationV1ServiceReference.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rJ   r   s    r   __repr__z0AdmissionregistrationV1ServiceReference.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr>   r   r+   r   others     r   __eq__z.AdmissionregistrationV1ServiceReference.__eq__   s5    %!HII 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrN   rO   s     r   __ne__z.AdmissionregistrationV1ServiceReference.__ne__   s5    %!HII 	4||~~00r   )NNNNN)F)__name__
__module____qualname____doc__r:   r<   r   propertyr
   setterr   r   r   r+   rJ   rL   rQ   rS   r4   r   r   r   r      s         	 M  	 M   &   X 
[  [   X $ $ $   X 
[	 	 [	   X 
[	 	 [	   @. . .  1 1 11 1 1 1 1r   r   )rW   inspectr   ImportErrorr   rH   rer8   kubernetes.client.configurationr   objectr   r4   r   r   <module>r_      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9C1 C1 C1 C1 C1f C1 C1 C1 C1 C1s    