SetType sets the "type" field.
(n node.Type)
| 454 | |
| 455 | // SetType sets the "type" field. |
| 456 | func (nuo *NodeUpdateOne) SetType(n node.Type) *NodeUpdateOne { |
| 457 | nuo.mutation.SetType(n) |
| 458 | return nuo |
| 459 | } |
| 460 | |
| 461 | // SetNillableType sets the "type" field if the given value is not nil. |
| 462 | func (nuo *NodeUpdateOne) SetNillableType(n *node.Type) *NodeUpdateOne { |
no test coverage detected