SetStatus sets the "status" field.
(v node.Status)
| 627 | |
| 628 | // SetStatus sets the "status" field. |
| 629 | func (u *NodeUpsertOne) SetStatus(v node.Status) *NodeUpsertOne { |
| 630 | return u.Update(func(s *NodeUpsert) { |
| 631 | s.SetStatus(v) |
| 632 | }) |
| 633 | } |
| 634 | |
| 635 | // UpdateStatus sets the "status" field to the value that was provided on create. |
| 636 | func (u *NodeUpsertOne) UpdateStatus() *NodeUpsertOne { |