SetNillableServer sets the "server" field if the given value is not nil.
(s *string)
| 107 | |
| 108 | // SetNillableServer sets the "server" field if the given value is not nil. |
| 109 | func (nu *NodeUpdate) SetNillableServer(s *string) *NodeUpdate { |
| 110 | if s != nil { |
| 111 | nu.SetServer(*s) |
| 112 | } |
| 113 | return nu |
| 114 | } |
| 115 | |
| 116 | // ClearServer clears the value of the "server" field. |
| 117 | func (nu *NodeUpdate) ClearServer() *NodeUpdate { |