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

import (
	"net/url"

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

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

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

// WithSize set field Size to given value
func (o *GetOptions) WithSize(value bool) *GetOptions {
	o.Size = &value
	return o
}

// GetSize returns value of field Size
func (o *GetOptions) GetSize() bool {
	if o.Size == nil {
		var z bool
		return z
	}
	return *o.Size
}
