Class: TencentCloud::Cfs::V20190719::AvailableType
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::AvailableType
- Defined in:
- lib/v20190719/models.rb
Overview
版本控制-类型数组
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protocols = nil, type = nil, prepayment = nil) ⇒ AvailableType
constructor
A new instance of AvailableType.
Constructor Details
#initialize(protocols = nil, type = nil, prepayment = nil) ⇒ AvailableType
Returns a new instance of AvailableType.
265 266 267 268 269 |
# File 'lib/v20190719/models.rb', line 265 def initialize(protocols=nil, type=nil, prepayment=nil) @Protocols = protocols @Type = type @Prepayment = prepayment end |
Instance Attribute Details
#Prepayment ⇒ Object
263 264 265 |
# File 'lib/v20190719/models.rb', line 263 def Prepayment @Prepayment end |
#Protocols ⇒ Object
263 264 265 |
# File 'lib/v20190719/models.rb', line 263 def Protocols @Protocols end |
#Type ⇒ Object
263 264 265 |
# File 'lib/v20190719/models.rb', line 263 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
271 272 273 274 275 276 277 278 279 280 281 282 |
# File 'lib/v20190719/models.rb', line 271 def deserialize(params) unless params['Protocols'].nil? @Protocols = [] params['Protocols'].each do |i| availableprotostatus_tmp = AvailableProtoStatus.new availableprotostatus_tmp.deserialize(i) @Protocols << availableprotostatus_tmp end end @Type = params['Type'] @Prepayment = params['Prepayment'] end |