summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelSearch.go
blob: 4e38406e1122a0bb081e7495c00136f45155395b (plain) (tree)
1
                                                
























































































                                                                              
// 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"`
}