SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
(t *time.Time)
| 45 | |
| 46 | // SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil. |
| 47 | func (nu *NodeUpdate) SetNillableDeletedAt(t *time.Time) *NodeUpdate { |
| 48 | if t != nil { |
| 49 | nu.SetDeletedAt(*t) |
| 50 | } |
| 51 | return nu |
| 52 | } |
| 53 | |
| 54 | // ClearDeletedAt clears the value of the "deleted_at" field. |
| 55 | func (nu *NodeUpdate) ClearDeletedAt() *NodeUpdate { |
nothing calls this directly
no test coverage detected