SetNillableValue sets the "value" field if the given value is not nil.
(s *string)
| 230 | |
| 231 | // SetNillableValue sets the "value" field if the given value is not nil. |
| 232 | func (suo *SettingUpdateOne) SetNillableValue(s *string) *SettingUpdateOne { |
| 233 | if s != nil { |
| 234 | suo.SetValue(*s) |
| 235 | } |
| 236 | return suo |
| 237 | } |
| 238 | |
| 239 | // ClearValue clears the value of the "value" field. |
| 240 | func (suo *SettingUpdateOne) ClearValue() *SettingUpdateOne { |