Class: TencentCloud::Smh::V20210712::DescribeOfficialInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Smh::V20210712::DescribeOfficialInstancesResponse
- Defined in:
- lib/v20210712/models.rb
Overview
DescribeOfficialInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeOfficialInstancesResponse
constructor
A new instance of DescribeOfficialInstancesResponse.
Constructor Details
#initialize(list = nil, totalcount = nil, requestid = nil) ⇒ DescribeOfficialInstancesResponse
Returns a new instance of DescribeOfficialInstancesResponse.
502 503 504 505 506 |
# File 'lib/v20210712/models.rb', line 502 def initialize(list=nil, totalcount=nil, requestid=nil) @List = list @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#List ⇒ Object
500 501 502 |
# File 'lib/v20210712/models.rb', line 500 def List @List end |
#RequestId ⇒ Object
500 501 502 |
# File 'lib/v20210712/models.rb', line 500 def RequestId @RequestId end |
#TotalCount ⇒ Object
500 501 502 |
# File 'lib/v20210712/models.rb', line 500 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/v20210712/models.rb', line 508 def deserialize(params) unless params['List'].nil? @List = [] params['List'].each do |i| instance_tmp = Instance.new instance_tmp.deserialize(i) @List << instance_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |