
    ;gM                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                      e Zd ZdZ	 i ddddddddd	dd
dddddddddddddddddddddddZi ddddddddd	dd
ddddddddddddddddd dd!ddddZdKd#Zed$        Zej                  d%        Zed&        Z
e
j                  d'        Z
ed(        Zej                  d)        Zed*        Zej                  d+        Zed,        Zej                  d-        Zed.        Zej                  d/        Zed0        Zej                  d1        Zed2        Zej                  d3        Zed4        Zej                  d5        Zed6        Zej                  d7        Zed8        Zej                  d9        Zed:        Zej                  d;        Zed<        Zej                  d=        Zed>        Zej                  d?        Zed@        Zej                  dA        ZedB        Zej                  dC        ZedD        Zej                  dE        ZdF ZdG ZdH ZdI ZdJ Zy")LEventsV1EventzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    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EventsV1EventSeriestype
apiVersiondeprecatedCountdeprecatedFirstTimestampdeprecatedLastTimestampdeprecatedSource	eventTimereportingControllerreportingInstanceNc                 V   |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        ||| _         ||| _!        ||| _"        ||| _#        ||| _$        yy)z*EventsV1Event - a model defined in OpenAPIN)%r   local_vars_configuration_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   r'   s                      ]/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/events_v1_event.py__init__zEventsV1Event.__init__K   s   #+'4$(@% !%+/(*.'"&

%)"#' 
! DK"*D'$4D!%1.HD+$0-FD*(%6D"$DI$DMDI DK &DN"DL+(<D%)&8D# DKDI     c                     | j                   S )a^  Gets the action of this EventsV1Event.  # noqa: E501

        action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :return: The action of this EventsV1Event.  # noqa: E501
        :rtype: str
        r(   r:   s    r;   r   zEventsV1Event.action        ||r=   c                     || _         y)aU  Sets the action of this EventsV1Event.

        action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :param action: The action of this EventsV1Event.  # noqa: E501
        :type: str
        Nr?   )r:   r   s     r;   r   zEventsV1Event.action        r=   c                     | j                   S )a  Gets the api_version of this EventsV1Event.  # noqa: E501

        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/sig-architecture/api-conventions.md#resources  # noqa: E501

        :return: The api_version of this EventsV1Event.  # noqa: E501
        :rtype: str
        r)   r@   s    r;   r   zEventsV1Event.api_version   s        r=   c                     || _         y)a  Sets the api_version of this EventsV1Event.

        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/sig-architecture/api-conventions.md#resources  # noqa: E501

        :param api_version: The api_version of this EventsV1Event.  # noqa: E501
        :type: str
        NrE   )r:   r   s     r;   r   zEventsV1Event.api_version   s     (r=   c                     | j                   S )a  Gets the deprecated_count of this EventsV1Event.  # noqa: E501

        deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :return: The deprecated_count of this EventsV1Event.  # noqa: E501
        :rtype: int
        r*   r@   s    r;   r	   zEventsV1Event.deprecated_count   s     %%%r=   c                     || _         y)a   Sets the deprecated_count of this EventsV1Event.

        deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :param deprecated_count: The deprecated_count of this EventsV1Event.  # noqa: E501
        :type: int
        NrH   )r:   r	   s     r;   r	   zEventsV1Event.deprecated_count   s     "2r=   c                     | j                   S )aA  Gets the deprecated_first_timestamp of this EventsV1Event.  # noqa: E501

        deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :return: The deprecated_first_timestamp of this EventsV1Event.  # noqa: E501
        :rtype: datetime
        r+   r@   s    r;   r   z(EventsV1Event.deprecated_first_timestamp   s     ///r=   c                     || _         y)aL  Sets the deprecated_first_timestamp of this EventsV1Event.

        deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :param deprecated_first_timestamp: The deprecated_first_timestamp of this EventsV1Event.  # noqa: E501
        :type: datetime
        NrK   )r:   r   s     r;   r   z(EventsV1Event.deprecated_first_timestamp   s     ,F(r=   c                     | j                   S )a>  Gets the deprecated_last_timestamp of this EventsV1Event.  # noqa: E501

        deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :return: The deprecated_last_timestamp of this EventsV1Event.  # noqa: E501
        :rtype: datetime
        r,   r@   s    r;   r   z'EventsV1Event.deprecated_last_timestamp   s     ...r=   c                     || _         y)aH  Sets the deprecated_last_timestamp of this EventsV1Event.

        deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.  # noqa: E501

        :param deprecated_last_timestamp: The deprecated_last_timestamp of this EventsV1Event.  # noqa: E501
        :type: datetime
        NrN   )r:   r   s     r;   r   z'EventsV1Event.deprecated_last_timestamp   s     +D'r=   c                     | j                   S )zGets the deprecated_source of this EventsV1Event.  # noqa: E501


        :return: The deprecated_source of this EventsV1Event.  # noqa: E501
        :rtype: V1EventSource
        r-   r@   s    r;   r   zEventsV1Event.deprecated_source   s     &&&r=   c                     || _         y)zSets the deprecated_source of this EventsV1Event.


        :param deprecated_source: The deprecated_source of this EventsV1Event.  # noqa: E501
        :type: V1EventSource
        NrQ   )r:   r   s     r;   r   zEventsV1Event.deprecated_source  s     #4r=   c                     | j                   S )a  Gets the event_time of this EventsV1Event.  # noqa: E501

        eventTime is the time when this Event was first observed. It is required.  # noqa: E501

        :return: The event_time of this EventsV1Event.  # noqa: E501
        :rtype: datetime
        )r.   r@   s    r;   r   zEventsV1Event.event_time  s     r=   c                 X    | j                   j                  r|t        d      || _        y)zSets the event_time of this EventsV1Event.

        eventTime is the time when this Event was first observed. It is required.  # noqa: E501

        :param event_time: The event_time of this EventsV1Event.  # noqa: E501
        :type: datetime
        Nz2Invalid value for `event_time`, must not be `None`)r'   client_side_validation
ValueErrorr.   )r:   r   s     r;   r   zEventsV1Event.event_time  s,     ((??JDVQRR%r=   c                     | j                   S )a  Gets the kind of this EventsV1Event.  # noqa: E501

        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/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :return: The kind of this EventsV1Event.  # noqa: E501
        :rtype: str
        r/   r@   s    r;   r   zEventsV1Event.kind'       zzr=   c                     || _         y)a  Sets the kind of this EventsV1Event.

        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/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :param kind: The kind of this EventsV1Event.  # noqa: E501
        :type: str
        NrX   )r:   r   s     r;   r   zEventsV1Event.kind2       
r=   c                     | j                   S )zGets the metadata of this EventsV1Event.  # noqa: E501


        :return: The metadata of this EventsV1Event.  # noqa: E501
        :rtype: V1ObjectMeta
        r0   r@   s    r;   r   zEventsV1Event.metadata>  s     ~~r=   c                     || _         y)zSets the metadata of this EventsV1Event.


        :param metadata: The metadata of this EventsV1Event.  # noqa: E501
        :type: V1ObjectMeta
        Nr]   )r:   r   s     r;   r   zEventsV1Event.metadataH  s     "r=   c                     | j                   S )aM  Gets the note of this EventsV1Event.  # noqa: E501

        note is 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.  # noqa: E501

        :return: The note of this EventsV1Event.  # noqa: E501
        :rtype: str
        r1   r@   s    r;   r   zEventsV1Event.noteS  rY   r=   c                     || _         y)aB  Sets the note of this EventsV1Event.

        note is 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.  # noqa: E501

        :param note: The note of this EventsV1Event.  # noqa: E501
        :type: str
        Nr`   )r:   r   s     r;   r   zEventsV1Event.note^  r[   r=   c                     | j                   S )a6  Gets the reason of this EventsV1Event.  # noqa: E501

        reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :return: The reason of this EventsV1Event.  # noqa: E501
        :rtype: str
        r2   r@   s    r;   r   zEventsV1Event.reasonj  rA   r=   c                     || _         y)a-  Sets the reason of this EventsV1Event.

        reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :param reason: The reason of this EventsV1Event.  # noqa: E501
        :type: str
        Nrc   )r:   r   s     r;   r   zEventsV1Event.reasonu  rC   r=   c                     | j                   S )zGets the regarding of this EventsV1Event.  # noqa: E501


        :return: The regarding of this EventsV1Event.  # noqa: E501
        :rtype: V1ObjectReference
        r3   r@   s    r;   r   zEventsV1Event.regarding  s     r=   c                     || _         y)zSets the regarding of this EventsV1Event.


        :param regarding: The regarding of this EventsV1Event.  # noqa: E501
        :type: V1ObjectReference
        Nrf   )r:   r   s     r;   r   zEventsV1Event.regarding  s     $r=   c                     | j                   S )zGets the related of this EventsV1Event.  # noqa: E501


        :return: The related of this EventsV1Event.  # noqa: E501
        :rtype: V1ObjectReference
        r4   r@   s    r;   r   zEventsV1Event.related  s     }}r=   c                     || _         y)zSets the related of this EventsV1Event.


        :param related: The related of this EventsV1Event.  # noqa: E501
        :type: V1ObjectReference
        Nri   )r:   r   s     r;   r   zEventsV1Event.related  s      r=   c                     | j                   S )aZ  Gets the reporting_controller of this EventsV1Event.  # noqa: E501

        reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.  # noqa: E501

        :return: The reporting_controller of this EventsV1Event.  # noqa: E501
        :rtype: str
        r5   r@   s    r;   r   z"EventsV1Event.reporting_controller  s     )))r=   c                     || _         y)a_  Sets the reporting_controller of this EventsV1Event.

        reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events.  # noqa: E501

        :param reporting_controller: The reporting_controller of this EventsV1Event.  # noqa: E501
        :type: str
        Nrl   )r:   r   s     r;   r   z"EventsV1Event.reporting_controller  s     &:"r=   c                     | j                   S )aa  Gets the reporting_instance of this EventsV1Event.  # noqa: E501

        reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :return: The reporting_instance of this EventsV1Event.  # noqa: E501
        :rtype: str
        r6   r@   s    r;   r   z EventsV1Event.reporting_instance  s     '''r=   c                     || _         y)ad  Sets the reporting_instance of this EventsV1Event.

        reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters.  # noqa: E501

        :param reporting_instance: The reporting_instance of this EventsV1Event.  # noqa: E501
        :type: str
        Nro   )r:   r   s     r;   r   z EventsV1Event.reporting_instance  s     $6 r=   c                     | j                   S )zGets the series of this EventsV1Event.  # noqa: E501


        :return: The series of this EventsV1Event.  # noqa: E501
        :rtype: EventsV1EventSeries
        r7   r@   s    r;   r   zEventsV1Event.series  s     ||r=   c                     || _         y)zSets the series of this EventsV1Event.


        :param series: The series of this EventsV1Event.  # noqa: E501
        :type: EventsV1EventSeries
        Nrr   )r:   r   s     r;   r   zEventsV1Event.series  s     r=   c                     | j                   S )aC  Gets the type of this EventsV1Event.  # noqa: E501

        type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.  # noqa: E501

        :return: The type of this EventsV1Event.  # noqa: E501
        :rtype: str
        r8   r@   s    r;   r   zEventsV1Event.type  rY   r=   c                     || _         y)a8  Sets the type of this EventsV1Event.

        type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.  # noqa: E501

        :param type: The type of this EventsV1Event.  # noqa: E501
        :type: str
        Nru   )r:   r   s     r;   r   zEventsV1Event.type  r[   r=   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrry   )xs    r;   <lambda>z'EventsV1Event.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr=   ry   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   ry   r   rz   )items    r;   r}   z'EventsV1Event.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r=   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr{   ry   dictitems)r:   resultattr_values        r;   ry   zEventsV1Event.to_dict  s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r=   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatry   r@   s    r;   to_strzEventsV1Event.to_str  s    ~~dlln--r=   c                 "    | j                         S )zFor `print` and `pprint`)r   r@   s    r;   __repr__zEventsV1Event.__repr__!  s    {{}r=   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr   r   ry   r:   others     r;   __eq__zEventsV1Event.__eq__%  s&    %/||~00r=   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr   r   s     r;   __ne__zEventsV1Event.__ne__,  s&    %/||~00r=   )NNNNNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r   attribute_mapr<   propertyr   setterr   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ry   r   r   r   r    r=   r;   r   r      s   %u 	E 	%j	
 	$Z 	_ 	j 	 	N 	 	% 	( 	& 	 	e  	'!" 	#M((| 	- 	%&@	
 	$%> 	/ 	k 	 	J 	 	( 	[ 	9 	 5 	1  	(!" 	#M(9v   ]]	 	 ! ! 	( 	( & & 	2 	2 0 0  &&	F '	F / / %%	D &	D ' ' 4 4     & &   
[[	 	   __" "   
[[	 	   ]]	 	   $ $   ^^    * *   	: !	: ( ( 	6 	6   ]]    
[[	 	0.11r=   r   )r   r   rer   kubernetes.client.configurationr   objectr   r   r=   r;   <module>r      s&     	 
 9\1F \1r=   