Skip to content

[Tone Analyzer] Add newest generated code #885

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 1 commit into from
Mar 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public ToneAnalyzer(String versionDate) {
setEndPoint(URL);
}

Validator.isTrue((versionDate != null) && !versionDate.isEmpty(),
"'version cannot be null.");
Validator.isTrue((versionDate != null) && !versionDate.isEmpty(), "version cannot be null.");

this.versionDate = versionDate;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,31 +65,4 @@ public List<ToneCategory> getToneCategories() {
public String getWarning() {
return warning;
}

/**
* Sets the tones.
*
* @param tones the new tones
*/
public void setTones(final List<ToneScore> tones) {
this.tones = tones;
}

/**
* Sets the toneCategories.
*
* @param toneCategories the new toneCategories
*/
public void setToneCategories(final List<ToneCategory> toneCategories) {
this.toneCategories = toneCategories;
}

/**
* Sets the warning.
*
* @param warning the new warning
*/
public void setWarning(final String warning) {
this.warning = warning;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,58 +105,4 @@ public Long getInputFrom() {
public Long getInputTo() {
return inputTo;
}

/**
* Sets the sentenceId.
*
* @param sentenceId the new sentenceId
*/
public void setSentenceId(final long sentenceId) {
this.sentenceId = sentenceId;
}

/**
* Sets the text.
*
* @param text the new text
*/
public void setText(final String text) {
this.text = text;
}

/**
* Sets the tones.
*
* @param tones the new tones
*/
public void setTones(final List<ToneScore> tones) {
this.tones = tones;
}

/**
* Sets the toneCategories.
*
* @param toneCategories the new toneCategories
*/
public void setToneCategories(final List<ToneCategory> toneCategories) {
this.toneCategories = toneCategories;
}

/**
* Sets the inputFrom.
*
* @param inputFrom the new inputFrom
*/
public void setInputFrom(final long inputFrom) {
this.inputFrom = inputFrom;
}

/**
* Sets the inputTo.
*
* @param inputTo the new inputTo
*/
public void setInputTo(final long inputTo) {
this.inputTo = inputTo;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,4 @@ public DocumentAnalysis getDocumentTone() {
public List<SentenceAnalysis> getSentencesTone() {
return sentencesTone;
}

/**
* Sets the documentTone.
*
* @param documentTone the new documentTone
*/
public void setDocumentTone(final DocumentAnalysis documentTone) {
this.documentTone = documentTone;
}

/**
* Sets the sentencesTone.
*
* @param sentencesTone the new sentencesTone
*/
public void setSentencesTone(final List<SentenceAnalysis> sentencesTone) {
this.sentencesTone = sentencesTone;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,4 @@ public String getCategoryId() {
public String getCategoryName() {
return categoryName;
}

/**
* Sets the tones.
*
* @param tones the new tones
*/
public void setTones(final List<ToneScore> tones) {
this.tones = tones;
}

/**
* Sets the categoryId.
*
* @param categoryId the new categoryId
*/
public void setCategoryId(final String categoryId) {
this.categoryId = categoryId;
}

/**
* Sets the categoryName.
*
* @param categoryName the new categoryName
*/
public void setCategoryName(final String categoryName) {
this.categoryName = categoryName;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,4 @@ public String getToneId() {
public String getToneName() {
return toneName;
}

/**
* Sets the score.
*
* @param score the new score
*/
public void setScore(final Double score) {
this.score = score;
}

/**
* Sets the toneId.
*
* @param toneId the new toneId
*/
public void setToneId(final String toneId) {
this.toneId = toneId;
}

/**
* Sets the toneName.
*
* @param toneName the new toneName
*/
public void setToneName(final String toneName) {
this.toneName = toneName;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,31 +68,4 @@ public String getToneId() {
public String getToneName() {
return toneName;
}

/**
* Sets the score.
*
* @param score the new score
*/
public void setScore(final Double score) {
this.score = score;
}

/**
* Sets the toneId.
*
* @param toneId the new toneId
*/
public void setToneId(final String toneId) {
this.toneId = toneId;
}

/**
* Sets the toneName.
*
* @param toneName the new toneName
*/
public void setToneName(final String toneName) {
this.toneName = toneName;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,4 @@ public List<UtteranceAnalysis> getUtterancesTone() {
public String getWarning() {
return warning;
}

/**
* Sets the utterancesTone.
*
* @param utterancesTone the new utterancesTone
*/
public void setUtterancesTone(final List<UtteranceAnalysis> utterancesTone) {
this.utterancesTone = utterancesTone;
}

/**
* Sets the warning.
*
* @param warning the new warning
*/
public void setWarning(final String warning) {
this.warning = warning;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,40 +76,4 @@ public List<ToneChatScore> getTones() {
public String getError() {
return error;
}

/**
* Sets the utteranceId.
*
* @param utteranceId the new utteranceId
*/
public void setUtteranceId(final long utteranceId) {
this.utteranceId = utteranceId;
}

/**
* Sets the utteranceText.
*
* @param utteranceText the new utteranceText
*/
public void setUtteranceText(final String utteranceText) {
this.utteranceText = utteranceText;
}

/**
* Sets the tones.
*
* @param tones the new tones
*/
public void setTones(final List<ToneChatScore> tones) {
this.tones = tones;
}

/**
* Sets the error.
*
* @param error the new error
*/
public void setError(final String error) {
this.error = error;
}
}