Class: TencentCloud::Cwp::V20180228::ScreenTrendsChart

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

Overview

大屏攻防趋势图

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, type = nil) ⇒ ScreenTrendsChart

Returns a new instance of ScreenTrendsChart.



38746
38747
38748
38749
38750
# File 'lib/v20180228/models.rb', line 38746

def initialize(x=nil, y=nil, type=nil)
  @X = x
  @Y = y
  @Type = type
end

Instance Attribute Details

#TypeObject

Parameters:

  • X:

    X轴 时间

  • Y:

    Y轴 数值

  • Type:

    统计分类类型 值:防御次数,攻击次数



38744
38745
38746
# File 'lib/v20180228/models.rb', line 38744

def Type
  @Type
end

#XObject

Parameters:

  • X:

    X轴 时间

  • Y:

    Y轴 数值

  • Type:

    统计分类类型 值:防御次数,攻击次数



38744
38745
38746
# File 'lib/v20180228/models.rb', line 38744

def X
  @X
end

#YObject

Parameters:

  • X:

    X轴 时间

  • Y:

    Y轴 数值

  • Type:

    统计分类类型 值:防御次数,攻击次数



38744
38745
38746
# File 'lib/v20180228/models.rb', line 38744

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



38752
38753
38754
38755
38756
# File 'lib/v20180228/models.rb', line 38752

def deserialize(params)
  @X = params['X']
  @Y = params['Y']
  @Type = params['Type']
end