MCPcopy Create free account
hub / github.com/crowdsecurity/crowdsec / SetIsValidated

Method SetIsValidated

pkg/database/ent/machine_create.go:130–133  ·  view source on GitHub ↗

SetIsValidated sets the "isValidated" field.

(v bool)

Source from the content-addressed store, hash-verified

128
129// SetIsValidated sets the "isValidated" field.
130func (_c *MachineCreate) SetIsValidated(v bool) *MachineCreate {
131 _c.mutation.SetIsValidated(v)
132 return _c
133}
134
135// SetNillableIsValidated sets the "isValidated" field if the given value is not nil.
136func (_c *MachineCreate) SetNillableIsValidated(v *bool) *MachineCreate {

Callers 2

defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected