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

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

// WithCompress
func (o *ExportOptions) WithCompress(value bool) *ExportOptions {
	v := &value
	o.Compress = v
	return o
}

// GetCompress
func (o *ExportOptions) GetCompress() bool {
	var compress bool
	if o.Compress == nil {
		return compress
	}
	return *o.Compress
}

// WithFormat
func (o *ExportOptions) WithFormat(value string) *ExportOptions {
	v := &value
	o.Format = v
	return o
}

// GetFormat
func (o *ExportOptions) GetFormat() string {
	var format string
	if o.Format == nil {
		return format
	}
	return *o.Format
}