code: func (client *Client) GetRouteMappings(filters ...Filter) ([]RouteMapping, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetRouteMappingsRequest,
  		Query:       ConvertFilterParameters(filters),
  	})
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var fullRouteMappingsList []RouteMapping
  	warnings, err := client.paginate(request, RouteMapping{}, func(item interface{}) error {
  		if routeMapping, ok := item.(RouteMapping); ok {
  			fullRouteMappingsList = append(fullRouteMappingsList, routeMapping)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   RouteMapping{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return fullRouteMappingsList, warnings, err
  }
docs: // GetRouteMappings returns a list of RouteMappings based off of the provided queries.