/*
* 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 connect-contact-lens-2020-08-21.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.ConnectContactLens.Model
{
///
/// A list of messages in the session.
///
public partial class Transcript
{
private int? _beginOffsetMillis;
private string _content;
private int? _endOffsetMillis;
private string _id;
private List _issuesDetected = new List();
private string _participantId;
private string _participantRole;
private SentimentValue _sentiment;
///
/// Gets and sets the property BeginOffsetMillis.
///
/// The beginning offset in the contact for this transcript.
///
///
[AWSProperty(Required=true, Min=0)]
public int BeginOffsetMillis
{
get { return this._beginOffsetMillis.GetValueOrDefault(); }
set { this._beginOffsetMillis = value; }
}
// Check to see if BeginOffsetMillis property is set
internal bool IsSetBeginOffsetMillis()
{
return this._beginOffsetMillis.HasValue;
}
///
/// Gets and sets the property Content.
///
/// The content of the transcript.
///
///
[AWSProperty(Required=true, Min=1)]
public string Content
{
get { return this._content; }
set { this._content = value; }
}
// Check to see if Content property is set
internal bool IsSetContent()
{
return this._content != null;
}
///
/// Gets and sets the property EndOffsetMillis.
///
/// The end offset in the contact for this transcript.
///
///
[AWSProperty(Required=true, Min=0)]
public int EndOffsetMillis
{
get { return this._endOffsetMillis.GetValueOrDefault(); }
set { this._endOffsetMillis = value; }
}
// Check to see if EndOffsetMillis property is set
internal bool IsSetEndOffsetMillis()
{
return this._endOffsetMillis.HasValue;
}
///
/// Gets and sets the property Id.
///
/// The identifier of the transcript.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
///
/// Gets and sets the property IssuesDetected.
///
/// List of positions where issues were detected on the transcript.
///
///
[AWSProperty(Min=0, Max=20)]
public List IssuesDetected
{
get { return this._issuesDetected; }
set { this._issuesDetected = value; }
}
// Check to see if IssuesDetected property is set
internal bool IsSetIssuesDetected()
{
return this._issuesDetected != null && this._issuesDetected.Count > 0;
}
///
/// Gets and sets the property ParticipantId.
///
/// The identifier of the participant.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ParticipantId
{
get { return this._participantId; }
set { this._participantId = value; }
}
// Check to see if ParticipantId property is set
internal bool IsSetParticipantId()
{
return this._participantId != null;
}
///
/// Gets and sets the property ParticipantRole.
///
/// The role of participant. For example, is it a customer, agent, or system.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string ParticipantRole
{
get { return this._participantRole; }
set { this._participantRole = value; }
}
// Check to see if ParticipantRole property is set
internal bool IsSetParticipantRole()
{
return this._participantRole != null;
}
///
/// Gets and sets the property Sentiment.
///
/// The sentiment of the detected for this piece of transcript.
///
///
[AWSProperty(Required=true)]
public SentimentValue Sentiment
{
get { return this._sentiment; }
set { this._sentiment = value; }
}
// Check to see if Sentiment property is set
internal bool IsSetSentiment()
{
return this._sentiment != null;
}
}
}