o
    g"                     @   s<   d Z ddlZddlZddlZddlmZ G d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.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                   @   s  e Zd ZdZ	 dddddddZdddd	d
ddZd+ddZedd Zej	dd Zedd Z
e
j	dd Z
edd Zej	dd Zedd Zej	dd Zedd Zej	dd Zedd Zej	d d Zd!d" Zd#d$ Zd%d& Zd'd( Zd)d* ZdS ),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                 C   s   |du rt  }|| _d| _d| _d| _d| _d| _d| _d| _|dur&|| _	|dur-|| _
|dur4|| _|dur;|| _|durB|| _|durK|| _dS dS )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    r   a/var/www/visachat/venv/lib/python3.10/site-packages/kubernetes/client/models/v1_status_details.py__init__5   s.   
zV1StatusDetails.__init__c                 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   r   r   r   r   P      	zV1StatusDetails.causesc                 C   
   || _ dS )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   r   r   r   r   [      

c                 C   r   )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   r   r   r   r   g   r   zV1StatusDetails.groupc                 C   r   )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   r   r   r   r   r   r   c                 C   r   )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   r   r   r   r   ~   r   zV1StatusDetails.kindc                 C   r   )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   r   r   r   r      r   c                 C   r   )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   r   r   r   r	      r   zV1StatusDetails.namec                 C   r   )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	   r   r   r   r	      r   c                 C   r   )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   r   r   r   r
      r   z#V1StatusDetails.retry_after_secondsc                 C   r   )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
   r   r   r   r
      r   c                 C   r   )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   r   r   r   r      r   zV1StatusDetails.uidc                 C   r   )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   r   r   r   r      r   c                 C   s   i }t | jD ]=\}}t| |}t|tr"ttdd |||< qt|dr.| ||< qt|t	rAt	tdd |
 ||< q|||< q|S )z&Returns the model properties as a dictc                 S   s   t | dr	|  S | S )Nto_dicthasattrr$   )xr   r   r   <lambda>   s    z)V1StatusDetails.to_dict.<locals>.<lambda>r$   c                 S   s&   t | d dr| d | d  fS | S )N   r$   r   r%   )itemr   r   r   r(      s   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr&   r$   dictitems)r   resultattr_valuer   r   r   r$      s"   




zV1StatusDetails.to_dictc                 C   s   t |  S )z.Returns the string representation of the model)pprintpformatr$   r   r   r   r   to_str   s   zV1StatusDetails.to_strc                 C   s   |   S )zFor `print` and `pprint`)r:   r   r   r   r   __repr__   s   zV1StatusDetails.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFr/   r   r$   r   otherr   r   r   __eq__      
zV1StatusDetails.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTr<   r=   r   r   r   __ne__  r@   zV1StatusDetails.__ne__)NNNNNNN)__name__
__module____qualname____doc__r-   attribute_mapr   propertyr   setterr   r   r	   r
   r   r$   r:   r;   r?   rA   r   r   r   r   r      s^    

	

















r   )rE   r8   rer+   kubernetes.client.configurationr   objectr   r   r   r   r   <module>   s   
