/
RunStepMessageCreationDetails.cs
44 lines (36 loc) · 2.06 KB
/
RunStepMessageCreationDetails.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.AI.OpenAI.Assistants
{
/// <summary> The detailed information associated with a message creation run step. </summary>
public partial class RunStepMessageCreationDetails : RunStepDetails
{
/// <summary> Initializes a new instance of <see cref="RunStepMessageCreationDetails"/>. </summary>
/// <param name="messageCreation"> Information about the message creation associated with this run step. </param>
/// <exception cref="ArgumentNullException"> <paramref name="messageCreation"/> is null. </exception>
internal RunStepMessageCreationDetails(RunStepMessageCreationReference messageCreation)
{
Argument.AssertNotNull(messageCreation, nameof(messageCreation));
Type = RunStepType.MessageCreation;
MessageCreation = messageCreation;
}
/// <summary> Initializes a new instance of <see cref="RunStepMessageCreationDetails"/>. </summary>
/// <param name="type"> The object type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="messageCreation"> Information about the message creation associated with this run step. </param>
internal RunStepMessageCreationDetails(RunStepType type, IDictionary<string, BinaryData> serializedAdditionalRawData, RunStepMessageCreationReference messageCreation) : base(type, serializedAdditionalRawData)
{
MessageCreation = messageCreation;
}
/// <summary> Initializes a new instance of <see cref="RunStepMessageCreationDetails"/> for deserialization. </summary>
internal RunStepMessageCreationDetails()
{
}
/// <summary> Information about the message creation associated with this run step. </summary>
public RunStepMessageCreationReference MessageCreation { get; }
}
}