
    <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Z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d Zd Zd Zd Zd Zy) V1StatusDetailszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    zlist[V1StatusCause]strint)causesgroupkindnameretry_after_secondsuidr   r	   r
   r   retryAfterSecondsr   Nc                     |
t               }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        ||| _        ||| _        ||| _        yy)z,V1StatusDetails - a model defined in OpenAPIN)r   local_vars_configuration_causes_group_kind_name_retry_after_seconds_uiddiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           _/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_status_details.py__init__zV1StatusDetails.__init__5   s    #+'4$(@%

$(!	! DKDJDIDI*':D$?DH     c                     | j                   S )aB  Gets the causes of this V1StatusDetails.  # noqa: E501

        The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.  # noqa: E501

        :return: The causes of this V1StatusDetails.  # noqa: E501
        :rtype: list[V1StatusCause]
        r   r   s    r   r   zV1StatusDetails.causesP   s     ||r   c                     || _         y)a9  Sets the causes of this V1StatusDetails.

        The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.  # noqa: E501

        :param causes: The causes of this V1StatusDetails.  # noqa: E501
        :type: list[V1StatusCause]
        Nr   )r   r   s     r   r   zV1StatusDetails.causes[   s     r   c                     | j                   S )zGets the group of this V1StatusDetails.  # noqa: E501

        The group attribute of the resource associated with the status StatusReason.  # noqa: E501

        :return: The group of this V1StatusDetails.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   zV1StatusDetails.groupg   s     {{r   c                     || _         y)zSets the group of this V1StatusDetails.

        The group attribute of the resource associated with the status StatusReason.  # noqa: E501

        :param group: The group of this V1StatusDetails.  # noqa: E501
        :type: str
        Nr!   )r   r	   s     r   r	   zV1StatusDetails.groupr   s     r   c                     | j                   S )a  Gets the kind of this V1StatusDetails.  # noqa: E501

        The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :return: The kind of this V1StatusDetails.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   zV1StatusDetails.kind~        zzr   c                     || _         y)a  Sets the kind of this V1StatusDetails.

        The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :param kind: The kind of this V1StatusDetails.  # noqa: E501
        :type: str
        Nr$   )r   r
   s     r   r
   zV1StatusDetails.kind        
r   c                     | j                   S )a+  Gets the name of this V1StatusDetails.  # noqa: E501

        The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).  # noqa: E501

        :return: The name of this V1StatusDetails.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zV1StatusDetails.name   r%   r   c                     || _         y)a   Sets the name of this V1StatusDetails.

        The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).  # noqa: E501

        :param name: The name of this V1StatusDetails.  # noqa: E501
        :type: str
        Nr)   )r   r   s     r   r   zV1StatusDetails.name   r'   r   c                     | j                   S )a  Gets the retry_after_seconds of this V1StatusDetails.  # noqa: E501

        If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.  # noqa: E501

        :return: The retry_after_seconds of this V1StatusDetails.  # noqa: E501
        :rtype: int
        r   r   s    r   r   z#V1StatusDetails.retry_after_seconds   s     (((r   c                     || _         y)a  Sets the retry_after_seconds of this V1StatusDetails.

        If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.  # noqa: E501

        :param retry_after_seconds: The retry_after_seconds of this V1StatusDetails.  # noqa: E501
        :type: int
        Nr,   )r   r   s     r   r   z#V1StatusDetails.retry_after_seconds   s     %8!r   c                     | j                   S )aO  Gets the uid of this V1StatusDetails.  # noqa: E501

        UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids  # noqa: E501

        :return: The uid of this V1StatusDetails.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zV1StatusDetails.uid   s     yyr   c                     || _         y)aC  Sets the uid of this V1StatusDetails.

        UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids  # noqa: E501

        :param uid: The uid of this V1StatusDetails.  # noqa: E501
        :type: str
        Nr/   )r   r   s     r   r   zV1StatusDetails.uid   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hasattrr3   )xs    r   <lambda>z)V1StatusDetails.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r3   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r3   r   r4   )items    r   r7   z)V1StatusDetails.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr5   r3   dictitems)r   resultattr_values        r   r3   zV1StatusDetails.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pformatr3   r   s    r   to_strzV1StatusDetails.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)rK   r   s    r   __repr__zV1StatusDetails.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr?   r   r3   r   others     r   __eq__zV1StatusDetails.__eq__   s&    %1||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrO   rP   s     r   __ne__zV1StatusDetails.__ne__  s&    %1||~00r   )NNNNNNN)__name__
__module____qualname____doc__r=   attribute_mapr   propertyr   setterr	   r
   r   r   r   r3   rK   rM   rR   rT    r   r   r   r      sj    ($M 2M6   ]]	 	   \\	 	   
[[	 	   
[[	 	 ) ) 	8  	8   	ZZ	 	0.11r   r   )rX   rI   rer;   kubernetes.client.configurationr   objectr   r\   r   r   <module>r`      s&     	 
 9q1f q1r   