/*
* 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
{
///
/// Contains information about a turn in a test set.
///
public partial class TestSetTurnRecord
{
private string _conversationId;
private long? _recordNumber;
private int? _turnNumber;
private TurnSpecification _turnSpecification;
///
/// Gets and sets the property ConversationId.
///
/// The unique identifier for the conversation associated with the turn.
///
///
[AWSProperty(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 RecordNumber.
///
/// The record number associated with the turn.
///
///
[AWSProperty(Required=true, Min=1, Max=200000)]
public long RecordNumber
{
get { return this._recordNumber.GetValueOrDefault(); }
set { this._recordNumber = value; }
}
// Check to see if RecordNumber property is set
internal bool IsSetRecordNumber()
{
return this._recordNumber.HasValue;
}
///
/// Gets and sets the property TurnNumber.
///
/// The number of turns that has elapsed up to that turn.
///
///
[AWSProperty(Min=0, Max=30)]
public int TurnNumber
{
get { return this._turnNumber.GetValueOrDefault(); }
set { this._turnNumber = value; }
}
// Check to see if TurnNumber property is set
internal bool IsSetTurnNumber()
{
return this._turnNumber.HasValue;
}
///
/// Gets and sets the property TurnSpecification.
///
/// Contains information about the agent or user turn depending upon type of turn.
///
///
[AWSProperty(Required=true)]
public TurnSpecification TurnSpecification
{
get { return this._turnSpecification; }
set { this._turnSpecification = value; }
}
// Check to see if TurnSpecification property is set
internal bool IsSetTurnSpecification()
{
return this._turnSpecification != null;
}
}
}