alerts.go
func (a *AlertService) GetNextAlertsInRange(start time.Time, end time.Time, nextPageURI string) AlertPageIterator {
	if nextPageURI == "" {
		panic("nextpageuri is empty")
	}
	iter := NewNextPageIterator(a.client, callsPathPart)
	iter.SetNextPageURI(types.NullString{Valid: true, String: nextPageURI})
	return &alertDateIterator{
		start: start,
		end:   end,
		p:     iter,
	}
}
func (a *AlertService) GetNextAlertsInRange(start time.Time, end time.Time, nextPageURI string) AlertPageIterator {
	if nextPageURI == "" {
		panic("nextpageuri is empty")
	}
	iter := NewNextPageIterator(a.client, callsPathPart)
	iter.SetNextPageURI(types.NullString{Valid: true, String: nextPageURI})
	return &alertDateIterator{
		start: start,
		end:   end,
		p:     iter,
	}
}
func ( a * AlertService ) GetNextAlertsInRange ( start time . Time , end time . Time , nextPageURI string ) AlertPageIterator { if nextPageURI == " " { panic ( " " ) } iter := NewNextPageIterator ( a . client , callsPathPart ) iter . SetNextPageURI ( types . NullString { Valid : true , String : nextPageURI } ) return & alertDateIterator { start : start , end : end , p : iter , } }
// GetNextAlertsInRange retrieves the page at the nextPageURI and continues
// retrieving pages until any results are found in the range given by start or
// end, or we determine there are no more records to be found in that range.
//
// If AlertPage is non-nil, it will have at least one result.
GetNextAlertsInRange retrieves the page at the nextPageURI and continues retrieving pages until any results are found in the range given by start or end or we determine there are no more records to be found in that range . If AlertPage is non - nil it will have at least one result .