<commit_before>// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Threading.Tasks;
using SmugMug.v2.Authentication;

namespace SmugMug.v2.Types
{
    public partial class UserEntity : SmugMugEntity
    {
        public override string EntityId
        {
            get
            {
                return NickName;
            }
        }

        // TODO: it is unclear if this is still needed.
        [Obsolete]
        public async Task<FolderEntity> GetFolderAsync()
        {
            // /folder/user/(*) 
            return await folderuser___(NickName);
        }

        public async Task<NodeEntity> GetNodeAsync(string nodeId)
        {
            // /node/(*) 
            return await node___(nodeId);
        }

        public async Task<AlbumEntity[]> GetAlbumsAsync()
        {
            // /user/(*)!albums 
            return await user____albums(NickName);
        }

        public async Task<AlbumTemplateEntity[]> GetAlbumTemplatesAsync()
        {
            // /user/(*)!albumtemplates 
            return await user____albumtemplates(NickName);
        }

        public async Task<ImageEntity> GetBioImageAsync()
        {
            // /user/(*)!bioimage 
            return await user____bioimage(NickName);
        }

        public async Task<ContactEntity[]> GetContactsAsync()
        {
            // /user/(*)!contacts 
            return await user____contacts(NickName);
        }

        public async Task<UserCouponEntity[]> GetCouponsAsync()
        {
            // /user/(*)!coupons 
            return await user____coupons(NickName);
        }

        public async Task<ImageEntity> GetCoverImageAsync()
        {
            // /user/(*)!coverimage 
            return await user____coverimage(NickName);
        }

        public async Task<DeletedAlbumEntity[]> GetDeletedAlbumsAsync()
        {
            // /user/(*)!deletedalbums 
            return await user____deletedalbums(NickName);
        }

        public async Task<DeletedFolderEntity[]> GetDeletedFoldersAsync()
        {
            // /user/(*)!deletedfolders 
            return await user____deletedfolders(NickName);
        }

        public async Task<DeletedPageEntity[]> GetDeletedPagesAsync()
        {
            // /user/(*)!deletedpages 
            return await user____deletedpages(NickName);
        }

        public async Task<ImageEntity[]> GetDuplicateImageSearchAsync()
        {
            // /user/(*)!duplicateimagesearch 
            return await user____duplicateimagesearch(NickName);
        }

        public async Task<AlbumEntity[]> GetFeaturedAlbums()
        {
            // /user/(*)!featuredalbums 
            return await user____featuredalbums(NickName);
        }

        public async Task<FeaturesEntity> GetFeaturesAsync()
        {
            // /user/(*)!features 
            return await user____features(NickName);
        }

        public async Task<ImageEntity[]> GetGeoMediaAsync()
        {
            // /user/(*)!geomedia 
            return await user____geomedia(NickName);
        }

        public async Task<GrantEntity[]> GetGrantsAsync()
        {
            // /user/(*)!grants 
            return await user____grants(NickName);
        }

        public async Task<UserGuideStateEntity[]> GetGuidesAsync()
        {
            // /user/(*)!guides 
            return await user____guides(NickName);
        }

        public async Task<UserHideGuidesEntity> GetHideGuidesAsync()
        {
            // /user/(*)!hideguides 
            return await user____hideguides(NickName);
        }

        [Obsolete]
        public async Task<ImageEntity[]> RequiresPost_Fixup_user____imagesearch()
        {
            // /user/(*)!imagesearch 
            return await user____imagesearch(NickName);
        }

        public async Task<QuickNewsEntity[]> GetLatestQuickNewsAsync()
        {
            // /user/(*)!latestquicknews 
            return await user____latestquicknews(NickName);
        }

        public async Task<ImageEntity[]> GetPopularMediaAsync()
        {
            // /user/(*)!popularmedia 
            return await user____popularmedia(NickName);
        }

        public async Task<PrintmarkEntity[]> GetPrintMarksAsync()
        {
            // /user/(*)!printmarks 
            return await user____printmarks(NickName);
        }

        public async Task<UserProfileEntity> GetProfileAsync()
        {
            // /user/(*)!profile 
            return await user____profile(NickName);
        }

        public async Task<ImageEntity[]> GetRecentImagesAsync()
        {
            // /user/(*)!recentimages 
            return await user____recentimages(NickName);
        }

        public async Task RequiresPost_Fixup_user____sortfeaturedalbums()
        {
            // /user/(*)!sortfeaturedalbums 
            await user____sortfeaturedalbums(NickName);
        }

        public async Task<TaskEntity[]> GetTasksAsync()
        {
            // /user/(*)!tasks 
            return await user____tasks(NickName);
        }

        public async Task<UserTopKeywordsEntity> GetTopKeywordsAsync()
        {
            // /user/(*)!topkeywords 
            return await user____topkeywords(NickName);
        }

        public async Task<UserUploadLimitsEntity[]> GetUploadLimitsAsync()
        {
            // /user/(*)!uploadlimits 
            return await user____uploadlimits(NickName);
        }

        //public async Task<FolderAlbumPageEntity> RequiresPost_Fixup_user____urlpathlookup()
        //{
        //    // /user/(*)!urlpathlookup 
        //    return await user____urlpathlookup(string.Empty);
        //}

        public async Task<WatermarkEntity[]> GetWatermarksAsync()
        {
            // /user/(*)!watermarks 
            return await user____watermarks(NickName);
        }
    }
}
<commit_msg>Fix method name to end with Async.<commit_after>// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System;
using System.Threading.Tasks;
using SmugMug.v2.Authentication;

namespace SmugMug.v2.Types
{
    public partial class UserEntity : SmugMugEntity
    {
        public override string EntityId
        {
            get
            {
                return NickName;
            }
        }

        // TODO: it is unclear if this is still needed.
        [Obsolete]
        public async Task<FolderEntity> GetFolderAsync()
        {
            // /folder/user/(*) 
            return await folderuser___(NickName);
        }

        public async Task<NodeEntity> GetNodeAsync(string nodeId)
        {
            // /node/(*) 
            return await node___(nodeId);
        }

        public async Task<AlbumEntity[]> GetAlbumsAsync()
        {
            // /user/(*)!albums 
            return await user____albums(NickName);
        }

        public async Task<AlbumTemplateEntity[]> GetAlbumTemplatesAsync()
        {
            // /user/(*)!albumtemplates 
            return await user____albumtemplates(NickName);
        }

        public async Task<ImageEntity> GetBioImageAsync()
        {
            // /user/(*)!bioimage 
            return await user____bioimage(NickName);
        }

        public async Task<ContactEntity[]> GetContactsAsync()
        {
            // /user/(*)!contacts 
            return await user____contacts(NickName);
        }

        public async Task<UserCouponEntity[]> GetCouponsAsync()
        {
            // /user/(*)!coupons 
            return await user____coupons(NickName);
        }

        public async Task<ImageEntity> GetCoverImageAsync()
        {
            // /user/(*)!coverimage 
            return await user____coverimage(NickName);
        }

        public async Task<DeletedAlbumEntity[]> GetDeletedAlbumsAsync()
        {
            // /user/(*)!deletedalbums 
            return await user____deletedalbums(NickName);
        }

        public async Task<DeletedFolderEntity[]> GetDeletedFoldersAsync()
        {
            // /user/(*)!deletedfolders 
            return await user____deletedfolders(NickName);
        }

        public async Task<DeletedPageEntity[]> GetDeletedPagesAsync()
        {
            // /user/(*)!deletedpages 
            return await user____deletedpages(NickName);
        }

        public async Task<ImageEntity[]> GetDuplicateImageSearchAsync()
        {
            // /user/(*)!duplicateimagesearch 
            return await user____duplicateimagesearch(NickName);
        }

        public async Task<AlbumEntity[]> GetFeaturedAlbumsAsync()
        {
            // /user/(*)!featuredalbums 
            return await user____featuredalbums(NickName);
        }

        public async Task<FeaturesEntity> GetFeaturesAsync()
        {
            // /user/(*)!features 
            return await user____features(NickName);
        }

        public async Task<ImageEntity[]> GetGeoMediaAsync()
        {
            // /user/(*)!geomedia 
            return await user____geomedia(NickName);
        }

        public async Task<GrantEntity[]> GetGrantsAsync()
        {
            // /user/(*)!grants 
            return await user____grants(NickName);
        }

        public async Task<UserGuideStateEntity[]> GetGuidesAsync()
        {
            // /user/(*)!guides 
            return await user____guides(NickName);
        }

        public async Task<UserHideGuidesEntity> GetHideGuidesAsync()
        {
            // /user/(*)!hideguides 
            return await user____hideguides(NickName);
        }

        [Obsolete]
        public async Task<ImageEntity[]> RequiresPost_Fixup_user____imagesearch()
        {
            // /user/(*)!imagesearch 
            return await user____imagesearch(NickName);
        }

        public async Task<QuickNewsEntity[]> GetLatestQuickNewsAsync()
        {
            // /user/(*)!latestquicknews 
            return await user____latestquicknews(NickName);
        }

        public async Task<ImageEntity[]> GetPopularMediaAsync()
        {
            // /user/(*)!popularmedia 
            return await user____popularmedia(NickName);
        }

        public async Task<PrintmarkEntity[]> GetPrintMarksAsync()
        {
            // /user/(*)!printmarks 
            return await user____printmarks(NickName);
        }

        public async Task<UserProfileEntity> GetProfileAsync()
        {
            // /user/(*)!profile 
            return await user____profile(NickName);
        }

        public async Task<ImageEntity[]> GetRecentImagesAsync()
        {
            // /user/(*)!recentimages 
            return await user____recentimages(NickName);
        }

        public async Task RequiresPost_Fixup_user____sortfeaturedalbums()
        {
            // /user/(*)!sortfeaturedalbums 
            await user____sortfeaturedalbums(NickName);
        }

        public async Task<TaskEntity[]> GetTasksAsync()
        {
            // /user/(*)!tasks 
            return await user____tasks(NickName);
        }

        public async Task<UserTopKeywordsEntity> GetTopKeywordsAsync()
        {
            // /user/(*)!topkeywords 
            return await user____topkeywords(NickName);
        }

        public async Task<UserUploadLimitsEntity[]> GetUploadLimitsAsync()
        {
            // /user/(*)!uploadlimits 
            return await user____uploadlimits(NickName);
        }

        //public async Task<FolderAlbumPageEntity> RequiresPost_Fixup_user____urlpathlookup()
        //{
        //    // /user/(*)!urlpathlookup 
        //    return await user____urlpathlookup(string.Empty);
        //}

        public async Task<WatermarkEntity[]> GetWatermarksAsync()
        {
            // /user/(*)!watermarks 
            return await user____watermarks(NickName);
        }
    }
}

{'fraction_non_alphanumeric': 0.10001665556295802, 'fraction_numerical': 0.00033311125916055963, 'mean_word_length': 1.7772895467160037, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5827370', 'n_tokens_mistral': 3258, 'n_tokens_neox': 3077, 'n_words': 594}