summaryrefslogtreecommitdiff
path: root/pkg/bindings/manifests/types_create_options.go
blob: 5f022c672edb9a29a5f69ef8610d9ed8136fe1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package manifests

import (
	"net/url"

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

/*
This file is generated automatically by go generate.  Do not edit.
*/

// Changed
func (o *CreateOptions) Changed(fieldName string) bool {
	return util.Changed(o, fieldName)
}

// ToParams
func (o *CreateOptions) ToParams() (url.Values, error) {
	return util.ToParams(o)
}

// WithAll
func (o *CreateOptions) WithAll(value bool) *CreateOptions {
	v := &value
	o.All = v
	return o
}

// GetAll
func (o *CreateOptions) GetAll() bool {
	var all bool
	if o.All == nil {
		return all
	}
	return *o.All
}