SetNillableType sets the "type" field if the given value is not nil.
(s *string)
| 334 | |
| 335 | // SetNillableType sets the "type" field if the given value is not nil. |
| 336 | func (tuo *TaskUpdateOne) SetNillableType(s *string) *TaskUpdateOne { |
| 337 | if s != nil { |
| 338 | tuo.SetType(*s) |
| 339 | } |
| 340 | return tuo |
| 341 | } |
| 342 | |
| 343 | // SetStatus sets the "status" field. |
| 344 | func (tuo *TaskUpdateOne) SetStatus(t task.Status) *TaskUpdateOne { |