Class: TencentCloud::Ame::V20190916::DescribeKTVPlaylistsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190916/models.rb

Overview

DescribeKTVPlaylists返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PlaylistBaseInfoSetObject

Parameters:

  • PlaylistBaseInfoSet:

    推荐歌单列表

  • TotalCount:

    推荐歌单列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



797
798
799
# File 'lib/v20190916/models.rb', line 797

def PlaylistBaseInfoSet
  @PlaylistBaseInfoSet
end

#RequestIdObject

Parameters:

  • PlaylistBaseInfoSet:

    推荐歌单列表

  • TotalCount:

    推荐歌单列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



797
798
799
# File 'lib/v20190916/models.rb', line 797

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • PlaylistBaseInfoSet:

    推荐歌单列表

  • TotalCount:

    推荐歌单列表总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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