MCPcopy
hub / github.com/crowdsecurity/crowdsec / SetBucketId

Method SetBucketId

pkg/database/ent/alert_create.go:64–67  ·  view source on GitHub ↗

SetBucketId sets the "bucketId" field.

(v string)

Source from the content-addressed store, hash-verified

62
63// SetBucketId sets the "bucketId" field.
64func (_c *AlertCreate) SetBucketId(v string) *AlertCreate {
65 _c.mutation.SetBucketId(v)
66 return _c
67}
68
69// SetNillableBucketId sets the "bucketId" field if the given value is not nil.
70func (_c *AlertCreate) SetNillableBucketId(v *string) *AlertCreate {

Callers 2

SetNillableBucketIdMethod · 0.95
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected