summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/types_tree_options.go
blob: 43178113d708d1187fbd8ea9e8e3f6af86178c48 (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 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 *TreeOptions) Changed(fieldName string) bool {
	return util.Changed(o, fieldName)
}

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

// WithWhatRequires
func (o *TreeOptions) WithWhatRequires(value bool) *TreeOptions {
	v := &value
	o.WhatRequires = v
	return o
}

// GetWhatRequires
func (o *TreeOptions) GetWhatRequires() bool {
	var whatRequires bool
	if o.WhatRequires == nil {
		return whatRequires
	}
	return *o.WhatRequires
}