3 fY%@s8dZddlmZddlmZddlZGdddeZdS)z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )pformat) iteritemsNc@seZdZdZd!ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ ddZ ddZddZddZdd ZdS)"V1DeleteOptionszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPddddddd|_dddd d d d|_||_||_||_||_||_||_d S) aE V1DeleteOptions - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. strintboolV1Preconditions) api_versiongrace_period_secondskindorphan_dependents preconditionspropagation_policy apiVersionZgracePeriodSecondsr ZorphanDependentsr ZpropagationPolicyN) swagger_types attribute_map _api_version_grace_period_seconds_kind_orphan_dependents_preconditions_propagation_policy)selfr r r r r rr[/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_delete_options.py__init__s$   zV1DeleteOptions.__init__cCs|jS)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)rrrrr :s zV1DeleteOptions.api_versioncCs ||_dS)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 N)r)rr rrrr Es cCs|jS)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)rrrrr Qs z$V1DeleteOptions.grace_period_secondscCs ||_dS)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 N)r)rr rrrr \s cCs|jS)a 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)rrrrr hs zV1DeleteOptions.kindcCs ||_dS)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/api-conventions.md#types-kinds :param kind: The kind of this V1DeleteOptions. :type: str N)r)rr rrrr ss cCs|jS)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)rrrrr s z!V1DeleteOptions.orphan_dependentscCs ||_dS)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 N)r)rr rrrr s cCs|jS)a 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)rrrrr s zV1DeleteOptions.preconditionscCs ||_dS)a 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 N)r)rr rrrr s cCs|jS)a 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. :return: The propagation_policy of this V1DeleteOptions. :rtype: str )r)rrrrrs z"V1DeleteOptions.propagation_policycCs ||_dS)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. :param propagation_policy: The propagation_policy of this V1DeleteOptions. :type: str N)r)rrrrrrs cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz)V1DeleteOptions.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1DeleteOptions.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1DeleteOptions.to_strcCs|jS)z* For `print` and `pprint` )r,)rrrr__repr__szV1DeleteOptions.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r#r__dict__)rotherrrr__eq__s zV1DeleteOptions.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr/rrr__ne__szV1DeleteOptions.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rpropertyr setterr r r r rrr,r-r0r1rrrrrs& "        r)r5pprintrsixrreobjectrrrrr s