class AnalyzeSentimentResponse extends Collection (View source)

Properties

protected $collection_key
protected $documentSentimentType
protected $documentSentimentDataType
string $languageCode
bool $languageSupported
protected $sentencesType
protected $sentencesDataType

Methods

setDocumentSentiment(Sentiment $documentSentiment)

No description

getDocumentSentiment()

No description

setLanguageCode($languageCode)

No description

string
getLanguageCode()

No description

setLanguageSupported($languageSupported)

No description

bool
getLanguageSupported()

No description

setSentences($sentences)

No description

getSentences()

No description

Details

setDocumentSentiment(Sentiment $documentSentiment)

No description

Parameters

Sentiment $documentSentiment

Sentiment getDocumentSentiment()

No description

Return Value

Sentiment

setLanguageCode($languageCode)

No description

Parameters

$languageCode

string getLanguageCode()

No description

Return Value

string

setLanguageSupported($languageSupported)

No description

Parameters

$languageSupported

bool getLanguageSupported()

No description

Return Value

bool

setSentences($sentences)

No description

Parameters

$sentences

Sentence[] getSentences()

No description

Return Value

Sentence[]