apis

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDeleteVqdTasksRequest

type BatchDeleteVqdTasksRequest struct {
	core.JDCloudRequest

	/*  (Optional) */
	TaskIds []string `json:"taskIds"`
}

func NewBatchDeleteVqdTasksRequest

func NewBatchDeleteVqdTasksRequest() *BatchDeleteVqdTasksRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewBatchDeleteVqdTasksRequestWithAllParams

func NewBatchDeleteVqdTasksRequestWithAllParams(
	taskIds []string,
) *BatchDeleteVqdTasksRequest

* param taskIds: (Optional)

func NewBatchDeleteVqdTasksRequestWithoutParam

func NewBatchDeleteVqdTasksRequestWithoutParam() *BatchDeleteVqdTasksRequest

This constructor has better compatible ability when API parameters changed

func (BatchDeleteVqdTasksRequest) GetRegionId

func (r BatchDeleteVqdTasksRequest) GetRegionId() string

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

func (*BatchDeleteVqdTasksRequest) SetTaskIds

func (r *BatchDeleteVqdTasksRequest) SetTaskIds(taskIds []string)

param taskIds: (Optional)

type BatchDeleteVqdTasksResponse

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

type BatchDeleteVqdTasksResult

type BatchDeleteVqdTasksResult struct {
}

type BatchSubmitVqdTasksRequest

type BatchSubmitVqdTasksRequest struct {
	core.JDCloudRequest

	/* 媒体列表 (Optional) */
	MediaList []vqd.VqdMediaObject `json:"mediaList"`

	/* 检测模板ID  */
	TemplateId string `json:"templateId"`
}

func NewBatchSubmitVqdTasksRequest

func NewBatchSubmitVqdTasksRequest(
	templateId string,
) *BatchSubmitVqdTasksRequest

* param templateId: 检测模板ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewBatchSubmitVqdTasksRequestWithAllParams

func NewBatchSubmitVqdTasksRequestWithAllParams(
	mediaList []vqd.VqdMediaObject,
	templateId string,
) *BatchSubmitVqdTasksRequest

* param mediaList: 媒体列表 (Optional) * param templateId: 检测模板ID (Required)

func NewBatchSubmitVqdTasksRequestWithoutParam

func NewBatchSubmitVqdTasksRequestWithoutParam() *BatchSubmitVqdTasksRequest

This constructor has better compatible ability when API parameters changed

func (BatchSubmitVqdTasksRequest) GetRegionId

func (r BatchSubmitVqdTasksRequest) GetRegionId() string

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

func (*BatchSubmitVqdTasksRequest) SetMediaList

func (r *BatchSubmitVqdTasksRequest) SetMediaList(mediaList []vqd.VqdMediaObject)

param mediaList: 媒体列表(Optional)

func (*BatchSubmitVqdTasksRequest) SetTemplateId

func (r *BatchSubmitVqdTasksRequest) SetTemplateId(templateId string)

param templateId: 检测模板ID(Required)

type BatchSubmitVqdTasksResponse

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

type BatchSubmitVqdTasksResult

type BatchSubmitVqdTasksResult struct {
	TaskIds []string `json:"taskIds"`
}

type QueryCallbackRequest

type QueryCallbackRequest struct {
	core.JDCloudRequest
}

func NewQueryCallbackRequest

func NewQueryCallbackRequest() *QueryCallbackRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewQueryCallbackRequestWithAllParams

func NewQueryCallbackRequestWithAllParams() *QueryCallbackRequest

func NewQueryCallbackRequestWithoutParam

func NewQueryCallbackRequestWithoutParam() *QueryCallbackRequest

This constructor has better compatible ability when API parameters changed

func (QueryCallbackRequest) GetRegionId

func (r QueryCallbackRequest) GetRegionId() string

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

type QueryCallbackResponse

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

type QueryCallbackResult

type QueryCallbackResult struct {
	CallbackType   string   `json:"callbackType"`
	HttpUrl        string   `json:"httpUrl"`
	CallbackEvents []string `json:"callbackEvents"`
	CreateTime     string   `json:"createTime"`
	UpdateTime     string   `json:"updateTime"`
}

type SetCallbackRequest

type SetCallbackRequest struct {
	core.JDCloudRequest

	/* 回调方式,目前只支持 http  */
	CallbackType string `json:"callbackType"`

	/* HTTP方式的该字段为必选项 (Optional) */
	HttpUrl *string `json:"httpUrl"`

	/* 回调事件列表  */
	CallbackEvents []string `json:"callbackEvents"`
}

func NewSetCallbackRequest

func NewSetCallbackRequest(
	callbackType string,
	callbackEvents []string,
) *SetCallbackRequest

* param callbackType: 回调方式,目前只支持 http (Required) * param callbackEvents: 回调事件列表 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewSetCallbackRequestWithAllParams

func NewSetCallbackRequestWithAllParams(
	callbackType string,
	httpUrl *string,
	callbackEvents []string,
) *SetCallbackRequest

* param callbackType: 回调方式,目前只支持 http (Required) * param httpUrl: HTTP方式的该字段为必选项 (Optional) * param callbackEvents: 回调事件列表 (Required)

func NewSetCallbackRequestWithoutParam

func NewSetCallbackRequestWithoutParam() *SetCallbackRequest

This constructor has better compatible ability when API parameters changed

func (SetCallbackRequest) GetRegionId

func (r SetCallbackRequest) GetRegionId() string

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

func (*SetCallbackRequest) SetCallbackEvents

func (r *SetCallbackRequest) SetCallbackEvents(callbackEvents []string)

param callbackEvents: 回调事件列表(Required)

func (*SetCallbackRequest) SetCallbackType

func (r *SetCallbackRequest) SetCallbackType(callbackType string)

param callbackType: 回调方式,目前只支持 http(Required)

func (*SetCallbackRequest) SetHttpUrl

func (r *SetCallbackRequest) SetHttpUrl(httpUrl string)

param httpUrl: HTTP方式的该字段为必选项(Optional)

type SetCallbackResponse

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

type SetCallbackResult

type SetCallbackResult struct {
}

Jump to

Keyboard shortcuts

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