C# Класс rosette_api.SentimentResponse

Наследование: RosetteResponse
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

Hashcode override

SentimentResponse ( HttpResponseMessage apiResult ) : System

Creates a SentimentResponse from the given apiResult

SentimentResponse ( RosetteSentiment docSentiment, List entitySentiments, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System

Creates a SentimentResponse from its components

Описание методов

Equals() публичный Метод

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
Результат bool

GetHashCode() публичный Метод

Hashcode override
public GetHashCode ( ) : int
Результат int

SentimentResponse() публичный Метод

Creates a SentimentResponse from the given apiResult
public SentimentResponse ( HttpResponseMessage apiResult ) : System
apiResult System.Net.Http.HttpResponseMessage The message from the API
Результат System

SentimentResponse() публичный Метод

Creates a SentimentResponse from its components
public SentimentResponse ( RosetteSentiment docSentiment, List entitySentiments, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
docSentiment RosetteSentiment The sentiment of the entire document/input text
entitySentiments List The entities, each with a sentiment, found in the input text
responseHeaders string>.Dictionary The response headers returned from the API
content object>.Dictionary The content (the doc and entity sentiments) in Dictionary form
contentAsJson string The content in JSON form
Результат System