Skip to content

Add codegen updates #950

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Jun 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
45748b8
feat(assistant): Add generated updates
lpatino10 Jun 8, 2018
cabfcf9
feat(conversation): Add generated changes
lpatino10 Jun 8, 2018
5728dfe
feat(discovery): Add generated changes
lpatino10 Jun 8, 2018
faa3bd8
feat(discovery): Add manual tweaks
lpatino10 Jun 8, 2018
dc5a697
feat(language translator v2): Add generated updates
lpatino10 Jun 8, 2018
153ce3e
feat(language translator v3): Add generated updates
lpatino10 Jun 8, 2018
f2835c5
fix(language translator v2): Add manual tweaks
lpatino10 Jun 12, 2018
81e842b
fix(language translator v3): Add manual tweaks
lpatino10 Jun 12, 2018
22a10b7
test(language translator v3): Add tests
lpatino10 Jun 12, 2018
3624f22
feat(natural language classifier): Add generated updates
lpatino10 Jun 12, 2018
5175af9
fix(natural language classifier): Add manual tweaks
lpatino10 Jun 12, 2018
2966500
fix(natural language classifier): Add missing method param
lpatino10 Jun 12, 2018
a7bc9d8
feat(natural language understanding): Add generated updates
lpatino10 Jun 12, 2018
8f8dac9
fix(natural language understanding): Add manual tweaks
lpatino10 Jun 12, 2018
cf0d25e
feat(personality insights): Add generated updates
lpatino10 Jun 12, 2018
81023a4
chore(gitignore): Ignore .orig files
lpatino10 Jun 12, 2018
4913785
fix(personality insights): Add manual tweaks
lpatino10 Jun 12, 2018
0de968e
feat(speech to text): Add generated updates
lpatino10 Jun 12, 2018
f7f3020
chore(gitignore): Ignore .rej files
lpatino10 Jun 12, 2018
3c213ad
fix(speech to text): Add manual tweaks
lpatino10 Jun 12, 2018
b02e39c
feat(text to speech): Add generated updates
lpatino10 Jun 12, 2018
5b45312
fix(text to speech): Add manual tweaks
lpatino10 Jun 12, 2018
938a5b1
feat(tone-analyzer): Add generated updates
lpatino10 Jun 12, 2018
9de6e31
revert(language translator): Remove deprecation annotation
lpatino10 Jun 12, 2018
670e5ac
feat(visual recognition): Add generated updates
lpatino10 Jun 12, 2018
68d78e4
fix(visual recognition): Add manual tweaks
lpatino10 Jun 12, 2018
39bfcaf
test(language translator): Change key for RC credentials
lpatino10 Jun 12, 2018
01f8fca
ci(credentials): Update credentials
lpatino10 Jun 12, 2018
c8ec660
test(visual recognition): Add tests for RC instances
lpatino10 Jun 12, 2018
6059d5f
chore(discovery): Fix checkstyle errors
lpatino10 Jun 12, 2018
fe99380
docs(language translator, visual recognition): Use IAM auth in README
lpatino10 Jun 12, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ docs
.vscode/
conversation/src/test/java/com/ibm/watson/developer_cloud/conversation/v1/ConversationTest.java
.swagger-codegen/VERSION
*.orig
*.rej
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,9 @@ public String workspaceId() {
/**
* Gets the dialogNode.
*
* The dialog node ID. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, space, underscore, hyphen, and dot characters. - It must be no longer than 1024 characters.
* The dialog node ID. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
* - It must be no longer than 1024 characters.
*
* @return the dialogNode
*/
Expand Down Expand Up @@ -566,9 +567,9 @@ public List<DialogNodeAction> actions() {
/**
* Gets the title.
*
* The alias used to identify the dialog node. This string must conform to the following restrictions: - It can
* contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters. - It must be no longer than 64
* characters.
* The alias used to identify the dialog node. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
* - It must be no longer than 64 characters.
*
* @return the title
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ public Builder newBuilder() {
/**
* Gets the entity.
*
* The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, and hyphen characters. - It cannot begin with the reserved prefix `sys-`. - It must be no
* longer than 64 characters.
* The name of the entity. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, and hyphen characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 64 characters.
*
* @return the entity
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,10 @@ public String workspaceId() {
/**
* Gets the entity.
*
* The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, and hyphen characters. - It cannot begin with the reserved prefix `sys-`. - It must be no
* longer than 64 characters.
* The name of the entity. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, and hyphen characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 64 characters.
*
* @return the entity
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ public Builder newBuilder() {
/**
* Gets the text.
*
* The text of a user input example. This string must conform to the following restrictions: - It cannot contain
* carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no
* longer than 1024 characters.
* The text of a user input example. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 1024 characters.
*
* @return the text
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,10 @@ public String intent() {
/**
* Gets the text.
*
* The text of a user input example. This string must conform to the following restrictions: - It cannot contain
* carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no
* longer than 1024 characters.
* The text of a user input example. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 1024 characters.
*
* @return the text
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@ public Builder newBuilder() {
/**
* Gets the intent.
*
* The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`. - It must
* be no longer than 128 characters.
* The name of the intent. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 128 characters.
*
* @return the intent
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ public String workspaceId() {
/**
* Gets the intent.
*
* The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`. - It must
* be no longer than 128 characters.
* The name of the intent. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 128 characters.
*
* @return the intent
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ public String value() {
/**
* Gets the synonym.
*
* The text of the synonym. This string must conform to the following restrictions: - It cannot contain carriage
* return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than
* 64 characters.
* The text of the synonym. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the synonym
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,10 @@ public Builder newBuilder() {
/**
* Gets the value.
*
* The text of the entity value. This string must conform to the following restrictions: - It cannot contain carriage
* return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than
* 64 characters.
* The text of the entity value. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the value
*/
Expand All @@ -218,9 +219,10 @@ public Map metadata() {
* Gets the synonyms.
*
* An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by
* **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return,
* newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64
* characters.
* **type**), but not both. A synonym must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the synonyms
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,10 @@ public String entity() {
/**
* Gets the value.
*
* The text of the entity value. This string must conform to the following restrictions: - It cannot contain carriage
* return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than
* 64 characters.
* The text of the entity value. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the value
*/
Expand All @@ -274,9 +275,10 @@ public Map metadata() {
* Gets the synonyms.
*
* An array containing any synonyms for the entity value. You can provide either synonyms or patterns (as indicated by
* **type**), but not both. A synonym must conform to the following restrictions: - It cannot contain carriage return,
* newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64
* characters.
* **type**), but not both. A synonym must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the synonyms
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,26 @@
public class DialogNodeNextStep extends GenericModel {

/**
* What happens after the dialog node completes. The valid values depend on the node type: - The following values are
* valid for any node: - `get_user_input` - `skip_user_input` - `jump_to` - If the node is of type `event_handler` and
* its parent node is of type `slot` or `frame`, additional values are also valid: - if **event_name**=`filled` and
* the type of the parent node is `slot`: - `reprompt` - `skip_all_slots` - if **event_name**=`nomatch` and the type
* of the parent node is `slot`: - `reprompt` - `skip_slot` - `skip_all_slots` - if **event_name**=`generic` and the
* type of the parent node is `frame`: - `reprompt` - `skip_slot` - `skip_all_slots` If you specify `jump_to`, then
* you must also specify a value for the `dialog_node` property.
* What happens after the dialog node completes. The valid values depend on the node type:
* - The following values are valid for any node:
* - `get_user_input`
* - `skip_user_input`
* - `jump_to`
* - If the node is of type `event_handler` and its parent node is of type `slot` or `frame`, additional values are
* also valid:
* - if **event_name**=`filled` and the type of the parent node is `slot`:
* - `reprompt`
* - `skip_all_slots`
* - if **event_name**=`nomatch` and the type of the parent node is `slot`:
* - `reprompt`
* - `skip_slot`
* - `skip_all_slots`
* - if **event_name**=`generic` and the type of the parent node is `frame`:
* - `reprompt`
* - `skip_slot`
* - `skip_all_slots`
*
* If you specify `jump_to`, then you must also specify a value for the `dialog_node` property.
*/
public interface Behavior {
/** get_user_input. */
Expand Down Expand Up @@ -66,13 +79,26 @@ public interface Selector {
/**
* Gets the behavior.
*
* What happens after the dialog node completes. The valid values depend on the node type: - The following values are
* valid for any node: - `get_user_input` - `skip_user_input` - `jump_to` - If the node is of type `event_handler` and
* its parent node is of type `slot` or `frame`, additional values are also valid: - if **event_name**=`filled` and
* the type of the parent node is `slot`: - `reprompt` - `skip_all_slots` - if **event_name**=`nomatch` and the type
* of the parent node is `slot`: - `reprompt` - `skip_slot` - `skip_all_slots` - if **event_name**=`generic` and the
* type of the parent node is `frame`: - `reprompt` - `skip_slot` - `skip_all_slots` If you specify `jump_to`, then
* you must also specify a value for the `dialog_node` property.
* What happens after the dialog node completes. The valid values depend on the node type:
* - The following values are valid for any node:
* - `get_user_input`
* - `skip_user_input`
* - `jump_to`
* - If the node is of type `event_handler` and its parent node is of type `slot` or `frame`, additional values are
* also valid:
* - if **event_name**=`filled` and the type of the parent node is `slot`:
* - `reprompt`
* - `skip_all_slots`
* - if **event_name**=`nomatch` and the type of the parent node is `slot`:
* - `reprompt`
* - `skip_slot`
* - `skip_all_slots`
* - if **event_name**=`generic` and the type of the parent node is `frame`:
* - `reprompt`
* - `skip_slot`
* - `skip_all_slots`
*
* If you specify `jump_to`, then you must also specify a value for the `dialog_node` property.
*
* @return the behavior
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,9 @@ public Map newMetadata() {
/**
* Gets the newTitle.
*
* The alias used to identify the dialog node. This string must conform to the following restrictions: - It can
* contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters. - It must be no longer than 64
* characters.
* The alias used to identify the dialog node. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
* - It must be no longer than 64 characters.
*
* @return the newTitle
*/
Expand Down Expand Up @@ -659,8 +659,9 @@ public String newParent() {
/**
* Gets the newDialogNode.
*
* The dialog node ID. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, space, underscore, hyphen, and dot characters. - It must be no longer than 1024 characters.
* The dialog node ID. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, space, underscore, hyphen, and dot characters.
* - It must be no longer than 1024 characters.
*
* @return the newDialogNode
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ public Boolean newFuzzyMatch() {
/**
* Gets the newEntity.
*
* The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, and hyphen characters. - It cannot begin with the reserved prefix `sys-`. - It must be no
* longer than 64 characters.
* The name of the entity. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, and hyphen characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 64 characters.
*
* @return the newEntity
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,10 @@ public String text() {
/**
* Gets the newText.
*
* The text of the user input example. This string must conform to the following restrictions: - It cannot contain
* carriage return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no
* longer than 1024 characters.
* The text of the user input example. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 1024 characters.
*
* @return the newText
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ public String intent() {
/**
* Gets the newIntent.
*
* The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode
* alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`. - It must
* be no longer than 128 characters.
* The name of the intent. This string must conform to the following restrictions:
* - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters.
* - It cannot begin with the reserved prefix `sys-`.
* - It must be no longer than 128 characters.
*
* @return the newIntent
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,10 @@ public String synonym() {
/**
* Gets the newSynonym.
*
* The text of the synonym. This string must conform to the following restrictions: - It cannot contain carriage
* return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than
* 64 characters.
* The text of the synonym. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the newSynonym
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ public String value() {
* Gets the newSynonyms.
*
* An array of synonyms for the entity value. You can provide either synonyms or patterns (as indicated by **type**),
* but not both. A synonym must conform to the following resrictions: - It cannot contain carriage return, newline, or
* tab characters. - It cannot consist of only whitespace characters. - It must be no longer than 64 characters.
* but not both. A synonym must conform to the following resrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the newSynonyms
*/
Expand Down Expand Up @@ -324,9 +326,10 @@ public List<String> newPatterns() {
/**
* Gets the newValue.
*
* The text of the entity value. This string must conform to the following restrictions: - It cannot contain carriage
* return, newline, or tab characters. - It cannot consist of only whitespace characters. - It must be no longer than
* 64 characters.
* The text of the entity value. This string must conform to the following restrictions:
* - It cannot contain carriage return, newline, or tab characters.
* - It cannot consist of only whitespace characters.
* - It must be no longer than 64 characters.
*
* @return the newValue
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,10 @@ public Boolean learningOptOut() {
* Whether the new data is to be appended to the existing data in the workspace. If **append**=`false`, elements
* included in the new data completely replace the corresponding existing elements, including all subelements. For
* example, if the new data includes **entities** and **append**=`false`, all existing entities in the workspace are
* discarded and replaced with the new entities. If **append**=`true`, existing elements are preserved, and the new
* elements are added. If any elements in the new data collide with existing elements, the update request fails.
* discarded and replaced with the new entities.
*
* If **append**=`true`, existing elements are preserved, and the new elements are added. If any elements in the new
* data collide with existing elements, the update request fails.
*
* @return the append
*/
Expand Down
Binary file modified config.properties.enc
Binary file not shown.
Loading