Documentation ¶
Index ¶
- type ParamOptions
- func WithActivate(activate bool) ParamOptions
- func WithAfter(after string) ParamOptions
- func WithExpand(expand string) ParamOptions
- func WithFilter(filter string) ParamOptions
- func WithFormat(format string) ParamOptions
- func WithIncludeNonDeleted(includeNonDeleted bool) ParamOptions
- func WithLimit(limit int64) ParamOptions
- func WithOauthTokens(oauthTokens bool) ParamOptions
- func WithProvider(provider string) ParamOptions
- func WithQ(q string) ParamOptions
- func WithQueryScope(query_scope string) ParamOptions
- func WithRemoveUsers(removeUsers bool) ParamOptions
- func WithSearch(search string) ParamOptions
- func WithSendEmail(sendEmail bool) ParamOptions
- func WithShowAll(showAll bool) ParamOptions
- func WithSince(since string) ParamOptions
- func WithSortOrder(sortOrder string) ParamOptions
- func WithTargetAid(targetAid string) ParamOptions
- func WithTempPassword(tempPassword bool) ParamOptions
- func WithTemplateId(templateId string) ParamOptions
- func WithUntil(until string) ParamOptions
- func WithUpdatePhone(updatePhone bool) ParamOptions
- type Params
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(activate bool) ParamOptions
func WithAfter ¶
func WithAfter(after string) ParamOptions
func WithExpand ¶
func WithExpand(expand string) ParamOptions
func WithFilter ¶
func WithFilter(filter string) ParamOptions
func WithFormat ¶
func WithFormat(format string) ParamOptions
func WithIncludeNonDeleted ¶
func WithIncludeNonDeleted(includeNonDeleted bool) ParamOptions
func WithLimit ¶
func WithLimit(limit int64) ParamOptions
func WithOauthTokens ¶
func WithOauthTokens(oauthTokens bool) ParamOptions
func WithProvider ¶
func WithProvider(provider string) ParamOptions
func WithQ ¶
func WithQ(q string) ParamOptions
func WithQueryScope ¶
func WithQueryScope(query_scope string) ParamOptions
func WithRemoveUsers ¶
func WithRemoveUsers(removeUsers bool) ParamOptions
func WithSearch ¶
func WithSearch(search string) ParamOptions
func WithSendEmail ¶
func WithSendEmail(sendEmail bool) ParamOptions
func WithShowAll ¶
func WithShowAll(showAll bool) ParamOptions
func WithSince ¶
func WithSince(since string) ParamOptions
func WithSortOrder ¶
func WithSortOrder(sortOrder string) ParamOptions
func WithTargetAid ¶
func WithTargetAid(targetAid string) ParamOptions
func WithTempPassword ¶
func WithTempPassword(tempPassword bool) ParamOptions
func WithTemplateId ¶
func WithTemplateId(templateId string) ParamOptions
func WithUntil ¶
func WithUntil(until string) ParamOptions
func WithUpdatePhone ¶
func WithUpdatePhone(updatePhone 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"` RemoveUsers *bool `json:"removeUsers,omitempty"` Until string `json:"until,omitempty"` Since string `json:"since,omitempty"` SortOrder string `json:"sortOrder,omitempty"` Format string `json:"format,omitempty"` Search string `json:"search,omitempty"` Provider string `json:"provider,omitempty"` ShowAll *bool `json:"showAll,omitempty"` SendEmail *bool `json:"sendEmail,omitempty"` UpdatePhone *bool `json:"updatePhone,omitempty"` TemplateId string `json:"templateId,omitempty"` TempPassword *bool `json:"tempPassword,omitempty"` OauthTokens *bool `json:"oauthTokens,omitempty"` }
func NewQueryParams ¶
func NewQueryParams(paramOpt ...ParamOptions) *Params
Click to show internal directories.
Click to hide internal directories.