Class: TencentCloud::Cdc::V20201214::CosInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::CosInfo
- Defined in:
- lib/v20201214/models.rb
Overview
用于购买页面添加cos信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(size = nil, type = nil) ⇒ CosInfo
constructor
A new instance of CosInfo.
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
#Size ⇒ Object
71 72 73 |
# File 'lib/v20201214/models.rb', line 71 def Size @Size end |
#Type ⇒ Object
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 |