MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / SetNillableStatus

Method SetNillableStatus

ent/dbpackage_create.go:42–47  ·  view source on GitHub ↗

SetNillableStatus sets the "status" field if the given value is not nil.

(v *dbpackage.Status)

Source from the content-addressed store, hash-verified

40
41// SetNillableStatus sets the "status" field if the given value is not nil.
42func (_c *DBPackageCreate) SetNillableStatus(v *dbpackage.Status) *DBPackageCreate {
43 if v != nil {
44 _c.SetStatus(*v)
45 }
46 return _c
47}
48
49// SetSkipReason sets the "skip_reason" field.
50func (_c *DBPackageCreate) SetSkipReason(v string) *DBPackageCreate {

Callers

nothing calls this directly

Calls 1

SetStatusMethod · 0.95

Tested by

no test coverage detected