class TencentCloud::Tsf::V20180326::MemoryPicture
Jvm监控内存数据封装
def deserialize(params)
def deserialize(params) unless params['Max'].nil? @Max = [] params['Max'].each do |i| curvepoint_tmp = CurvePoint.new curvepoint_tmp.deserialize(i) @Max << curvepoint_tmp end end unless params['Used'].nil? @Used = [] params['Used'].each do |i| curvepoint_tmp = CurvePoint.new curvepoint_tmp.deserialize(i) @Used << curvepoint_tmp end end unless params['Committed'].nil? @Committed = [] params['Committed'].each do |i| curvepoint_tmp = CurvePoint.new curvepoint_tmp.deserialize(i) @Committed << curvepoint_tmp end end end
def initialize(max=nil, used=nil, committed=nil)
def initialize(max=nil, used=nil, committed=nil) @Max = max @Used = used @Committed = committed end