Class: TencentCloud::Smh::V20210712::DescribeLibrariesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Smh::V20210712::DescribeLibrariesResponse
- Defined in:
- lib/v20210712/models.rb
Overview
DescribeLibraries返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeLibrariesResponse
constructor
A new instance of DescribeLibrariesResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeLibrariesResponse
Returns a new instance of DescribeLibrariesResponse.
387 388 389 390 391 |
# File 'lib/v20210712/models.rb', line 387 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
385 386 387 |
# File 'lib/v20210712/models.rb', line 385 def List @List end |
#RequestId ⇒ Object
385 386 387 |
# File 'lib/v20210712/models.rb', line 385 def RequestId @RequestId end |
#TotalCount ⇒ Object
385 386 387 |
# File 'lib/v20210712/models.rb', line 385 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
393 394 395 396 397 398 399 400 401 402 403 404 |
# File 'lib/v20210712/models.rb', line 393 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| library_tmp = Library.new library_tmp.deserialize(i) @List << library_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |