UUIDCleared returns if the "uuid" field was cleared in this mutation.
()
| 1347 | |
| 1348 | // UUIDCleared returns if the "uuid" field was cleared in this mutation. |
| 1349 | func (m *AlertMutation) UUIDCleared() bool { |
| 1350 | _, ok := m.clearedFields[alert.FieldUUID] |
| 1351 | return ok |
| 1352 | } |
| 1353 | |
| 1354 | // ResetUUID resets all changes to the "uuid" field. |
| 1355 | func (m *AlertMutation) ResetUUID() { |