5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-23 07:01:41 +00:00
matterbridge/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go
2020-03-22 00:02:48 +01:00

92 lines
2.5 KiB
Go

// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
// Search undocumented
type Search struct {
// Entity is the base model of Search
Entity
}
// SearchHit undocumented
type SearchHit struct {
// Object is the base model of SearchHit
Object
// _id undocumented
_id *string `json:"_id,omitempty"`
// _score undocumented
_score *int `json:"_score,omitempty"`
// _sortField undocumented
_sortField *string `json:"_sortField,omitempty"`
// _summary undocumented
_summary *string `json:"_summary,omitempty"`
// _source undocumented
_source *Entity `json:"_source,omitempty"`
}
// SearchHitsContainer undocumented
type SearchHitsContainer struct {
// Object is the base model of SearchHitsContainer
Object
// Hits undocumented
Hits []SearchHit `json:"hits,omitempty"`
// Total undocumented
Total *int `json:"total,omitempty"`
// MoreResultsAvailable undocumented
MoreResultsAvailable *bool `json:"moreResultsAvailable,omitempty"`
}
// SearchQuery undocumented
type SearchQuery struct {
// Object is the base model of SearchQuery
Object
// Query_string undocumented
Query_string *SearchQueryString `json:"query_string,omitempty"`
}
// SearchQueryString undocumented
type SearchQueryString struct {
// Object is the base model of SearchQueryString
Object
// Query undocumented
Query *string `json:"query,omitempty"`
}
// SearchRequestObject undocumented
type SearchRequestObject struct {
// Object is the base model of SearchRequestObject
Object
// EntityTypes undocumented
EntityTypes []EntityType `json:"entityTypes,omitempty"`
// ContentSources undocumented
ContentSources []string `json:"contentSources,omitempty"`
// Query undocumented
Query *SearchQuery `json:"query,omitempty"`
// From undocumented
From *int `json:"from,omitempty"`
// Size undocumented
Size *int `json:"size,omitempty"`
// Stored_fields undocumented
Stored_fields []string `json:"stored_fields,omitempty"`
// EnableTopResults undocumented
EnableTopResults *bool `json:"enableTopResults,omitempty"`
}
// SearchResponse undocumented
type SearchResponse struct {
// Object is the base model of SearchResponse
Object
// SearchTerms undocumented
SearchTerms []string `json:"searchTerms,omitempty"`
// HitsContainers undocumented
HitsContainers []SearchHitsContainer `json:"hitsContainers,omitempty"`
}
// SearchResult undocumented
type SearchResult struct {
// Object is the base model of SearchResult
Object
// OnClickTelemetryURL undocumented
OnClickTelemetryURL *string `json:"onClickTelemetryUrl,omitempty"`
}