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

namespace Microsoft.Azure.Management.ApiManagement.Models
{
    using Microsoft.Azure;
    using Microsoft.Azure.Management;
    using Microsoft.Azure.Management.ApiManagement;
    using Microsoft.Rest;
    using Microsoft.Rest.Serialization;
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// Quota counter value details.
    /// </summary>
    [Rest.Serialization.JsonTransformation]
    public partial class QuotaCounterValueContract
    {
        /// <summary>
        /// Initializes a new instance of the QuotaCounterValueContract class.
        /// </summary>
        public QuotaCounterValueContract()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the QuotaCounterValueContract class.
        /// </summary>
        /// <param name="callsCount">Number of times Counter was
        /// called.</param>
        /// <param name="kbTransferred">Data Transferred in KiloBytes.</param>
        public QuotaCounterValueContract(int? callsCount = default(int?), double? kbTransferred = default(double?))
        {
            CallsCount = callsCount;
            KbTransferred = kbTransferred;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets number of times Counter was called.
        /// </summary>
        [JsonProperty(PropertyName = "value.callsCount")]
        public int? CallsCount { get; set; }

        /// <summary>
        /// Gets or sets data Transferred in KiloBytes.
        /// </summary>
        [JsonProperty(PropertyName = "value.kbTransferred")]
        public double? KbTransferred { get; set; }

    }
}
