SetNillableCorrelationID sets the "correlation_id" field if the given value is not nil.
(u *uuid.UUID)
| 115 | |
| 116 | // SetNillableCorrelationID sets the "correlation_id" field if the given value is not nil. |
| 117 | func (tc *TaskCreate) SetNillableCorrelationID(u *uuid.UUID) *TaskCreate { |
| 118 | if u != nil { |
| 119 | tc.SetCorrelationID(*u) |
| 120 | } |
| 121 | return tc |
| 122 | } |
| 123 | |
| 124 | // SetUserTasks sets the "user_tasks" field. |
| 125 | func (tc *TaskCreate) SetUserTasks(i int) *TaskCreate { |
nothing calls this directly
no test coverage detected