SetEventsCount sets the "eventsCount" field.
(i int32)
| 406 | |
| 407 | // SetEventsCount sets the "eventsCount" field. |
| 408 | func (m *AlertMutation) SetEventsCount(i int32) { |
| 409 | m.eventsCount = &i |
| 410 | m.addeventsCount = nil |
| 411 | } |
| 412 | |
| 413 | // EventsCount returns the value of the "eventsCount" field in the mutation. |
| 414 | func (m *AlertMutation) EventsCount() (r int32, exists bool) { |
no outgoing calls
no test coverage detected