DetectLanguageSentimentsDetails

class oci.ai_language.models.DetectLanguageSentimentsDetails(**kwargs)

Bases: object

The document details for sentiments detect call.

Methods:

__init__(**kwargs)

Initializes a new DetectLanguageSentimentsDetails object with values from keyword arguments.

Attributes:

text

[Required] Gets the text of this DetectLanguageSentimentsDetails.

__init__(**kwargs)

Initializes a new DetectLanguageSentimentsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

text (str) – The value to assign to the text property of this DetectLanguageSentimentsDetails.

property text

[Required] Gets the text of this DetectLanguageSentimentsDetails. Document text for detect sentiments.

Returns

The text of this DetectLanguageSentimentsDetails.

Return type

str