
    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                   f   \ rS rSrSr SSSSSS.rS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 5       r\R                  S 5       rS rS rS rS rS rSrg)V1ContainerPort   z~NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
intstr)container_porthost_ip	host_portnameprotocolcontainerPorthostIPhostPortr   r   Nc                     Uc
  [        5       nX`l        SU l        SU l        SU l        SU l        SU l        SU l        Xl        Ub  X l	        Ub  X0l
        Ub  X@l        Ub  XPl        gg)z,V1ContainerPort - a model defined in OpenAPIN)r   local_vars_configuration_container_port_host_ip
_host_port_name	_protocoldiscriminatorr	   r
   r   r   r   )selfr	   r
   r   r   r   r   s          d/home/james-whalen/.local/lib/python3.13/site-packages/kubernetes/client/models/v1_container_port.py__init__V1ContainerPort.__init__3   sy    #+'4$(@%#
!,"L &NI$M      c                     U R                   $ )a  Gets the container_port of this V1ContainerPort.  # noqa: E501

Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.  # noqa: E501

:return: The container_port of this V1ContainerPort.  # noqa: E501
:rtype: int
)r   r   s    r   r	   V1ContainerPort.container_portJ   s     ###r   c                 b    U R                   R                  (       a  Uc  [        S5      eXl        g)a   Sets the container_port of this V1ContainerPort.

Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.  # noqa: E501

:param container_port: The container_port of this V1ContainerPort.  # noqa: E501
:type: int
Nz6Invalid value for `container_port`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r	   s     r   r	   r    U   s*     ((??NDZUVV-r   c                     U R                   $ )zGets the host_ip of this V1ContainerPort.  # noqa: E501

What host IP to bind the external port to.  # noqa: E501

:return: The host_ip of this V1ContainerPort.  # noqa: E501
:rtype: str
r   r   s    r   r
   V1ContainerPort.host_ipc   s     }}r   c                     Xl         g)zSets the host_ip of this V1ContainerPort.

What host IP to bind the external port to.  # noqa: E501

:param host_ip: The host_ip of this V1ContainerPort.  # noqa: E501
:type: str
Nr%   )r   r
   s     r   r
   r&   n   s	      r   c                     U R                   $ )aW  Gets the host_port of this V1ContainerPort.  # noqa: E501

Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.  # noqa: E501

:return: The host_port of this V1ContainerPort.  # noqa: E501
:rtype: int
r   r   s    r   r   V1ContainerPort.host_portz   s     r   c                     Xl         g)aQ  Sets the host_port of this V1ContainerPort.

Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this.  # noqa: E501

:param host_port: The host_port of this V1ContainerPort.  # noqa: E501
:type: int
Nr)   )r   r   s     r   r   r*      s	     $r   c                     U R                   $ )a:  Gets the name of this V1ContainerPort.  # noqa: E501

If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.  # noqa: E501

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

If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services.  # noqa: E501

:param name: The name of this V1ContainerPort.  # noqa: E501
:type: str
Nr-   )r   r   s     r   r   r.      s	     
r   c                     U R                   $ )zGets the protocol of this V1ContainerPort.  # noqa: E501

Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".  # noqa: E501

:return: The protocol of this V1ContainerPort.  # noqa: E501
:rtype: str
r   r   s    r   r   V1ContainerPort.protocol   s     ~~r   c                     Xl         g)zSets the protocol of this V1ContainerPort.

Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP".  # noqa: E501

:param protocol: The protocol of this V1ContainerPort.  # noqa: E501
:type: str
Nr1   )r   r   s     r   r   r2      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hasattrr6   )xs    r   <lambda>)V1ContainerPort.to_dict.<locals>.<lambda>   s    WQ	-B-BaiikIIr   r6   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   r6   r   r7   )items    r   r:   r;      s9    tAw	22 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr8   r6   dictitems)r   resultattr_values        r   r6   V1ContainerPort.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pformatr6   r   s    r   to_strV1ContainerPort.to_str   s    ~~dlln--r   c                 "    U R                  5       $ )zFor `print` and `pprint`)rP   r   s    r   __repr__V1ContainerPort.__repr__   s    {{}r   c                 p    [        U[        5      (       d  gU R                  5       UR                  5       :H  $ )z&Returns true if both objects are equalFrC   r   r6   r   others     r   __eq__V1ContainerPort.__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 equalTrV   rW   s     r   __ne__V1ContainerPort.__ne__   s)    %11||~00r   )r   r   r   r   r   r	   r   r
   r   r   r   r   )NNNNNN)__name__
__module____qualname____firstlineno____doc__rA   attribute_mapr   propertyr	   setterr
   r   r   r   r6   rP   rS   rY   r\   __static_attributes__ r   r   r   r      s:     M *M%. $ $ . .   ^^	  	    	$ 	$   
[[	 	   __	" 	"0.11r   r   )rb   rN   rer?   kubernetes.client.configurationr   objectr   rg   r   r   <module>rk      s&     	 
 9V1f V1r   