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.
1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/v20210922/models.rb', line 1031 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
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def EndTime @EndTime end |
#Label ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def Label @Label end |
#Name ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def Name @Name end |
#Scene ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def Scene @Scene end |
#Score ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def Score @Score end |
#StartTime ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def StartTime @StartTime end |
#Suggestion ⇒ Object
1029 1030 1031 |
# File 'lib/v20210922/models.rb', line 1029 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
1041 1042 1043 1044 1045 1046 1047 1048 1049 |
# File 'lib/v20210922/models.rb', line 1041 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 |