SetNillableValue sets the "value" field if the given value is not nil.
(s *string)
| 304 | |
| 305 | // SetNillableValue sets the "value" field if the given value is not nil. |
| 306 | func (muo *MetadataUpdateOne) SetNillableValue(s *string) *MetadataUpdateOne { |
| 307 | if s != nil { |
| 308 | muo.SetValue(*s) |
| 309 | } |
| 310 | return muo |
| 311 | } |
| 312 | |
| 313 | // SetFileID sets the "file_id" field. |
| 314 | func (muo *MetadataUpdateOne) SetFileID(i int) *MetadataUpdateOne { |