Class: TencentCloud::Tdcpg::V20211118::DescribeClusterRecoveryTimeRangeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdcpg::V20211118::DescribeClusterRecoveryTimeRangeResponse
- Defined in:
- lib/v20211118/models.rb
Overview
DescribeClusterRecoveryTimeRange返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(availablerecoverytimerangeset = nil, requestid = nil) ⇒ DescribeClusterRecoveryTimeRangeResponse
constructor
A new instance of DescribeClusterRecoveryTimeRangeResponse.
Constructor Details
#initialize(availablerecoverytimerangeset = nil, requestid = nil) ⇒ DescribeClusterRecoveryTimeRangeResponse
Returns a new instance of DescribeClusterRecoveryTimeRangeResponse.
832 833 834 835 |
# File 'lib/v20211118/models.rb', line 832 def initialize(availablerecoverytimerangeset=nil, requestid=nil) @AvailableRecoveryTimeRangeSet = availablerecoverytimerangeset @RequestId = requestid end |
Instance Attribute Details
#AvailableRecoveryTimeRangeSet ⇒ Object
830 831 832 |
# File 'lib/v20211118/models.rb', line 830 def AvailableRecoveryTimeRangeSet @AvailableRecoveryTimeRangeSet end |
#RequestId ⇒ Object
830 831 832 |
# File 'lib/v20211118/models.rb', line 830 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/v20211118/models.rb', line 837 def deserialize(params) unless params['AvailableRecoveryTimeRangeSet'].nil? @AvailableRecoveryTimeRangeSet = [] params['AvailableRecoveryTimeRangeSet'].each do |i| availablerecoverytimerange_tmp = AvailableRecoveryTimeRange.new availablerecoverytimerange_tmp.deserialize(i) @AvailableRecoveryTimeRangeSet << availablerecoverytimerange_tmp end end @RequestId = params['RequestId'] end |