material_uploadVideoAsync_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaterialUploadVideoAsyncParam

type MaterialUploadVideoAsyncParam struct {
	// 父文件夹id,0为根目录。若需要创建文件夹,请参考:https://ehome.bytedance.net/djt/apiManage/doc/preview/946?doc=true
	FolderId string `json:"folder_id"`
	// 视频url,url和file_uri二选一,不能同时为空,如果2者都传则取url
	Url string `json:"url"`
	// 视频名称,不得超过50个字符,最好带上后缀
	Name string `json:"name"`
	// 二进制文件对应的uri,获取方式请参考:https://op.jinritemai.com/docs/guide-docs/171/1719
	FileUri string `json:"file_uri"`
}

type MaterialUploadVideoAsyncRequest

type MaterialUploadVideoAsyncRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *MaterialUploadVideoAsyncParam
}

func (*MaterialUploadVideoAsyncRequest) Execute

func (c *MaterialUploadVideoAsyncRequest) Execute(accessToken *doudian_sdk.AccessToken) (*material_uploadVideoAsync_response.MaterialUploadVideoAsyncResponse, error)

func (*MaterialUploadVideoAsyncRequest) GetParamObject

func (c *MaterialUploadVideoAsyncRequest) GetParamObject() interface{}

func (*MaterialUploadVideoAsyncRequest) GetParams

func (*MaterialUploadVideoAsyncRequest) GetUrlPath

func (c *MaterialUploadVideoAsyncRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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