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 Details

    • SentimentContent

      public SentimentContent()
  • Method Details

    • mention

      public SentimentContent mention(Long mention)
    • getMention

      public Long getMention()
      Number of mentions
      Returns:
      mention
    • setMention

      public void setMention(Long mention)
    • positiveMention

      public SentimentContent positiveMention(Long positiveMention)
    • getPositiveMention

      public Long getPositiveMention()
      Number of positive mentions
      Returns:
      positiveMention
    • setPositiveMention

      public void setPositiveMention(Long positiveMention)
    • negativeMention

      public SentimentContent negativeMention(Long negativeMention)
    • getNegativeMention

      public Long getNegativeMention()
      Number of negative mentions
      Returns:
      negativeMention
    • setNegativeMention

      public void setNegativeMention(Long negativeMention)
    • positiveScore

      public SentimentContent positiveScore(Float positiveScore)
    • getPositiveScore

      public Float getPositiveScore()
      Positive score. Range 0-1
      Returns:
      positiveScore
    • setPositiveScore

      public void setPositiveScore(Float positiveScore)
    • negativeScore

      public SentimentContent negativeScore(Float negativeScore)
    • getNegativeScore

      public Float getNegativeScore()
      Negative score. Range 0-1
      Returns:
      negativeScore
    • setNegativeScore

      public void setNegativeScore(Float negativeScore)
    • score

      public SentimentContent score(Float score)
    • getScore

      public Float getScore()
      Final score. Range: -1 to 1 with 1 is very positive and -1 is very negative
      Returns:
      score
    • setScore

      public void setScore(Float score)
    • atTime

      public SentimentContent atTime(String atTime)
    • getAtTime

      public String getAtTime()
      Period.
      Returns:
      atTime
    • setAtTime

      public void setAtTime(String atTime)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object