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.
587 588 589 590 591 |
# File 'lib/v20191112/models.rb', line 587 def initialize(totalcount=nil, vsmlist=nil, requestid=nil) @TotalCount = totalcount @VsmList = vsmlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
585 586 587 |
# File 'lib/v20191112/models.rb', line 585 def RequestId @RequestId end |
#TotalCount ⇒ Object
585 586 587 |
# File 'lib/v20191112/models.rb', line 585 def TotalCount @TotalCount end |
#VsmList ⇒ Object
585 586 587 |
# File 'lib/v20191112/models.rb', line 585 def VsmList @VsmList end |
Instance Method Details
#deserialize(params) ⇒ Object
593 594 595 596 597 598 599 600 601 602 603 604 |
# File 'lib/v20191112/models.rb', line 593 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 |