summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/types_diff_options.go
blob: 5492323f615f393464e84add1a9ac538f524f538 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package images

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 *DiffOptions) Changed(fieldName string) bool {
	return util.Changed(o, fieldName)
}

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

// WithParent
func (o *DiffOptions) WithParent(value string) *DiffOptions {
	v := &value
	o.Parent = v
	return o
}

// GetParent
func (o *DiffOptions) GetParent() string {
	var parent string
	if o.Parent == nil {
		return parent
	}
	return *o.Parent
}

// WithDiffType
func (o *DiffOptions) WithDiffType(value string) *DiffOptions {
	v := &value
	o.DiffType = v
	return o
}

// GetDiffType
func (o *DiffOptions) GetDiffType() string {
	var diffType string
	if o.DiffType == nil {
		return diffType
	}
	return *o.DiffType
}