Class: TencentCloud::Tse::V20201207::DescribeSREInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::DescribeSREInstancesResponse
- Defined in:
- lib/v20201207/models.rb
Overview
DescribeSREInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeSREInstancesResponse
constructor
A new instance of DescribeSREInstancesResponse.
Constructor Details
#initialize(totalcount = nil, content = nil, requestid = nil) ⇒ DescribeSREInstancesResponse
Returns a new instance of DescribeSREInstancesResponse.
7141 7142 7143 7144 7145 |
# File 'lib/v20201207/models.rb', line 7141 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
7139 7140 7141 |
# File 'lib/v20201207/models.rb', line 7139 def Content @Content end |
#RequestId ⇒ Object
7139 7140 7141 |
# File 'lib/v20201207/models.rb', line 7139 def RequestId @RequestId end |
#TotalCount ⇒ Object
7139 7140 7141 |
# File 'lib/v20201207/models.rb', line 7139 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 |
# File 'lib/v20201207/models.rb', line 7147 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Content'].nil? @Content = [] params['Content'].each do |i| sreinstance_tmp = SREInstance.new sreinstance_tmp.deserialize(i) @Content << sreinstance_tmp end end @RequestId = params['RequestId'] end |