Name | Type | Description | Notes |
---|---|---|---|
ApiVersion | Pointer to string | 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 | [optional] |
GracePeriodSeconds | Pointer to int64 | 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. | [optional] |
Kind | Pointer to string | 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 | [optional] |
OrphanDependents | Pointer to bool | 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. | [optional] |
Preconditions | Pointer to V1Preconditions | [optional] | |
PropagationPolicy | Pointer to V1DeletionPropagation | [optional] |
func NewV1DeleteOptions() *V1DeleteOptions
NewV1DeleteOptions instantiates a new V1DeleteOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewV1DeleteOptionsWithDefaults() *V1DeleteOptions
NewV1DeleteOptionsWithDefaults instantiates a new V1DeleteOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *V1DeleteOptions) GetApiVersion() string
GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetApiVersionOk() (*string, bool)
GetApiVersionOk returns a tuple with the ApiVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetApiVersion(v string)
SetApiVersion sets ApiVersion field to given value.
func (o *V1DeleteOptions) HasApiVersion() bool
HasApiVersion returns a boolean if a field has been set.
func (o *V1DeleteOptions) GetGracePeriodSeconds() int64
GetGracePeriodSeconds returns the GracePeriodSeconds field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetGracePeriodSecondsOk() (*int64, bool)
GetGracePeriodSecondsOk returns a tuple with the GracePeriodSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetGracePeriodSeconds(v int64)
SetGracePeriodSeconds sets GracePeriodSeconds field to given value.
func (o *V1DeleteOptions) HasGracePeriodSeconds() bool
HasGracePeriodSeconds returns a boolean if a field has been set.
func (o *V1DeleteOptions) GetKind() string
GetKind returns the Kind field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetKind(v string)
SetKind sets Kind field to given value.
func (o *V1DeleteOptions) HasKind() bool
HasKind returns a boolean if a field has been set.
func (o *V1DeleteOptions) GetOrphanDependents() bool
GetOrphanDependents returns the OrphanDependents field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetOrphanDependentsOk() (*bool, bool)
GetOrphanDependentsOk returns a tuple with the OrphanDependents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetOrphanDependents(v bool)
SetOrphanDependents sets OrphanDependents field to given value.
func (o *V1DeleteOptions) HasOrphanDependents() bool
HasOrphanDependents returns a boolean if a field has been set.
func (o *V1DeleteOptions) GetPreconditions() V1Preconditions
GetPreconditions returns the Preconditions field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetPreconditionsOk() (*V1Preconditions, bool)
GetPreconditionsOk returns a tuple with the Preconditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetPreconditions(v V1Preconditions)
SetPreconditions sets Preconditions field to given value.
func (o *V1DeleteOptions) HasPreconditions() bool
HasPreconditions returns a boolean if a field has been set.
func (o *V1DeleteOptions) GetPropagationPolicy() V1DeletionPropagation
GetPropagationPolicy returns the PropagationPolicy field if non-nil, zero value otherwise.
func (o *V1DeleteOptions) GetPropagationPolicyOk() (*V1DeletionPropagation, bool)
GetPropagationPolicyOk returns a tuple with the PropagationPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *V1DeleteOptions) SetPropagationPolicy(v V1DeletionPropagation)
SetPropagationPolicy sets PropagationPolicy field to given value.
func (o *V1DeleteOptions) HasPropagationPolicy() bool
HasPropagationPolicy returns a boolean if a field has been set.