Class: TencentCloud::Ame::V20190916::KTVSingerInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::KTVSingerInfo
- Defined in:
- lib/v20190916/models.rb
Overview
直播互动歌曲的歌手信息。
Instance Attribute Summary collapse
- #Area ⇒ Object
- #Gender ⇒ Object
- #MusicCount ⇒ Object
- #Name ⇒ Object
- #PlayCount ⇒ Object
- #SingerId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(singerid = nil, name = nil, gender = nil, area = nil, musiccount = nil, playcount = nil) ⇒ KTVSingerInfo
constructor
A new instance of KTVSingerInfo.
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
#Area ⇒ Object
2049 2050 2051 |
# File 'lib/v20190916/models.rb', line 2049 def Area @Area end |
#Gender ⇒ Object
2049 2050 2051 |
# File 'lib/v20190916/models.rb', line 2049 def Gender @Gender end |
#MusicCount ⇒ Object
2049 2050 2051 |
# File 'lib/v20190916/models.rb', line 2049 def MusicCount @MusicCount end |
#Name ⇒ Object
2049 2050 2051 |
# File 'lib/v20190916/models.rb', line 2049 def Name @Name end |
#PlayCount ⇒ Object
2049 2050 2051 |
# File 'lib/v20190916/models.rb', line 2049 def PlayCount @PlayCount end |
#SingerId ⇒ Object
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 |