Class: TencentCloud::Yinsuda::V20220527::SetPlaylistCommandInput
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yinsuda::V20220527::SetPlaylistCommandInput
- Defined in:
- lib/v20220527/models.rb
Overview
设置播放列表指令参数
Instance Attribute Summary collapse
-
#ChangedIndex ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置; 当 Type 取 Delete 时,表示待删除歌曲的位置; 当 Type 取 Move 时,表示待调整歌曲的位置。.
-
#Index ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置; 当 Type 取 Delete 时,表示待删除歌曲的位置; 当 Type 取 Move 时,表示待调整歌曲的位置。.
-
#MusicIds ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置; 当 Type 取 Delete 时,表示待删除歌曲的位置; 当 Type 取 Move 时,表示待调整歌曲的位置。.
-
#Type ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置; 当 Type 取 Delete 时,表示待删除歌曲的位置; 当 Type 取 Move 时,表示待调整歌曲的位置。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, index = nil, changedindex = nil, musicids = nil) ⇒ SetPlaylistCommandInput
constructor
A new instance of SetPlaylistCommandInput.
Constructor Details
#initialize(type = nil, index = nil, changedindex = nil, musicids = nil) ⇒ SetPlaylistCommandInput
Returns a new instance of SetPlaylistCommandInput.
1959 1960 1961 1962 1963 1964 |
# File 'lib/v20220527/models.rb', line 1959 def initialize(type=nil, index=nil, changedindex=nil, musicids=nil) @Type = type @Index = index @ChangedIndex = changedindex @MusicIds = musicids end |
Instance Attribute Details
#ChangedIndex ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;当 Type 取 Delete 时,表示待删除歌曲的位置;当 Type 取 Move 时,表示待调整歌曲的位置。
1957 1958 1959 |
# File 'lib/v20220527/models.rb', line 1957 def ChangedIndex @ChangedIndex end |
#Index ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;当 Type 取 Delete 时,表示待删除歌曲的位置;当 Type 取 Move 时,表示待调整歌曲的位置。
1957 1958 1959 |
# File 'lib/v20220527/models.rb', line 1957 def Index @Index end |
#MusicIds ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;当 Type 取 Delete 时,表示待删除歌曲的位置;当 Type 取 Move 时,表示待调整歌曲的位置。
1957 1958 1959 |
# File 'lib/v20220527/models.rb', line 1957 def MusicIds @MusicIds end |
#Type ⇒ Object
<li>Add:添加</li> <li>Delete:删除</li> <li>ClearList:清空歌曲列表</li> <li>Move:移动歌曲</li> 当 Type 取 Add 时,-1表示添加在列表最后位置,大于-1表示要添加的位置;当 Type 取 Delete 时,表示待删除歌曲的位置;当 Type 取 Move 时,表示待调整歌曲的位置。
1957 1958 1959 |
# File 'lib/v20220527/models.rb', line 1957 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1966 1967 1968 1969 1970 1971 |
# File 'lib/v20220527/models.rb', line 1966 def deserialize(params) @Type = params['Type'] @Index = params['Index'] @ChangedIndex = params['ChangedIndex'] @MusicIds = params['MusicIds'] end |