Class: TencentCloud::Asr::V20190614::GetAsrVocabListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Asr::V20190614::GetAsrVocabListResponse
- Defined in:
- lib/v20190614/models.rb
Overview
GetAsrVocabList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vocablist = nil, totalcount = nil, requestid = nil) ⇒ GetAsrVocabListResponse
constructor
A new instance of GetAsrVocabListResponse.
Constructor Details
#initialize(vocablist = nil, totalcount = nil, requestid = nil) ⇒ GetAsrVocabListResponse
Returns a new instance of GetAsrVocabListResponse.
978 979 980 981 982 |
# File 'lib/v20190614/models.rb', line 978 def initialize(vocablist=nil, totalcount=nil, requestid=nil) @VocabList = vocablist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
976 977 978 |
# File 'lib/v20190614/models.rb', line 976 def RequestId @RequestId end |
#TotalCount ⇒ Object
976 977 978 |
# File 'lib/v20190614/models.rb', line 976 def TotalCount @TotalCount end |
#VocabList ⇒ Object
976 977 978 |
# File 'lib/v20190614/models.rb', line 976 def VocabList @VocabList end |
Instance Method Details
#deserialize(params) ⇒ Object
984 985 986 987 988 989 990 991 992 993 994 995 |
# File 'lib/v20190614/models.rb', line 984 def deserialize(params) unless params['VocabList'].nil? @VocabList = [] params['VocabList'].each do |i| vocab_tmp = Vocab.new vocab_tmp.deserialize(i) @VocabList << vocab_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |