Class: TencentCloud::Tke::V20180525::DescribePrometheusInstancesOverviewResponse

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

Overview

DescribePrometheusInstancesOverview返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instances = nil, total = nil, requestid = nil) ⇒ DescribePrometheusInstancesOverviewResponse



9907
9908
9909
9910
9911
# File 'lib/v20180525/models.rb', line 9907

def initialize(instances=nil, total=nil, requestid=nil)
  @Instances = instances
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#InstancesObject

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



9905
9906
9907
# File 'lib/v20180525/models.rb', line 9905

def Instances
  @Instances
end

#RequestIdObject

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



9905
9906
9907
# File 'lib/v20180525/models.rb', line 9905

def RequestId
  @RequestId
end

#TotalObject

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



9905
9906
9907
# File 'lib/v20180525/models.rb', line 9905

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
# File 'lib/v20180525/models.rb', line 9913

def deserialize(params)
  unless params['Instances'].nil?
    @Instances = []
    params['Instances'].each do |i|
      prometheusinstancesoverview_tmp = PrometheusInstancesOverview.new
      prometheusinstancesoverview_tmp.deserialize(i)
      @Instances << prometheusinstancesoverview_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end