code: func (client *Client) GetFeatureFlags() ([]FeatureFlag, Warnings, error) {
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.GetFeatureFlagsRequest,
  	})
  
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var fullFeatureFlagList []FeatureFlag
  	warnings, err := client.paginate(request, FeatureFlag{}, func(item interface{}) error {
  		if featureFlag, ok := item.(FeatureFlag); ok {
  			fullFeatureFlagList = append(fullFeatureFlagList, featureFlag)
  		} else {
  			return ccerror.UnknownObjectInListError{
  				Expected:   FeatureFlag{},
  				Unexpected: item,
  			}
  		}
  		return nil
  	})
  
  	return fullFeatureFlagList, warnings, err
  
  }
docs: // GetFeatureFlags lists feature flags.