/* * 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 comprehendmedical-2018-10-30.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.ComprehendMedical.Model { /// /// This is the response object from the InferSNOMEDCT operation. /// public partial class InferSNOMEDCTResponse : AmazonWebServiceResponse { private Characters _characters; private List _entities = new List(); private string _modelVersion; private string _paginationToken; private SNOMEDCTDetails _snomedctDetails; /// /// Gets and sets the property Characters. /// /// The number of characters in the input request documentation. /// /// public Characters Characters { get { return this._characters; } set { this._characters = value; } } // Check to see if Characters property is set internal bool IsSetCharacters() { return this._characters != null; } /// /// Gets and sets the property Entities. /// /// The collection of medical concept entities extracted from the input text and their /// associated information. For each entity, the response provides the entity text, the /// entity category, where the entity text begins and ends, and the level of confidence /// that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits /// of the entity are also returned. /// /// [AWSProperty(Required=true)] public List Entities { get { return this._entities; } set { this._entities = value; } } // Check to see if Entities property is set internal bool IsSetEntities() { return this._entities != null && this._entities.Count > 0; } /// /// Gets and sets the property ModelVersion. /// /// The version of the model used to analyze the documents, in the format n.n.n You can /// use this information to track the model used for a particular batch of documents. /// /// /// [AWSProperty(Min=1)] public string ModelVersion { get { return this._modelVersion; } set { this._modelVersion = value; } } // Check to see if ModelVersion property is set internal bool IsSetModelVersion() { return this._modelVersion != null; } /// /// Gets and sets the property PaginationToken. /// /// If the result of the request is truncated, the pagination token can be used to fetch /// the next page of entities. /// /// [AWSProperty(Min=1)] public string PaginationToken { get { return this._paginationToken; } set { this._paginationToken = value; } } // Check to see if PaginationToken property is set internal bool IsSetPaginationToken() { return this._paginationToken != null; } /// /// Gets and sets the property SNOMEDCTDetails. /// /// The details of the SNOMED-CT revision, including the edition, language, and version /// date. /// /// public SNOMEDCTDetails SNOMEDCTDetails { get { return this._snomedctDetails; } set { this._snomedctDetails = value; } } // Check to see if SNOMEDCTDetails property is set internal bool IsSetSNOMEDCTDetails() { return this._snomedctDetails != null; } } }