
                         >    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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
)V1EndpointAddress   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strV1ObjectReference)hostnameip	node_name
target_refr
   r   nodeName	targetRefNc                     SU l         SU l        SU l        SU l        SU l        Ub  Xl        X l        Ub  X0l        Ub  X@l        gg)z0
V1EndpointAddress - a model defined in Swagger
N		_hostname_ip
_node_name_target_refdiscriminatorr
   r   r   r   )selfr
   r   r   r   s        ?lib/third_party/kubernetes/client/models/v1_endpoint_address.py__init__V1EndpointAddress.__init__,   sT    
 DNDHDODDmG n"o     c                     U R                   $ )z
Gets the hostname of this V1EndpointAddress.
The Hostname of this endpoint

:return: The hostname of this V1EndpointAddress.
:rtype: str
r   r   s    r   r
   V1EndpointAddress.hostname?   s     >>r   c                     Xl         g)z
Sets the hostname of this V1EndpointAddress.
The Hostname of this endpoint

:param hostname: The hostname of this V1EndpointAddress.
:type: str
Nr   )r   r
   s     r   r
   r   J   s	     Nr   c                     U R                   $ )al  
Gets the ip of this V1EndpointAddress.
The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local
(169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also
accepted but not fully supported on all platforms. Also, certain
kubernetes components, like kube-proxy, are not IPv6 ready.

:return: The ip of this V1EndpointAddress.
:rtype: str
)r   r   s    r   r   V1EndpointAddress.ipV   s     88Or   c                 ,    Uc  [        S5      eXl        g)am  
Sets the ip of this V1EndpointAddress.
The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local
(169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also
accepted but not fully supported on all platforms. Also, certain
kubernetes components, like kube-proxy, are not IPv6 ready.

:param ip: The ip of this V1EndpointAddress.
:type: str
Nz*Invalid value for `ip`, must not be `None`)
ValueErrorr   )r   r   s     r   r   r"   d   s     
zCDDHr   c                     U R                   $ )z
Gets the node_name of this V1EndpointAddress.
Optional: Node hosting this endpoint. This can be used to determine
endpoints local to a node.

:return: The node_name of this V1EndpointAddress.
:rtype: str
r   r   s    r   r   V1EndpointAddress.node_nameu   s     ??r   c                     Xl         g)z
Sets the node_name of this V1EndpointAddress.
Optional: Node hosting this endpoint. This can be used to determine
endpoints local to a node.

:param node_name: The node_name of this V1EndpointAddress.
:type: str
Nr&   )r   r   s     r   r   r'      s	      Or   c                     U R                   $ )z
Gets the target_ref of this V1EndpointAddress.
Reference to object providing the endpoint.

:return: The target_ref of this V1EndpointAddress.
:rtype: V1ObjectReference
r   r   s    r   r   V1EndpointAddress.target_ref   s     r   c                     Xl         g)z
Sets the target_ref of this V1EndpointAddress.
Reference to object providing the endpoint.

:param target_ref: The target_ref of this V1EndpointAddress.
:type: V1ObjectReference
Nr*   )r   r   s     r   r   r+      s
     "r   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>+V1EndpointAddress.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   r0   )items    r   r3   r4      s9    47I.. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr1   r/   dictitems)r   resultattr_values        r   r/   V1EndpointAddress.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V1EndpointAddress.to_str   s     4<<>""r   c                 "    U R                  5       $ )z
For `print` and `pprint`
)rE   r   s    r   __repr__V1EndpointAddress.__repr__   s     ;;=r   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)r:   r   __dict__r   others     r   __eq__V1EndpointAddress.__eq__   s(     e.//==ENN**r   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rL   s     r   __ne__V1EndpointAddress.__ne__   s     r   r   )NNNN)__name__
__module____qualname____firstlineno____doc__r8   attribute_mapr   propertyr
   setterr   r   r   r/   rE   rH   rN   rR   __static_attributes__rQ   r   r   r   r      s    '	- 	-#&   ??	 	   99   	 	 
  
    	" 	".#+r   r   )rX   pprintr   sixr   reobjectr   rQ   r   r   <module>ra      s#   	   	C Cr   