diff options
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"` +} |