Package com.github.oscerd.finnhub.models
Class SentimentContent
java.lang.Object
com.github.oscerd.finnhub.models.SentimentContent
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-03-22T10:38:13.551248835+01:00[Europe/Rome]")
public class SentimentContent
extends Object
SentimentContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanPeriod.Number of mentionsNumber of negative mentionsNegative score.Number of positive mentionsPositive score.getScore()Final score.inthashCode()negativeMention(Long negativeMention) negativeScore(Float negativeScore) positiveMention(Long positiveMention) positiveScore(Float positiveScore) voidvoidsetMention(Long mention) voidsetNegativeMention(Long negativeMention) voidsetNegativeScore(Float negativeScore) voidsetPositiveMention(Long positiveMention) voidsetPositiveScore(Float positiveScore) voidtoString()
-
Constructor Details
-
SentimentContent
public SentimentContent()
-
-
Method Details
-
mention
-
getMention
Number of mentions- Returns:
- mention
-
setMention
-
positiveMention
-
getPositiveMention
Number of positive mentions- Returns:
- positiveMention
-
setPositiveMention
-
negativeMention
-
getNegativeMention
Number of negative mentions- Returns:
- negativeMention
-
setNegativeMention
-
positiveScore
-
getPositiveScore
Positive score. Range 0-1- Returns:
- positiveScore
-
setPositiveScore
-
negativeScore
-
getNegativeScore
Negative score. Range 0-1- Returns:
- negativeScore
-
setNegativeScore
-
score
-
getScore
Final score. Range: -1 to 1 with 1 is very positive and -1 is very negative- Returns:
- score
-
setScore
-
atTime
-
getAtTime
Period.- Returns:
- atTime
-
setAtTime
-
equals
-
hashCode
public int hashCode() -
toString
-