SetNillableType sets the "type" field if the given value is not nil.
(n *node.Type)
| 460 | |
| 461 | // SetNillableType sets the "type" field if the given value is not nil. |
| 462 | func (nuo *NodeUpdateOne) SetNillableType(n *node.Type) *NodeUpdateOne { |
| 463 | if n != nil { |
| 464 | nuo.SetType(*n) |
| 465 | } |
| 466 | return nuo |
| 467 | } |
| 468 | |
| 469 | // SetServer sets the "server" field. |
| 470 | func (nuo *NodeUpdateOne) SetServer(s string) *NodeUpdateOne { |