Class: TencentCloud::Cloudhsm::V20191112::DescribeVsmsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::DescribeVsmsResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeVsms返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, vsmlist = nil, requestid = nil) ⇒ DescribeVsmsResponse
constructor
A new instance of DescribeVsmsResponse.
Constructor Details
#initialize(totalcount = nil, vsmlist = nil, requestid = nil) ⇒ DescribeVsmsResponse
Returns a new instance of DescribeVsmsResponse.
591 592 593 594 595 |
# File 'lib/v20191112/models.rb', line 591 def initialize(totalcount=nil, vsmlist=nil, requestid=nil) @TotalCount = totalcount @VsmList = vsmlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
589 590 591 |
# File 'lib/v20191112/models.rb', line 589 def RequestId @RequestId end |
#TotalCount ⇒ Object
589 590 591 |
# File 'lib/v20191112/models.rb', line 589 def TotalCount @TotalCount end |
#VsmList ⇒ Object
589 590 591 |
# File 'lib/v20191112/models.rb', line 589 def VsmList @VsmList end |
Instance Method Details
#deserialize(params) ⇒ Object
597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'lib/v20191112/models.rb', line 597 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VsmList'].nil? @VsmList = [] params['VsmList'].each do |i| resourceinfo_tmp = ResourceInfo.new resourceinfo_tmp.deserialize(i) @VsmList << resourceinfo_tmp end end @RequestId = params['RequestId'] end |