Class: TencentCloud::Cdc::V20201214::CbsInfo

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

Overview

购买的cbs信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CbsInfo.



29
30
31
32
# File 'lib/v20201214/models.rb', line 29

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

Instance Attribute Details

#SizeObject

Parameters:

  • Size:

    cbs存储大小,单位TB

  • Type:

    cbs存储类型,默认为SSD



27
28
29
# File 'lib/v20201214/models.rb', line 27

def Size
  @Size
end

#TypeObject

Parameters:

  • Size:

    cbs存储大小,单位TB

  • Type:

    cbs存储类型,默认为SSD



27
28
29
# File 'lib/v20201214/models.rb', line 27

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



34
35
36
37
# File 'lib/v20201214/models.rb', line 34

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