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.
3678 3679 3680 3681 3682 |
# File 'lib/v20201207/models.rb', line 3678 def initialize(totalcount=nil, content=nil, requestid=nil) @TotalCount = totalcount @Content = content @RequestId = requestid end |
Instance Attribute Details
#Content ⇒ Object
3676 3677 3678 |
# File 'lib/v20201207/models.rb', line 3676 def Content @Content end |
#RequestId ⇒ Object
3676 3677 3678 |
# File 'lib/v20201207/models.rb', line 3676 def RequestId @RequestId end |
#TotalCount ⇒ Object
3676 3677 3678 |
# File 'lib/v20201207/models.rb', line 3676 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 |
# File 'lib/v20201207/models.rb', line 3684 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 |