query

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 2 Imported by: 14

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 WithExpand

func WithExpand(queryExpand string) ParamOptions

func WithFilter

func WithFilter(queryFilter string) ParamOptions

func WithFormat

func WithFormat(queryFormat string) ParamOptions

func WithIncludeNonDeleted

func WithIncludeNonDeleted(queryIncludeNonDeleted bool) ParamOptions

func WithLimit

func WithLimit(queryLimit int64) ParamOptions

func WithManagedBy added in v1.0.0

func WithManagedBy(queryManagedBy string) ParamOptions

func WithNextLogin added in v1.0.0

func WithNextLogin(queryNextLogin string) ParamOptions

func WithOauthTokens

func WithOauthTokens(queryOauthTokens bool) ParamOptions

func WithProvider

func WithProvider(queryProvider string) ParamOptions

func WithQ

func WithQ(queryQ string) ParamOptions

func WithQueryScope

func WithQueryScope(queryQueryScope string) ParamOptions

func WithRemoveUsers

func WithRemoveUsers(queryRemoveUsers bool) ParamOptions

func WithSearch

func WithSearch(querySearch string) ParamOptions

func WithSendEmail

func WithSendEmail(querySendEmail bool) ParamOptions

func WithShowAll

func WithShowAll(queryShowAll bool) ParamOptions

func WithSince

func WithSince(querySince string) ParamOptions

func WithSortOrder

func WithSortOrder(querySortOrder string) ParamOptions

func WithStatus added in v1.0.0

func WithStatus(queryStatus string) ParamOptions

func WithStrict added in v1.0.0

func WithStrict(queryStrict bool) ParamOptions

func WithTargetAid

func WithTargetAid(queryTargetAid string) ParamOptions

func WithTempPassword

func WithTempPassword(queryTempPassword bool) ParamOptions

func WithTemplateId

func WithTemplateId(queryTemplateId string) ParamOptions

func WithTokenLifetimeSeconds added in v1.0.0

func WithTokenLifetimeSeconds(queryTokenLifetimeSeconds int64) ParamOptions

func WithType added in v1.0.0

func WithType(queryType string) ParamOptions

func WithUntil

func WithUntil(queryUntil string) ParamOptions

func WithUpdatePhone

func WithUpdatePhone(queryUpdatePhone bool) 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"`
	TargetAid            string `json:"targetAid,omitempty"`
	QueryScope           string `json:"query_scope,omitempty"`
	SendEmail            *bool  `json:"sendEmail,omitempty"`
	RemoveUsers          *bool  `json:"removeUsers,omitempty"`
	ManagedBy            string `json:"managedBy,omitempty"`
	Until                string `json:"until,omitempty"`
	Since                string `json:"since,omitempty"`
	SortOrder            string `json:"sortOrder,omitempty"`
	Type                 string `json:"type,omitempty"`
	Status               string `json:"status,omitempty"`
	Format               string `json:"format,omitempty"`
	Search               string `json:"search,omitempty"`
	Provider             string `json:"provider,omitempty"`
	NextLogin            string `json:"nextLogin,omitempty"`
	Strict               *bool  `json:"strict,omitempty"`
	ShowAll              *bool  `json:"showAll,omitempty"`
	UpdatePhone          *bool  `json:"updatePhone,omitempty"`
	TemplateId           string `json:"templateId,omitempty"`
	TokenLifetimeSeconds int64  `json:"tokenLifetimeSeconds,omitempty"`
	TempPassword         *bool  `json:"tempPassword,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