// 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.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.RecoveryServices.Backup.Models
{
    using System.Linq;

    /// <summary>
    /// Base class for backup policy. Workload-specific backup policies are
    /// derived from this class.
    /// </summary>
    public partial class ProtectionPolicy
    {
        /// <summary>
        /// Initializes a new instance of the ProtectionPolicy class.
        /// </summary>
        public ProtectionPolicy() { }

        /// <summary>
        /// Initializes a new instance of the ProtectionPolicy class.
        /// </summary>
        /// <param name="protectedItemsCount">Number of items associated with
        /// this policy.</param>
        public ProtectionPolicy(int? protectedItemsCount = default(int?))
        {
            ProtectedItemsCount = protectedItemsCount;
        }

        /// <summary>
        /// Gets or sets number of items associated with this policy.
        /// </summary>
        [Newtonsoft.Json.JsonProperty(PropertyName = "protectedItemsCount")]
        public int? ProtectedItemsCount { get; set; }

    }
}
