
    <g{#                     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	 ddddddddZdddd	d
dddZd"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d        Zej                  d        Zed        Zej                  d        Zd Zd Zd Zd  Zd! Zy)#V1ContainerStateTerminatedzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strintdatetime)container_id	exit_codefinished_atmessagereasonsignal
started_atcontainerIDexitCode
finishedAtr   r   r   	startedAtNc	                    |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        || _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z7V1ContainerStateTerminated - a model defined in OpenAPIN)r   local_vars_configuration_container_id
_exit_code_finished_at_message_reason_signal_started_atdiscriminatorr	   r
   r   r   r   r   r   )	selfr	   r
   r   r   r   r   r   r   s	            k/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_container_state_terminated.py__init__z#V1ContainerStateTerminated.__init__7   s    #+'4$(@%! !# ,D""*D"DL DK DK!(DO "    c                     | j                   S )a  Gets the container_id of this V1ContainerStateTerminated.  # noqa: E501

        Container's ID in the format '<type>://<container_id>'  # noqa: E501

        :return: The container_id of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   z'V1ContainerStateTerminated.container_idT   s     !!!r!   c                     || _         y)a  Sets the container_id of this V1ContainerStateTerminated.

        Container's ID in the format '<type>://<container_id>'  # noqa: E501

        :param container_id: The container_id of this V1ContainerStateTerminated.  # noqa: E501
        :type: str
        Nr#   )r   r	   s     r   r	   z'V1ContainerStateTerminated.container_id_   s     *r!   c                     | j                   S )a  Gets the exit_code of this V1ContainerStateTerminated.  # noqa: E501

        Exit status from the last termination of the container  # noqa: E501

        :return: The exit_code of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: int
        )r   r$   s    r   r
   z$V1ContainerStateTerminated.exit_codek   s     r!   c                 X    | j                   j                  r|t        d      || _        y)zSets the exit_code of this V1ContainerStateTerminated.

        Exit status from the last termination of the container  # noqa: E501

        :param exit_code: The exit_code of this V1ContainerStateTerminated.  # noqa: E501
        :type: int
        Nz1Invalid value for `exit_code`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r
   s     r   r
   z$V1ContainerStateTerminated.exit_codev   s+     ((??IDUPQQ#r!   c                     | j                   S )zGets the finished_at of this V1ContainerStateTerminated.  # noqa: E501

        Time at which the container last terminated  # noqa: E501

        :return: The finished_at of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: datetime
        r   r$   s    r   r   z&V1ContainerStateTerminated.finished_at   s        r!   c                     || _         y)zSets the finished_at of this V1ContainerStateTerminated.

        Time at which the container last terminated  # noqa: E501

        :param finished_at: The finished_at of this V1ContainerStateTerminated.  # noqa: E501
        :type: datetime
        Nr+   )r   r   s     r   r   z&V1ContainerStateTerminated.finished_at   s     (r!   c                     | j                   S )zGets the message of this V1ContainerStateTerminated.  # noqa: E501

        Message regarding the last termination of the container  # noqa: E501

        :return: The message of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z"V1ContainerStateTerminated.message   s     }}r!   c                     || _         y)zSets the message of this V1ContainerStateTerminated.

        Message regarding the last termination of the container  # noqa: E501

        :param message: The message of this V1ContainerStateTerminated.  # noqa: E501
        :type: str
        Nr.   )r   r   s     r   r   z"V1ContainerStateTerminated.message   s      r!   c                     | j                   S )zGets the reason of this V1ContainerStateTerminated.  # noqa: E501

        (brief) reason from the last termination of the container  # noqa: E501

        :return: The reason of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: str
        r   r$   s    r   r   z!V1ContainerStateTerminated.reason        ||r!   c                     || _         y)zSets the reason of this V1ContainerStateTerminated.

        (brief) reason from the last termination of the container  # noqa: E501

        :param reason: The reason of this V1ContainerStateTerminated.  # noqa: E501
        :type: str
        Nr1   )r   r   s     r   r   z!V1ContainerStateTerminated.reason        r!   c                     | j                   S )zGets the signal of this V1ContainerStateTerminated.  # noqa: E501

        Signal from the last termination of the container  # noqa: E501

        :return: The signal of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: int
        r   r$   s    r   r   z!V1ContainerStateTerminated.signal   r2   r!   c                     || _         y)zSets the signal of this V1ContainerStateTerminated.

        Signal from the last termination of the container  # noqa: E501

        :param signal: The signal of this V1ContainerStateTerminated.  # noqa: E501
        :type: int
        Nr6   )r   r   s     r   r   z!V1ContainerStateTerminated.signal   r4   r!   c                     | j                   S )a  Gets the started_at of this V1ContainerStateTerminated.  # noqa: E501

        Time at which previous execution of the container started  # noqa: E501

        :return: The started_at of this V1ContainerStateTerminated.  # noqa: E501
        :rtype: datetime
        r   r$   s    r   r   z%V1ContainerStateTerminated.started_at   s     r!   c                     || _         y)a  Sets the started_at of this V1ContainerStateTerminated.

        Time at which previous execution of the container started  # noqa: E501

        :param started_at: The started_at of this V1ContainerStateTerminated.  # noqa: E501
        :type: datetime
        Nr9   )r   r   s     r   r   z%V1ContainerStateTerminated.started_at   s     &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hasattrr=   )xs    r   <lambda>z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr!   r=   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r=   r   r>   )items    r   rA   z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r!   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr?   r=   dictitems)r   resultattr_values        r   r=   z"V1ContainerStateTerminated.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pformatr=   r$   s    r   to_strz!V1ContainerStateTerminated.to_str  s    ~~dlln--r!   c                 "    | j                         S )zFor `print` and `pprint`)rU   r$   s    r   __repr__z#V1ContainerStateTerminated.__repr__  s    {{}r!   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrI   r   r=   r   others     r   __eq__z!V1ContainerStateTerminated.__eq__  s'    %!;<||~00r!   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrY   rZ   s     r   __ne__z!V1ContainerStateTerminated.__ne__  s'    %!;<||~00r!   )NNNNNNNN)__name__
__module____qualname____doc__rG   attribute_mapr    propertyr	   setterr
   r   r   r   r   r   r=   rU   rW   r\   r^    r!   r   r   r      s    ! M &#!M): " " 	* 	*   $ $ ! ! 	( 	(   ^^	  	    ]]	 	   ]]	 	     	& 	&0.11r!   r   )rb   rS   rerE   kubernetes.client.configurationr   objectr   rf   r!   r   <module>rj      s&     	 
 9N1 N1r!   