SetNillableUploadSessionID sets the "upload_session_id" field if the given value is not nil.
(u *uuid.UUID)
| 129 | |
| 130 | // SetNillableUploadSessionID sets the "upload_session_id" field if the given value is not nil. |
| 131 | func (ec *EntityCreate) SetNillableUploadSessionID(u *uuid.UUID) *EntityCreate { |
| 132 | if u != nil { |
| 133 | ec.SetUploadSessionID(*u) |
| 134 | } |
| 135 | return ec |
| 136 | } |
| 137 | |
| 138 | // SetProps sets the "props" field. |
| 139 | func (ec *EntityCreate) SetProps(tp *types.EntityProps) *EntityCreate { |
nothing calls this directly
no test coverage detected