code: func (client *Client) GetServicePlanVisibilities(filters ...Filter) ([]ServicePlanVisibility, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetServicePlanVisibilitiesRequest,
  		Query:       ConvertFilterParameters(filters),
  	})
  
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var fullVisibilityList []ServicePlanVisibility
  	warnings, err := client.paginate(request, ServicePlanVisibility{}, func(item interface{}) error {
  		if vis, ok := item.(ServicePlanVisibility); ok {
  			fullVisibilityList = append(fullVisibilityList, vis)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   ServicePlanVisibility{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return fullVisibilityList, warnings, err
  }
docs: // GetServicePlanVisibilities returns back a list of Service Plan Visibilities
  // given the provided filters.