/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the models.lex.v2-2020-08-07.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.LexModelsV2.Model
{
///
/// The test result evaluation item at the conversation level.
///
public partial class ConversationLevelTestResultItem
{
private string _conversationId;
private TestResultMatchStatus _endToEndResult;
private List _intentClassificationResults = new List();
private List _slotResolutionResults = new List();
private TestResultMatchStatus _speechTranscriptionResult;
///
/// Gets and sets the property ConversationId.
///
/// The conversation Id of the test result evaluation item.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public string ConversationId
{
get { return this._conversationId; }
set { this._conversationId = value; }
}
// Check to see if ConversationId property is set
internal bool IsSetConversationId()
{
return this._conversationId != null;
}
///
/// Gets and sets the property EndToEndResult.
///
/// The end-to-end success or failure of the test result evaluation item.
///
///
[AWSProperty(Required=true)]
public TestResultMatchStatus EndToEndResult
{
get { return this._endToEndResult; }
set { this._endToEndResult = value; }
}
// Check to see if EndToEndResult property is set
internal bool IsSetEndToEndResult()
{
return this._endToEndResult != null;
}
///
/// Gets and sets the property IntentClassificationResults.
///
/// The intent classification of the test result evaluation item.
///
///
[AWSProperty(Required=true)]
public List IntentClassificationResults
{
get { return this._intentClassificationResults; }
set { this._intentClassificationResults = value; }
}
// Check to see if IntentClassificationResults property is set
internal bool IsSetIntentClassificationResults()
{
return this._intentClassificationResults != null && this._intentClassificationResults.Count > 0;
}
///
/// Gets and sets the property SlotResolutionResults.
///
/// The slot success or failure of the test result evaluation item.
///
///
[AWSProperty(Required=true)]
public List SlotResolutionResults
{
get { return this._slotResolutionResults; }
set { this._slotResolutionResults = value; }
}
// Check to see if SlotResolutionResults property is set
internal bool IsSetSlotResolutionResults()
{
return this._slotResolutionResults != null && this._slotResolutionResults.Count > 0;
}
///
/// Gets and sets the property SpeechTranscriptionResult.
///
/// The speech transcription success or failure of the test result evaluation item.
///
///
public TestResultMatchStatus SpeechTranscriptionResult
{
get { return this._speechTranscriptionResult; }
set { this._speechTranscriptionResult = value; }
}
// Check to see if SpeechTranscriptionResult property is set
internal bool IsSetSpeechTranscriptionResult()
{
return this._speechTranscriptionResult != null;
}
}
}