/* * 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 transcribe-2017-10-26.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.TranscribeService.Model { /// /// Provides you with the properties of the Call Analytics category you specified in your /// request. This includes the list of rules that define the specified category. /// public partial class CategoryProperties { private string _categoryName; private DateTime? _createTime; private InputType _inputType; private DateTime? _lastUpdateTime; private List _rules = new List(); /// /// Gets and sets the property CategoryName. /// /// The name of the Call Analytics category. Category names are case sensitive and must /// be unique within an Amazon Web Services account. /// /// [AWSProperty(Min=1, Max=200)] public string CategoryName { get { return this._categoryName; } set { this._categoryName = value; } } // Check to see if CategoryName property is set internal bool IsSetCategoryName() { return this._categoryName != null; } /// /// Gets and sets the property CreateTime. /// /// The date and time the specified Call Analytics category was created. /// /// /// /// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, /// 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, /// 2022. /// /// public DateTime CreateTime { get { return this._createTime.GetValueOrDefault(); } set { this._createTime = value; } } // Check to see if CreateTime property is set internal bool IsSetCreateTime() { return this._createTime.HasValue; } /// /// Gets and sets the property InputType. /// /// The input type associated with the specified category. POST_CALL refers /// to a category that is applied to batch transcriptions; REAL_TIME refers /// to a category that is applied to streaming transcriptions. /// /// public InputType InputType { get { return this._inputType; } set { this._inputType = value; } } // Check to see if InputType property is set internal bool IsSetInputType() { return this._inputType != null; } /// /// Gets and sets the property LastUpdateTime. /// /// The date and time the specified Call Analytics category was last updated. /// /// /// /// Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, /// 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM UTC-7 on May 5, /// 2022. /// /// public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// /// Gets and sets the property Rules. /// /// The rules used to define a Call Analytics category. Each category can have between /// 1 and 20 rules. /// /// [AWSProperty(Min=1, Max=20)] public List Rules { get { return this._rules; } set { this._rules = value; } } // Check to see if Rules property is set internal bool IsSetRules() { return this._rules != null && this._rules.Count > 0; } } }