summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/types_tree_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/types_tree_options.go')
-rw-r--r--pkg/bindings/images/types_tree_options.go20
1 files changed, 8 insertions, 12 deletions
diff --git a/pkg/bindings/images/types_tree_options.go b/pkg/bindings/images/types_tree_options.go
index 43178113d..d70a81b06 100644
--- a/pkg/bindings/images/types_tree_options.go
+++ b/pkg/bindings/images/types_tree_options.go
@@ -1,3 +1,4 @@
+// Code generated by go generate; DO NOT EDIT.
package images
import (
@@ -6,32 +7,27 @@ import (
"github.com/containers/podman/v3/pkg/bindings/internal/util"
)
-/*
-This file is generated automatically by go generate. Do not edit.
-*/
-
-// Changed
+// Changed returns true if named field has been set
func (o *TreeOptions) Changed(fieldName string) bool {
return util.Changed(o, fieldName)
}
-// ToParams
+// ToParams formats struct fields to be passed to API service
func (o *TreeOptions) ToParams() (url.Values, error) {
return util.ToParams(o)
}
-// WithWhatRequires
+// WithWhatRequires set field WhatRequires to given value
func (o *TreeOptions) WithWhatRequires(value bool) *TreeOptions {
- v := &value
- o.WhatRequires = v
+ o.WhatRequires = &value
return o
}
-// GetWhatRequires
+// GetWhatRequires returns value of field WhatRequires
func (o *TreeOptions) GetWhatRequires() bool {
- var whatRequires bool
if o.WhatRequires == nil {
- return whatRequires
+ var z bool
+ return z
}
return *o.WhatRequires
}