Class: TencentCloud::Cme::V20191029::Resource
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::Resource
- Defined in:
- lib/v20191029/models.rb
Overview
用于描述资源
Instance Attribute Summary collapse
-
#Id ⇒ Object
- MATERIAL:素材。
- CLASS:分类。
. -
#Type ⇒ Object
- MATERIAL:素材。
- CLASS:分类。
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, id = nil) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(type = nil, id = nil) ⇒ Resource
Returns a new instance of Resource.
5263 5264 5265 5266 |
# File 'lib/v20191029/models.rb', line 5263 def initialize(type=nil, id=nil) @Type = type @Id = id end |
Instance Attribute Details
#Id ⇒ Object
5261 5262 5263 |
# File 'lib/v20191029/models.rb', line 5261 def Id @Id end |
#Type ⇒ Object
5261 5262 5263 |
# File 'lib/v20191029/models.rb', line 5261 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
5268 5269 5270 5271 |
# File 'lib/v20191029/models.rb', line 5268 def deserialize(params) @Type = params['Type'] @Id = params['Id'] end |