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

namespace AfricasTalkingCS
{
    public class MobileB2CRecepient
    {
        [JsonProperty("name")]
        public string Name { get; set; }
        [JsonProperty("phoneNumber")]
        public string PhoneNumber { get; set; }
        [JsonProperty("currencyCode")]
        public string CurrencyCode { get; set; }
        [JsonProperty("amount")]
        public decimal Amount { get; set; }
        [JsonProperty("metadata")]
        public Dictionary<string, string> Metadata { get; private set; }
        
        public MobileB2CRecepient(string name, string phoneNumber, string currencyCode, decimal amount)
        {
            Name = name;
            PhoneNumber = phoneNumber;
            CurrencyCode = currencyCode;
            Amount = amount;
            Metadata = new Dictionary<string, string>();
        }

        public void AddMetadata(string key, string value)
        {
            this.Metadata.Add(key,value);
        }

        public string ToJson()
        {
            var json = JsonConvert.SerializeObject(this);
            return json;
        }
    }
}<commit_msg>Minor C# Code consistency improvements<commit_after>﻿using System.Collections.Generic;
using Newtonsoft.Json;

namespace AfricasTalkingCS
{
    public class MobileB2CRecepient
    {
        [JsonProperty("name")]
        public string Name { get; set; }
        [JsonProperty("phoneNumber")]
        public string PhoneNumber { get; set; }
        [JsonProperty("currencyCode")]
        public string CurrencyCode { get; set; }
        [JsonProperty("amount")]
        public decimal Amount { get; set; }
        [JsonProperty("metadata")]
        public Dictionary<string, string> Metadata { get; private set; }
        
        public MobileB2CRecepient(string name, string phoneNumber, string currencyCode, decimal amount)
        {
            Name = name;
            PhoneNumber = phoneNumber;
            CurrencyCode = currencyCode;
            Amount = amount;
            Metadata = new Dictionary<string, string>();
        }

        public void AddMetadata(string key, string value)
        {
            this.Metadata.Add(key, value);
        }

        public string ToJson()
        {
            var json = JsonConvert.SerializeObject(this);
            return json;
        }
    }
}
{'fraction_non_alphanumeric': 0.09217171717171717, 'fraction_numerical': 0.0016835016835016834, 'mean_word_length': 2.1031331592689293, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3614494', 'n_tokens_mistral': 607, 'n_tokens_neox': 597, 'n_words': 159}