public class UploadParam extends Object
Constructor and Description |
---|
UploadParam() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
File |
getMedia() |
MediaType |
getType() |
void |
setDescription(String description)
说明信息,当上传永久视频素材时需要使用,此时须
DescriptionBean 设置好对应字段值,再转换成json字符串,并复制本属性 |
void |
setMedia(File media) |
void |
setType(MediaType type) |
String |
toString() |
public MediaType getType()
public void setType(MediaType type)
public File getMedia()
public void setMedia(File media)
public String getDescription()
public void setDescription(String description)
DescriptionBean
设置好对应字段值,再转换成json字符串,并复制本属性description
- Copyright © 2020. All rights reserved.