Class: TencentCloud::Organization::V20210331::ProductResource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::ProductResource
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20210331/models.rb
Overview
产品资源
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(productresourceid = nil, resourcegrantlast = nil) ⇒ ProductResource
constructor
A new instance of ProductResource.
Constructor Details
#initialize(productresourceid = nil, resourcegrantlast = nil) ⇒ ProductResource
Returns a new instance of ProductResource.
6525 6526 6527 6528 |
# File 'lib/v20210331/models.rb', line 6525 def initialize(productresourceid=nil, resourcegrantlast=nil) @ProductResourceId = productresourceid @ResourceGrantLast = resourcegrantlast end |
Instance Attribute Details
#ProductResourceId ⇒ Object
6520 6521 6522 |
# File 'lib/v20210331/models.rb', line 6520 def ProductResourceId @ProductResourceId end |
#ResourceGrantLast ⇒ Object
6520 6521 6522 |
# File 'lib/v20210331/models.rb', line 6520 def ResourceGrantLast @ResourceGrantLast end |
Instance Method Details
#deserialize(params) ⇒ Object
6530 6531 6532 6533 |
# File 'lib/v20210331/models.rb', line 6530 def deserialize(params) @ProductResourceId = params['ProductResourceId'] @ResourceGrantLast = params['ResourceGrantLast'] end |