HubstateCleared returns if the "hubstate" field was cleared in this mutation.
()
| 9556 | |
| 9557 | // HubstateCleared returns if the "hubstate" field was cleared in this mutation. |
| 9558 | func (m *MachineMutation) HubstateCleared() bool { |
| 9559 | _, ok := m.clearedFields[machine.FieldHubstate] |
| 9560 | return ok |
| 9561 | } |
| 9562 | |
| 9563 | // ResetHubstate resets all changes to the "hubstate" field. |
| 9564 | func (m *MachineMutation) ResetHubstate() { |