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.
7162 7163 7164 7165 7166 |
# File 'lib/v20201207/models.rb', line 7162 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
7160 7161 7162 |
# File 'lib/v20201207/models.rb', line 7160 def Content @Content end |
#RequestId ⇒ Object
7160 7161 7162 |
# File 'lib/v20201207/models.rb', line 7160 def RequestId @RequestId end |
#TotalCount ⇒ Object
7160 7161 7162 |
# File 'lib/v20201207/models.rb', line 7160 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 |
# File 'lib/v20201207/models.rb', line 7168 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 |