SetNillablePrivateState sets the "private_state" field if the given value is not nil.
(s *string)
| 101 | |
| 102 | // SetNillablePrivateState sets the "private_state" field if the given value is not nil. |
| 103 | func (tc *TaskCreate) SetNillablePrivateState(s *string) *TaskCreate { |
| 104 | if s != nil { |
| 105 | tc.SetPrivateState(*s) |
| 106 | } |
| 107 | return tc |
| 108 | } |
| 109 | |
| 110 | // SetCorrelationID sets the "correlation_id" field. |
| 111 | func (tc *TaskCreate) SetCorrelationID(u uuid.UUID) *TaskCreate { |
nothing calls this directly
no test coverage detected