Class: TencentCloud::Tse::V20201207::DescribeGovernanceServicesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceServicesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceServices返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceServicesResponse
constructor
A new instance of DescribeGovernanceServicesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeGovernanceServicesResponse
Returns a new instance of DescribeGovernanceServicesResponse.
6383 6384 6385 6386 6387 |
# File 'lib/v20201207/models.rb', line 6383 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6381 6382 6383 |
# File 'lib/v20201207/models.rb', line 6381 def Content @Content end |
#RequestId ⇒ Object
6381 6382 6383 |
# File 'lib/v20201207/models.rb', line 6381 def RequestId @RequestId end |
#TotalCount ⇒ Object
6381 6382 6383 |
# File 'lib/v20201207/models.rb', line 6381 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'lib/v20201207/models.rb', line 6389 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| governanceservice_tmp = GovernanceService.new governanceservice_tmp.deserialize(i) @Content << governanceservice_tmp end end @RequestId = params['RequestId'] end |