IsValidated returns the value of the "isValidated" field in the mutation.
()
| 9256 | |
| 9257 | // IsValidated returns the value of the "isValidated" field in the mutation. |
| 9258 | func (m *MachineMutation) IsValidated() (r bool, exists bool) { |
| 9259 | v := m.isValidated |
| 9260 | if v == nil { |
| 9261 | return |
| 9262 | } |
| 9263 | return *v, true |
| 9264 | } |
| 9265 | |
| 9266 | // OldIsValidated returns the old "isValidated" field's value of the Machine entity. |
| 9267 | // If the Machine object wasn't provided to the builder, the object is fetched from the database. |