SetType sets the "type" field.
(n node.Type)
| 87 | |
| 88 | // SetType sets the "type" field. |
| 89 | func (nu *NodeUpdate) SetType(n node.Type) *NodeUpdate { |
| 90 | nu.mutation.SetType(n) |
| 91 | return nu |
| 92 | } |
| 93 | |
| 94 | // SetNillableType sets the "type" field if the given value is not nil. |
| 95 | func (nu *NodeUpdate) SetNillableType(n *node.Type) *NodeUpdate { |
no outgoing calls
no test coverage detected