SetNillableStatus sets the "status" field if the given value is not nil.
(t *task.Status)
| 348 | |
| 349 | // SetNillableStatus sets the "status" field if the given value is not nil. |
| 350 | func (tuo *TaskUpdateOne) SetNillableStatus(t *task.Status) *TaskUpdateOne { |
| 351 | if t != nil { |
| 352 | tuo.SetStatus(*t) |
| 353 | } |
| 354 | return tuo |
| 355 | } |
| 356 | |
| 357 | // SetPublicState sets the "public_state" field. |
| 358 | func (tuo *TaskUpdateOne) SetPublicState(tps *types.TaskPublicState) *TaskUpdateOne { |