search

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQueryPostRequestBodyFromDiscriminatorValue added in v0.49.0

CreateQueryPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateQueryPostResponseFromDiscriminatorValue added in v1.20.0

CreateQueryPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateQueryResponseFromDiscriminatorValue added in v0.49.0

CreateQueryResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type QueryPostRequestBody added in v0.49.0

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

func NewQueryPostRequestBody added in v0.49.0

func NewQueryPostRequestBody() *QueryPostRequestBody

NewQueryPostRequestBody instantiates a new QueryPostRequestBody and sets the default values.

func (*QueryPostRequestBody) GetAdditionalData added in v0.49.0

func (m *QueryPostRequestBody) GetAdditionalData() map[string]any

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. returns a map[string]any when successful

func (*QueryPostRequestBody) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*QueryPostRequestBody) GetFieldDeserializers added in v0.49.0

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*QueryPostRequestBody) GetRequests added in v0.49.0

GetRequests gets the requests property value. The requests property returns a []SearchRequestable when successful

func (*QueryPostRequestBody) Serialize added in v0.49.0

Serialize serializes information the current object

func (*QueryPostRequestBody) SetAdditionalData added in v0.49.0

func (m *QueryPostRequestBody) SetAdditionalData(value map[string]any)

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 (*QueryPostRequestBody) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*QueryPostRequestBody) SetRequests added in v0.49.0

SetRequests sets the requests property value. The requests property

type QueryPostResponse added in v1.20.0

func NewQueryPostResponse added in v1.20.0

func NewQueryPostResponse() *QueryPostResponse

NewQueryPostResponse instantiates a new QueryPostResponse and sets the default values.

func (*QueryPostResponse) GetFieldDeserializers added in v1.20.0

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*QueryPostResponse) GetValue added in v1.20.0

GetValue gets the value property value. The value property returns a []SearchResponseable when successful

func (*QueryPostResponse) Serialize added in v1.20.0

Serialize serializes information the current object

func (*QueryPostResponse) SetValue added in v1.20.0

SetValue sets the value property value. The value property

type QueryRequestBuilder added in v0.49.0

QueryRequestBuilder provides operations to call the query method.

func NewQueryRequestBuilder added in v0.49.0

NewQueryRequestBuilder instantiates a new QueryRequestBuilder and sets the default values.

func NewQueryRequestBuilderInternal added in v0.49.0

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

NewQueryRequestBuilderInternal instantiates a new QueryRequestBuilder and sets the default values.

func (*QueryRequestBuilder) Post added in v0.49.0

Post runs the query specified in the request body. Search results are provided in the response. Deprecated: This method is obsolete. Use PostAsQueryPostResponse instead. returns a QueryResponseable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*QueryRequestBuilder) PostAsQueryPostResponse added in v1.20.0

PostAsQueryPostResponse runs the query specified in the request body. Search results are provided in the response. returns a QueryPostResponseable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here

func (*QueryRequestBuilder) ToPostRequestInformation added in v0.51.0

ToPostRequestInformation runs the query specified in the request body. Search results are provided in the response. returns a *RequestInformation when successful

func (*QueryRequestBuilder) WithUrl added in v1.18.0

func (m *QueryRequestBuilder) WithUrl(rawUrl string) *QueryRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *QueryRequestBuilder when successful

type QueryRequestBuilderPostRequestConfiguration added in v0.49.0

type QueryRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

QueryRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type QueryResponse deprecated added in v0.49.0

type QueryResponse struct {
	QueryPostResponse
}

Deprecated: This class is obsolete. Use QueryPostResponseable instead.

func NewQueryResponse added in v0.49.0

func NewQueryResponse() *QueryResponse

NewQueryResponse instantiates a new QueryResponse and sets the default values.

type QueryResponseable deprecated added in v0.49.0

Deprecated: This class is obsolete. Use QueryPostResponseable instead.

type SearchRequestBuilder

SearchRequestBuilder provides operations to manage the searchEntity singleton.

func NewSearchRequestBuilder

NewSearchRequestBuilder instantiates a new SearchRequestBuilder and sets the default values.

func NewSearchRequestBuilderInternal

func NewSearchRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *SearchRequestBuilder

NewSearchRequestBuilderInternal instantiates a new SearchRequestBuilder and sets the default values.

func (*SearchRequestBuilder) Get

Get get search returns a SearchEntityable when successful returns a ODataError error when the service returns a 4XX or 5XX status code

func (*SearchRequestBuilder) Patch

Patch update search returns a SearchEntityable when successful returns a ODataError error when the service returns a 4XX or 5XX status code

func (*SearchRequestBuilder) Query

Query provides operations to call the query method. returns a *QueryRequestBuilder when successful

func (*SearchRequestBuilder) ToGetRequestInformation added in v0.51.0

ToGetRequestInformation get search returns a *RequestInformation when successful

func (*SearchRequestBuilder) ToPatchRequestInformation added in v0.51.0

ToPatchRequestInformation update search returns a *RequestInformation when successful

func (*SearchRequestBuilder) WithUrl added in v1.18.0

func (m *SearchRequestBuilder) WithUrl(rawUrl string) *SearchRequestBuilder

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *SearchRequestBuilder when successful

type SearchRequestBuilderGetQueryParameters

type SearchRequestBuilderGetQueryParameters struct {
	// Expand related entities
	Expand []string `uriparametername:"%24expand"`
	// Select properties to be returned
	Select []string `uriparametername:"%24select"`
}

SearchRequestBuilderGetQueryParameters get search

type SearchRequestBuilderGetRequestConfiguration added in v0.22.0

type SearchRequestBuilderGetRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
	// Request query parameters
	QueryParameters *SearchRequestBuilderGetQueryParameters
}

SearchRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

type SearchRequestBuilderPatchRequestConfiguration added in v0.22.0

type SearchRequestBuilderPatchRequestConfiguration struct {
	// Request headers
	Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

SearchRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

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