Class: TencentCloud::Ame::V20190916::KTVSingerInfo

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

Overview

直播互动歌曲的歌手信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(singerid = nil, name = nil, gender = nil, area = nil, musiccount = nil, playcount = nil) ⇒ KTVSingerInfo

Returns a new instance of KTVSingerInfo.



2051
2052
2053
2054
2055
2056
2057
2058
# File 'lib/v20190916/models.rb', line 2051

def initialize(singerid=nil, name=nil, gender=nil, area=nil, musiccount=nil, playcount=nil)
  @SingerId = singerid
  @Name = name
  @Gender = gender
  @Area = area
  @MusicCount = musiccount
  @PlayCount = playcount
end

Instance Attribute Details

#AreaObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def Area
  @Area
end

#GenderObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def Gender
  @Gender
end

#MusicCountObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def MusicCount
  @MusicCount
end

#NameObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def Name
  @Name
end

#PlayCountObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def PlayCount
  @PlayCount
end

#SingerIdObject

Parameters:

  • SingerId:

    歌手id

  • Name:

    歌手名

  • Gender:

    歌手性别: 男,女,组合

  • Area:

    地区: 大陆,港台,欧美,日本

  • MusicCount:

    歌曲数

  • PlayCount:

    歌曲总播放次数



2049
2050
2051
# File 'lib/v20190916/models.rb', line 2049

def SingerId
  @SingerId
end

Instance Method Details

#deserialize(params) ⇒ Object



2060
2061
2062
2063
2064
2065
2066
2067
# File 'lib/v20190916/models.rb', line 2060

def deserialize(params)
  @SingerId = params['SingerId']
  @Name = params['Name']
  @Gender = params['Gender']
  @Area = params['Area']
  @MusicCount = params['MusicCount']
  @PlayCount = params['PlayCount']
end