query

package
v3.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiVersion                 string = "api-version"
	Count                      string = "$count"
	Expand                     string = "$expand"
	Filter                     string = "$filter"
	Format                     string = "$format"
	IncludeDeleted             string = "$include"
	IncludeAllTenantCategories string = "$includeAllTenantCategories"
	MaxPageSize                string = "$maxpagesize"
	OrderBy                    string = "$orderby"
	Recurse                    string = "$recurse"
	Search                     string = "$search"
	Select                     string = "$select"
	Skip                       string = "$skip"
	SkipToken                  string = "$skipToken"
	StatusOnly                 string = "StatusOnly"
	TenantId                   string = "tenantId"
	Top                        string = "$top"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphParams

type GraphParams struct {
	Count     bool
	Expand    string
	Format    string
	Filter    string
	OrderBy   string
	Search    string
	Select    []string
	Skip      int
	Top       int32
	SkipToken string
}

func (GraphParams) AsMap

func (s GraphParams) AsMap() map[string]string

func (GraphParams) NeedsEventualConsistencyHeaderFlag

func (s GraphParams) NeedsEventualConsistencyHeaderFlag() bool

type Params

type Params interface {
	AsMap() map[string]string
	NeedsEventualConsistencyHeaderFlag() bool
}

type RMParams

type RMParams struct {
	ApiVersion                 string
	Expand                     string
	Filter                     string
	IncludeDeleted             string
	IncludeAllTenantCategories bool
	MaxPageSize                string
	Recurse                    bool
	SkipToken                  string
	StatusOnly                 bool
	TenantId                   string // For cross-tenant request
	Top                        int32
}

func (RMParams) AsMap

func (s RMParams) AsMap() map[string]string

func (RMParams) NeedsEventualConsistencyHeaderFlag

func (s RMParams) NeedsEventualConsistencyHeaderFlag() bool

Jump to

Keyboard shortcuts

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