Class: TencentCloud::Wedata::V20210820::DescribeSchedulerRunTimeInstanceCntByStatusResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

DescribeSchedulerRunTimeInstanceCntByStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeSchedulerRunTimeInstanceCntByStatusResponse



15165
15166
15167
15168
# File 'lib/v20210820/models.rb', line 15165

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

注意:此字段可能返回 null,表示取不到有效值。



15163
15164
15165
# File 'lib/v20210820/models.rb', line 15163

def Data
  @Data
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



15163
15164
15165
# File 'lib/v20210820/models.rb', line 15163

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
# File 'lib/v20210820/models.rb', line 15170

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      runtimeinstancecnttop_tmp = RuntimeInstanceCntTop.new
      runtimeinstancecnttop_tmp.deserialize(i)
      @Data << runtimeinstancecnttop_tmp
    end
  end
  @RequestId = params['RequestId']
end