SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
(s *string)
| 127 | |
| 128 | // SetNillableSlaveKey sets the "slave_key" field if the given value is not nil. |
| 129 | func (nu *NodeUpdate) SetNillableSlaveKey(s *string) *NodeUpdate { |
| 130 | if s != nil { |
| 131 | nu.SetSlaveKey(*s) |
| 132 | } |
| 133 | return nu |
| 134 | } |
| 135 | |
| 136 | // ClearSlaveKey clears the value of the "slave_key" field. |
| 137 | func (nu *NodeUpdate) ClearSlaveKey() *NodeUpdate { |
nothing calls this directly
no test coverage detected