Class: TencentCloud::Oceanus::V20190422::ResourceLoc
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Oceanus::V20190422::ResourceLoc
- Defined in:
- lib/v20190422/models.rb
Overview
资源位置描述
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(storagetype = nil, param = nil) ⇒ ResourceLoc
constructor
A new instance of ResourceLoc.
Constructor Details
#initialize(storagetype = nil, param = nil) ⇒ ResourceLoc
Returns a new instance of ResourceLoc.
4733 4734 4735 4736 |
# File 'lib/v20190422/models.rb', line 4733 def initialize(storagetype=nil, param=nil) @StorageType = storagetype @Param = param end |
Instance Attribute Details
#Param ⇒ Object
4731 4732 4733 |
# File 'lib/v20190422/models.rb', line 4731 def Param @Param end |
#StorageType ⇒ Object
4731 4732 4733 |
# File 'lib/v20190422/models.rb', line 4731 def StorageType @StorageType end |
Instance Method Details
#deserialize(params) ⇒ Object
4738 4739 4740 4741 4742 4743 4744 |
# File 'lib/v20190422/models.rb', line 4738 def deserialize(params) @StorageType = params['StorageType'] unless params['Param'].nil? @Param = ResourceLocParam.new @Param.deserialize(params['Param']) end end |