Class: TencentCloud::Cwp::V20180228::BaselineCategory
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::BaselineCategory
- Defined in:
- lib/v20180228/models.rb
Overview
基线规则或项的分类
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(categoryid = nil, categoryname = nil, parentcategoryid = nil, itemcount = nil) ⇒ BaselineCategory
constructor
A new instance of BaselineCategory.
Constructor Details
#initialize(categoryid = nil, categoryname = nil, parentcategoryid = nil, itemcount = nil) ⇒ BaselineCategory
Returns a new instance of BaselineCategory.
2836 2837 2838 2839 2840 2841 |
# File 'lib/v20180228/models.rb', line 2836 def initialize(categoryid=nil, categoryname=nil, parentcategoryid=nil, itemcount=nil) @CategoryId = categoryid @CategoryName = categoryname @ParentCategoryId = parentcategoryid @ItemCount = itemcount end |
Instance Attribute Details
#CategoryId ⇒ Object
2834 2835 2836 |
# File 'lib/v20180228/models.rb', line 2834 def CategoryId @CategoryId end |
#CategoryName ⇒ Object
2834 2835 2836 |
# File 'lib/v20180228/models.rb', line 2834 def CategoryName @CategoryName end |
#ItemCount ⇒ Object
2834 2835 2836 |
# File 'lib/v20180228/models.rb', line 2834 def ItemCount @ItemCount end |
#ParentCategoryId ⇒ Object
2834 2835 2836 |
# File 'lib/v20180228/models.rb', line 2834 def ParentCategoryId @ParentCategoryId end |
Instance Method Details
#deserialize(params) ⇒ Object
2843 2844 2845 2846 2847 2848 |
# File 'lib/v20180228/models.rb', line 2843 def deserialize(params) @CategoryId = params['CategoryId'] @CategoryName = params['CategoryName'] @ParentCategoryId = params['ParentCategoryId'] @ItemCount = params['ItemCount'] end |