|
| 1 | +/** |
| 2 | +* Copyright 2018 IBM Corp. All Rights Reserved. |
| 3 | +* |
| 4 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +* you may not use this file except in compliance with the License. |
| 6 | +* You may obtain a copy of the License at |
| 7 | +* |
| 8 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +* |
| 10 | +* Unless required by applicable law or agreed to in writing, software |
| 11 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +* See the License for the specific language governing permissions and |
| 14 | +* limitations under the License. |
| 15 | +* |
| 16 | +*/ |
| 17 | + |
| 18 | +using FullSerializer; |
| 19 | +using System.Collections.Generic; |
| 20 | + |
| 21 | +namespace IBM.Watson.DeveloperCloud.Services.ToneAnalyzer.v3 |
| 22 | +{ |
| 23 | + /// <summary> |
| 24 | + /// DocumentAnalysis. |
| 25 | + /// </summary> |
| 26 | + public class DocumentAnalysis |
| 27 | + { |
| 28 | + /// <summary> |
| 29 | + /// **`2017-09-21`:** An array of `ToneScore` objects that provides the results of the analysis for each |
| 30 | + /// qualifying tone of the document. The array includes results for any tone whose score is at least 0.5. The |
| 31 | + /// array is empty if no tone has a score that meets this threshold. **`2016-05-19`:** Not returned. |
| 32 | + /// </summary> |
| 33 | + /// <value> |
| 34 | + /// **`2017-09-21`:** An array of `ToneScore` objects that provides the results of the analysis for each |
| 35 | + /// qualifying tone of the document. The array includes results for any tone whose score is at least 0.5. The |
| 36 | + /// array is empty if no tone has a score that meets this threshold. **`2016-05-19`:** Not returned. |
| 37 | + /// </value> |
| 38 | + [fsProperty("tones")] |
| 39 | + public List<ToneScore> Tones { get; set; } |
| 40 | + /// <summary> |
| 41 | + /// **`2017-09-21`:** Not returned. **`2016-05-19`:** An array of `ToneCategory` objects that provides the |
| 42 | + /// results of the tone analysis for the full document of the input content. The service returns results only |
| 43 | + /// for the tones specified with the `tones` parameter of the request. |
| 44 | + /// </summary> |
| 45 | + /// <value> |
| 46 | + /// **`2017-09-21`:** Not returned. **`2016-05-19`:** An array of `ToneCategory` objects that provides the |
| 47 | + /// results of the tone analysis for the full document of the input content. The service returns results only |
| 48 | + /// for the tones specified with the `tones` parameter of the request. |
| 49 | + /// </value> |
| 50 | + [fsProperty("tone_categories")] |
| 51 | + public List<ToneCategory> ToneCategories { get; set; } |
| 52 | + /// <summary> |
| 53 | + /// **`2017-09-21`:** A warning message if the overall content exceeds 128 KB or contains more than 1000 |
| 54 | + /// sentences. The service analyzes only the first 1000 sentences for document-level analysis and the first 100 |
| 55 | + /// sentences for sentence-level analysis. **`2016-05-19`:** Not returned. |
| 56 | + /// </summary> |
| 57 | + /// <value> |
| 58 | + /// **`2017-09-21`:** A warning message if the overall content exceeds 128 KB or contains more than 1000 |
| 59 | + /// sentences. The service analyzes only the first 1000 sentences for document-level analysis and the first 100 |
| 60 | + /// sentences for sentence-level analysis. **`2016-05-19`:** Not returned. |
| 61 | + /// </value> |
| 62 | + [fsProperty("warning")] |
| 63 | + public string Warning { get; set; } |
| 64 | + } |
| 65 | + |
| 66 | +} |
0 commit comments