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 (tc *TaskCreate) SetNillableDeletedAt(t *time.Time) *TaskCreate { |
| 64 | if t != nil { |
| 65 | tc.SetDeletedAt(*t) |
| 66 | } |
| 67 | return tc |
| 68 | } |
| 69 | |
| 70 | // SetType sets the "type" field. |
| 71 | func (tc *TaskCreate) SetType(s string) *TaskCreate { |
nothing calls this directly
no test coverage detected