
    b                     >    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.r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 rS rS rS rS rSrg
)ExtensionsV1beta1IngressSpec   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
ExtensionsV1beta1IngressBackendz"list[ExtensionsV1beta1IngressRule]z!list[ExtensionsV1beta1IngressTLS])backendrulestlsr	   r
   r   Nc                 t    SU l         SU l        SU l        SU l        Ub  Xl        Ub  X l        Ub  X0l        gg)z;
ExtensionsV1beta1IngressSpec - a model defined in Swagger
N)_backend_rules_tlsdiscriminatorr	   r
   r   )selfr	   r
   r   s       Klib/third_party/kubernetes/client/models/extensions_v1beta1_ingress_spec.py__init__%ExtensionsV1beta1IngressSpec.__init__&   sF    
 DMDKDIDlj
h     c                     U R                   $ )a  
Gets the backend of this ExtensionsV1beta1IngressSpec.
A default backend capable of servicing requests that don't match any
rule. At least one of 'backend' or 'rules' must be specified. This field
is optional to allow the loadbalancer controller or defaulting logic to
specify a global default.

:return: The backend of this ExtensionsV1beta1IngressSpec.
:rtype: ExtensionsV1beta1IngressBackend
r   r   s    r   r	   $ExtensionsV1beta1IngressSpec.backend7   s     ==r   c                     Xl         g)a  
Sets the backend of this ExtensionsV1beta1IngressSpec.
A default backend capable of servicing requests that don't match any
rule. At least one of 'backend' or 'rules' must be specified. This field
is optional to allow the loadbalancer controller or defaulting logic to
specify a global default.

:param backend: The backend of this ExtensionsV1beta1IngressSpec.
:type: ExtensionsV1beta1IngressBackend
Nr   )r   r	   s     r   r	   r   E   s	     Mr   c                     U R                   $ )a  
Gets the rules of this ExtensionsV1beta1IngressSpec.
A list of host rules used to configure the Ingress. If unspecified, or
no rule matches, all traffic is sent to the default backend.

:return: The rules of this ExtensionsV1beta1IngressSpec.
:rtype: list[ExtensionsV1beta1IngressRule]
r   r   s    r   r
   "ExtensionsV1beta1IngressSpec.rulesT   s     ;;r   c                     Xl         g)a#  
Sets the rules of this ExtensionsV1beta1IngressSpec.
A list of host rules used to configure the Ingress. If unspecified, or
no rule matches, all traffic is sent to the default backend.

:param rules: The rules of this ExtensionsV1beta1IngressSpec.
:type: list[ExtensionsV1beta1IngressRule]
Nr   )r   r
   s     r   r
   r   `   s	     Kr   c                     U R                   $ )a  
Gets the tls of this ExtensionsV1beta1IngressSpec.
TLS configuration. Currently the Ingress only supports a single TLS
port, 443. If multiple members of this list specify different hosts,
they will be multiplexed on the same port according to the hostname
specified through the SNI TLS extension, if the ingress controller
fulfilling the ingress supports SNI.

:return: The tls of this ExtensionsV1beta1IngressSpec.
:rtype: list[ExtensionsV1beta1IngressTLS]
r   r   s    r   r    ExtensionsV1beta1IngressSpec.tlsm   s     99r   c                     Xl         g)a  
Sets the tls of this ExtensionsV1beta1IngressSpec.
TLS configuration. Currently the Ingress only supports a single TLS
port, 443. If multiple members of this list specify different hosts,
they will be multiplexed on the same port according to the hostname
specified through the SNI TLS extension, if the ingress controller
fulfilling the ingress supports SNI.

:param tls: The tls of this ExtensionsV1beta1IngressSpec.
:type: list[ExtensionsV1beta1IngressTLS]
Nr    )r   r   s     r   r   r!   |   s	     Ir   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hasattrr%   )xs    r   <lambda>6ExtensionsV1beta1IngressSpec.to_dict.<locals>.<lambda>   s    I)>)>!))+EAEr   r%   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r%   r   r&   )items    r   r)   r*      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr'   r%   dictitems)r   resultattr_values        r   r%   $ExtensionsV1beta1IngressSpec.to_dict   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   r%   r   s    r   to_str#ExtensionsV1beta1IngressSpec.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r;   r   s    r   __repr__%ExtensionsV1beta1IngressSpec.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r0   r   __dict__r   others     r   __eq__#ExtensionsV1beta1IngressSpec.__eq__   s(     e9::==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rB   s     r   __ne__#ExtensionsV1beta1IngressSpec.__ne__   s     r   )r   r   r   r	   r   r
   r   )NNN)__name__
__module____qualname____firstlineno____doc__r.   attribute_mapr   propertyr	   setterr
   r   r%   r;   r>   rD   rH   __static_attributes__rG   r   r   r   r      s     330- ('%H-"   >>  	 	 	<<
 
   :: .#+r   r   )rN   pprintr   sixr   reobjectr   rG   r   r   <module>rW      s#   	   	j6 jr   