/
model_deprecated_entity.go
29 lines (28 loc) · 1.12 KB
/
model_deprecated_entity.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
/*
* AYLIEN News API
*
* The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.
*
* API version: 4.7
* Contact: support@aylien.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package newsapi
// DeprecatedEntity struct for DeprecatedEntity
type DeprecatedEntity struct {
// The unique ID of the entity
Id string `json:"id,omitempty"`
// The indices of the entity text
Indices [][]int32 `json:"indices,omitempty"`
Links EntityLinks `json:"links,omitempty"`
// Describes how relevant an entity is to the article
ProminenceScore float32 `json:"prominence_score,omitempty"`
Sentiment EntitySentiment `json:"sentiment,omitempty"`
// The stock_ticker of the entity (might be null)
StockTicker string `json:"stock_ticker,omitempty"`
SurfaceForms []DeprecatedEntitySurfaceForm `json:"surface_forms,omitempty"`
// The entity text
Text string `json:"text,omitempty"`
// An array of the entity types
Types []string `json:"types,omitempty"`
}