Help us shape the future of Go! Take the 2026 Go Developer Survey

query

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	// contains filtered or unexported fields
}

Query

func NewQuery

func NewQuery() *Query

NewQuery instantiates a new query and sets the default values.

func (*Query) GetAdditionalData

func (m *Query) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Query) GetFieldDeserializers

func (m *Query) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error

GetFieldDeserializers the deserialization information for the current model

func (*Query) GetHitsContainers

GetHitsContainers gets the hitsContainers property value. A collection of search results.

func (*Query) GetQueryAlterationResponse added in v0.9.0

GetQueryAlterationResponse gets the queryAlterationResponse property value. Provides details of query alteration response for spelling correction.

func (*Query) GetResultTemplates added in v0.9.0

GetResultTemplates gets the resultTemplates property value. A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.

func (*Query) GetSearchTerms

func (m *Query) GetSearchTerms() []string

GetSearchTerms gets the searchTerms property value. Contains the search terms sent in the initial search query.

func (*Query) IsNil

func (m *Query) IsNil() bool

func (*Query) Serialize

Serialize serializes information the current object

func (*Query) SetAdditionalData

func (m *Query) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*Query) SetHitsContainers

SetHitsContainers sets the hitsContainers property value. A collection of search results.

func (*Query) SetQueryAlterationResponse added in v0.9.0

SetQueryAlterationResponse sets the queryAlterationResponse property value. Provides details of query alteration response for spelling correction.

func (*Query) SetResultTemplates added in v0.9.0

SetResultTemplates sets the resultTemplates property value. A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.

func (*Query) SetSearchTerms

func (m *Query) SetSearchTerms(value []string)

SetSearchTerms sets the searchTerms property value. Contains the search terms sent in the initial search query.

type QueryRequestBody

type QueryRequestBody struct {
	// contains filtered or unexported fields
}

QueryRequestBody

func NewQueryRequestBody

func NewQueryRequestBody() *QueryRequestBody

NewQueryRequestBody instantiates a new queryRequestBody and sets the default values.

func (*QueryRequestBody) GetAdditionalData

func (m *QueryRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*QueryRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*QueryRequestBody) GetRequests

GetRequests gets the requests property value.

func (*QueryRequestBody) IsNil

func (m *QueryRequestBody) IsNil() bool

func (*QueryRequestBody) Serialize

Serialize serializes information the current object

func (*QueryRequestBody) SetAdditionalData

func (m *QueryRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*QueryRequestBody) SetRequests

SetRequests sets the requests property value.

type QueryRequestBuilder

type QueryRequestBuilder struct {
	// contains filtered or unexported fields
}

QueryRequestBuilder builds and executes requests for operations under \search\microsoft.graph.query

func NewQueryRequestBuilder

NewQueryRequestBuilder instantiates a new QueryRequestBuilder and sets the default values.

func NewQueryRequestBuilderInternal

func NewQueryRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *QueryRequestBuilder

NewQueryRequestBuilderInternal instantiates a new QueryRequestBuilder and sets the default values.

func (*QueryRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation invoke action query

func (*QueryRequestBuilder) Post

Post invoke action query

type QueryRequestBuilderPostOptions

type QueryRequestBuilderPostOptions struct {
	//
	Body *QueryRequestBody
	// Request headers
	H map[string]string
	// Request options
	O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
	// Response handler to use in place of the default response handling provided by the core service
	ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}

QueryRequestBuilderPostOptions options for Post

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL