public class SlotInfo extends AbstractModel
Constructor and Description |
---|
SlotInfo() |
SlotInfo(SlotInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultMaterialId()
Get 默认素材 Id。
|
Float |
getDuration()
Get 素材时长,单位秒。
|
Long |
getId()
Get 卡槽 Id。
|
String |
getType()
Get 素材类型,同素材素材,可取值有:
AUDIO :音频;
VIDEO :视频;
IMAGE :图片。
|
void |
setDefaultMaterialId(String DefaultMaterialId)
Set 默认素材 Id。
|
void |
setDuration(Float Duration)
Set 素材时长,单位秒。
|
void |
setId(Long Id)
Set 卡槽 Id。
|
void |
setType(String Type)
Set 素材类型,同素材素材,可取值有:
AUDIO :音频;
VIDEO :视频;
IMAGE :图片。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SlotInfo()
public SlotInfo(SlotInfo source)
public Long getId()
public void setId(Long Id)
Id
- 卡槽 Id。public String getType()
public void setType(String Type)
Type
- 素材类型,同素材素材,可取值有:
public String getDefaultMaterialId()
public void setDefaultMaterialId(String DefaultMaterialId)
DefaultMaterialId
- 默认素材 Id。public Float getDuration()
public void setDuration(Float Duration)
Duration
- 素材时长,单位秒。Copyright © 2021. All rights reserved.