SourceAsNumber returns the value of the "sourceAsNumber" field in the mutation.
()
| 677 | |
| 678 | // SourceAsNumber returns the value of the "sourceAsNumber" field in the mutation. |
| 679 | func (m *AlertMutation) SourceAsNumber() (r string, exists bool) { |
| 680 | v := m.sourceAsNumber |
| 681 | if v == nil { |
| 682 | return |
| 683 | } |
| 684 | return *v, true |
| 685 | } |
| 686 | |
| 687 | // OldSourceAsNumber returns the old "sourceAsNumber" field's value of the Alert entity. |
| 688 | // If the Alert object wasn't provided to the builder, the object is fetched from the database. |
no outgoing calls
no test coverage detected