SetNillableStatus sets the "status" field if the given value is not nil.
(n *node.Status)
| 432 | |
| 433 | // SetNillableStatus sets the "status" field if the given value is not nil. |
| 434 | func (nuo *NodeUpdateOne) SetNillableStatus(n *node.Status) *NodeUpdateOne { |
| 435 | if n != nil { |
| 436 | nuo.SetStatus(*n) |
| 437 | } |
| 438 | return nuo |
| 439 | } |
| 440 | |
| 441 | // SetName sets the "name" field. |
| 442 | func (nuo *NodeUpdateOne) SetName(s string) *NodeUpdateOne { |