
    \F                     >    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 0 SS_SS_SS_SS	_S
S	_SS_SS	_SS_SS_SS_SS_SS_SS_SS_SS_SS_SS_r0 SS_SS_SS_SS_S
S_SS_SS _SS_SS_SS_SS_SS_SS_SS!_SS"_SS_SS_r                 SMS$ 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/ 5       r\R                  S0 5       r\S1 5       r\R                  S2 5       r\S3 5       r\R                  S4 5       r\S5 5       r\R                  S6 5       r\S7 5       r\R                  S8 5       r\S9 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\SA 5       r\R                  SB 5       r\SC 5       r\R                  SD 5       r\SE 5       r\R                  SF 5       rSG rSH rSI rSJ rSK rSLr g#)NV1beta1Event   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
actionstrapi_versiondeprecated_countintdeprecated_first_timestampdatetimedeprecated_last_timestampdeprecated_sourceV1EventSource
event_timekindmetadataV1ObjectMetanotereason	regardingV1ObjectReferencerelatedreporting_controllerreporting_instanceseriesV1beta1EventSeriestype
apiVersiondeprecatedCountdeprecatedFirstTimestampdeprecatedLastTimestampdeprecatedSource	eventTimereportingControllerreportingInstanceNc                 2   SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l        SU l	        SU l
        SU l        SU l        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        Ub  XPl        Ub  X`l        Xpl        Ub  Xl        U	b  Xl        U
b  Xl        Ub  Xl        Ub  Xl        Ub  Xl        Ub  Xl        Ub  Xl         Ub  UU l!        Ub  UU l"        gg)z+
V1beta1Event - a model defined in Swagger
N)#_action_api_version_deprecated_count_deprecated_first_timestamp_deprecated_last_timestamp_deprecated_source_event_time_kind	_metadata_note_reason
_regarding_related_reporting_controller_reporting_instance_series_typediscriminatorr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   s                     9lib/third_party/kubernetes/client/models/v1beta1_event.py__init__V1beta1Event.__init__F   sP   , DLD!D'+D$&*D#"DDDJDNDJDLDODM!%D#DDLDJDk$#.!-(B% ,'@$$0 Oimik nl'"6% 2dkdi     c                     U R                   $ )z
Gets the action of this V1beta1Event.
What action was taken/failed regarding to the regarding object.

:return: The action of this V1beta1Event.
:rtype: str
r)   r;   s    r<   r   V1beta1Event.action        <<r?   c                     Xl         g)z
Sets the action of this V1beta1Event.
What action was taken/failed regarding to the regarding object.

:param action: The action of this V1beta1Event.
:type: str
NrA   )r;   r   s     r<   r   rC      	     Lr?   c                     U R                   $ )ay  
Gets the api_version of this V1beta1Event.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:return: The api_version of this V1beta1Event.
:rtype: str
r*   rB   s    r<   r
   V1beta1Event.api_version   s     r?   c                     Xl         g)a  
Sets the api_version of this V1beta1Event.
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

:param api_version: The api_version of this V1beta1Event.
:type: str
NrH   )r;   r
   s     r<   r
   rI      s
     $r?   c                     U R                   $ )z
Gets the deprecated_count of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:return: The deprecated_count of this V1beta1Event.
:rtype: int
r+   rB   s    r<   r   V1beta1Event.deprecated_count   s     !!!r?   c                     Xl         g)z
Sets the deprecated_count of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:param deprecated_count: The deprecated_count of this V1beta1Event.
:type: int
NrL   )r;   r   s     r<   r   rM      s
     .r?   c                     U R                   $ )z
Gets the deprecated_first_timestamp of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:return: The deprecated_first_timestamp of this V1beta1Event.
:rtype: datetime
r,   rB   s    r<   r   'V1beta1Event.deprecated_first_timestamp   s     +++r?   c                     Xl         g)z
Sets the deprecated_first_timestamp of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:param deprecated_first_timestamp: The deprecated_first_timestamp of
this V1beta1Event.
:type: datetime
NrP   )r;   r   s     r<   r   rQ      s     (B$r?   c                     U R                   $ )z
Gets the deprecated_last_timestamp of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:return: The deprecated_last_timestamp of this V1beta1Event.
:rtype: datetime
r-   rB   s    r<   r   &V1beta1Event.deprecated_last_timestamp   s     ***r?   c                     Xl         g)z
Sets the deprecated_last_timestamp of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:param deprecated_last_timestamp: The deprecated_last_timestamp of this
V1beta1Event.
:type: datetime
NrT   )r;   r   s     r<   r   rU      s     '@#r?   c                     U R                   $ )z
Gets the deprecated_source of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:return: The deprecated_source of this V1beta1Event.
:rtype: V1EventSource
r.   rB   s    r<   r   V1beta1Event.deprecated_source  s     """r?   c                     Xl         g)z
Sets the deprecated_source of this V1beta1Event.
Deprecated field assuring backward compatibility with core.v1 Event type

:param deprecated_source: The deprecated_source of this V1beta1Event.
:type: V1EventSource
NrX   )r;   r   s     r<   r   rY     s
     0r?   c                     U R                   $ )z
Gets the event_time of this V1beta1Event.
Required. Time when this Event was first observed.

:return: The event_time of this V1beta1Event.
:rtype: datetime
)r/   rB   s    r<   r   V1beta1Event.event_time#  s     r?   c                 ,    Uc  [        S5      eXl        g)z
Sets the event_time of this V1beta1Event.
Required. Time when this Event was first observed.

:param event_time: The event_time of this V1beta1Event.
:type: datetime
Nz2Invalid value for `event_time`, must not be `None`)
ValueErrorr/   )r;   r   s     r<   r   r\   .  s     KLL!r?   c                     U R                   $ )al  
Gets the kind of this V1beta1Event.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:return: The kind of this V1beta1Event.
:rtype: str
r0   rB   s    r<   r   V1beta1Event.kind<  s     ::r?   c                     Xl         g)ao  
Sets the kind of this V1beta1Event.
Kind is a string value representing the REST resource this object
represents. Servers may infer this from the endpoint the client submits
requests to. Cannot be updated. In CamelCase. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

:param kind: The kind of this V1beta1Event.
:type: str
Nr`   )r;   r   s     r<   r   ra   J  s	     Jr?   c                     U R                   $ )zk
Gets the metadata of this V1beta1Event.

:return: The metadata of this V1beta1Event.
:rtype: V1ObjectMeta
r1   rB   s    r<   r   V1beta1Event.metadataY  s     >>r?   c                     Xl         g)zr
Sets the metadata of this V1beta1Event.

:param metadata: The metadata of this V1beta1Event.
:type: V1ObjectMeta
Nrd   )r;   r   s     r<   r   re   c  s	     Nr?   c                     U R                   $ )a  
Gets the note of this V1beta1Event.
Optional. A human-readable description of the status of this operation.
Maximal length of the note is 1kB, but libraries should be prepared to
handle values up to 64kB.

:return: The note of this V1beta1Event.
:rtype: str
r2   rB   s    r<   r   V1beta1Event.noten  s     ::r?   c                     Xl         g)a  
Sets the note of this V1beta1Event.
Optional. A human-readable description of the status of this operation.
Maximal length of the note is 1kB, but libraries should be prepared to
handle values up to 64kB.

:param note: The note of this V1beta1Event.
:type: str
Nrh   )r;   r   s     r<   r   ri   {  s	     Jr?   c                     U R                   $ )zx
Gets the reason of this V1beta1Event.
Why the action was taken.

:return: The reason of this V1beta1Event.
:rtype: str
r3   rB   s    r<   r   V1beta1Event.reason  rD   r?   c                     Xl         g)z}
Sets the reason of this V1beta1Event.
Why the action was taken.

:param reason: The reason of this V1beta1Event.
:type: str
Nrl   )r;   r   s     r<   r   rm     rF   r?   c                     U R                   $ )aS  
Gets the regarding of this V1beta1Event.
The object this Event is about. In most cases it's an Object reporting
controller implements. E.g. ReplicaSetController implements ReplicaSets
and this event is emitted because it acts on some changes in a
ReplicaSet object.

:return: The regarding of this V1beta1Event.
:rtype: V1ObjectReference
r4   rB   s    r<   r   V1beta1Event.regarding  s     ??r?   c                     Xl         g)a[  
Sets the regarding of this V1beta1Event.
The object this Event is about. In most cases it's an Object reporting
controller implements. E.g. ReplicaSetController implements ReplicaSets
and this event is emitted because it acts on some changes in a
ReplicaSet object.

:param regarding: The regarding of this V1beta1Event.
:type: V1ObjectReference
Nrp   )r;   r   s     r<   r   rq     s	      Or?   c                     U R                   $ )z
Gets the related of this V1beta1Event.
Optional secondary object for more complex actions. E.g. when regarding
object triggers a creation or deletion of related object.

:return: The related of this V1beta1Event.
:rtype: V1ObjectReference
r5   rB   s    r<   r   V1beta1Event.related  s     ==r?   c                     Xl         g)z
Sets the related of this V1beta1Event.
Optional secondary object for more complex actions. E.g. when regarding
object triggers a creation or deletion of related object.

:param related: The related of this V1beta1Event.
:type: V1ObjectReference
Nrt   )r;   r   s     r<   r   ru     s	     Mr?   c                     U R                   $ )z
Gets the reporting_controller of this V1beta1Event.
Name of the controller that emitted this Event, e.g.
`kubernetes.io/kubelet`.

:return: The reporting_controller of this V1beta1Event.
:rtype: str
r6   rB   s    r<   r   !V1beta1Event.reporting_controller  s     %%%r?   c                     Xl         g)z
Sets the reporting_controller of this V1beta1Event.
Name of the controller that emitted this Event, e.g.
`kubernetes.io/kubelet`.

:param reporting_controller: The reporting_controller of this
V1beta1Event.
:type: str
Nrx   )r;   r   s     r<   r   ry     s
     "6r?   c                     U R                   $ )z
Gets the reporting_instance of this V1beta1Event.
ID of the controller instance, e.g. `kubelet-xyzf`.

:return: The reporting_instance of this V1beta1Event.
:rtype: str
r7   rB   s    r<   r   V1beta1Event.reporting_instance  s     ###r?   c                     Xl         g)z
Sets the reporting_instance of this V1beta1Event.
ID of the controller instance, e.g. `kubelet-xyzf`.

:param reporting_instance: The reporting_instance of this V1beta1Event.
:type: str
Nr|   )r;   r   s     r<   r   r}     s
      2r?   c                     U R                   $ )z
Gets the series of this V1beta1Event.
Data about the Event series this event represents or nil if it's a
singleton Event.

:return: The series of this V1beta1Event.
:rtype: V1beta1EventSeries
r8   rB   s    r<   r   V1beta1Event.series  s     <<r?   c                     Xl         g)z
Sets the series of this V1beta1Event.
Data about the Event series this event represents or nil if it's a
singleton Event.

:param series: The series of this V1beta1Event.
:type: V1beta1EventSeries
Nr   )r;   r   s     r<   r   r     s	     Lr?   c                     U R                   $ )z
Gets the type of this V1beta1Event.
Type of this event (Normal, Warning), new types could be added in the
future.

:return: The type of this V1beta1Event.
:rtype: str
r9   rB   s    r<   r   V1beta1Event.type   s     ::r?   c                     Xl         g)z
Sets the type of this V1beta1Event.
Type of this event (Normal, Warning), new types could be added in the
future.

:param type: The type of this V1beta1Event.
:type: str
Nr   )r;   r   s     r<   r   r   ,  s	     Jr?   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>&V1beta1Event.to_dict.<locals>.<lambda>C  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   I  s9    47I.. #1gtAw'89 9489r?   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)r;   resultattr_values        r<   r   V1beta1Event.to_dict9  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   rB   s    r<   to_strV1beta1Event.to_strP  s     4<<>""r?   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r   rB   s    r<   __repr__V1beta1Event.__repr__V  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__V1beta1Event.__eq__\  s'     e\**==ENN**r?   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r   s     r<   __ne__V1beta1Event.__ne__e  s     r?   )#r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r   r
   r   r   r   r   r:   r   r   r   r   r   r   r   r   r   r   r   )NNNNNNNNNNNNNNNNN)!__name__
__module____qualname____firstlineno____doc__r   attribute_mapr=   propertyr   setterr
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   __static_attributes__r   r?   r<   r   r      s
   U % #J	
 ": ? J e . e  & $ e E  $!" e#-(\ + #$>	
 "#< - K f * f  ;  3 /  !" f#-*  $*.)-!%$("&#IV   
==	 	   $ $ " " 	. 	. , , $$
B %
B + + ##
@ $
@ # # 	0 	0   " "   ;;    ??  
 
 ;;    
==	 	       	 	 >>
 
 	& 	& 6 6 $ $ 	2 	2 	 	 
==
 
 	 	 ;;
 
.#+r?   r   )r   pprintr   sixr   reobjectr   r   r?   r<   <module>r      s#   	   	W	6 W	r?   