code: func (client *Client) GetBuildpacks(filters ...Filter) ([]Buildpack, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetBuildpacksRequest,
  		Query:       ConvertFilterParameters(filters),
  	})
  
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var buildpacks []Buildpack
  	warnings, err := client.paginate(request, Buildpack{}, func(item interface{}) error {
  		if buildpack, ok := item.(Buildpack); ok {
  			buildpacks = append(buildpacks, buildpack)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   Buildpack{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return buildpacks, warnings, err
  }
docs: // GetBuildpacks searches for a buildpack with the given name and returns it if it exists.