Class: TencentCloud::Organization::V20210331::ProductResource

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20210331/models.rb

Overview

产品资源

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ProductResourceIdObject

Parameters:

  • ProductResourceId:

    产品资源ID。

  • ResourceGrantLast:

    资源六段式最后一节



6520
6521
6522
# File 'lib/v20210331/models.rb', line 6520

def ProductResourceId
  @ProductResourceId
end

#ResourceGrantLastObject

Parameters:

  • ProductResourceId:

    产品资源ID。

  • ResourceGrantLast:

    资源六段式最后一节



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