SetNillableSlaveKey sets the "slave_key" field if the given value is not nil.
(s *string)
| 494 | |
| 495 | // SetNillableSlaveKey sets the "slave_key" field if the given value is not nil. |
| 496 | func (nuo *NodeUpdateOne) SetNillableSlaveKey(s *string) *NodeUpdateOne { |
| 497 | if s != nil { |
| 498 | nuo.SetSlaveKey(*s) |
| 499 | } |
| 500 | return nuo |
| 501 | } |
| 502 | |
| 503 | // ClearSlaveKey clears the value of the "slave_key" field. |
| 504 | func (nuo *NodeUpdateOne) ClearSlaveKey() *NodeUpdateOne { |
nothing calls this directly
no test coverage detected