-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathEventDetails.cs
37 lines (32 loc) · 954 Bytes
/
EventDetails.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
using System.Text.Json.Serialization;
/// <summary>
/// This represents the event's detailed data for response by EventEndpoint.
/// </summary>
public class EventDetails
{
/// <summary>
/// Gets or sets the event id.
/// </summary>
[JsonRequired]
public Guid EventId { get; set; }
/// <summary>
/// Gets or sets the event title name.
/// </summary>
[JsonRequired]
public string Title { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the event summary.
/// </summary>
[JsonRequired]
public string Summary { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the Azure OpenAI Service request max token capacity.
/// </summary>
[JsonRequired]
public int MaxTokenCap { get; set; }
/// <summary>
/// Gets or sets the Azure OpenAI Service daily request capacity.
/// </summary>
[JsonRequired]
public int DailyRequestCap { get; set; }
}