/*
* 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
{
///
/// Summary information about a bot version returned by the ListBotVersions
/// operation.
///
public partial class BotVersionSummary
{
private string _botName;
private BotStatus _botStatus;
private string _botVersion;
private DateTime? _creationDateTime;
private string _description;
///
/// Gets and sets the property BotName.
///
/// The name of the bot associated with the version.
///
///
[AWSProperty(Min=1, Max=100)]
public string BotName
{
get { return this._botName; }
set { this._botName = value; }
}
// Check to see if BotName property is set
internal bool IsSetBotName()
{
return this._botName != null;
}
///
/// Gets and sets the property BotStatus.
///
/// The status of the bot. When the status is available, the version of the bot is ready
/// for use.
///
///
public BotStatus BotStatus
{
get { return this._botStatus; }
set { this._botStatus = value; }
}
// Check to see if BotStatus property is set
internal bool IsSetBotStatus()
{
return this._botStatus != null;
}
///
/// Gets and sets the property BotVersion.
///
/// The numeric version of the bot, or DRAFT
to indicate that this is the
/// version of the bot that can be updated..
///
///
[AWSProperty(Min=1, Max=5)]
public string BotVersion
{
get { return this._botVersion; }
set { this._botVersion = value; }
}
// Check to see if BotVersion property is set
internal bool IsSetBotVersion()
{
return this._botVersion != null;
}
///
/// Gets and sets the property CreationDateTime.
///
/// A timestamp of the date and time that the version was created.
///
///
public DateTime CreationDateTime
{
get { return this._creationDateTime.GetValueOrDefault(); }
set { this._creationDateTime = value; }
}
// Check to see if CreationDateTime property is set
internal bool IsSetCreationDateTime()
{
return this._creationDateTime.HasValue;
}
///
/// Gets and sets the property Description.
///
/// The description of the version.
///
///
[AWSProperty(Min=0, Max=200)]
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;
}
}
}