Class: TencentCloud::Cms::V20190321::DescribeLibSamplesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::DescribeLibSamplesResponse
- Defined in:
- lib/v20190321/models.rb
Overview
DescribeLibSamples返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeLibSamplesResponse
constructor
A new instance of DescribeLibSamplesResponse.
Constructor Details
#initialize(totalcount = nil, infos = nil, requestid = nil) ⇒ DescribeLibSamplesResponse
Returns a new instance of DescribeLibSamplesResponse.
472 473 474 475 476 |
# File 'lib/v20190321/models.rb', line 472 def initialize(totalcount=nil, infos=nil, requestid=nil) @TotalCount = totalcount @Infos = infos @RequestId = requestid end |
Instance Attribute Details
#Infos ⇒ Object
470 471 472 |
# File 'lib/v20190321/models.rb', line 470 def Infos @Infos end |
#RequestId ⇒ Object
470 471 472 |
# File 'lib/v20190321/models.rb', line 470 def RequestId @RequestId end |
#TotalCount ⇒ Object
470 471 472 |
# File 'lib/v20190321/models.rb', line 470 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
478 479 480 481 482 483 484 485 486 487 488 489 |
# File 'lib/v20190321/models.rb', line 478 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Infos'].nil? @Infos = [] params['Infos'].each do |i| userkeywordinfo_tmp = UserKeywordInfo.new userkeywordinfo_tmp.deserialize(i) @Infos << userkeywordinfo_tmp end end @RequestId = params['RequestId'] end |