SetLastPush sets the "last_push" field.
(v time.Time)
| 499 | |
| 500 | // SetLastPush sets the "last_push" field. |
| 501 | func (u *MachineUpsert) SetLastPush(v time.Time) *MachineUpsert { |
| 502 | u.Set(machine.FieldLastPush, v) |
| 503 | return u |
| 504 | } |
| 505 | |
| 506 | // UpdateLastPush sets the "last_push" field to the value that was provided on create. |
| 507 | func (u *MachineUpsert) UpdateLastPush() *MachineUpsert { |