SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
(t *time.Time)
| 61 | |
| 62 | // SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil. |
| 63 | func (nc *NodeCreate) SetNillableDeletedAt(t *time.Time) *NodeCreate { |
| 64 | if t != nil { |
| 65 | nc.SetDeletedAt(*t) |
| 66 | } |
| 67 | return nc |
| 68 | } |
| 69 | |
| 70 | // SetStatus sets the "status" field. |
| 71 | func (nc *NodeCreate) SetStatus(n node.Status) *NodeCreate { |
no test coverage detected