query

package
v2.0.1-0...-09e0ba5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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 string) ParamOptions

func WithExpand

func WithExpand(queryExpand string) ParamOptions

func WithFilter

func WithFilter(queryFilter string) ParamOptions

func WithIncludeNonDeleted

func WithIncludeNonDeleted(queryIncludeNonDeleted bool) 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 bool) ParamOptions

func WithQ

func WithQ(queryQ string) ParamOptions

func WithQueryScope

func WithQueryScope(queryQueryScope string) 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 WithStatus

func WithStatus(queryStatus string) ParamOptions

func WithStrict

func WithStrict(queryStrict bool) ParamOptions

func WithTargetAid

func WithTargetAid(queryTargetAid 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"`
	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"`
	DisableNotifications string `json:"disableNotifications,omitempty"`
	Type                 string `json:"type,omitempty"`
	TargetIdpId          string `json:"targetIdpId,omitempty"`
	Until                string `json:"until,omitempty"`
	Since                string `json:"since,omitempty"`
	SortOrder            string `json:"sortOrder,omitempty"`
	Status               string `json:"status,omitempty"`
	TemplateType         string `json:"templateType,omitempty"`
	SortBy               string `json:"sortBy,omitempty"`
	Provider             *bool  `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