code: func (client *Client) PaginateRunstatusPages(ctx context.Context, callback func(pages []RunstatusPage, e error) bool) {
  	pageURL := client.Endpoint + runstatusPagesURL
  	for pageURL != "" {
  		resp, err := client.runstatusRequest(ctx, pageURL, nil, "GET")
  		if err != nil {
  			callback(nil, err)
  			return
  		}
  
  		var p *RunstatusPageList
  		if err := json.Unmarshal(resp, &p); err != nil {
  			callback(nil, err)
  			return
  		}
  
  		if ok := callback(p.Pages, nil); ok {
  			return
  		}
  
  		pageURL = p.Next
  	}
  }
docs: //PaginateRunstatusPages paginate on runstatus pages