
    <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dZd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ed         Zej                  d!        Zd" Zd# Zd$ Zd% Zd& Zy)(V1DeleteOptionszNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strz	list[str]intboolV1Preconditions)api_versiondry_rungrace_period_seconds7ignore_store_read_error_with_cluster_breaking_potentialkindorphan_dependentspreconditionspropagation_policy
apiVersiondryRungracePeriodSeconds0ignoreStoreReadErrorWithClusterBreakingPotentialr   orphanDependentsr   propagationPolicyNc
                 :   |	
t               }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        yy)z,V1DeleteOptions - a model defined in OpenAPIN)r   local_vars_configuration_api_version_dry_run_grace_period_seconds8_ignore_store_read_error_with_cluster_breaking_potential_kind_orphan_dependents_preconditions_propagation_policydiscriminatorr
   r   r   r   r   r   r   r   )
selfr
   r   r   r   r   r   r   r   r   s
             _/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1_delete_options.py__init__zV1DeleteOptions.__init__9   s    #+'4$(@% %)"HLE
"&"#' !"*D"DL+(<D%BN LCDHDI(%6D"$!.D)&8D# *    c                     | j                   S )a  Gets the api_version of this V1DeleteOptions.  # noqa: E501

        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources  # noqa: E501

        :return: The api_version of this V1DeleteOptions.  # noqa: E501
        :rtype: str
        r   r#   s    r$   r
   zV1DeleteOptions.api_versionZ   s        r&   c                     || _         y)a  Sets the api_version of this V1DeleteOptions.

        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources  # noqa: E501

        :param api_version: The api_version of this V1DeleteOptions.  # noqa: E501
        :type: str
        Nr(   )r#   r
   s     r$   r
   zV1DeleteOptions.api_versione   s     (r&   c                     | j                   S )a  Gets the dry_run of this V1DeleteOptions.  # noqa: E501

        When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed  # noqa: E501

        :return: The dry_run of this V1DeleteOptions.  # noqa: E501
        :rtype: list[str]
        r   r)   s    r$   r   zV1DeleteOptions.dry_runq   s     }}r&   c                     || _         y)a  Sets the dry_run of this V1DeleteOptions.

        When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed  # noqa: E501

        :param dry_run: The dry_run of this V1DeleteOptions.  # noqa: E501
        :type: list[str]
        Nr,   )r#   r   s     r$   r   zV1DeleteOptions.dry_run|   s      r&   c                     | j                   S )a  Gets the grace_period_seconds of this V1DeleteOptions.  # noqa: E501

        The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.  # noqa: E501

        :return: The grace_period_seconds of this V1DeleteOptions.  # noqa: E501
        :rtype: int
        r   r)   s    r$   r   z$V1DeleteOptions.grace_period_seconds   s     )))r&   c                     || _         y)a  Sets the grace_period_seconds of this V1DeleteOptions.

        The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.  # noqa: E501

        :param grace_period_seconds: The grace_period_seconds of this V1DeleteOptions.  # noqa: E501
        :type: int
        Nr/   )r#   r   s     r$   r   z$V1DeleteOptions.grace_period_seconds   s     &:"r&   c                     | j                   S )a  Gets the ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions.  # noqa: E501

        if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it  # noqa: E501

        :return: The ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions.  # noqa: E501
        :rtype: bool
        r   r)   s    r$   r   zGV1DeleteOptions.ignore_store_read_error_with_cluster_breaking_potential   s     LLLr&   c                     || _         y)a  Sets the ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions.

        if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it  # noqa: E501

        :param ignore_store_read_error_with_cluster_breaking_potential: The ignore_store_read_error_with_cluster_breaking_potential of this V1DeleteOptions.  # noqa: E501
        :type: bool
        Nr2   )r#   r   s     r$   r   zGV1DeleteOptions.ignore_store_read_error_with_cluster_breaking_potential   s     I@Er&   c                     | j                   S )a  Gets the kind of this V1DeleteOptions.  # noqa: E501

        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

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

        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :param kind: The kind of this V1DeleteOptions.  # noqa: E501
        :type: str
        Nr5   )r#   r   s     r$   r   zV1DeleteOptions.kind   s     
r&   c                     | j                   S )a  Gets the orphan_dependents of this V1DeleteOptions.  # noqa: E501

        Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.  # noqa: E501

        :return: The orphan_dependents of this V1DeleteOptions.  # noqa: E501
        :rtype: bool
        r   r)   s    r$   r   z!V1DeleteOptions.orphan_dependents   s     &&&r&   c                     || _         y)a  Sets the orphan_dependents of this V1DeleteOptions.

        Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.  # noqa: E501

        :param orphan_dependents: The orphan_dependents of this V1DeleteOptions.  # noqa: E501
        :type: bool
        Nr8   )r#   r   s     r$   r   z!V1DeleteOptions.orphan_dependents   s     #4r&   c                     | j                   S )zGets the preconditions of this V1DeleteOptions.  # noqa: E501


        :return: The preconditions of this V1DeleteOptions.  # noqa: E501
        :rtype: V1Preconditions
        r    r)   s    r$   r   zV1DeleteOptions.preconditions   s     """r&   c                     || _         y)zSets the preconditions of this V1DeleteOptions.


        :param preconditions: The preconditions of this V1DeleteOptions.  # noqa: E501
        :type: V1Preconditions
        Nr;   )r#   r   s     r$   r   zV1DeleteOptions.preconditions   s     ,r&   c                     | j                   S )a  Gets the propagation_policy of this V1DeleteOptions.  # noqa: E501

        Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.  # noqa: E501

        :return: The propagation_policy of this V1DeleteOptions.  # noqa: E501
        :rtype: str
        r!   r)   s    r$   r   z"V1DeleteOptions.propagation_policy   s     '''r&   c                     || _         y)a  Sets the propagation_policy of this V1DeleteOptions.

        Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.  # noqa: E501

        :param propagation_policy: The propagation_policy of this V1DeleteOptions.  # noqa: E501
        :type: str
        Nr>   )r#   r   s     r$   r   z"V1DeleteOptions.propagation_policy  s     $6 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hasattrrB   )xs    r$   <lambda>z)V1DeleteOptions.to_dict.<locals>.<lambda>  s    WQ	-BaiikIIr&   rB   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   rB   r   rC   )items    r$   rF   z)V1DeleteOptions.to_dict.<locals>.<lambda>  s6    tAw	2 #'q'47??+<!= "=8<"=r&   )six	iteritemsopenapi_typesgetattr
isinstancelistmaprD   rB   dictitems)r#   resultattr_values        r$   rB   zV1DeleteOptions.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pformatrB   r)   s    r$   to_strzV1DeleteOptions.to_str(  s    ~~dlln--r&   c                 "    | j                         S )zFor `print` and `pprint`)rZ   r)   s    r$   __repr__zV1DeleteOptions.__repr__,  s    {{}r&   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFrN   r   rB   r#   others     r$   __eq__zV1DeleteOptions.__eq__0  s&    %1||~00r&   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTr^   r_   s     r$   __ne__zV1DeleteOptions.__ne__7  s&    %1||~00r&   )	NNNNNNNNN)__name__
__module____qualname____doc__rL   attribute_mapr%   propertyr
   setterr   r   r   r   r   r   r   rB   rZ   r\   ra   rc    r&   r$   r   r      s     %CI#*#	M $ 4Cu/(1	M9B ! ! 	( 	(   ^^	  	  * *   	: !	: M M =CC	@ D	@   
[[	 	 ' ' 	4 	4 # # , , ( ( 	6 	60.11r&   r   )rg   rX   rerJ   kubernetes.client.configurationr   objectr   rk   r&   r$   <module>ro      s&     	 
 9g1f g1r&   