blob: 333e841e6b4461e0a6ccc76c666e9c183d0d57d9 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
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 *ImportOptions) Changed(fieldName string) bool {
return util.Changed(o, fieldName)
}
// ToParams
func (o *ImportOptions) ToParams() (url.Values, error) {
return util.ToParams(o)
}
// WithChanges
func (o *ImportOptions) WithChanges(value []string) *ImportOptions {
v := &value
o.Changes = v
return o
}
// GetChanges
func (o *ImportOptions) GetChanges() []string {
var changes []string
if o.Changes == nil {
return changes
}
return *o.Changes
}
// WithMessage
func (o *ImportOptions) WithMessage(value string) *ImportOptions {
v := &value
o.Message = v
return o
}
// GetMessage
func (o *ImportOptions) GetMessage() string {
var message string
if o.Message == nil {
return message
}
return *o.Message
}
// WithReference
func (o *ImportOptions) WithReference(value string) *ImportOptions {
v := &value
o.Reference = v
return o
}
// GetReference
func (o *ImportOptions) GetReference() string {
var reference string
if o.Reference == nil {
return reference
}
return *o.Reference
}
// WithURL
func (o *ImportOptions) WithURL(value string) *ImportOptions {
v := &value
o.URL = v
return o
}
// GetURL
func (o *ImportOptions) GetURL() string {
var uRL string
if o.URL == nil {
return uRL
}
return *o.URL
}
|