SetNillableName sets the "name" field if the given value is not nil.
(s *string)
| 446 | |
| 447 | // SetNillableName sets the "name" field if the given value is not nil. |
| 448 | func (nuo *NodeUpdateOne) SetNillableName(s *string) *NodeUpdateOne { |
| 449 | if s != nil { |
| 450 | nuo.SetName(*s) |
| 451 | } |
| 452 | return nuo |
| 453 | } |
| 454 | |
| 455 | // SetType sets the "type" field. |
| 456 | func (nuo *NodeUpdateOne) SetType(n node.Type) *NodeUpdateOne { |