Class: TencentCloud::Oceanus::V20190422::ResourceRef
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::ResourceRef
- Defined in:
- lib/v20190422/models.rb
Overview
资源引用参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resourceid = nil, version = nil, type = nil) ⇒ ResourceRef
constructor
A new instance of ResourceRef.
Constructor Details
#initialize(resourceid = nil, version = nil, type = nil) ⇒ ResourceRef
Returns a new instance of ResourceRef.
4783 4784 4785 4786 4787 |
# File 'lib/v20190422/models.rb', line 4783 def initialize(resourceid=nil, version=nil, type=nil) @ResourceId = resourceid @Version = version @Type = type end |
Instance Attribute Details
#ResourceId ⇒ Object
4781 4782 4783 |
# File 'lib/v20190422/models.rb', line 4781 def ResourceId @ResourceId end |
#Type ⇒ Object
4781 4782 4783 |
# File 'lib/v20190422/models.rb', line 4781 def Type @Type end |
#Version ⇒ Object
4781 4782 4783 |
# File 'lib/v20190422/models.rb', line 4781 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
4789 4790 4791 4792 4793 |
# File 'lib/v20190422/models.rb', line 4789 def deserialize(params) @ResourceId = params['ResourceId'] @Version = params['Version'] @Type = params['Type'] end |