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.



38360
38361
38362
38363
38364
# File 'lib/v20180228/models.rb', line 38360

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:

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



38358
38359
38360
# File 'lib/v20180228/models.rb', line 38358

def Type
  @Type
end

#XObject

Parameters:

  • X:

    X轴 时间

  • Y:

    Y轴 数值

  • Type:

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



38358
38359
38360
# File 'lib/v20180228/models.rb', line 38358

def X
  @X
end

#YObject

Parameters:

  • X:

    X轴 时间

  • Y:

    Y轴 数值

  • Type:

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



38358
38359
38360
# File 'lib/v20180228/models.rb', line 38358

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



38366
38367
38368
38369
38370
# File 'lib/v20180228/models.rb', line 38366

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