Class: TencentCloud::Oceanus::V20190422::ResourceLoc

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190422/models.rb

Overview

资源位置描述

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ParamObject

Parameters:

  • StorageType:

    资源位置的存储类型,目前只支持1:COS

  • Param:

    描述资源位置的json



4731
4732
4733
# File 'lib/v20190422/models.rb', line 4731

def Param
  @Param
end

#StorageTypeObject

Parameters:

  • StorageType:

    资源位置的存储类型,目前只支持1:COS

  • Param:

    描述资源位置的json



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