Package com.github.oscerd.finnhub.models
Class CompanyNews
java.lang.Object
com.github.oscerd.finnhub.models.CompanyNews
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2024-03-22T10:38:13.551248835+01:00[Europe/Rome]")
public class CompanyNews
extends Object
CompanyNews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanNews category.Published time in UNIX timestamp.News headline.getId()News ID.getImage()Thumbnail image URL.Related stocks and companies mentioned in the article.News source.News summary.getUrl()URL of the original article.inthashCode()voidsetCategory(String category) voidsetDatetime(Long datetime) voidsetHeadline(String headline) voidvoidvoidsetRelated(String related) voidvoidsetSummary(String summary) voidtoString()
-
Constructor Details
-
CompanyNews
public CompanyNews()
-
-
Method Details
-
category
-
getCategory
News category.- Returns:
- category
-
setCategory
-
datetime
-
getDatetime
Published time in UNIX timestamp.- Returns:
- datetime
-
setDatetime
-
headline
-
getHeadline
News headline.- Returns:
- headline
-
setHeadline
-
id
-
getId
News ID. This value can be used for <code>minId</code> params to get the latest news only.- Returns:
- id
-
setId
-
image
-
getImage
Thumbnail image URL.- Returns:
- image
-
setImage
-
getRelated
Related stocks and companies mentioned in the article.- Returns:
- related
-
setRelated
-
source
-
getSource
News source.- Returns:
- source
-
setSource
-
summary
-
getSummary
News summary.- Returns:
- summary
-
setSummary
-
url
-
getUrl
URL of the original article.- Returns:
- url
-
setUrl
-
equals
-
hashCode
public int hashCode() -
toString
-