SetNillableUserTasks sets the "user_tasks" field if the given value is not nil.
(i *int)
| 118 | |
| 119 | // SetNillableUserTasks sets the "user_tasks" field if the given value is not nil. |
| 120 | func (tu *TaskUpdate) SetNillableUserTasks(i *int) *TaskUpdate { |
| 121 | if i != nil { |
| 122 | tu.SetUserTasks(*i) |
| 123 | } |
| 124 | return tu |
| 125 | } |
| 126 | |
| 127 | // ClearUserTasks clears the value of the "user_tasks" field. |
| 128 | func (tu *TaskUpdate) ClearUserTasks() *TaskUpdate { |
nothing calls this directly
no test coverage detected