/*
* 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-2017-08-08.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.Connect.Model
{
///
/// Summary information about a contact evaluation.
///
public partial class EvaluationSummary
{
private DateTime? _createdTime;
private string _evaluationArn;
private string _evaluationFormId;
private string _evaluationFormTitle;
private string _evaluationId;
private string _evaluatorArn;
private DateTime? _lastModifiedTime;
private EvaluationScore _score;
private EvaluationStatus _status;
///
/// Gets and sets the property CreatedTime.
///
/// The timestamp for when the evaluation was created.
///
///
[AWSProperty(Required=true)]
public DateTime CreatedTime
{
get { return this._createdTime.GetValueOrDefault(); }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime.HasValue;
}
///
/// Gets and sets the property EvaluationArn.
///
/// The Amazon Resource Name (ARN) for the contact evaluation resource.
///
///
[AWSProperty(Required=true)]
public string EvaluationArn
{
get { return this._evaluationArn; }
set { this._evaluationArn = value; }
}
// Check to see if EvaluationArn property is set
internal bool IsSetEvaluationArn()
{
return this._evaluationArn != null;
}
///
/// Gets and sets the property EvaluationFormId.
///
/// The unique identifier for the evaluation form.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string EvaluationFormId
{
get { return this._evaluationFormId; }
set { this._evaluationFormId = value; }
}
// Check to see if EvaluationFormId property is set
internal bool IsSetEvaluationFormId()
{
return this._evaluationFormId != null;
}
///
/// Gets and sets the property EvaluationFormTitle.
///
/// A title of the evaluation form.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string EvaluationFormTitle
{
get { return this._evaluationFormTitle; }
set { this._evaluationFormTitle = value; }
}
// Check to see if EvaluationFormTitle property is set
internal bool IsSetEvaluationFormTitle()
{
return this._evaluationFormTitle != null;
}
///
/// Gets and sets the property EvaluationId.
///
/// A unique identifier for the contact evaluation.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string EvaluationId
{
get { return this._evaluationId; }
set { this._evaluationId = value; }
}
// Check to see if EvaluationId property is set
internal bool IsSetEvaluationId()
{
return this._evaluationId != null;
}
///
/// Gets and sets the property EvaluatorArn.
///
/// The Amazon Resource Name (ARN) of the user who last updated the evaluation.
///
///
[AWSProperty(Required=true)]
public string EvaluatorArn
{
get { return this._evaluatorArn; }
set { this._evaluatorArn = value; }
}
// Check to see if EvaluatorArn property is set
internal bool IsSetEvaluatorArn()
{
return this._evaluatorArn != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The timestamp for when the evaluation was last updated.
///
///
[AWSProperty(Required=true)]
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property Score.
///
/// The overall score of the contact evaluation.
///
///
public EvaluationScore Score
{
get { return this._score; }
set { this._score = value; }
}
// Check to see if Score property is set
internal bool IsSetScore()
{
return this._score != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the contact evaluation.
///
///
[AWSProperty(Required=true)]
public EvaluationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}