-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_feature_view.go
23 lines (22 loc) · 1.28 KB
/
model_feature_view.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package api
type FeatureView struct {
FeatureViewId int `json:"feature_view_id"`
ProjectId int `json:"project_id"`
ProjectName string `json:"project_name,omitempty"`
Name string `json:"name,omitempty"`
FeatureEntityId int `json:"feature_entity_id,omitempty"`
FeatureEntityName string `json:"feature_entity_name,omitempty"`
Owner string `json:"owner"`
Type string `json:"type"`
Online bool `json:"online"`
IsRegister bool `json:"is_register"`
RegisterTable string `json:"register_table"`
RegisterDatasourceId int `json:"register_datasource_id"`
Ttl int `json:"ttl"`
Tags []string `json:"tags"`
Config string `json:"config"`
LasySyncConfig string `json:"last_sync_config"`
Fields []*FeatureViewFields `json:"fields"`
RegisterDataSource *Datasource `json:"register_datasource,omitempty"`
WriteToFeatureDB bool `json:"write_to_featuredb"`
}