summaryrefslogtreecommitdiff
path: root/pkg/bindings/system/types_events_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/system/types_events_options.go')
-rw-r--r--pkg/bindings/system/types_events_options.go53
1 files changed, 23 insertions, 30 deletions
diff --git a/pkg/bindings/system/types_events_options.go b/pkg/bindings/system/types_events_options.go
index 8b4cff42c..6bb13b8a6 100644
--- a/pkg/bindings/system/types_events_options.go
+++ b/pkg/bindings/system/types_events_options.go
@@ -1,3 +1,4 @@
+// Code generated by go generate; DO NOT EDIT.
package system
import (
@@ -6,80 +7,72 @@ 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 *EventsOptions) Changed(fieldName string) bool {
return util.Changed(o, fieldName)
}
-// ToParams
+// ToParams formats struct fields to be passed to API service
func (o *EventsOptions) ToParams() (url.Values, error) {
return util.ToParams(o)
}
-// WithFilters
+// WithFilters set field Filters to given value
func (o *EventsOptions) WithFilters(value map[string][]string) *EventsOptions {
- v := value
- o.Filters = v
+ o.Filters = value
return o
}
-// GetFilters
+// GetFilters returns value of field Filters
func (o *EventsOptions) GetFilters() map[string][]string {
- var filters map[string][]string
if o.Filters == nil {
- return filters
+ var z map[string][]string
+ return z
}
return o.Filters
}
-// WithSince
+// WithSince set field Since to given value
func (o *EventsOptions) WithSince(value string) *EventsOptions {
- v := &value
- o.Since = v
+ o.Since = &value
return o
}
-// GetSince
+// GetSince returns value of field Since
func (o *EventsOptions) GetSince() string {
- var since string
if o.Since == nil {
- return since
+ var z string
+ return z
}
return *o.Since
}
-// WithStream
+// WithStream set field Stream to given value
func (o *EventsOptions) WithStream(value bool) *EventsOptions {
- v := &value
- o.Stream = v
+ o.Stream = &value
return o
}
-// GetStream
+// GetStream returns value of field Stream
func (o *EventsOptions) GetStream() bool {
- var stream bool
if o.Stream == nil {
- return stream
+ var z bool
+ return z
}
return *o.Stream
}
-// WithUntil
+// WithUntil set field Until to given value
func (o *EventsOptions) WithUntil(value string) *EventsOptions {
- v := &value
- o.Until = v
+ o.Until = &value
return o
}
-// GetUntil
+// GetUntil returns value of field Until
func (o *EventsOptions) GetUntil() string {
- var until string
if o.Until == nil {
- return until
+ var z string
+ return z
}
return *o.Until
}