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.
948 949 950 951 952 |
# File 'lib/v20190614/models.rb', line 948 def initialize(vocablist=nil, totalcount=nil, requestid=nil) @VocabList = vocablist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
946 947 948 |
# File 'lib/v20190614/models.rb', line 946 def RequestId @RequestId end |
#TotalCount ⇒ Object
946 947 948 |
# File 'lib/v20190614/models.rb', line 946 def TotalCount @TotalCount end |
#VocabList ⇒ Object
946 947 948 |
# File 'lib/v20190614/models.rb', line 946 def VocabList @VocabList end |
Instance Method Details
#deserialize(params) ⇒ Object
954 955 956 957 958 959 960 961 962 963 964 965 |
# File 'lib/v20190614/models.rb', line 954 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 |