Documentation ¶
Index ¶
- type MaterialSearchMaterialParam
- type MaterialSearchMaterialRequest
- func (c *MaterialSearchMaterialRequest) Execute(accessToken *doudian_sdk.AccessToken) (*material_searchMaterial_response.MaterialSearchMaterialResponse, error)
- func (c *MaterialSearchMaterialRequest) GetParamObject() interface{}
- func (c *MaterialSearchMaterialRequest) GetParams() *MaterialSearchMaterialParam
- func (c *MaterialSearchMaterialRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaterialSearchMaterialParam ¶
type MaterialSearchMaterialParam struct { // 素材id MaterialId *string `json:"material_id"` // 文件名称,支持模糊匹配 MaterialName *string `json:"material_name"` // 素材类型,空-不限 photo-图片 video-视频 MaterialType []string `json:"material_type"` // 素材状态,0-待下载 1-有效 4-回收站中 OperateStatus []int32 `json:"operate_status"` // 审核状态,1-待审核 2-审核中 3-通过 4-拒绝 AuditStatus []int32 `json:"audit_status"` // 搜索创建开始时间,格式:yyyy-MM-dd HH:mm:ss CreateTimeStart *string `json:"create_time_start"` // 搜索创建结束时间,格式:yyyy-MM-dd HH:mm:ss CreateTimeEnd *string `json:"create_time_end"` // 文件夹id,"0"--素材中心 "-1"--回收站 FolderId *string `json:"folder_id"` // 素材id列表 MaterialIdList []string `json:"material_id_list"` // 第几页,1,2,……,默认值:1 PageNum *int32 `json:"page_num"` // 页大小,1,2,……,100,默认值:50 PageSize *int32 `json:"page_size"` // 排序方式,0-按照创建时间倒序 1-按照创建时间升序 6-按照素材大小降序 7-按照素材大小升序 OrderType *int32 `json:"order_type"` }
type MaterialSearchMaterialRequest ¶
type MaterialSearchMaterialRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *MaterialSearchMaterialParam }
func New ¶
func New() *MaterialSearchMaterialRequest
func (*MaterialSearchMaterialRequest) Execute ¶
func (c *MaterialSearchMaterialRequest) Execute(accessToken *doudian_sdk.AccessToken) (*material_searchMaterial_response.MaterialSearchMaterialResponse, error)
func (*MaterialSearchMaterialRequest) GetParamObject ¶
func (c *MaterialSearchMaterialRequest) GetParamObject() interface{}
func (*MaterialSearchMaterialRequest) GetParams ¶
func (c *MaterialSearchMaterialRequest) GetParams() *MaterialSearchMaterialParam
func (*MaterialSearchMaterialRequest) GetUrlPath ¶
func (c *MaterialSearchMaterialRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.