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

namespace Microsoft.Azure.Management.WebSites.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>
    /// SlowRequestsBasedTrigger
    /// </summary>
    public partial class SlowRequestsBasedTrigger
    {
        /// <summary>
        /// Initializes a new instance of the SlowRequestsBasedTrigger class.
        /// </summary>
        public SlowRequestsBasedTrigger() { }

        /// <summary>
        /// Initializes a new instance of the SlowRequestsBasedTrigger class.
        /// </summary>
        public SlowRequestsBasedTrigger(string timeTaken = default(string), int? count = default(int?), string timeInterval = default(string))
        {
            TimeTaken = timeTaken;
            Count = count;
            TimeInterval = timeInterval;
        }

        /// <summary>
        /// TimeTaken
        /// </summary>
        [JsonProperty(PropertyName = "timeTaken")]
        public string TimeTaken { get; set; }

        /// <summary>
        /// Count
        /// </summary>
        [JsonProperty(PropertyName = "count")]
        public int? Count { get; set; }

        /// <summary>
        /// TimeInterval
        /// </summary>
        [JsonProperty(PropertyName = "timeInterval")]
        public string TimeInterval { get; set; }

    }
}
