apis

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreditScoreRequest

type CreditScoreRequest struct {
	core.JDCloudRequest

	/* 检测任务列表,包含一个或多个元素。每个元素是个结构体,最多可添加100元素,即最多对100个数据进行评分。每个元素的具体结构描述见creditTask。 (Optional) */
	Tasks []bri.CreditTask `json:"tasks"`
}

func NewCreditScoreRequest

func NewCreditScoreRequest() *CreditScoreRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewCreditScoreRequestWithAllParams

func NewCreditScoreRequestWithAllParams(
	tasks []bri.CreditTask,
) *CreditScoreRequest

* param tasks: 检测任务列表,包含一个或多个元素。每个元素是个结构体,最多可添加100元素,即最多对100个数据进行评分。每个元素的具体结构描述见creditTask。 (Optional)

func NewCreditScoreRequestWithoutParam

func NewCreditScoreRequestWithoutParam() *CreditScoreRequest

This constructor has better compatible ability when API parameters changed

func (CreditScoreRequest) GetRegionId

func (r CreditScoreRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreditScoreRequest) SetTasks

func (r *CreditScoreRequest) SetTasks(tasks []bri.CreditTask)

param tasks: 检测任务列表,包含一个或多个元素。每个元素是个结构体,最多可添加100元素,即最多对100个数据进行评分。每个元素的具体结构描述见creditTask。(Optional)

type CreditScoreResponse

type CreditScoreResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreditScoreResult  `json:"result"`
}

type CreditScoreResult

type CreditScoreResult struct {
	Data []bri.CreditResult `json:"data"`
}

type DelBWListRequest

type DelBWListRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 黑白名单ID, 多个用逗号分隔  */
	Id string `json:"id"`
}

func NewDelBWListRequest

func NewDelBWListRequest(
	regionId string,
	id string,
) *DelBWListRequest

* param regionId: 实例所属的地域ID (Required) * param id: 黑白名单ID, 多个用逗号分隔 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDelBWListRequestWithAllParams

func NewDelBWListRequestWithAllParams(
	regionId string,
	id string,
) *DelBWListRequest

* param regionId: 实例所属的地域ID (Required) * param id: 黑白名单ID, 多个用逗号分隔 (Required)

func NewDelBWListRequestWithoutParam

func NewDelBWListRequestWithoutParam() *DelBWListRequest

This constructor has better compatible ability when API parameters changed

func (DelBWListRequest) GetRegionId

func (r DelBWListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DelBWListRequest) SetId

func (r *DelBWListRequest) SetId(id string)

param id: 黑白名单ID, 多个用逗号分隔(Required)

func (*DelBWListRequest) SetRegionId

func (r *DelBWListRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

type DelBWListResponse

type DelBWListResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DelBWListResult    `json:"result"`
}

type DelBWListResult

type DelBWListResult struct {
}

type DescribeBWListRequest

type DescribeBWListRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 数据类型,不传或者为空返回所有类型数据,ip-IP,phone-手机,addr-地址,card-身份,pin-账户,eid-设备 (Optional) */
	ResourceType *string `json:"resourceType"`

	/* 数据类型,不传或者为空返回所有类型数据,列表类型,black-黑名单,white-白名单 (Optional) */
	BwType *string `json:"bwType"`

	/* 页面大小,缺省为10 (Optional) */
	Size *int `json:"size"`

	/* 起始页,缺省为1 (Optional) */
	Index *int `json:"index"`
}

func NewDescribeBWListRequest

func NewDescribeBWListRequest(
	regionId string,
) *DescribeBWListRequest

* param regionId: 实例所属的地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeBWListRequestWithAllParams

func NewDescribeBWListRequestWithAllParams(
	regionId string,
	resourceType *string,
	bwType *string,
	size *int,
	index *int,
) *DescribeBWListRequest

* param regionId: 实例所属的地域ID (Required) * param resourceType: 数据类型,不传或者为空返回所有类型数据,ip-IP,phone-手机,addr-地址,card-身份,pin-账户,eid-设备 (Optional) * param bwType: 数据类型,不传或者为空返回所有类型数据,列表类型,black-黑名单,white-白名单 (Optional) * param size: 页面大小,缺省为10 (Optional) * param index: 起始页,缺省为1 (Optional)

func NewDescribeBWListRequestWithoutParam

func NewDescribeBWListRequestWithoutParam() *DescribeBWListRequest

This constructor has better compatible ability when API parameters changed

func (DescribeBWListRequest) GetRegionId

func (r DescribeBWListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DescribeBWListRequest) SetBwType

func (r *DescribeBWListRequest) SetBwType(bwType string)

param bwType: 数据类型,不传或者为空返回所有类型数据,列表类型,black-黑名单,white-白名单(Optional)

func (*DescribeBWListRequest) SetIndex

func (r *DescribeBWListRequest) SetIndex(index int)

param index: 起始页,缺省为1(Optional)

func (*DescribeBWListRequest) SetRegionId

func (r *DescribeBWListRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*DescribeBWListRequest) SetResourceType

func (r *DescribeBWListRequest) SetResourceType(resourceType string)

param resourceType: 数据类型,不传或者为空返回所有类型数据,ip-IP,phone-手机,addr-地址,card-身份,pin-账户,eid-设备(Optional)

func (*DescribeBWListRequest) SetSize

func (r *DescribeBWListRequest) SetSize(size int)

param size: 页面大小,缺省为10(Optional)

type DescribeBWListResponse

type DescribeBWListResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DescribeBWListResult `json:"result"`
}

type DescribeBWListResult

type DescribeBWListResult struct {
	TotalCount int         `json:"totalCount"`
	Index      int         `json:"index"`
	Size       int         `json:"size"`
	List       []bri.Bwcfg `json:"list"`
}

type SetBWListRequest

type SetBWListRequest struct {
	core.JDCloudRequest

	/* 实例所属的地域ID  */
	RegionId string `json:"regionId"`

	/* 黑白名单数据  */
	Req *bri.BwcfgSet `json:"req"`
}

func NewSetBWListRequest

func NewSetBWListRequest(
	regionId string,
	req *bri.BwcfgSet,
) *SetBWListRequest

* param regionId: 实例所属的地域ID (Required) * param req: 黑白名单数据 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetBWListRequestWithAllParams

func NewSetBWListRequestWithAllParams(
	regionId string,
	req *bri.BwcfgSet,
) *SetBWListRequest

* param regionId: 实例所属的地域ID (Required) * param req: 黑白名单数据 (Required)

func NewSetBWListRequestWithoutParam

func NewSetBWListRequestWithoutParam() *SetBWListRequest

This constructor has better compatible ability when API parameters changed

func (SetBWListRequest) GetRegionId

func (r SetBWListRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*SetBWListRequest) SetRegionId

func (r *SetBWListRequest) SetRegionId(regionId string)

param regionId: 实例所属的地域ID(Required)

func (*SetBWListRequest) SetReq

func (r *SetBWListRequest) SetReq(req *bri.BwcfgSet)

param req: 黑白名单数据(Required)

type SetBWListResponse

type SetBWListResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    SetBWListResult    `json:"result"`
}

type SetBWListResult

type SetBWListResult struct {
}

Jump to

Keyboard shortcuts

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