public PrivateFeed(string id, string name, string icon, PrivateFeedColor color)
 {
     Id    = id;
     Name  = name;
     Icon  = icon;
     Color = color;
 }
 public NotificationsPrivateFeedsPostRequest(ProfileIdentifier profile, string name, string icon, PrivateFeedColor color)
 {
     Profile = profile;
     Name    = name;
     Icon    = icon;
     Color   = color;
 }
            public async Task <PrivateFeed> CreatePrivateFeedAsync(ProfileIdentifier profile, string name, string icon, PrivateFeedColor color, Func <Partial <PrivateFeed>, Partial <PrivateFeed> >?partial = null, CancellationToken cancellationToken = default)
            {
                var queryParameters = new NameValueCollection();

                queryParameters.Append("$fields", (partial != null ? partial(new Partial <PrivateFeed>()) : Partial <PrivateFeed> .Default()).ToString());

                return(await _connection.RequestResourceAsync <NotificationsPrivateFeedsPostRequest, PrivateFeed>("POST", $"api/http/notifications/private-feeds{queryParameters.ToQueryString()}",
                                                                                                                  new NotificationsPrivateFeedsPostRequest
                {
                    Profile = profile,
                    Name = name,
                    Icon = icon,
                    Color = color,
                }, cancellationToken));
            }