<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// 
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.Redis.Models
{
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using Newtonsoft.Json;
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Microsoft.Rest.Azure;

    /// <summary>
    /// Specifies which redis node(s) to reboot.
    /// </summary>
    public partial class RedisRebootParameters
    {
        /// <summary>
        /// Initializes a new instance of the RedisRebootParameters class.
        /// </summary>
        public RedisRebootParameters() { }

        /// <summary>
        /// Initializes a new instance of the RedisRebootParameters class.
        /// </summary>
        public RedisRebootParameters(RebootType rebootType)
        {
            RebootType = rebootType;
        }

        /// <summary>
        /// Which redis node(s) to reboot. Possible values include:
        /// 'PrimaryNode', 'SecondaryNode', 'AllNodes'
        /// </summary>
        [JsonProperty(PropertyName = "RebootType")]
        public RebootType RebootType { get; set; }

        /// <summary>
        /// Validate the object. Throws ValidationException if validation fails.
        /// </summary>
        public virtual void Validate()
        {
        }
    }
}<commit_msg>Adding shard Id parameter and add description that data loss is possible<commit_after>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
// 
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.Redis.Models
{
    using System;
    using System.Linq;
    using System.Collections.Generic;
    using Newtonsoft.Json;
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Microsoft.Rest.Azure;

    /// <summary>
    /// Specifies which redis node(s) to reboot.
    /// </summary>
    public partial class RedisRebootParameters
    {
        /// <summary>
        /// Initializes a new instance of the RedisRebootParameters class.
        /// </summary>
        public RedisRebootParameters() { }

        /// <summary>
        /// Initializes a new instance of the RedisRebootParameters class.
        /// </summary>
        public RedisRebootParameters(RebootType rebootType, int? shardId = default(int?))
        {
            RebootType = rebootType;
            ShardId = shardId;
        }

        /// <summary>
        /// Which redis node(s) to reboot. Depending on this value data loss
        /// is possible. Possible values include: 'PrimaryNode',
        /// 'SecondaryNode', 'AllNodes'
        /// </summary>
        [JsonProperty(PropertyName = "rebootType")]
        public RebootType RebootType { get; set; }

        /// <summary>
        /// In case of cluster cache, this specifies shard id which should be
        /// rebooted.
        /// </summary>
        [JsonProperty(PropertyName = "shardId")]
        public int? ShardId { get; set; }

        /// <summary>
        /// Validate the object. Throws ValidationException if validation fails.
        /// </summary>
        public virtual void Validate()
        {
        }
    }
}
{'fraction_non_alphanumeric': 0.10588558855885588, 'fraction_numerical': 0.0027502750275027505, 'mean_word_length': 2.124570446735395, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1571891', 'n_tokens_mistral': 964, 'n_tokens_neox': 939, 'n_words': 314}