issuing

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlGroupControl

type ControlGroupControl struct {
	ControlType   ControlGroupControlType `json:"control_type,omitempty"`
	Description   string                  `json:"description,omitempty"`
	MccLimit      *MccGroupLimit          `json:"mcc_limit,omitempty"`
	MidLimit      *MidGroupLimit          `json:"mid_limit,omitempty"`
	VelocityLimit *VelocityGroupLimit     `json:"velocity_limit,omitempty"`
}

type ControlGroupControlType

type ControlGroupControlType string
const (
	VelocityLimitControlType ControlGroupControlType = "velocity_limit"
	MccLimitControlType      ControlGroupControlType = "mcc_limit"
	MidLimitControlType      ControlGroupControlType = "mid_limit"
)

type ControlGroupResponse

type ControlGroupResponse struct {
	HttpMetadata     common.HttpMetadata
	Id               string                 `json:"id,omitempty"`
	TargetId         string                 `json:"target_id,omitempty"`
	FailIf           FailIfType             `json:"fail_if,omitempty"`
	Controls         []ControlGroupControl  `json:"controls,omitempty"`
	IsEditable       *bool                  `json:"is_editable,omitempty"`
	Description      string                 `json:"description,omitempty"`
	CreatedDate      *time.Time             `json:"created_date,omitempty"`
	LastModifiedDate *time.Time             `json:"last_modified_date,omitempty"`
	Links            map[string]common.Link `json:"_links,omitempty"`
}

type ControlGroupsQuery

type ControlGroupsQuery struct {
	TargetId string `url:"target_id,omitempty"`
}

type ControlGroupsResponse

type ControlGroupsResponse struct {
	HttpMetadata  common.HttpMetadata
	ControlGroups []ControlGroupResponse `json:"control_groups,omitempty"`
}

type CreateControlGroupRequest

type CreateControlGroupRequest struct {
	TargetId    string                `json:"target_id,omitempty"`
	FailIf      FailIfType            `json:"fail_if,omitempty"`
	Controls    []ControlGroupControl `json:"controls,omitempty"`
	Description string                `json:"description,omitempty"`
}

type FailIfType

type FailIfType string
const (
	AllFail FailIfType = "all_fail"
	AnyFail FailIfType = "any_fail"
)

type LimitControlType

type LimitControlType string
const (
	Allow LimitControlType = "allow"
	Block LimitControlType = "block"
)

type MccGroupLimit

type MccGroupLimit struct {
	Type    LimitControlType `json:"type,omitempty"`
	MccList []string         `json:"mcc_list,omitempty"`
}

type MidGroupLimit

type MidGroupLimit struct {
	Type    LimitControlType `json:"type,omitempty"`
	MidList []string         `json:"mid_list,omitempty"`
}

type VelocityGroupLimit

type VelocityGroupLimit struct {
	AmountLimit    int64          `json:"amount_limit,omitempty"`
	VelocityWindow VelocityWindow `json:"velocity_window"`
	MccList        []string       `json:"mcc_list,omitempty"`
	MidList        []string       `json:"mid_list,omitempty"`
}

type VelocityWindow

type VelocityWindow struct {
	Type VelocityWindowType `json:"type,omitempty"`
}

type VelocityWindowType

type VelocityWindowType string
const (
	Daily   VelocityWindowType = "daily"
	Weekly  VelocityWindowType = "weekly"
	Monthly VelocityWindowType = "monthly"
	AllTime VelocityWindowType = "all_time"
)

Jump to

Keyboard shortcuts

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