SetNillableFileURL sets the "file_url" field if the given value is not nil.
(s *string)
| 92 | |
| 93 | // SetNillableFileURL sets the "file_url" field if the given value is not nil. |
| 94 | func (sfc *StorageFileCreate) SetNillableFileURL(s *string) *StorageFileCreate { |
| 95 | if s != nil { |
| 96 | sfc.SetFileURL(*s) |
| 97 | } |
| 98 | return sfc |
| 99 | } |
| 100 | |
| 101 | // SetID sets the "id" field. |
| 102 | func (sfc *StorageFileCreate) SetID(u uuid.UUID) *StorageFileCreate { |
nothing calls this directly
no test coverage detected