
                         >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)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                      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)#V1ContainerStateTerminatedzw
    NOTE: This class is auto generated by the swagger code generator program.
    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                     d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _	        ||| _
        ||| _        ||| _        ||| _        ||| _        yy)zI
        V1ContainerStateTerminated - a model defined in Swagger
        N)_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   s           Ilib/third_party/kubernetes/client/models/v1_container_state_terminated.py__init__z#V1ContainerStateTerminated.__init__2   s     DDODDMDLDLDD&dDN$ddldkdk"do     c                     | j                   S )z
        Gets the container_id of this V1ContainerStateTerminated.
        Container's ID in the format 'docker://<container_id>'

        :return: The container_id of this V1ContainerStateTerminated.
        :rtype: str
        r   r   s    r   r
   z'V1ContainerStateTerminated.container_idU   s     r!   c                     || _         y)z
        Sets the container_id of this V1ContainerStateTerminated.
        Container's ID in the format 'docker://<container_id>'

        :param container_id: The container_id of this
        V1ContainerStateTerminated.
        :type: str
        Nr#   )r   r
   s     r   r
   z'V1ContainerStateTerminated.container_id`   s     &Dr!   c                     | j                   S )z
        Gets the exit_code of this V1ContainerStateTerminated.
        Exit status from the last termination of the container

        :return: The exit_code of this V1ContainerStateTerminated.
        :rtype: int
        )r   r$   s    r   r   z$V1ContainerStateTerminated.exit_codem   s     ??r!   c                 ,    |t        d      || _        y)z
        Sets the exit_code of this V1ContainerStateTerminated.
        Exit status from the last termination of the container

        :param exit_code: The exit_code of this V1ContainerStateTerminated.
        :type: int
        Nz1Invalid value for `exit_code`, must not be `None`)
ValueErrorr   )r   r   s     r   r   z$V1ContainerStateTerminated.exit_codex   s     JKKDOr!   c                     | j                   S )z
        Gets the finished_at of this V1ContainerStateTerminated.
        Time at which the container last terminated

        :return: The finished_at of this V1ContainerStateTerminated.
        :rtype: datetime
        r   r$   s    r   r   z&V1ContainerStateTerminated.finished_at   s     r!   c                     || _         y)z
        Sets the finished_at of this V1ContainerStateTerminated.
        Time at which the container last terminated

        :param finished_at: The finished_at of this V1ContainerStateTerminated.
        :type: datetime
        Nr*   )r   r   s     r   r   z&V1ContainerStateTerminated.finished_at   s     $Dr!   c                     | j                   S )z
        Gets the message of this V1ContainerStateTerminated.
        Message regarding the last termination of the container

        :return: The message of this V1ContainerStateTerminated.
        :rtype: str
        r   r$   s    r   r   z"V1ContainerStateTerminated.message   s     ==r!   c                     || _         y)z
        Sets the message of this V1ContainerStateTerminated.
        Message regarding the last termination of the container

        :param message: The message of this V1ContainerStateTerminated.
        :type: str
        Nr-   )r   r   s     r   r   z"V1ContainerStateTerminated.message   s     DMr!   c                     | j                   S )z
        Gets the reason of this V1ContainerStateTerminated.
        (brief) reason from the last termination of the container

        :return: The reason of this V1ContainerStateTerminated.
        :rtype: str
        r   r$   s    r   r   z!V1ContainerStateTerminated.reason        <<r!   c                     || _         y)z
        Sets the reason of this V1ContainerStateTerminated.
        (brief) reason from the last termination of the container

        :param reason: The reason of this V1ContainerStateTerminated.
        :type: str
        Nr0   )r   r   s     r   r   z!V1ContainerStateTerminated.reason        DLr!   c                     | j                   S )z
        Gets the signal of this V1ContainerStateTerminated.
        Signal from the last termination of the container

        :return: The signal of this V1ContainerStateTerminated.
        :rtype: int
        r   r$   s    r   r   z!V1ContainerStateTerminated.signal   r1   r!   c                     || _         y)z
        Sets the signal of this V1ContainerStateTerminated.
        Signal from the last termination of the container

        :param signal: The signal of this V1ContainerStateTerminated.
        :type: int
        Nr5   )r   r   s     r   r   z!V1ContainerStateTerminated.signal   r3   r!   c                     | j                   S )z
        Gets the started_at of this V1ContainerStateTerminated.
        Time at which previous execution of the container started

        :return: The started_at of this V1ContainerStateTerminated.
        :rtype: datetime
        r   r$   s    r   r   z%V1ContainerStateTerminated.started_at   s     r!   c                     || _         y)z
        Sets the started_at of this V1ContainerStateTerminated.
        Time at which previous execution of the container started

        :param started_at: The started_at of this V1ContainerStateTerminated.
        :type: datetime
        Nr8   )r   r   s     r   r   z%V1ContainerStateTerminated.started_at   s     "Dr!   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr<   )xs    r   <lambda>z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>  s    I)>!))+EAEr!   r<   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r<   r   r=   )items    r   r@   z4V1ContainerStateTerminated.to_dict.<locals>.<lambda>	  s6    47I. #1gtAw'89 9489r!   )
r   swagger_typesgetattr
isinstancelistmapr>   r<   dictitems)r   resultattr_values        r   r<   z"V1ContainerStateTerminated.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr!   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r<   r$   s    r   to_strz!V1ContainerStateTerminated.to_str  s     4<<>""r!   c                 "    | j                         S )z*
        For `print` and `pprint`
        )rP   r$   s    r   __repr__z#V1ContainerStateTerminated.__repr__  s     ;;=r!   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)rF   r   __dict__r   others     r   __eq__z!V1ContainerStateTerminated.__eq__  s%     e78==ENN**r!   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rU   s     r   __ne__z!V1ContainerStateTerminated.__ne__%  s     u}r!   )NNNNNNN)__name__
__module____qualname____doc__rD   attribute_mapr    propertyr
   setterr   r   r   r   r   r   r<   rP   rR   rW   rZ   rY   r!   r   r   r      s    - $!- !!#F   
& 
&         	$ 	$   >>	 	   
==	 	   
==	 	   	" 	".#+r!   r   )r^   pprintr   sixr   reobjectr   rY   r!   r   <module>rf      s#   	   	W Wr!   