
    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
)V1LoadBalancerIngress   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
strzlist[V1PortStatus])hostnameipip_modeportsr   r	   ipModer   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)z2V1LoadBalancerIngress - a model defined in OpenAPIN)r   local_vars_configuration	_hostname_ip_ip_mode_portsdiscriminatorr   r	   r
   r   )selfr   r	   r
   r   r   s         k/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_load_balancer_ingress.py__init__V1LoadBalancerIngress.__init__1   sj    #+'4$(@%!$M>G"LJ     c                     U R                   $ )a  Gets the hostname of this V1LoadBalancerIngress.  # noqa: E501

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)  # noqa: E501

:return: The hostname of this V1LoadBalancerIngress.  # noqa: E501
:rtype: str
r   r   s    r   r   V1LoadBalancerIngress.hostnameF   s     ~~r   c                     Xl         g)zSets the hostname of this V1LoadBalancerIngress.

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)  # noqa: E501

:param hostname: The hostname of this V1LoadBalancerIngress.  # noqa: E501
:type: str
Nr   )r   r   s     r   r   r   Q   s	     "r   c                     U R                   $ )zGets the ip of this V1LoadBalancerIngress.  # noqa: E501

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)  # noqa: E501

:return: The ip of this V1LoadBalancerIngress.  # noqa: E501
:rtype: str
r   r   s    r   r	   V1LoadBalancerIngress.ip]   s     xxr   c                     Xl         g)zSets the ip of this V1LoadBalancerIngress.

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)  # noqa: E501

:param ip: The ip of this V1LoadBalancerIngress.  # noqa: E501
:type: str
Nr   )r   r	   s     r   r	   r    h   s	     r   c                     U R                   $ )ay  Gets the ip_mode of this V1LoadBalancerIngress.  # noqa: E501

IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.  # noqa: E501

:return: The ip_mode of this V1LoadBalancerIngress.  # noqa: E501
:rtype: str
r   r   s    r   r
   V1LoadBalancerIngress.ip_modet   s     }}r   c                     Xl         g)aq  Sets the ip_mode of this V1LoadBalancerIngress.

IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.  # noqa: E501

:param ip_mode: The ip_mode of this V1LoadBalancerIngress.  # noqa: E501
:type: str
Nr#   )r   r
   s     r   r
   r$      s	      r   c                     U R                   $ )a  Gets the ports of this V1LoadBalancerIngress.  # noqa: E501

Ports is a list of records of service ports If used, every port defined in the service should have an entry in it  # noqa: E501

:return: The ports of this V1LoadBalancerIngress.  # noqa: E501
:rtype: list[V1PortStatus]
r   r   s    r   r   V1LoadBalancerIngress.ports   s     {{r   c                     Xl         g)a  Sets the ports of this V1LoadBalancerIngress.

Ports is a list of records of service ports If used, every port defined in the service should have an entry in it  # noqa: E501

:param ports: The ports of this V1LoadBalancerIngress.  # noqa: E501
:type: list[V1PortStatus]
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>/V1LoadBalancerIngress.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   r0   r1      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr.   r,   dictitems)r   resultattr_values        r   r,   V1LoadBalancerIngress.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V1LoadBalancerIngress.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rF   r   s    r   __repr__V1LoadBalancerIngress.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFr9   r   r,   r   others     r   __eq__V1LoadBalancerIngress.__eq__   s*    %!677||~00r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :g  $ )z*Returns true if both objects are not equalTrL   rM   s     r   __ne__V1LoadBalancerIngress.__ne__   s*    %!677||~00r   )
r   r   r   r   r   r   r	   r
   r   r   )NNNNN)__name__
__module____qualname____firstlineno____doc__r7   attribute_mapr   propertyr   setterr	   r
   r   r,   rF   rI   rO   rR   __static_attributes__ r   r   r   r      s    %	M 	M*   __	" 	"   YY	 	   ^^	  	    \\	 	0.11r   r   )rX   rD   rer5   kubernetes.client.configurationr   objectr   r]   r   r   <module>ra      s&     	 
 9y1F y1r   