SetVersion sets the "version" field.
(v string)
| 577 | |
| 578 | // SetVersion sets the "version" field. |
| 579 | func (u *MachineUpsert) SetVersion(v string) *MachineUpsert { |
| 580 | u.Set(machine.FieldVersion, v) |
| 581 | return u |
| 582 | } |
| 583 | |
| 584 | // UpdateVersion sets the "version" field to the value that was provided on create. |
| 585 | func (u *MachineUpsert) UpdateVersion() *MachineUpsert { |