/* * 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 DetectPHI operation. /// public partial class DetectPHIResponse : AmazonWebServiceResponse { private List _entities = new List(); private string _modelVersion; private string _paginationToken; /// /// Gets and sets the property Entities. /// /// The collection of PHI 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 its detection. /// /// [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. The version number looks like /// X.X.X. You can use this information to track the model used for a particular batch /// of documents. /// /// [AWSProperty(Required=true, 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 previous request to DetectPHI was truncated, include /// the PaginationToken to fetch the next page of PHI 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; } } }