/*
* 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
{
///
/// Describes constraints that apply to the template fields.
///
public partial class TaskTemplateConstraints
{
private List _invisibleFields = new List();
private List _readOnlyFields = new List();
private List _requiredFields = new List();
///
/// Gets and sets the property InvisibleFields.
///
/// Lists the fields that are invisible to agents.
///
///
public List InvisibleFields
{
get { return this._invisibleFields; }
set { this._invisibleFields = value; }
}
// Check to see if InvisibleFields property is set
internal bool IsSetInvisibleFields()
{
return this._invisibleFields != null && this._invisibleFields.Count > 0;
}
///
/// Gets and sets the property ReadOnlyFields.
///
/// Lists the fields that are read-only to agents, and cannot be edited.
///
///
public List ReadOnlyFields
{
get { return this._readOnlyFields; }
set { this._readOnlyFields = value; }
}
// Check to see if ReadOnlyFields property is set
internal bool IsSetReadOnlyFields()
{
return this._readOnlyFields != null && this._readOnlyFields.Count > 0;
}
///
/// Gets and sets the property RequiredFields.
///
/// Lists the fields that are required to be filled by agents.
///
///
public List RequiredFields
{
get { return this._requiredFields; }
set { this._requiredFields = value; }
}
// Check to see if RequiredFields property is set
internal bool IsSetRequiredFields()
{
return this._requiredFields != null && this._requiredFields.Count > 0;
}
}
}