SetNillableServer sets the "server" field if the given value is not nil.
(s *string)
| 474 | |
| 475 | // SetNillableServer sets the "server" field if the given value is not nil. |
| 476 | func (nuo *NodeUpdateOne) SetNillableServer(s *string) *NodeUpdateOne { |
| 477 | if s != nil { |
| 478 | nuo.SetServer(*s) |
| 479 | } |
| 480 | return nuo |
| 481 | } |
| 482 | |
| 483 | // ClearServer clears the value of the "server" field. |
| 484 | func (nuo *NodeUpdateOne) ClearServer() *NodeUpdateOne { |