SetStatus sets the "status" field.
(n node.Status)
| 69 | |
| 70 | // SetStatus sets the "status" field. |
| 71 | func (nc *NodeCreate) SetStatus(n node.Status) *NodeCreate { |
| 72 | nc.mutation.SetStatus(n) |
| 73 | return nc |
| 74 | } |
| 75 | |
| 76 | // SetName sets the "name" field. |
| 77 | func (nc *NodeCreate) SetName(s string) *NodeCreate { |