
    [j!%                     |    d Z 	 ddlmZ n# e$ r	 ddlmZ Y nw xY wddlZddlZddlZddlm	Z	  G d de
          ZdS )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.36
    Generated by: https://openapi-generator.tech
    )getfullargspec)
getargspecN)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$dZd Zd  Zd! Zd" ZdS )%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          j                    }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        || _        ||| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z7V1ContainerStateTerminated - a model defined in OpenAPIN)r   get_default_copy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	            s/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/kubernetes/client/models/v1_container_state_terminated.py__init__z#V1ContainerStateTerminated.__init__:   s    #+'4'E'G'G$(@%! !# ,D""*D"DL DK DK!(DOOO "!    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_idW   s     !!r$   c                     || _         dS )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 container_id: str
        Nr&   )r!   r   s     r"   r   z'V1ContainerStateTerminated.container_idb   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_coden   s     r$   c                 N    | j         j        r|t          d          || _        dS )a  Sets 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 exit_code: int
        Nz1Invalid value for `exit_code`, must not be `None`)r   client_side_validation
ValueErrorr   )r!   r   s     r"   r   z$V1ContainerStateTerminated.exit_codey   s2     (? 	RIDUPQ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                     || _         dS )a  Sets 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 finished_at: 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                     || _         dS )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 message: str
        Nr1   )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                     || _         dS )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 reason: str
        Nr4   )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   r5   r$   c                     || _         dS )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 signal: int
        Nr9   )r!   r   s     r"   r   z!V1ContainerStateTerminated.signal   r7   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                     || _         dS )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 started_at: datetime
        Nr<   )r!   r   s     r"   r   z%V1ContainerStateTerminated.started_at   s     &r$   Fc                    i }fdt          j        | j                  D ]\  }}t          | |          }r| j                            ||          n|}t          |t                    r$t          t          fd|                    ||<   mt          |t                    r6t          t          fd|
                                                    ||<    |          ||<   |S )z&Returns the model properties as a dictc                     t          | d          rUt          | j                  j        }t	          |          dk    r|                                 S |                               S | S )Nto_dict   )hasattrr   r@   argslen)xrC   	serializes     r"   convertz3V1ContainerStateTerminated.to_dict.<locals>.convert   s[    q)$$ %ai005t99>>99;;&99Y///r$   c                      |           S )N )rE   rG   s    r"   <lambda>z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>  s    ggajj r$   c                 6    | d          | d                   fS )Nr   rA   rI   )itemrG   s    r"   rJ   z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>  s    $q'7747+;+;!< r$   )six	iteritemsopenapi_typesgetattrattribute_mapget
isinstancelistmapdictitems)r!   rF   resultattr_valuerG   s    `    @r"   r@   z"V1ContainerStateTerminated.to_dict   s   	 	 	 	 	 }T%788 	. 	.GD!D$''E9BL4%))$555D%&& .#C((((% %    t E4(( .#C<<<<KKMM% %    t
  'wu~~tr$   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr@   r'   s    r"   to_strz!V1ContainerStateTerminated.to_str  s    ~dllnn---r$   c                 *    |                                  S )zFor `print` and `pprint`)r_   r'   s    r"   __repr__z#V1ContainerStateTerminated.__repr__  s    {{}}r$   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrS   r   r@   r!   others     r"   __eq__z!V1ContainerStateTerminated.__eq__"  s5    %!;<< 	5||~~00r$   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrc   rd   s     r"   __ne__z!V1ContainerStateTerminated.__ne__)  s5    %!;<< 	4||~~00r$   )NNNNNNNN)F)__name__
__module____qualname____doc__rO   rQ   r#   propertyr   setterr   r   r   r   r   r   r@   r_   ra   rf   rh   rI   r$   r"   r   r      s^         !  M &#! M) ) ) ): " " X" 	* 	* 	*   X $ $ $ ! ! X! 	( 	( 	(   X ^	  	  ^	    X ]	 	 ]	   X ]	 	 ]	     X  	& 	& 	&   @. . .  1 1 11 1 1 1 1r$   r   )rl   inspectr   ImportErrorr   r]   rerM   kubernetes.client.configurationr   objectr   rI   r$   r"   <module>rt      s    5&&&&&&& 5 5 5444444445  				 



 9 9 9 9 9 9V1 V1 V1 V1 V1 V1 V1 V1 V1 V1s    