SourceRange returns the value of the "sourceRange" field in the mutation.
()
| 628 | |
| 629 | // SourceRange returns the value of the "sourceRange" field in the mutation. |
| 630 | func (m *AlertMutation) SourceRange() (r string, exists bool) { |
| 631 | v := m.sourceRange |
| 632 | if v == nil { |
| 633 | return |
| 634 | } |
| 635 | return *v, true |
| 636 | } |
| 637 | |
| 638 | // OldSourceRange returns the old "sourceRange" field's value of the Alert entity. |
| 639 | // If the Alert object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected