Class: TencentCloud::Cwp::V20180228::Item

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(itemid = nil, itemname = nil, customitemvalues = nil, categoryid = nil) ⇒ Item

Returns a new instance of Item.



30414
30415
30416
30417
30418
30419
# File 'lib/v20180228/models.rb', line 30414

def initialize(itemid=nil, itemname=nil, customitemvalues=nil, categoryid=nil)
  @ItemId = itemid
  @ItemName = itemname
  @CustomItemValues = customitemvalues
  @CategoryId = categoryid
end

Instance Attribute Details

#CategoryIdObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



30412
30413
30414
# File 'lib/v20180228/models.rb', line 30412

def CategoryId
  @CategoryId
end

#CustomItemValuesObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



30412
30413
30414
# File 'lib/v20180228/models.rb', line 30412

def CustomItemValues
  @CustomItemValues
end

#ItemIdObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



30412
30413
30414
# File 'lib/v20180228/models.rb', line 30412

def ItemId
  @ItemId
end

#ItemNameObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



30412
30413
30414
# File 'lib/v20180228/models.rb', line 30412

def ItemName
  @ItemName
end

Instance Method Details

#deserialize(params) ⇒ Object



30421
30422
30423
30424
30425
30426
# File 'lib/v20180228/models.rb', line 30421

def deserialize(params)
  @ItemId = params['ItemId']
  @ItemName = params['ItemName']
  @CustomItemValues = params['CustomItemValues']
  @CategoryId = params['CategoryId']
end