Class: TencentCloud::Ams::V20201229::StorageInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::StorageInfo
- Defined in:
- lib/v20201229/models.rb
Overview
用于表示数据存储的相关信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, url = nil, bucketinfo = nil) ⇒ StorageInfo
constructor
A new instance of StorageInfo.
Constructor Details
#initialize(type = nil, url = nil, bucketinfo = nil) ⇒ StorageInfo
Returns a new instance of StorageInfo.
1088 1089 1090 1091 1092 |
# File 'lib/v20201229/models.rb', line 1088 def initialize(type=nil, url=nil, bucketinfo=nil) @Type = type @Url = url @BucketInfo = bucketinfo end |
Instance Attribute Details
#BucketInfo ⇒ Object
1086 1087 1088 |
# File 'lib/v20201229/models.rb', line 1086 def BucketInfo @BucketInfo end |
#Type ⇒ Object
1086 1087 1088 |
# File 'lib/v20201229/models.rb', line 1086 def Type @Type end |
#Url ⇒ Object
1086 1087 1088 |
# File 'lib/v20201229/models.rb', line 1086 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
1094 1095 1096 1097 1098 1099 1100 1101 |
# File 'lib/v20201229/models.rb', line 1094 def deserialize(params) @Type = params['Type'] @Url = params['Url'] unless params['BucketInfo'].nil? @BucketInfo = BucketInfo.new @BucketInfo.deserialize(params['BucketInfo']) end end |