Class: TencentCloud::Vm::V20210922::LabelResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::LabelResult
- Defined in:
- lib/v20210922/models.rb
Overview
歌曲识别结果
Instance Attribute Summary collapse
- #EndTime ⇒ Object
- #Label ⇒ Object
- #Name ⇒ Object
- #Scene ⇒ Object
- #Score ⇒ Object
- #StartTime ⇒ Object
- #Suggestion ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(scene = nil, suggestion = nil, label = nil, name = nil, score = nil, starttime = nil, endtime = nil) ⇒ LabelResult
constructor
A new instance of LabelResult.
Constructor Details
#initialize(scene = nil, suggestion = nil, label = nil, name = nil, score = nil, starttime = nil, endtime = nil) ⇒ LabelResult
Returns a new instance of LabelResult.
1012 1013 1014 1015 1016 1017 1018 1019 1020 |
# File 'lib/v20210922/models.rb', line 1012 def initialize(scene=nil, suggestion=nil, label=nil, name=nil, score=nil, starttime=nil, endtime=nil) @Scene = scene @Suggestion = suggestion @Label = label @Name = name @Score = score @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#EndTime ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def EndTime @EndTime end |
#Label ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def Label @Label end |
#Name ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def Name @Name end |
#Scene ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def Scene @Scene end |
#Score ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def Score @Score end |
#StartTime ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def StartTime @StartTime end |
#Suggestion ⇒ Object
1010 1011 1012 |
# File 'lib/v20210922/models.rb', line 1010 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
1022 1023 1024 1025 1026 1027 1028 1029 1030 |
# File 'lib/v20210922/models.rb', line 1022 def deserialize(params) @Scene = params['Scene'] @Suggestion = params['Suggestion'] @Label = params['Label'] @Name = params['Name'] @Score = params['Score'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |