summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go
blob: 4e38406e1122a0bb081e7495c00136f45155395b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Code generated by msgraph.go/gen 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"`
}