query

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 42

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParamOptions

type ParamOptions func(*Params)

func WithActivate

func WithActivate(queryActivate bool) ParamOptions

func WithAfter

func WithAfter(queryAfter string) ParamOptions

func WithCursor

func WithCursor(queryCursor string) ParamOptions

func WithDisableNotifications

func WithDisableNotifications(queryDisableNotifications bool) ParamOptions

func WithExpand

func WithExpand(queryExpand string) ParamOptions

func WithFilter

func WithFilter(queryFilter string) ParamOptions

func WithIncludeNonDeleted

func WithIncludeNonDeleted(queryIncludeNonDeleted bool) ParamOptions

func WithKid added in v2.17.0

func WithKid(queryKid string) ParamOptions

func WithLimit

func WithLimit(queryLimit int64) ParamOptions

func WithMode

func WithMode(queryMode string) ParamOptions

func WithNextLogin

func WithNextLogin(queryNextLogin string) ParamOptions

func WithOauthTokens

func WithOauthTokens(queryOauthTokens bool) ParamOptions

func WithProvider

func WithProvider(queryProvider interface{}) ParamOptions

func WithQ

func WithQ(queryQ string) ParamOptions

func WithQueryScope

func WithQueryScope(queryQueryScope string) ParamOptions

func WithRemoveUsers added in v2.5.2

func WithRemoveUsers(queryRemoveUsers bool) ParamOptions

func WithScopeId

func WithScopeId(queryScopeId string) ParamOptions

func WithSearch

func WithSearch(querySearch string) ParamOptions

func WithSendEmail

func WithSendEmail(querySendEmail bool) ParamOptions

func WithSince

func WithSince(querySince string) ParamOptions

func WithSortBy

func WithSortBy(querySortBy string) ParamOptions

func WithSortOrder

func WithSortOrder(querySortOrder string) ParamOptions

func WithSourceId added in v2.5.2

func WithSourceId(querySourceId string) ParamOptions

func WithStatus

func WithStatus(queryStatus string) ParamOptions

func WithStrict

func WithStrict(queryStrict bool) ParamOptions

func WithTargetAid

func WithTargetAid(queryTargetAid string) ParamOptions

func WithTargetId added in v2.5.2

func WithTargetId(queryTargetId string) ParamOptions

func WithTargetIdpId

func WithTargetIdpId(queryTargetIdpId string) ParamOptions

func WithTemplateId

func WithTemplateId(queryTemplateId string) ParamOptions

func WithTemplateType

func WithTemplateType(queryTemplateType string) ParamOptions

func WithTokenLifetimeSeconds

func WithTokenLifetimeSeconds(queryTokenLifetimeSeconds int64) ParamOptions

func WithType

func WithType(queryType string) ParamOptions

func WithUntil

func WithUntil(queryUntil string) ParamOptions

func WithUpdatePhone

func WithUpdatePhone(queryUpdatePhone bool) ParamOptions

func WithValidityYears

func WithValidityYears(queryValidityYears int64) ParamOptions

type Params

type Params struct {
	Q                    string      `json:"q,omitempty"`
	After                string      `json:"after,omitempty"`
	Limit                int64       `json:"limit,omitempty"`
	Filter               string      `json:"filter,omitempty"`
	Expand               string      `json:"expand,omitempty"`
	IncludeNonDeleted    *bool       `json:"includeNonDeleted,omitempty"`
	Activate             *bool       `json:"activate,omitempty"`
	ValidityYears        int64       `json:"validityYears,omitempty"`
	TargetAid            string      `json:"targetAid,omitempty"`
	Kid                  string      `json:"kid,omitempty"`
	QueryScope           string      `json:"query_scope,omitempty"`
	SendEmail            *bool       `json:"sendEmail,omitempty"`
	Cursor               string      `json:"cursor,omitempty"`
	Mode                 string      `json:"mode,omitempty"`
	Search               string      `json:"search,omitempty"`
	RemoveUsers          *bool       `json:"removeUsers,omitempty"`
	DisableNotifications *bool       `json:"disableNotifications,omitempty"`
	Type                 string      `json:"type,omitempty"`
	TargetIdpId          string      `json:"targetIdpId,omitempty"`
	Since                string      `json:"since,omitempty"`
	Until                string      `json:"until,omitempty"`
	SortOrder            string      `json:"sortOrder,omitempty"`
	SourceId             string      `json:"sourceId,omitempty"`
	TargetId             string      `json:"targetId,omitempty"`
	Status               string      `json:"status,omitempty"`
	TemplateType         string      `json:"templateType,omitempty"`
	SortBy               string      `json:"sortBy,omitempty"`
	Provider             interface{} `json:"provider,omitempty"`
	NextLogin            string      `json:"nextLogin,omitempty"`
	Strict               *bool       `json:"strict,omitempty"`
	UpdatePhone          *bool       `json:"updatePhone,omitempty"`
	TemplateId           string      `json:"templateId,omitempty"`
	TokenLifetimeSeconds int64       `json:"tokenLifetimeSeconds,omitempty"`
	ScopeId              string      `json:"scopeId,omitempty"`
	OauthTokens          *bool       `json:"oauthTokens,omitempty"`
}

func NewQueryParams

func NewQueryParams(paramOpt ...ParamOptions) *Params

func (*Params) String

func (p *Params) String() string

Jump to

Keyboard shortcuts

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