public class SetPlaylistCommandInput extends AbstractModel
header, skipSign
Constructor and Description |
---|
SetPlaylistCommandInput() |
SetPlaylistCommandInput(SetPlaylistCommandInput 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 |
---|---|
Long |
getChangedIndex()
Get 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。
|
Long |
getIndex()
Get 歌单索引位置,
当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
当 Type 取 Delete 时,表示待删除歌曲的位置;
当 Type 取 Move 时,表示待调整歌曲的位置。
|
String[] |
getMusicIds()
Get 歌曲 ID 列表,当 Type 取 Add 时,必填。
|
String |
getType()
Get 变更类型,取值有:
Add:添加
Delete:删除
ClearList:清空歌曲列表
Move:移动歌曲
|
void |
setChangedIndex(Long ChangedIndex)
Set 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。
|
void |
setIndex(Long Index)
Set 歌单索引位置,
当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
当 Type 取 Delete 时,表示待删除歌曲的位置;
当 Type 取 Move 时,表示待调整歌曲的位置。
|
void |
setMusicIds(String[] MusicIds)
Set 歌曲 ID 列表,当 Type 取 Add 时,必填。
|
void |
setType(String Type)
Set 变更类型,取值有:
Add:添加
Delete:删除
ClearList:清空歌曲列表
Move:移动歌曲
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SetPlaylistCommandInput()
public SetPlaylistCommandInput(SetPlaylistCommandInput source)
public String getType()
public void setType(String Type)
Type
- 变更类型,取值有:
public Long getIndex()
public void setIndex(Long Index)
Index
- 歌单索引位置,
当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;
当 Type 取 Delete 时,表示待删除歌曲的位置;
当 Type 取 Move 时,表示待调整歌曲的位置。public Long getChangedIndex()
public void setChangedIndex(Long ChangedIndex)
ChangedIndex
- 当 Type 取 Move 时,必填,表示移动歌曲的目标位置。public String[] getMusicIds()
public void setMusicIds(String[] MusicIds)
MusicIds
- 歌曲 ID 列表,当 Type 取 Add 时,必填。Copyright © 2024. All rights reserved.