risk

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Risk"
	Style   = "RPC"
	Version = "2015-03-23"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) FindRisk

func (api API) FindRisk(CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*FindRiskResponse, error)

FindRisk version 2015-03-23

required parameters:

name: CodeType, type: string
name: IdType, type: string
name: MteeCode, type: string
name: UserId, type: string

optional parameters:

name: Collina, type: string
name: Email, type: string
name: Ip, type: string
name: Phone, type: string
name: UmidToken, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string

func (API) SendVerifyCode

func (api API) SendVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId string, optional openapi.M) (*SendVerifyCodeResponse, error)

SendVerifyCode version 2015-03-23

required parameters:

name: ChannelType, type: string
name: CodeType, type: string
name: IdType, type: string
name: MteeCode, type: string
name: UserId, type: string

optional parameters:

name: BizId, type: string
name: EventId, type: string
name: MessageReiver, type: string
name: RequestId, type: string
name: TimeInterval, type: int
name: _method, type: string, optional values: GET|POST
name: _region, type: string

func (API) ValidateVerifyCode

func (api API) ValidateVerifyCode(ChannelType, CodeType, IdType, MteeCode, UserId, VerifyCode string, optional openapi.M) (*ValidateVerifyCodeResponse, error)

ValidateVerifyCode version 2015-03-23

required parameters:

name: ChannelType, type: string
name: CodeType, type: string
name: IdType, type: string
name: MteeCode, type: string
name: UserId, type: string
name: VerifyCode, type: string

optional parameters:

name: Collina, type: string
name: Ip, type: string
name: RequestId, type: string
name: UmidToken, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string

type FindRiskResponse

type FindRiskResponse struct {
	Code string
	Data struct {
		Action  string
		Message string
		NoRisk  bool
		Tag     string
	}
}

FindRiskResponse represents the response of the api FindRisk.

type SendVerifyCodeResponse

type SendVerifyCodeResponse struct {
	Code string
}

SendVerifyCodeResponse represents the response of the api SendVerifyCode.

type ValidateVerifyCodeResponse

type ValidateVerifyCodeResponse struct {
	Code string
}

ValidateVerifyCodeResponse represents the response of the api ValidateVerifyCode.

Jump to

Keyboard shortcuts

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