// Code generated by go generate; DO NOT EDIT.
package containers

import (
	"net/url"

	"github.com/containers/podman/v4/pkg/bindings/internal/util"
)

// Changed returns true if named field has been set
func (o *RemoveOptions) Changed(fieldName string) bool {
	return util.Changed(o, fieldName)
}

// ToParams formats struct fields to be passed to API service
func (o *RemoveOptions) ToParams() (url.Values, error) {
	return util.ToParams(o)
}

// WithDepend set field Depend to given value
func (o *RemoveOptions) WithDepend(value bool) *RemoveOptions {
	o.Depend = &value
	return o
}

// GetDepend returns value of field Depend
func (o *RemoveOptions) GetDepend() bool {
	if o.Depend == nil {
		var z bool
		return z
	}
	return *o.Depend
}

// WithIgnore set field Ignore to given value
func (o *RemoveOptions) WithIgnore(value bool) *RemoveOptions {
	o.Ignore = &value
	return o
}

// GetIgnore returns value of field Ignore
func (o *RemoveOptions) GetIgnore() bool {
	if o.Ignore == nil {
		var z bool
		return z
	}
	return *o.Ignore
}

// WithForce set field Force to given value
func (o *RemoveOptions) WithForce(value bool) *RemoveOptions {
	o.Force = &value
	return o
}

// GetForce returns value of field Force
func (o *RemoveOptions) GetForce() bool {
	if o.Force == nil {
		var z bool
		return z
	}
	return *o.Force
}

// WithVolumes set field Volumes to given value
func (o *RemoveOptions) WithVolumes(value bool) *RemoveOptions {
	o.Volumes = &value
	return o
}

// GetVolumes returns value of field Volumes
func (o *RemoveOptions) GetVolumes() bool {
	if o.Volumes == nil {
		var z bool
		return z
	}
	return *o.Volumes
}

// WithTimeout set field Timeout to given value
func (o *RemoveOptions) WithTimeout(value uint) *RemoveOptions {
	o.Timeout = &value
	return o
}

// GetTimeout returns value of field Timeout
func (o *RemoveOptions) GetTimeout() uint {
	if o.Timeout == nil {
		var z uint
		return z
	}
	return *o.Timeout
}
