Class: TencentCloud::Tse::V20201207::DescribeGovernanceInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeGovernanceInstancesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeGovernanceInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, location = nil, requestid = nil) ⇒ DescribeGovernanceInstancesResponse
constructor
A new instance of DescribeGovernanceInstancesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, location = nil, requestid = nil) ⇒ DescribeGovernanceInstancesResponse
Returns a new instance of DescribeGovernanceInstancesResponse.
6055 6056 6057 6058 6059 6060 |
# File 'lib/v20201207/models.rb', line 6055 def initialize(totalcount=nil, content=nil, location=nil, requestid=nil) @TotalCount = totalcount @Content = content @Location = location @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6053 6054 6055 |
# File 'lib/v20201207/models.rb', line 6053 def Content @Content end |
#Location ⇒ Object
6053 6054 6055 |
# File 'lib/v20201207/models.rb', line 6053 def Location @Location end |
#RequestId ⇒ Object
6053 6054 6055 |
# File 'lib/v20201207/models.rb', line 6053 def RequestId @RequestId end |
#TotalCount ⇒ Object
6053 6054 6055 |
# File 'lib/v20201207/models.rb', line 6053 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 |
# File 'lib/v20201207/models.rb', line 6062 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| governanceinstance_tmp = GovernanceInstance.new governanceinstance_tmp.deserialize(i) @Content << governanceinstance_tmp end end unless params['Location'].nil? @Location = Location.new @Location.deserialize(params['Location']) end @RequestId = params['RequestId'] end |