Class: TencentCloud::Cloudhsm::V20191112::DescribeUsgResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::DescribeUsgResponse
- Defined in:
- lib/v20191112/models.rb
Overview
DescribeUsg返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sglist = nil, totalcount = nil, requestid = nil) ⇒ DescribeUsgResponse
constructor
A new instance of DescribeUsgResponse.
Constructor Details
#initialize(sglist = nil, totalcount = nil, requestid = nil) ⇒ DescribeUsgResponse
Returns a new instance of DescribeUsgResponse.
273 274 275 276 277 |
# File 'lib/v20191112/models.rb', line 273 def initialize(sglist=nil, totalcount=nil, requestid=nil) @SgList = sglist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
271 272 273 |
# File 'lib/v20191112/models.rb', line 271 def RequestId @RequestId end |
#SgList ⇒ Object
271 272 273 |
# File 'lib/v20191112/models.rb', line 271 def SgList @SgList end |
#TotalCount ⇒ Object
271 272 273 |
# File 'lib/v20191112/models.rb', line 271 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
279 280 281 282 283 284 285 286 287 288 289 290 |
# File 'lib/v20191112/models.rb', line 279 def deserialize(params) unless params['SgList'].nil? @SgList = [] params['SgList'].each do |i| sgunit_tmp = SgUnit.new sgunit_tmp.deserialize(i) @SgList << sgunit_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |