<commit_before>﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace KeySndr.Common
{
    [DataContract]
    public class InputConfiguration
    {
        [DataMember(Name = "name")]
        public string Name { get; set; }
        public string FileName { get; set; }

        [DataMember(Name = "view")]
        public string View { get; set; }

        [DataMember(Name = "actions")]
        public List<InputAction> Actions;

        public bool HasView => !string.IsNullOrEmpty(View);

        public InputConfiguration()
        {
            Name = string.Empty;
            View = string.Empty;
            FileName = string.Empty;
            Actions = new List<InputAction>();
        }

        public InputConfiguration(string name, List<InputAction> actions)
        {
            Name = name;
            FileName = string.Empty;
            Actions = actions;
            View = string.Empty;
        }

        public InputConfiguration(string name, string view, List<InputAction> actions)<commit_msg>Need to mark as a member for android client<commit_after>﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace KeySndr.Common
{
    [DataContract]
    public class InputConfiguration
    {
        [DataMember(Name = "name")]
        public string Name { get; set; }

        [DataMember(Name = "fileName")]
        public string FileName { get; set; }

        [DataMember(Name = "view")]
        public string View { get; set; }

        [DataMember(Name = "actions")]
        public List<InputAction> Actions;

        public bool HasView => !string.IsNullOrEmpty(View);

        public InputConfiguration()
        {
            Name = string.Empty;
            View = string.Empty;
            FileName = string.Empty;
            Actions = new List<InputAction>();
        }

        public InputConfiguration(string name, List<InputAction> actions)
        {
            Name = name;
            FileName = string.Empty;
            Actions = actions;
            View = string.Empty;
        }

        public InputConfiguration(string name, string view, List<InputAction> actions)
{'fraction_non_alphanumeric': 0.09578898658028691, 'fraction_numerical': 0.0, 'mean_word_length': 2.101865136298422, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '5432505', 'n_tokens_mistral': 559, 'n_tokens_neox': 539, 'n_words': 147}