diff options
author | Qais Patankar <qaisjp@gmail.com> | 2020-03-15 22:43:46 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2020-03-22 00:02:48 +0100 |
commit | 76e5fe5a87d7e60919075f96eee599f3c6255a9f (patch) | |
tree | af3181ad6aadaea02069473a3718a827be888426 /vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go | |
parent | 802c80f40c709ba4967de317e40a8d6abe57f6be (diff) | |
download | matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.gz matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.bz2 matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.zip |
Update vendor yaegashi/msgraph.go to v0.1.2 (2)
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go b/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go new file mode 100644 index 00000000..4aa68d09 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go @@ -0,0 +1,91 @@ +// 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"` +} |