forked from Finnhub-Stock-API/finnhub-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_news.go
31 lines (30 loc) · 980 Bytes
/
model_news.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* Finnhub API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* API version: 1.0.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package finnhub
// News struct for News
type News struct {
// News category.
Category string `json:"category,omitempty"`
// Published time in UNIX timestamp.
Datetime int64 `json:"datetime,omitempty"`
// News headline.
Headline string `json:"headline,omitempty"`
// News ID. This value can be used for <code>minId</code> params to get the latest news only.
Id int64 `json:"id,omitempty"`
// Thumbnail image URL.
Image string `json:"image,omitempty"`
// Related stocks and companies mentioned in the article.
Related string `json:"related,omitempty"`
// News source.
Source string `json:"source,omitempty"`
// News summary.
Summary string `json:"summary,omitempty"`
// URL of the original article.
Url string `json:"url,omitempty"`
}