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.
6076 6077 6078 6079 6080 6081 |
# File 'lib/v20201207/models.rb', line 6076 def initialize(totalcount=nil, content=nil, location=nil, requestid=nil) @TotalCount = totalcount @Content = content @Location = location @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
6074 6075 6076 |
# File 'lib/v20201207/models.rb', line 6074 def Content @Content end |
#Location ⇒ Object
6074 6075 6076 |
# File 'lib/v20201207/models.rb', line 6074 def Location @Location end |
#RequestId ⇒ Object
6074 6075 6076 |
# File 'lib/v20201207/models.rb', line 6074 def RequestId @RequestId end |
#TotalCount ⇒ Object
6074 6075 6076 |
# File 'lib/v20201207/models.rb', line 6074 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 |
# File 'lib/v20201207/models.rb', line 6083 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 |