func (client *ClientImpl) CreateFeedView(ctx context.Context, args CreateFeedViewArgs) (*FeedView, error) {
	if args.View == nil {
		return nil, &azuredevops.ArgumentNilError{ArgumentName: "args.View"}
	}
	routeValues := make(map[string]string)
	if args.Project != nil && *args.Project != "" {
		routeValues["project"] = *args.Project
	}
	if args.FeedId == nil || *args.FeedId == "" {
		return nil, &azuredevops.ArgumentNilOrEmptyError{ArgumentName: "args.FeedId"}
	}
	routeValues["feedId"] = *args.FeedId
	body, marshalErr := json.Marshal(*args.View)
	if marshalErr != nil {
		return nil, marshalErr
	}
	locationId, _ := uuid.Parse("42a8502a-6785-41bc-8c16-89477d930877")
	resp, err := client.Client.Send(ctx, http.MethodPost, locationId, "5.1-preview.1", routeValues, nil, bytes.NewReader(body), "application/json", "application/json", nil)
	if err != nil {
		return nil, err
	}
	var responseValue FeedView
	err = client.Client.UnmarshalBody(resp, &responseValue)
	return &responseValue, err
}
[Preview API] Create a new view on the referenced feed.
package feed
import (
	"bytes"
	"context"
	"encoding/json"
	"github.com/google/uuid"
	"github.com/microsoft/azure-devops-go-api/azuredevops"
	"net/http"
	"net/url"
	"strconv"
)
var ResourceAreaId, _ = uuid.Parse("7ab4e64e-c4d8-4f50-ae73-5ef2e21642a5")
type Client interface {
	CreateFeed(context.Context, CreateFeedArgs) (*Feed, error)
	CreateFeedView(context.Context, CreateFeedViewArgs) (*FeedView, error)
	DeleteFeed(context.Context, DeleteFeedArgs) error
	DeleteFeedRetentionPolicies(context.Context, DeleteFeedRetentionPoliciesArgs) error
	DeleteFeedView(context.Context, DeleteFeedViewArgs) error
	GetBadge(context.Context, GetBadgeArgs) (*string, error)
	GetFeed(context.Context, GetFeedArgs) (*Feed, error)
	GetFeedChange(context.Context, GetFeedChangeArgs) (*FeedChange, error)
	GetFeedChanges(context.Context, GetFeedChangesArgs) (*FeedChangesResponse, error)
	GetFeedPermissions(context.Context, GetFeedPermissionsArgs) (*[]FeedPermission, error)
	GetFeedRetentionPolicies(context.Context, GetFeedRetentionPoliciesArgs) (*FeedRetentionPolicy, error)
	GetFeeds(context.Context, GetFeedsArgs) (*[]Feed, error)
	GetFeedView(context.Context, GetFeedViewArgs) (*FeedView, error)
	GetFeedViews(context.Context, GetFeedViewsArgs) (*[]FeedView, error)
	GetGlobalPermissions(context.Context, GetGlobalPermissionsArgs) (*[]GlobalPermission, error)
	GetPackage(context.Context, GetPackageArgs) (*Package, error)
	GetPackageChanges(context.Context, GetPackageChangesArgs) (*PackageChangesResponse, error)
	GetPackages(context.Context, GetPackagesArgs) (*[]Package, error)
	GetPackageVersion(context.Context, GetPackageVersionArgs) (*PackageVersion, error)
	GetPackageVersionProvenance(context.Context, GetPackageVersionProvenanceArgs) (*PackageVersionProvenance, error)
	GetPackageVersions(context.Context, GetPackageVersionsArgs) (*[]PackageVersion, error)
	GetRecycleBinPackage(context.Context, GetRecycleBinPackageArgs) (*Package, error)
	GetRecycleBinPackages(context.Context, GetRecycleBinPackagesArgs) (*[]Package, error)
	GetRecycleBinPackageVersion(context.Context, GetRecycleBinPackageVersionArgs) (*RecycleBinPackageVersion, error)
	GetRecycleBinPackageVersions(context.Context, GetRecycleBinPackageVersionsArgs) (*[]RecycleBinPackageVersion, error)
	QueryPackageMetrics(context.Context, QueryPackageMetricsArgs) (*[]PackageMetrics, error)
	QueryPackageVersionMetrics(context.Context, QueryPackageVersionMetricsArgs) (*[]PackageVersionMetrics, error)
	SetFeedPermissions(context.Context, SetFeedPermissionsArgs) (*[]FeedPermission, error)
	SetFeedRetentionPolicies(context.Context, SetFeedRetentionPoliciesArgs) (*FeedRetentionPolicy, error)
	SetGlobalPermissions(context.Context, SetGlobalPermissionsArgs) (*[]GlobalPermission, error)
	UpdateFeed(context.Context, UpdateFeedArgs) (*Feed, error)
	UpdateFeedView(context.Context, UpdateFeedViewArgs) (*FeedView, error)
}
type ClientImpl struct {
	Client azuredevops.Client
}
func NewClient(ctx context.Context, connection *azuredevops.Connection) (Client, error) {
	client, err := connection.GetClientByResourceAreaId(ctx, ResourceAreaId)
	if err != nil {
		return nil, err
	}
	return &ClientImpl{
		Client: *client,
	}, nil
}
func (client *ClientImpl) CreateFeed(ctx context.Context, args CreateFeedArgs) (*Feed, error) {
	if args.Feed == nil {
		return nil, &azuredevops.ArgumentNilError{ArgumentName: "args.Feed"}
	}
	routeValues := make(map[string]string)
	if args.Project != nil && *args.Project != "" {
		routeValues["project"] = *args.Project
	}
	body, marshalErr := json.Marshal(*args.Feed)
	if marshalErr != nil {
		return nil, marshalErr
	}
	locationId, _ := uuid.Parse("c65009a7-474a-4ad1-8b42-7d852107ef8c")
	resp, err := client.Client.Send(ctx, http.MethodPost, locationId, "5.1-preview.1", routeValues, nil, bytes.NewReader(body), "application/json", "application/json", nil)
	if err != nil {
		return nil, err
	}
	var responseValue Feed
	err = client.Client.UnmarshalBody(resp, &responseValue)
	return &responseValue, err
}
type CreateFeedArgs struct {
	Feed *Feed
	Project *string
}