Skip to content

Commit 883b971

Browse files
feat(personality-insights): generated code
chore(personality-insights): manual changes
1 parent 5d2dd6d commit 883b971

12 files changed

+32
-34
lines changed

personality-insights/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Installation
44

55
##### Maven
6+
67
```xml
78
<dependency>
89
<groupId>com.ibm.watson</groupId>
@@ -12,11 +13,13 @@
1213
```
1314

1415
##### Gradle
16+
1517
```gradle
1618
'com.ibm.watson:personality-insights:8.2.1'
1719
```
1820

1921
## Usage
22+
2023
Use linguistic analytics to infer personality and social characteristics, including Big Five, Needs, and Values, from text.
2124
Example: Analyze text and get a personality profile using the [Personality Insights][personality_insights] service.
2225

@@ -50,4 +53,4 @@ Profile profile = service.profile(options).execute().getResult();
5053
System.out.println(profile);
5154
```
5255

53-
[personality_insights]: https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-about
56+
[personality_insights]: https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-about

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/PersonalityInsights.java

+14-19
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -36,18 +36,15 @@
3636
* personality characteristics. The service can infer consumption preferences based on the results of its analysis and,
3737
* for JSON content that is timestamped, can report temporal behavior.
3838
* * For information about the meaning of the models that the service uses to describe personality characteristics, see
39-
* [Personality
40-
* models](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-models#models).
39+
* [Personality models](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-models#models).
4140
* * For information about the meaning of the consumption preferences, see [Consumption
42-
* preferences]
43-
* (https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-preferences#preferences).
44-
*
41+
* preferences](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-preferences#preferences).
4542
*
4643
* **Note:** Request logging is disabled for the Personality Insights service. Regardless of whether you set the
4744
* `X-Watson-Learning-Opt-Out` request header, the service does not log or retain data from requests and responses.
4845
*
4946
* @version v3
50-
* @see <a href="https://cloud.ibm.com/docs/services/personality-insights/">Personality Insights</a>
47+
* @see <a href="https://cloud.ibm.com/docs/personality-insights/">Personality Insights</a>
5148
*/
5249
public class PersonalityInsights extends BaseService {
5350

@@ -116,10 +113,9 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
116113
* English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
117114
*
118115
* **See also:**
119-
* * [Requesting a
120-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
116+
* * [Requesting a profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
121117
* * [Providing sufficient
122-
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
118+
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
123119
*
124120
* ### Content types
125121
*
@@ -133,7 +129,7 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
133129
* encoding of the input text; for example, `Content-Type: text/plain;charset=utf-8`.
134130
*
135131
* **See also:** [Specifying request and response
136-
* formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
132+
* formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
137133
*
138134
* ### Accept types
139135
*
@@ -143,9 +139,9 @@ public PersonalityInsights(String versionDate, String serviceName, Authenticator
143139
*
144140
* **See also:**
145141
* * [Understanding a JSON
146-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
142+
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
147143
* * [Understanding a CSV
148-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
144+
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
149145
*
150146
* @param profileOptions the {@link ProfileOptions} containing the options for the call
151147
* @return a {@link ServiceCall} with a response type of {@link Profile}
@@ -195,10 +191,9 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
195191
* English, Japanese, Korean, or Spanish. It can return its results in a variety of languages.
196192
*
197193
* **See also:**
198-
* * [Requesting a
199-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#input)
194+
* * [Requesting a profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#input)
200195
* * [Providing sufficient
201-
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient)
196+
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient)
202197
*
203198
* ### Content types
204199
*
@@ -212,7 +207,7 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
212207
* encoding of the input text; for example, `Content-Type: text/plain;charset=utf-8`.
213208
*
214209
* **See also:** [Specifying request and response
215-
* formats](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#formats)
210+
* formats](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#formats)
216211
*
217212
* ### Accept types
218213
*
@@ -222,9 +217,9 @@ public ServiceCall<Profile> profile(ProfileOptions profileOptions) {
222217
*
223218
* **See also:**
224219
* * [Understanding a JSON
225-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-output#output)
220+
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-output#output)
226221
* * [Understanding a CSV
227-
* profile](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-outputCSV#outputCSV).
222+
* profile](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-outputCSV#outputCSV).
228223
*
229224
* @param profileOptions the {@link ProfileOptions} containing the options for the call
230225
* @return a {@link ServiceCall} with a response type of {@link String}

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/Behavior.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/ConsumptionPreferences.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/ConsumptionPreferencesCategory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/Content.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/ContentItem.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/Profile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/ProfileOptions.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -238,8 +238,8 @@ public Builder newBuilder() {
238238
*
239239
* A maximum of 20 MB of content to analyze, though the service requires much less text; for more information, see
240240
* [Providing sufficient
241-
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient). For
242-
* JSON input, provide an object of type `Content`.
241+
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient). For JSON
242+
* input, provide an object of type `Content`.
243243
*
244244
* @return the content
245245
*/
@@ -252,8 +252,8 @@ public Content content() {
252252
*
253253
* A maximum of 20 MB of content to analyze, though the service requires much less text; for more information, see
254254
* [Providing sufficient
255-
* input](https://cloud.ibm.com/docs/services/personality-insights?topic=personality-insights-input#sufficient). For
256-
* JSON input, provide an object of type `Content`.
255+
* input](https://cloud.ibm.com/docs/personality-insights?topic=personality-insights-input#sufficient). For JSON
256+
* input, provide an object of type `Content`.
257257
*
258258
* @return the body
259259
*/

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/Trait.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2016, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/model/Warning.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

personality-insights/src/main/java/com/ibm/watson/personality_insights/v3/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

0 commit comments

Comments
 (0)