code: func (i *GetAPIEventsFilterInput) formatEventFilters() map[string]string {
  	result := map[string]string{}
  	pairings := map[string]interface{}{
  		"filter[customer_id]": i.CustomerID,
  		"filter[service_id]":  i.ServiceID,
  		"filter[event_type]":  i.EventType,
  		"filter[user_id]":     i.UserID,
  		"page[size]":          i.MaxResults,
  		"page[number]":        i.PageNumber, // starts at 1, not 0
  	}
  	// NOTE: This setup means we will not be able to send the zero value
  	// of any of these filters. It doesn't appear we would need to at present.
  
  	for key, value := range pairings {
  		switch t := reflect.TypeOf(value).String(); t {
  		case "string":
  			if value != "" {
  				result[key] = value.(string)
  			}
  		case "int":
  			if value != 0 {
  				result[key] = strconv.Itoa(value.(int))
  			}
  		}
  
  	}
  	return result
  }
docs: // formatEventFilters converts user input into query parameters for filtering
  // Fastly events.