
    ;g3                     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	 ddddddddZddd	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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y)$V1APIServiceSpeczNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strintbool!ApiregistrationV1ServiceReference)	ca_bundlegroupgroup_priority_minimuminsecure_skip_tls_verifyserviceversionversion_prioritycaBundler   groupPriorityMinimuminsecureSkipTLSVerifyr   r   versionPriorityNc	                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        || _        ||| _        ||| _        ||| _        || _        y)z-V1APIServiceSpec - a model defined in OpenAPIN)r   local_vars_configuration
_ca_bundle_group_group_priority_minimum_insecure_skip_tls_verify_service_version_version_prioritydiscriminatorr
   r   r   r   r   r   r   )	selfr
   r   r   r   r   r   r   r   s	            a/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_api_service_spec.py__init__zV1APIServiceSpec.__init__7   s    #+'4$(@%'+$)-&!%! &DNDJ&<##/,DD)"DL"DL 0    c                     | j                   S )a\  Gets the ca_bundle of this V1APIServiceSpec.  # noqa: E501

        CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.  # noqa: E501

        :return: The ca_bundle of this V1APIServiceSpec.  # noqa: E501
        :rtype: str
        )r   r   s    r    r
   zV1APIServiceSpec.ca_bundleS   s     r"   c                     | j                   j                  r#|!t        j                  d|      st	        d      || _        y)aV  Sets the ca_bundle of this V1APIServiceSpec.

        CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.  # noqa: E501

        :param ca_bundle: The ca_bundle of this V1APIServiceSpec.  # noqa: E501
        :type: str
        NzC^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$zInvalid value for `ca_bundle`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`)r   client_side_validationresearch
ValueErrorr   )r   r
   s     r    r
   zV1APIServiceSpec.ca_bundle^   sK     ))@@%bii8~  AJ  /K  l  m  m#r"   c                     | j                   S )zGets the group of this V1APIServiceSpec.  # noqa: E501

        Group is the API group name this server hosts  # noqa: E501

        :return: The group of this V1APIServiceSpec.  # noqa: E501
        :rtype: str
        r   r$   s    r    r   zV1APIServiceSpec.groupm   s     {{r"   c                     || _         y)zSets the group of this V1APIServiceSpec.

        Group is the API group name this server hosts  # noqa: E501

        :param group: The group of this V1APIServiceSpec.  # noqa: E501
        :type: str
        Nr+   )r   r   s     r    r   zV1APIServiceSpec.groupx   s     r"   c                     | j                   S )aS  Gets the group_priority_minimum of this V1APIServiceSpec.  # noqa: E501

        GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s  # noqa: E501

        :return: The group_priority_minimum of this V1APIServiceSpec.  # noqa: E501
        :rtype: int
        )r   r$   s    r    r   z'V1APIServiceSpec.group_priority_minimum   s     +++r"   c                 X    | j                   j                  r|t        d      || _        y)aZ  Sets the group_priority_minimum of this V1APIServiceSpec.

        GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s  # noqa: E501

        :param group_priority_minimum: The group_priority_minimum of this V1APIServiceSpec.  # noqa: E501
        :type: int
        Nz>Invalid value for `group_priority_minimum`, must not be `None`)r   r&   r)   r   )r   r   s     r    r   z'V1APIServiceSpec.group_priority_minimum   s-     ((??DZDb]^^'=$r"   c                     | j                   S )az  Gets the insecure_skip_tls_verify of this V1APIServiceSpec.  # noqa: E501

        InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged.  You should use the CABundle instead.  # noqa: E501

        :return: The insecure_skip_tls_verify of this V1APIServiceSpec.  # noqa: E501
        :rtype: bool
        r   r$   s    r    r   z)V1APIServiceSpec.insecure_skip_tls_verify   s     ---r"   c                     || _         y)a  Sets the insecure_skip_tls_verify of this V1APIServiceSpec.

        InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged.  You should use the CABundle instead.  # noqa: E501

        :param insecure_skip_tls_verify: The insecure_skip_tls_verify of this V1APIServiceSpec.  # noqa: E501
        :type: bool
        Nr0   )r   r   s     r    r   z)V1APIServiceSpec.insecure_skip_tls_verify   s     *B&r"   c                     | j                   S )zGets the service of this V1APIServiceSpec.  # noqa: E501


        :return: The service of this V1APIServiceSpec.  # noqa: E501
        :rtype: ApiregistrationV1ServiceReference
        r   r$   s    r    r   zV1APIServiceSpec.service   s     }}r"   c                     || _         y)zSets the service of this V1APIServiceSpec.


        :param service: The service of this V1APIServiceSpec.  # noqa: E501
        :type: ApiregistrationV1ServiceReference
        Nr3   )r   r   s     r    r   zV1APIServiceSpec.service   s      r"   c                     | j                   S )zGets the version of this V1APIServiceSpec.  # noqa: E501

        Version is the API version this server hosts.  For example, "v1"  # noqa: E501

        :return: The version of this V1APIServiceSpec.  # noqa: E501
        :rtype: str
        r   r$   s    r    r   zV1APIServiceSpec.version   s     }}r"   c                     || _         y)zSets the version of this V1APIServiceSpec.

        Version is the API version this server hosts.  For example, "v1"  # noqa: E501

        :param version: The version of this V1APIServiceSpec.  # noqa: E501
        :type: str
        Nr6   )r   r   s     r    r   zV1APIServiceSpec.version   s      r"   c                     | j                   S )a  Gets the version_priority of this V1APIServiceSpec.  # noqa: E501

        VersionPriority controls the ordering of this API version inside of its group.  Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.  # noqa: E501

        :return: The version_priority of this V1APIServiceSpec.  # noqa: E501
        :rtype: int
        )r   r$   s    r    r   z!V1APIServiceSpec.version_priority   s     %%%r"   c                 X    | j                   j                  r|t        d      || _        y)a  Sets the version_priority of this V1APIServiceSpec.

        VersionPriority controls the ordering of this API version inside of its group.  Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version), then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.  # noqa: E501

        :param version_priority: The version_priority of this V1APIServiceSpec.  # noqa: E501
        :type: int
        Nz8Invalid value for `version_priority`, must not be `None`)r   r&   r)   r   )r   r   s     r    r   z!V1APIServiceSpec.version_priority   s-     ((??DTD\WXX!1r"   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    r    <lambda>z*V1APIServiceSpec.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr"   r<   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r<   r   r=   )items    r    r@   z*V1APIServiceSpec.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r"   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr>   r<   dictitems)r   resultattr_values        r    r<   zV1APIServiceSpec.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r"   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr<   r$   s    r    to_strzV1APIServiceSpec.to_str  s    ~~dlln--r"   c                 "    | j                         S )zFor `print` and `pprint`)rT   r$   s    r    __repr__zV1APIServiceSpec.__repr__  s    {{}r"   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrH   r   r<   r   others     r    __eq__zV1APIServiceSpec.__eq__  s'    %!12||~00r"   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrX   rY   s     r    __ne__zV1APIServiceSpec.__ne__   s'    %!12||~00r"   )NNNNNNNN)__name__
__module____qualname____doc__rF   attribute_mapr!   propertyr
   setterr   r   r   r   r   r   r<   rT   rV   r[   r]    r"   r    r   r      s    "'$*6!M  "8$;-M18   $ $   \\	 	 , , ""> #> . . $$	B %	B   ^^      ^^	  	  & & 2 20.11r"   r   )ra   rR   r'   rD   kubernetes.client.configurationr   objectr   re   r"   r    <module>rh      s&     	 
 9P1v P1r"   