/*
* 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 connectcases-2022-10-03.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.ConnectCases.Model
{
///
/// Object to store detailed field information.
///
public partial class GetFieldResponse
{
private string _description;
private string _fieldArn;
private string _fieldId;
private string _name;
private FieldNamespace _awsNamespace;
private Dictionary _tags = new Dictionary();
private FieldType _type;
///
/// Gets and sets the property Description.
///
/// Description of the field.
///
///
[AWSProperty(Min=0, Max=255)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property FieldArn.
///
/// The Amazon Resource Name (ARN) of the field.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string FieldArn
{
get { return this._fieldArn; }
set { this._fieldArn = value; }
}
// Check to see if FieldArn property is set
internal bool IsSetFieldArn()
{
return this._fieldArn != null;
}
///
/// Gets and sets the property FieldId.
///
/// Unique identifier of the field.
///
///
[AWSProperty(Required=true, Min=1, Max=500)]
public string FieldId
{
get { return this._fieldId; }
set { this._fieldId = value; }
}
// Check to see if FieldId property is set
internal bool IsSetFieldId()
{
return this._fieldId != null;
}
///
/// Gets and sets the property Name.
///
/// Name of the field.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Namespace.
///
/// Namespace of the field.
///
///
[AWSProperty(Required=true)]
public FieldNamespace Namespace
{
get { return this._awsNamespace; }
set { this._awsNamespace = value; }
}
// Check to see if Namespace property is set
internal bool IsSetNamespace()
{
return this._awsNamespace != null;
}
///
/// Gets and sets the property Tags.
///
/// A map of of key-value pairs that represent tags on a resource. Tags are used to organize,
/// track, or control access for this resource.
///
///
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property Type.
///
/// Type of the field.
///
///
[AWSProperty(Required=true)]
public FieldType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}