From a753857949d42b4a4dc3c5a4b5e6a05861128ee0 Mon Sep 17 00:00:00 2001 From: German Attanasio Date: Thu, 20 Feb 2020 15:57:44 -0500 Subject: [PATCH] feat(tone-analyzer): generated code chore(tone-analyzer): manual changes --- tone-analyzer/README.md | 5 ++++- .../com/ibm/watson/tone_analyzer/v3/ToneAnalyzer.java | 8 ++++---- .../watson/tone_analyzer/v3/model/DocumentAnalysis.java | 2 +- .../watson/tone_analyzer/v3/model/SentenceAnalysis.java | 2 +- .../ibm/watson/tone_analyzer/v3/model/ToneAnalysis.java | 2 +- .../ibm/watson/tone_analyzer/v3/model/ToneCategory.java | 2 +- .../watson/tone_analyzer/v3/model/ToneChatOptions.java | 2 +- .../ibm/watson/tone_analyzer/v3/model/ToneChatScore.java | 2 +- .../com/ibm/watson/tone_analyzer/v3/model/ToneInput.java | 2 +- .../ibm/watson/tone_analyzer/v3/model/ToneOptions.java | 2 +- .../com/ibm/watson/tone_analyzer/v3/model/ToneScore.java | 2 +- .../com/ibm/watson/tone_analyzer/v3/model/Utterance.java | 2 +- .../watson/tone_analyzer/v3/model/UtteranceAnalyses.java | 2 +- .../watson/tone_analyzer/v3/model/UtteranceAnalysis.java | 2 +- .../com/ibm/watson/tone_analyzer/v3/package-info.java | 2 +- .../com/ibm/watson/tone_analyzer/v3/ToneAnalyzerIT.java | 1 - 16 files changed, 21 insertions(+), 19 deletions(-) diff --git a/tone-analyzer/README.md b/tone-analyzer/README.md index da329fb4e60..c5845b8f9c8 100755 --- a/tone-analyzer/README.md +++ b/tone-analyzer/README.md @@ -3,6 +3,7 @@ ## Installation ##### Maven + ```xml com.ibm.watson @@ -12,11 +13,13 @@ ``` ##### Gradle + ```gradle 'com.ibm.watson:tone-analyzer:8.2.1' ``` ## Usage + Use the [Tone Analyzer][tone_analyzer] service to get the tone of your email. ```java @@ -44,4 +47,4 @@ ToneAnalysis tone = service.tone(toneOptions).execute().getResult(); System.out.println(tone); ``` -[tone_analyzer]: https://cloud.ibm.com/docs/services/tone-analyzer?topic=tone-analyzer-about +[tone_analyzer]: https://cloud.ibm.com/docs/tone-analyzer?topic=tone-analyzer-about diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzer.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzer.java index e465067f9b0..e34866362f0 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzer.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzer.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -40,7 +40,7 @@ * `X-Watson-Learning-Opt-Out` request header, the service does not log or retain data from requests and responses. * * @version v3 - * @see Tone Analyzer + * @see Tone Analyzer */ public class ToneAnalyzer extends BaseService { @@ -119,7 +119,7 @@ public ToneAnalyzer(String versionDate, String serviceName, Authenticator authen * service removes HTML tags and analyzes only the textual content. * * **See also:** [Using the general-purpose - * endpoint](https://cloud.ibm.com/docs/services/tone-analyzer?topic=tone-analyzer-utgpe#utgpe). + * endpoint](https://cloud.ibm.com/docs/tone-analyzer?topic=tone-analyzer-utgpe#utgpe). * * @param toneOptions the {@link ToneOptions} containing the options for the call * @return a {@link ServiceCall} with a response type of {@link ToneAnalysis} @@ -172,7 +172,7 @@ public ServiceCall tone(ToneOptions toneOptions) { * UTF-8. * * **See also:** [Using the customer-engagement - * endpoint](https://cloud.ibm.com/docs/services/tone-analyzer?topic=tone-analyzer-utco#utco). + * endpoint](https://cloud.ibm.com/docs/tone-analyzer?topic=tone-analyzer-utco#utco). * * @param toneChatOptions the {@link ToneChatOptions} containing the options for the call * @return a {@link ServiceCall} with a response type of {@link UtteranceAnalyses} diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/DocumentAnalysis.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/DocumentAnalysis.java index 2c2664b3251..6429702a103 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/DocumentAnalysis.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/DocumentAnalysis.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/SentenceAnalysis.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/SentenceAnalysis.java index 100bc0f6cf2..1a916a046ad 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/SentenceAnalysis.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/SentenceAnalysis.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneAnalysis.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneAnalysis.java index 93d5307a0c1..fa1f9250146 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneAnalysis.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneAnalysis.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneCategory.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneCategory.java index df71f552b4c..318454deade 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneCategory.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneCategory.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatOptions.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatOptions.java index ea67f58c5f3..61cf721aab0 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatOptions.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatScore.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatScore.java index 61c67c84051..877204d3013 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatScore.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneChatScore.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneInput.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneInput.java index b597f65afb7..6e4fece2530 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneInput.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneInput.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneOptions.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneOptions.java index 2423d7d2589..1582ad777f8 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneOptions.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneScore.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneScore.java index 04583cbfa54..44b20749c68 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneScore.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/ToneScore.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/Utterance.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/Utterance.java index 4fbd3a7a791..b1767fc5922 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/Utterance.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/Utterance.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalyses.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalyses.java index 467c12df1a8..72f62212b79 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalyses.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalyses.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalysis.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalysis.java index 3457ec2333e..1df2972c770 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalysis.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/model/UtteranceAnalysis.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2017, 2020. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/package-info.java b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/package-info.java index 240abaea91a..b69cabfb7b1 100644 --- a/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/package-info.java +++ b/tone-analyzer/src/main/java/com/ibm/watson/tone_analyzer/v3/package-info.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2019. + * (C) Copyright IBM Corp. 2020. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at diff --git a/tone-analyzer/src/test/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzerIT.java b/tone-analyzer/src/test/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzerIT.java index ae2057019fc..f31818227e7 100755 --- a/tone-analyzer/src/test/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzerIT.java +++ b/tone-analyzer/src/test/java/com/ibm/watson/tone_analyzer/v3/ToneAnalyzerIT.java @@ -12,7 +12,6 @@ */ package com.ibm.watson.tone_analyzer.v3; - import com.ibm.cloud.sdk.core.security.Authenticator; import com.ibm.cloud.sdk.core.security.IamAuthenticator; import com.ibm.watson.common.RetryRunner;