Class: TencentCloud::Ame::V20190916::DescribeKTVPlaylistsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::DescribeKTVPlaylistsResponse
- Defined in:
- lib/v20190916/models.rb
Overview
DescribeKTVPlaylists返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(playlistbaseinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeKTVPlaylistsResponse
constructor
A new instance of DescribeKTVPlaylistsResponse.
Constructor Details
#initialize(playlistbaseinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeKTVPlaylistsResponse
Returns a new instance of DescribeKTVPlaylistsResponse.
799 800 801 802 803 |
# File 'lib/v20190916/models.rb', line 799 def initialize(playlistbaseinfoset=nil, totalcount=nil, requestid=nil) @PlaylistBaseInfoSet = playlistbaseinfoset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#PlaylistBaseInfoSet ⇒ Object
797 798 799 |
# File 'lib/v20190916/models.rb', line 797 def PlaylistBaseInfoSet @PlaylistBaseInfoSet end |
#RequestId ⇒ Object
797 798 799 |
# File 'lib/v20190916/models.rb', line 797 def RequestId @RequestId end |
#TotalCount ⇒ Object
797 798 799 |
# File 'lib/v20190916/models.rb', line 797 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
805 806 807 808 809 810 811 812 813 814 815 816 |
# File 'lib/v20190916/models.rb', line 805 def deserialize(params) unless params['PlaylistBaseInfoSet'].nil? @PlaylistBaseInfoSet = [] params['PlaylistBaseInfoSet'].each do |i| ktvplaylistbaseinfo_tmp = KTVPlaylistBaseInfo.new ktvplaylistbaseinfo_tmp.deserialize(i) @PlaylistBaseInfoSet << ktvplaylistbaseinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |