SetNillableEventsCount sets the "eventsCount" field if the given value is not nil.
(v *int32)
| 96 | |
| 97 | // SetNillableEventsCount sets the "eventsCount" field if the given value is not nil. |
| 98 | func (_c *AlertCreate) SetNillableEventsCount(v *int32) *AlertCreate { |
| 99 | if v != nil { |
| 100 | _c.SetEventsCount(*v) |
| 101 | } |
| 102 | return _c |
| 103 | } |
| 104 | |
| 105 | // SetStartedAt sets the "startedAt" field. |
| 106 | func (_c *AlertCreate) SetStartedAt(v time.Time) *AlertCreate { |
nothing calls this directly
no test coverage detected