Class: TencentCloud::Cwp::V20180228::Item
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::Item
- Defined in:
- lib/v20180228/models.rb
Overview
项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(itemid = nil, itemname = nil, customitemvalues = nil, categoryid = nil) ⇒ Item
constructor
A new instance of Item.
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
#CategoryId ⇒ Object
30412 30413 30414 |
# File 'lib/v20180228/models.rb', line 30412 def CategoryId @CategoryId end |
#CustomItemValues ⇒ Object
30412 30413 30414 |
# File 'lib/v20180228/models.rb', line 30412 def CustomItemValues @CustomItemValues end |
#ItemId ⇒ Object
30412 30413 30414 |
# File 'lib/v20180228/models.rb', line 30412 def ItemId @ItemId end |
#ItemName ⇒ Object
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 |