<commit_before>﻿using System.Collections.Generic;
using MailChimp.Net.Core;
using Newtonsoft.Json;

namespace MailChimp.Net.Models
{
    public class Member
    {
        public Member()
        {
            Links = new HashSet<Link>();
            MergeFields = new Dictionary<string, string>();
            Interests = new HashSet<Interest>();
        }

        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("email_address")]
        public string EmailAddress { get; set; }

        [JsonProperty("unique_email_id")]
        public string UniqueEmailId { get; set; }

        [JsonProperty("email_type")]
        public string EmailType { get; set; }

        [JsonProperty("status")]
        [JsonConverter(typeof (StringEnumDescriptionConverter))]
        public Status Status { get; set; }

        [JsonProperty("merge_fields")]
        public Dictionary<string, string> MergeFields { get; set; }

        [JsonProperty("interests")]
        public IEnumerable<Interest> Interests { get; set; }

        [JsonProperty("stats")]
        public Stats Stats { get; set; }

        [JsonProperty("ip_signup")]
        public string IpSignup { get; set; }

        [JsonProperty("timestamp_signup")]
        public string TimestampSignup { get; set; }

        [JsonProperty("ip_opt")]
        public string IpOpt { get; set; }

        [JsonProperty("timestamp_opt")]
        public string TimestampOpt { get; set; }

        [JsonProperty("member_rating")]
        public int MemberRating { get; set; }

        [JsonProperty("last_changed")]
        public string LastChanged { get; set; }

        [JsonProperty("language")]
        public string Language { get; set; }

        [JsonProperty("vip")]
        public bool Vip { get; set; }

        [JsonProperty("email_client")]
        public string EmailClient { get; set; }

        [JsonProperty("location")]
        public Location Location { get; }

        [JsonProperty("last_note")]
        public IEnumerable<object> Notes { get; set; }

        [JsonProperty("list_id")]
        public string ListId { get; set; }

        [JsonProperty("_links")]
        public IEnumerable<Link> Links { get; set; }
    }
}

<commit_msg>Updated Interests property from IEnumerable to Dictionary.<commit_after>﻿using System.Collections.Generic;
using MailChimp.Net.Core;
using Newtonsoft.Json;

namespace MailChimp.Net.Models
{
    
    public class Member
    {
        public Member()
        {
            Links = new HashSet<Link>();
            MergeFields = new Dictionary<string, string>();
            Interests = new Dictionary<string, bool>();
        }

        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("email_address")]
        public string EmailAddress { get; set; }

        [JsonProperty("unique_email_id")]
        public string UniqueEmailId { get; set; }

        [JsonProperty("email_type")]
        public string EmailType { get; set; }

        [JsonProperty("status")]
        [JsonConverter(typeof (StringEnumDescriptionConverter))]
        public Status Status { get; set; }

        [JsonProperty("merge_fields")]
        public Dictionary<string, string> MergeFields { get; set; }

        [JsonProperty("interests")]
        public Dictionary<string, bool> Interests { get; set; }

        [JsonProperty("stats")]
        public Stats Stats { get; set; }

        [JsonProperty("ip_signup")]
        public string IpSignup { get; set; }

        [JsonProperty("timestamp_signup")]
        public string TimestampSignup { get; set; }

        [JsonProperty("ip_opt")]
        public string IpOpt { get; set; }

        [JsonProperty("timestamp_opt")]
        public string TimestampOpt { get; set; }

        [JsonProperty("member_rating")]
        public int MemberRating { get; set; }

        [JsonProperty("last_changed")]
        public string LastChanged { get; set; }

        [JsonProperty("language")]
        public string Language { get; set; }

        [JsonProperty("vip")]
        public bool Vip { get; set; }

        [JsonProperty("email_client")]
        public string EmailClient { get; set; }

        [JsonProperty("location")]
        public Location Location { get; }

        [JsonProperty("last_note")]
        public IEnumerable<object> Notes { get; set; }

        [JsonProperty("list_id")]
        public string ListId { get; set; }

        [JsonProperty("_links")]
        public IEnumerable<Link> Links { get; set; }
    }
}


{'fraction_non_alphanumeric': 0.11802480070859167, 'fraction_numerical': 0.0, 'mean_word_length': 2.4454614797864225, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6693765', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1182, 'n_words': 310}