Class: TencentCloud::Cms::V20190321::DescribeKeywordsLibsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::DescribeKeywordsLibsResponse
- Defined in:
- lib/v20190321/models.rb
Overview
DescribeKeywordsLibs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeKeywordsLibsResponse
constructor
A new instance of DescribeKeywordsLibsResponse.
Constructor Details
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeKeywordsLibsResponse
Returns a new instance of DescribeKeywordsLibsResponse.
405 406 407 408 409 |
# File 'lib/v20190321/models.rb', line 405 def initialize(totalcount=nil, infos=nil, requestid=nil) @TotalCount = totalcount @Infos = infos @RequestId = requestid end |
Instance Attribute Details
#Infos ⇒ Object
403 404 405 |
# File 'lib/v20190321/models.rb', line 403 def Infos @Infos end |
#RequestId ⇒ Object
403 404 405 |
# File 'lib/v20190321/models.rb', line 403 def RequestId @RequestId end |
#TotalCount ⇒ Object
403 404 405 |
# File 'lib/v20190321/models.rb', line 403 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
411 412 413 414 415 416 417 418 419 420 421 422 |
# File 'lib/v20190321/models.rb', line 411 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Infos'].nil? @Infos = [] params['Infos'].each do |i| keywordslibinfo_tmp = KeywordsLibInfo.new keywordslibinfo_tmp.deserialize(i) @Infos << keywordslibinfo_tmp end end @RequestId = params['RequestId'] end |