open_materialToken_request

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: Apache-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 OpenMaterialTokenParam

type OpenMaterialTokenParam struct {
	// 需要上传的素材数量
	UploadNum int64 `json:"upload_num"`
	// 文件后缀名称,必须以"."开头
	FileExtension *string `json:"file_extension"`
	// 业务类型, 1: 素材中心 。 2: ImageX
	BizType *int32 `json:"biz_type"`
	// 当 biz_type 为 2,则可以自定义路径名
	StoreKeysArrayJson *string `json:"store_keys_array_json"`
}

type OpenMaterialTokenRequest

type OpenMaterialTokenRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *OpenMaterialTokenParam
}

func New

func (*OpenMaterialTokenRequest) Execute

func (c *OpenMaterialTokenRequest) Execute(accessToken *doudian_sdk.AccessToken) (*open_materialToken_response.OpenMaterialTokenResponse, error)

func (*OpenMaterialTokenRequest) GetParamObject

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

func (*OpenMaterialTokenRequest) GetParams

func (*OpenMaterialTokenRequest) GetUrlPath

func (c *OpenMaterialTokenRequest) GetUrlPath() string

Jump to

Keyboard shortcuts

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