Class: TencentCloud::Mps::V20190612::DescribeAsrHotwordsListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::DescribeAsrHotwordsListResponse
- Defined in:
- lib/v20190612/models.rb
Overview
DescribeAsrHotwordsList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, offset = nil, limit = nil, asrhotwordsset = nil, requestid = nil) ⇒ DescribeAsrHotwordsListResponse
constructor
A new instance of DescribeAsrHotwordsListResponse.
Constructor Details
#initialize(totalcount = nil, offset = nil, limit = nil, asrhotwordsset = nil, requestid = nil) ⇒ DescribeAsrHotwordsListResponse
Returns a new instance of DescribeAsrHotwordsListResponse.
11936 11937 11938 11939 11940 11941 11942 |
# File 'lib/v20190612/models.rb', line 11936 def initialize(totalcount=nil, offset=nil, limit=nil, asrhotwordsset=nil, requestid=nil) @TotalCount = totalcount @Offset = offset @Limit = limit @AsrHotwordsSet = asrhotwordsset @RequestId = requestid end |
Instance Attribute Details
#AsrHotwordsSet ⇒ Object
11934 11935 11936 |
# File 'lib/v20190612/models.rb', line 11934 def AsrHotwordsSet @AsrHotwordsSet end |
#Limit ⇒ Object
11934 11935 11936 |
# File 'lib/v20190612/models.rb', line 11934 def Limit @Limit end |
#Offset ⇒ Object
11934 11935 11936 |
# File 'lib/v20190612/models.rb', line 11934 def Offset @Offset end |
#RequestId ⇒ Object
11934 11935 11936 |
# File 'lib/v20190612/models.rb', line 11934 def RequestId @RequestId end |
#TotalCount ⇒ Object
11934 11935 11936 |
# File 'lib/v20190612/models.rb', line 11934 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 |
# File 'lib/v20190612/models.rb', line 11944 def deserialize(params) @TotalCount = params['TotalCount'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['AsrHotwordsSet'].nil? @AsrHotwordsSet = [] params['AsrHotwordsSet'].each do |i| asrhotwordsset_tmp = AsrHotwordsSet.new asrhotwordsset_tmp.deserialize(i) @AsrHotwordsSet << asrhotwordsset_tmp end end @RequestId = params['RequestId'] end |