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