com.microsoft.azure.cognitiveservices.language.textanalytics.models.SentimentOptionalParameter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-textanalytics Show documentation
Show all versions of azure-cognitiveservices-textanalytics Show documentation
This package contains Microsoft Cognitive Service Text Analytics SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.language.textanalytics.models;
import java.util.List;
/**
* The SentimentOptionalParameter model.
*/
public class SentimentOptionalParameter {
/**
* The documents property.
*/
private List documents;
/**
* Gets or sets the preferred language for the response.
*/
private String thisclientacceptLanguage;
/**
* Get the documents value.
*
* @return the documents value
*/
public List documents() {
return this.documents;
}
/**
* Set the documents value.
*
* @param documents the documents value to set
* @return the SentimentOptionalParameter object itself.
*/
public SentimentOptionalParameter withDocuments(List documents) {
this.documents = documents;
return this;
}
/**
* Get the thisclientacceptLanguage value.
*
* @return the thisclientacceptLanguage value
*/
public String thisclientacceptLanguage() {
return this.thisclientacceptLanguage;
}
/**
* Set the thisclientacceptLanguage value.
*
* @param thisclientacceptLanguage the thisclientacceptLanguage value to set
* @return the SentimentOptionalParameter object itself.
*/
public SentimentOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage) {
this.thisclientacceptLanguage = thisclientacceptLanguage;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy