
    @                     >    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                 SLS# 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                  S/ 5       r\S0 5       r\R                  S1 5       r\S2 5       r\R                  S3 5       r\S4 5       r\R                  S5 5       r\S6 5       r\R                  S7 5       r\S8 5       r\R                  S9 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                  SA 5       r\SB 5       r\R                  SC 5       r\SD 5       r\R                  SE 5       rSF rSG rSH rSI rSJ rSKr g")MV1Event   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
actionstrapi_versioncountint
event_timedatetimefirst_timestampinvolved_objectV1ObjectReferencekindlast_timestampmessagemetadataV1ObjectMetareasonrelatedreporting_componentreporting_instanceseriesV1EventSeriessourceV1EventSourcetype
apiVersion	eventTimefirstTimestampinvolvedObjectlastTimestampreportingComponentreportingInstanceNc                 ,   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        X`l        Ub  Xpl        Ub  Xl        U	b  Xl        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&
V1Event - a model defined in Swagger
N)#_action_api_version_count_event_time_first_timestamp_involved_object_kind_last_timestamp_message	_metadata_reason_related_reporting_component_reporting_instance_series_source_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                     4lib/third_party/kubernetes/client/models/v1_event.py__init__V1Event.__init__F   sH   , DLDDKD D DDJDDMDNDLDM $D#DDLDLDJDk$j"o",*i!*lMkl&!4% 2kdkdi     c                     U R                   $ )z
Gets the action of this V1Event.
What action was taken/failed regarding to the Regarding object.

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

:param action: The action of this V1Event.
:type: str
Nr@   )r:   r   s     r;   r   rB      s	     Lr>   c                     U R                   $ )ao  
Gets the api_version of this V1Event.
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 V1Event.
:rtype: str
r)   rA   s    r;   r
   V1Event.api_version   s     r>   c                     Xl         g)ay  
Sets the api_version of this V1Event.
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 V1Event.
:type: str
NrE   )r:   r
   s     r;   r
   rF      s
     $r>   c                     U R                   $ )z
Gets the count of this V1Event.
The number of times this event has occurred.

:return: The count of this V1Event.
:rtype: int
r*   rA   s    r;   r   V1Event.count   s     ;;r>   c                     Xl         g)z
Sets the count of this V1Event.
The number of times this event has occurred.

:param count: The count of this V1Event.
:type: int
NrI   )r:   r   s     r;   r   rJ      s	     Kr>   c                     U R                   $ )z
Gets the event_time of this V1Event.
Time when this Event was first observed.

:return: The event_time of this V1Event.
:rtype: datetime
r+   rA   s    r;   r   V1Event.event_time   s     r>   c                     Xl         g)z
Sets the event_time of this V1Event.
Time when this Event was first observed.

:param event_time: The event_time of this V1Event.
:type: datetime
NrM   )r:   r   s     r;   r   rN      s
     "r>   c                     U R                   $ )z
Gets the first_timestamp of this V1Event.
The time at which the event was first recorded. (Time of server receipt
is in TypeMeta.)

:return: The first_timestamp of this V1Event.
:rtype: datetime
r,   rA   s    r;   r   V1Event.first_timestamp   s        r>   c                     Xl         g)z
Sets the first_timestamp of this V1Event.
The time at which the event was first recorded. (Time of server receipt
is in TypeMeta.)

:param first_timestamp: The first_timestamp of this V1Event.
:type: datetime
NrQ   )r:   r   s     r;   r   rR      s
     ,r>   c                     U R                   $ )z
Gets the involved_object of this V1Event.
The object that this event is about.

:return: The involved_object of this V1Event.
:rtype: V1ObjectReference
)r-   rA   s    r;   r   V1Event.involved_object  s        r>   c                 ,    Uc  [        S5      eXl        g)z
Sets the involved_object of this V1Event.
The object that this event is about.

:param involved_object: The involved_object of this V1Event.
:type: V1ObjectReference
Nz7Invalid value for `involved_object`, must not be `None`)
ValueErrorr-   )r:   r   s     r;   r   rU     s$     
CE E ,r>   c                     U R                   $ )ab  
Gets the kind of this V1Event.
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 V1Event.
:rtype: str
r.   rA   s    r;   r   V1Event.kind%  s     ::r>   c                     Xl         g)ae  
Sets the kind of this V1Event.
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 V1Event.
:type: str
NrY   )r:   r   s     r;   r   rZ   3  s	     Jr>   c                     U R                   $ )z
Gets the last_timestamp of this V1Event.
The time at which the most recent occurrence of this event was recorded.

:return: The last_timestamp of this V1Event.
:rtype: datetime
r/   rA   s    r;   r   V1Event.last_timestampB  s     r>   c                     Xl         g)z
Sets the last_timestamp of this V1Event.
The time at which the most recent occurrence of this event was recorded.

:param last_timestamp: The last_timestamp of this V1Event.
:type: datetime
Nr]   )r:   r   s     r;   r   r^   M  s
     *r>   c                     U R                   $ )z
Gets the message of this V1Event.
A human-readable description of the status of this operation.

:return: The message of this V1Event.
:rtype: str
r0   rA   s    r;   r   V1Event.messageY       ==r>   c                     Xl         g)z
Sets the message of this V1Event.
A human-readable description of the status of this operation.

:param message: The message of this V1Event.
:type: str
Nra   )r:   r   s     r;   r   rb   d  	     Mr>   c                     U R                   $ )z
Gets the metadata of this V1Event.
Standard object's metadata. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

:return: The metadata of this V1Event.
:rtype: V1ObjectMeta
)r1   rA   s    r;   r   V1Event.metadatap  s     >>r>   c                 ,    Uc  [        S5      eXl        g)z
Sets the metadata of this V1Event.
Standard object's metadata. More info:
https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

:param metadata: The metadata of this V1Event.
:type: V1ObjectMeta
Nz0Invalid value for `metadata`, must not be `None`)rW   r1   )r:   r   s     r;   r   rg   |  s     IJJNr>   c                     U R                   $ )z
Gets the reason of this V1Event.
This should be a short, machine understandable string that gives the
reason for the transition into the object's current status.

:return: The reason of this V1Event.
:rtype: str
r2   rA   s    r;   r   V1Event.reason       <<r>   c                     Xl         g)z
Sets the reason of this V1Event.
This should be a short, machine understandable string that gives the
reason for the transition into the object's current status.

:param reason: The reason of this V1Event.
:type: str
Nrj   )r:   r   s     r;   r   rk     	     Lr>   c                     U R                   $ )z
Gets the related of this V1Event.
Optional secondary object for more complex actions.

:return: The related of this V1Event.
:rtype: V1ObjectReference
r3   rA   s    r;   r   V1Event.related  rc   r>   c                     Xl         g)z
Sets the related of this V1Event.
Optional secondary object for more complex actions.

:param related: The related of this V1Event.
:type: V1ObjectReference
Nrp   )r:   r   s     r;   r   rq     re   r>   c                     U R                   $ )z
Gets the reporting_component of this V1Event.
Name of the controller that emitted this Event, e.g.
`kubernetes.io/kubelet`.

:return: The reporting_component of this V1Event.
:rtype: str
r4   rA   s    r;   r   V1Event.reporting_component  s     $$$r>   c                     Xl         g)z
Sets the reporting_component of this V1Event.
Name of the controller that emitted this Event, e.g.
`kubernetes.io/kubelet`.

:param reporting_component: The reporting_component of this V1Event.
:type: str
Nrt   )r:   r   s     r;   r   ru     s
     !4r>   c                     U R                   $ )z
Gets the reporting_instance of this V1Event.
ID of the controller instance, e.g. `kubelet-xyzf`.

:return: The reporting_instance of this V1Event.
:rtype: str
r5   rA   s    r;   r   V1Event.reporting_instance  s     ###r>   c                     Xl         g)z
Sets the reporting_instance of this V1Event.
ID of the controller instance, e.g. `kubelet-xyzf`.

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

:return: The series of this V1Event.
:rtype: V1EventSeries
r6   rA   s    r;   r   V1Event.series  rl   r>   c                     Xl         g)z
Sets the series of this V1Event.
Data about the Event series this event represents or nil if it's a
singleton Event.

:param series: The series of this V1Event.
:type: V1EventSeries
Nr|   )r:   r   s     r;   r   r}     rn   r>   c                     U R                   $ )z
Gets the source of this V1Event.
The component reporting this event. Should be a short machine
understandable string.

:return: The source of this V1Event.
:rtype: V1EventSource
r7   rA   s    r;   r   V1Event.source  rl   r>   c                     Xl         g)z
Sets the source of this V1Event.
The component reporting this event. Should be a short machine
understandable string.

:param source: The source of this V1Event.
:type: V1EventSource
Nr   )r:   r   s     r;   r   r     rn   r>   c                     U R                   $ )z
Gets the type of this V1Event.
Type of this event (Normal, Warning), new types could be added in the
future

:return: The type of this V1Event.
:rtype: str
r8   rA   s    r;   r   V1Event.type  s     ::r>   c                     Xl         g)z
Sets the type of this V1Event.
Type of this event (Normal, Warning), new types could be added in the
future

:param type: The type of this V1Event.
: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>!V1Event.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   F  s9    47I.. #1gtAw'89 9489r>   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)r:   resultattr_values        r;   r   V1Event.to_dict6  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   rA   s    r;   to_strV1Event.to_strM  s     4<<>""r>   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r   rA   s    r;   __repr__V1Event.__repr__S  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__V1Event.__eq__Y  s'     eW%%==ENN**r>   c                     X:X  + $ )z,
Returns true if both objects are not equal
 r   s     r;   __ne__V1Event.__ne__b  s     r>   )#r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r   r
   r   r9   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 u J	
  , e 
  .  $ U E   !" e#-(\ w K	
 ) ) f   *   1 /   !" f#-* ##"#'"&#HT   
==	 	   $ $   	<<	 	   	" 	" 	! 	! 
, 
, ! ! , ,   ;;      	* 	*   >>	 	 	 	 ??  	 	 
==
 
   >>	 	 	% 	% 
4 
4 $ $ 	2 	2 	 	 
==
 
 	 	 
==
 
 	 	 ;;
 
.#+r>   r   )r   pprintr   sixr   reobjectr   r   r>   r;   <module>r      s#   	   	T	f T	r>   