Class: TencentCloud::Tci::V20190318::DescribeLibrariesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::DescribeLibrariesResponse
- Defined in:
- lib/v20190318/models.rb
Overview
DescribeLibraries返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(libraryset = nil, totalcount = nil, requestid = nil) ⇒ DescribeLibrariesResponse
constructor
A new instance of DescribeLibrariesResponse.
Constructor Details
#initialize(libraryset = nil, totalcount = nil, requestid = nil) ⇒ DescribeLibrariesResponse
Returns a new instance of DescribeLibrariesResponse.
1518 1519 1520 1521 1522 |
# File 'lib/v20190318/models.rb', line 1518 def initialize(libraryset=nil, totalcount=nil, requestid=nil) @LibrarySet = libraryset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#LibrarySet ⇒ Object
1516 1517 1518 |
# File 'lib/v20190318/models.rb', line 1516 def LibrarySet @LibrarySet end |
#RequestId ⇒ Object
1516 1517 1518 |
# File 'lib/v20190318/models.rb', line 1516 def RequestId @RequestId end |
#TotalCount ⇒ Object
1516 1517 1518 |
# File 'lib/v20190318/models.rb', line 1516 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 |
# File 'lib/v20190318/models.rb', line 1524 def deserialize(params) unless params['LibrarySet'].nil? @LibrarySet = [] params['LibrarySet'].each do |i| library_tmp = Library.new library_tmp.deserialize(i) @LibrarySet << library_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |