-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AbnormalTimePeriod.cs
46 lines (40 loc) · 1.81 KB
/
AbnormalTimePeriod.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Class representing Abnormal Time Period identified in diagnosis. </summary>
public partial class AbnormalTimePeriod
{
/// <summary> Initializes a new instance of AbnormalTimePeriod. </summary>
public AbnormalTimePeriod()
{
Events = new ChangeTrackingList<DetectorAbnormalTimePeriod>();
Solutions = new ChangeTrackingList<DiagnosticSolution>();
}
/// <summary> Initializes a new instance of AbnormalTimePeriod. </summary>
/// <param name="startOn"> Start time of the downtime. </param>
/// <param name="endOn"> End time of the downtime. </param>
/// <param name="events"> List of Possible Cause of downtime. </param>
/// <param name="solutions"> List of proposed solutions. </param>
internal AbnormalTimePeriod(DateTimeOffset? startOn, DateTimeOffset? endOn, IList<DetectorAbnormalTimePeriod> events, IList<DiagnosticSolution> solutions)
{
StartOn = startOn;
EndOn = endOn;
Events = events;
Solutions = solutions;
}
/// <summary> Start time of the downtime. </summary>
public DateTimeOffset? StartOn { get; set; }
/// <summary> End time of the downtime. </summary>
public DateTimeOffset? EndOn { get; set; }
/// <summary> List of Possible Cause of downtime. </summary>
public IList<DetectorAbnormalTimePeriod> Events { get; }
/// <summary> List of proposed solutions. </summary>
public IList<DiagnosticSolution> Solutions { get; }
}
}