SetType sets the "type" field.
(n node.Type)
| 81 | |
| 82 | // SetType sets the "type" field. |
| 83 | func (nc *NodeCreate) SetType(n node.Type) *NodeCreate { |
| 84 | nc.mutation.SetType(n) |
| 85 | return nc |
| 86 | } |
| 87 | |
| 88 | // SetServer sets the "server" field. |
| 89 | func (nc *NodeCreate) SetServer(s string) *NodeCreate { |
nothing calls this directly
no outgoing calls
no test coverage detected