Hubstate returns the value of the "hubstate" field in the mutation.
()
| 9524 | |
| 9525 | // Hubstate returns the value of the "hubstate" field in the mutation. |
| 9526 | func (m *MachineMutation) Hubstate() (r map[string][]schema.ItemState, exists bool) { |
| 9527 | v := m.hubstate |
| 9528 | if v == nil { |
| 9529 | return |
| 9530 | } |
| 9531 | return *v, true |
| 9532 | } |
| 9533 | |
| 9534 | // OldHubstate returns the old "hubstate" field's value of the Machine entity. |
| 9535 | // If the Machine object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected