api/model_feature_view.go (22 lines of code) (raw):
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"`
}