query

package
v0.0.0-...-67c89e5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetByID

func AssetByID(code string) string

func AssetList

func AssetList() string

func CreateWithdrawRequestByID

func CreateWithdrawRequestByID(code string) string

func CreateWithdrawRequestList

func CreateWithdrawRequestList() string

Types

type AssetFilters

type AssetFilters struct {
	Owner  *string
	Policy *uint32
	State  *uint32
}

type AssetIncludes

type AssetIncludes struct {
	Owner bool
}

func (AssetIncludes) Prepare

func (p AssetIncludes) Prepare() url.Values

type AssetParams

type AssetParams struct {
	Includes   AssetIncludes
	Filters    AssetFilters
	PageParams page.Params
}

func (AssetParams) Prepare

func (p AssetParams) Prepare() url.Values

type CreateWithdrawRequestFilters

type CreateWithdrawRequestFilters struct {
	ReviewableRequestFilters
	Balance *string
	Asset   *string
}

type CreateWithdrawRequestIncludes

type CreateWithdrawRequestIncludes struct {
	ReviewableRequestIncludes
	Balance bool
	Asset   bool
}

func (CreateWithdrawRequestIncludes) Prepare

type CreateWithdrawRequestParams

type CreateWithdrawRequestParams struct {
	Includes   CreateWithdrawRequestIncludes
	Filters    CreateWithdrawRequestFilters
	PageParams page.Params
}

func (CreateWithdrawRequestParams) Prepare

type Params

type Params interface {
	Prepare() url.Values
}

type ReviewableRequestFilters

type ReviewableRequestFilters struct {
	State              *int
	Reviewer           *string
	Requestor          *string
	PendingTasks       *string
	PendingTasksAnyOf  *string
	PendingTasksNotSet *string
}

type ReviewableRequestIncludes

type ReviewableRequestIncludes struct {
	RequestDetails bool
}

func (ReviewableRequestIncludes) Prepare

func (p ReviewableRequestIncludes) Prepare() url.Values

Jump to

Keyboard shortcuts

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