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.



29963
29964
29965
29966
29967
29968
# File 'lib/v20180228/models.rb', line 29963

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:

    检测项所属分类



29961
29962
29963
# File 'lib/v20180228/models.rb', line 29961

def CategoryId
  @CategoryId
end

#CustomItemValuesObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



29961
29962
29963
# File 'lib/v20180228/models.rb', line 29961

def CustomItemValues
  @CustomItemValues
end

#ItemIdObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



29961
29962
29963
# File 'lib/v20180228/models.rb', line 29961

def ItemId
  @ItemId
end

#ItemNameObject

Parameters:

  • ItemId:

    Id

  • ItemName:

    名称

  • CustomItemValues:

    自定义阈值

  • CategoryId:

    检测项所属分类



29961
29962
29963
# File 'lib/v20180228/models.rb', line 29961

def ItemName
  @ItemName
end

Instance Method Details

#deserialize(params) ⇒ Object



29970
29971
29972
29973
29974
29975
# File 'lib/v20180228/models.rb', line 29970

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