SetNillableValue sets the "value" field if the given value is not nil.
(s *string)
| 78 | |
| 79 | // SetNillableValue sets the "value" field if the given value is not nil. |
| 80 | func (sc *SettingCreate) SetNillableValue(s *string) *SettingCreate { |
| 81 | if s != nil { |
| 82 | sc.SetValue(*s) |
| 83 | } |
| 84 | return sc |
| 85 | } |
| 86 | |
| 87 | // Mutation returns the SettingMutation object of the builder. |
| 88 | func (sc *SettingCreate) Mutation() *SettingMutation { |