Class: TencentCloud::Ams::V20201229::LabelResults
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::LabelResults
- Defined in:
- lib/v20201229/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) ⇒ LabelResults
constructor
A new instance of LabelResults.
Constructor Details
#initialize(scene = nil, suggestion = nil, label = nil, name = nil, score = nil, starttime = nil, endtime = nil) ⇒ LabelResults
Returns a new instance of LabelResults.
930 931 932 933 934 935 936 937 938 |
# File 'lib/v20201229/models.rb', line 930 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
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def EndTime @EndTime end |
#Label ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def Label @Label end |
#Name ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def Name @Name end |
#Scene ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def Scene @Scene end |
#Score ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def Score @Score end |
#StartTime ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def StartTime @StartTime end |
#Suggestion ⇒ Object
928 929 930 |
# File 'lib/v20201229/models.rb', line 928 def Suggestion @Suggestion end |
Instance Method Details
#deserialize(params) ⇒ Object
940 941 942 943 944 945 946 947 948 |
# File 'lib/v20201229/models.rb', line 940 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 |