
    p-                     >    S r SSKJr  SSKJr  SSKr " S S\5      rg)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                      \ rS rSrSr SSSSSSSS.rS	S
SSSSSS.r       S&S jr\S 5       r	\	R                  S 5       r	\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       rS  rS! rS" rS# rS$ rS%rg)'V1DeleteOptions   zk
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
strz	list[str]intboolV1Preconditions)api_versiondry_rungrace_period_secondskindorphan_dependentspreconditionspropagation_policy
apiVersiondryRungracePeriodSecondsr   orphanDependentsr   propagationPolicyNc                     SU l         SU l        SU l        SU l        SU l        SU l        SU l        SU l        Ub  Xl        Ub  X l	        Ub  X0l
        Ub  X@l        Ub  XPl        Ub  X`l        Ub  Xpl        gg)z.
V1DeleteOptions - a model defined in Swagger
N)_api_version_dry_run_grace_period_seconds_kind_orphan_dependents_preconditions_propagation_policydiscriminatorr   r   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           =lib/third_party/kubernetes/client/models/v1_delete_options.py__init__V1DeleteOptions.__init__2   s     DDM!%DDJ"DD#DD$l'"6i$0 (% 2 &    c                     U R                   $ )a  
Gets 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/api-conventions.md#resources

:return: The api_version of this V1DeleteOptions.
:rtype: str
r   r!   s    r"   r   V1DeleteOptions.api_versionV   s     r%   c                     Xl         g)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/api-conventions.md#resources

:param api_version: The api_version of this V1DeleteOptions.
:type: str
Nr'   )r!   r   s     r"   r   r)   d   s
     $r%   c                     U R                   $ )ae  
Gets 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

:return: The dry_run of this V1DeleteOptions.
:rtype: list[str]
r   r(   s    r"   r   V1DeleteOptions.dry_runs   s     ==r%   c                     Xl         g)ak  
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

:param dry_run: The dry_run of this V1DeleteOptions.
:type: list[str]
Nr,   )r!   r   s     r"   r   r-      s	     Mr%   c                     U R                   $ )a  
Gets 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.

:return: The grace_period_seconds of this V1DeleteOptions.
:rtype: int
r   r(   s    r"   r   $V1DeleteOptions.grace_period_seconds   s     %%%r%   c                     Xl         g)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.

:param grace_period_seconds: The grace_period_seconds of this
V1DeleteOptions.
:type: int
Nr0   )r!   r   s     r"   r   r1      s
     "6r%   c                     U R                   $ )ar  
Gets 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/api-conventions.md#types-kinds

:return: The kind of this V1DeleteOptions.
:rtype: str
r   r(   s    r"   r   V1DeleteOptions.kind   s     ::r%   c                     Xl         g)au  
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/api-conventions.md#types-kinds

:param kind: The kind of this V1DeleteOptions.
:type: str
Nr4   )r!   r   s     r"   r   r5      s	     Jr%   c                     U R                   $ )a  
Gets 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.

:return: The orphan_dependents of this V1DeleteOptions.
:rtype: bool
r   r(   s    r"   r   !V1DeleteOptions.orphan_dependents   s     """r%   c                     Xl         g)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.

:param orphan_dependents: The orphan_dependents of this V1DeleteOptions.
:type: bool
Nr8   )r!   r   s     r"   r   r9      s
     0r%   c                     U R                   $ )z
Gets the preconditions of this V1DeleteOptions.
Must be fulfilled before a deletion is carried out. If not possible, a
409 Conflict status will be returned.

:return: The preconditions of this V1DeleteOptions.
:rtype: V1Preconditions
r   r(   s    r"   r   V1DeleteOptions.preconditions   s     r%   c                     Xl         g)z
Sets the preconditions of this V1DeleteOptions.
Must be fulfilled before a deletion is carried out. If not possible, a
409 Conflict status will be returned.

:param preconditions: The preconditions of this V1DeleteOptions.
:type: V1Preconditions
Nr<   )r!   r   s     r"   r   r=      s
     (r%   c                     U R                   $ )aT  
Gets 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.

:return: The propagation_policy of this V1DeleteOptions.
:rtype: str
r   r(   s    r"   r   "V1DeleteOptions.propagation_policy  s     ###r%   c                     Xl         g)ae  
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.

:param propagation_policy: The propagation_policy of this
V1DeleteOptions.
:type: str
Nr@   )r!   r   s     r"   r   rA     s
    "  2r%   c                    0 n[        U R                  5       H  u  p#[        X5      n[        U[        5      (       a  [	        [        S U5      5      X'   M?  [        US5      (       a  UR                  5       X'   Md  [        U[        5      (       a(  [        [        S UR                  5       5      5      X'   M  XAU'   M     U$ )z(
Returns the model properties as a dict
c                 H    [        U S5      (       a  U R                  5       $ U $ )Nto_dicthasattrrE   )xs    r"   <lambda>)V1DeleteOptions.to_dict.<locals>.<lambda>3  s    I)>)>!))+EAEr%   rE   c                 ^    [        U S   S5      (       a  U S   U S   R                  5       4$ U $ )N   rE   r   rF   )items    r"   rI   rJ   9  s9    47I.. #1gtAw'89 9489r%   )
r   swagger_typesgetattr
isinstancelistmaprG   rE   dictitems)r!   resultattr_values        r"   rE   V1DeleteOptions.to_dict)  s     FT//0d!e	E4	 	 EuMO5)$$}}eT""9:?++-IJ
 t 1 Mr%   c                 4    [        U R                  5       5      $ )z0
Returns the string representation of the model
)r   rE   r(   s    r"   to_strV1DeleteOptions.to_str@  s     4<<>""r%   c                 "    U R                  5       $ )z
For `print` and `pprint`
)r[   r(   s    r"   __repr__V1DeleteOptions.__repr__F  s     ;;=r%   c                 `    [        U[        5      (       d  gU R                  UR                  :H  $ )z(
Returns true if both objects are equal
F)rP   r   __dict__r!   others     r"   __eq__V1DeleteOptions.__eq__L  s'     e_--==ENN**r%   c                     X:X  + $ )z,
Returns true if both objects are not equal
 rb   s     r"   __ne__V1DeleteOptions.__ne__U  s     r%   )r   r   r   r   r   r   r   r   r    r   r   r   r   r   r   )NNNNNNN)__name__
__module____qualname____firstlineno____doc__rN   attribute_mapr#   propertyr   setterr   r   r   r   r   r   rE   r[   r^   rd   rh   __static_attributes__rg   r%   r"   r   r      s    #!(!- "2-&/-  $(!%!"&"3H   $ $   >>  & & 6 6    ;;  # # 0 0 	 	 
( 
( $ $  2 2$.#+r%   r   )rn   pprintr   sixr   reobjectr   rg   r%   r"   <module>rw      s#   	   	Gf Gr%   