/
EnrichmentStatus.cs
36 lines (31 loc) · 1.21 KB
/
EnrichmentStatus.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.AI.MetricsAdvisor.Models
{
/// <summary> The EnrichmentStatus. </summary>
public partial class EnrichmentStatus
{
/// <summary> Initializes a new instance of EnrichmentStatus. </summary>
/// <param name="timestamp"> data slice timestamp. </param>
/// <param name="status"> latest enrichment status for this data slice. </param>
/// <param name="message"> the trimmed message describes details of the enrichment status. </param>
/// <exception cref="ArgumentNullException"> <paramref name="status"/> or <paramref name="message"/> is null. </exception>
internal EnrichmentStatus(DateTimeOffset timestamp, string status, string message)
{
if (status == null)
{
throw new ArgumentNullException(nameof(status));
}
if (message == null)
{
throw new ArgumentNullException(nameof(message));
}
Timestamp = timestamp;
Status = status;
Message = message;
}
}
}