Class: TencentCloud::Cdc::V20201214::CosInfo

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

Overview

用于购买页面添加cos信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(size = nil, type = nil) ⇒ CosInfo

Returns a new instance of CosInfo.



73
74
75
76
# File 'lib/v20201214/models.rb', line 73

def initialize(size=nil, type=nil)
  @Size = size
  @Type = type
end

Instance Attribute Details

#SizeObject

Parameters:

  • Size:

    COS存储大小,单位TB

  • Type:

    COS存储类型,默认为cos



71
72
73
# File 'lib/v20201214/models.rb', line 71

def Size
  @Size
end

#TypeObject

Parameters:

  • Size:

    COS存储大小,单位TB

  • Type:

    COS存储类型,默认为cos



71
72
73
# File 'lib/v20201214/models.rb', line 71

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



78
79
80
81
# File 'lib/v20201214/models.rb', line 78

def deserialize(params)
  @Size = params['Size']
  @Type = params['Type']
end