SetNillableValue sets the "value" field if the given value is not nil.
(s *string)
| 76 | |
| 77 | // SetNillableValue sets the "value" field if the given value is not nil. |
| 78 | func (su *SettingUpdate) SetNillableValue(s *string) *SettingUpdate { |
| 79 | if s != nil { |
| 80 | su.SetValue(*s) |
| 81 | } |
| 82 | return su |
| 83 | } |
| 84 | |
| 85 | // ClearValue clears the value of the "value" field. |
| 86 | func (su *SettingUpdate) ClearValue() *SettingUpdate { |