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.
199 200 201 202 203 |
# File 'lib/v20190719/models.rb', line 199 def initialize(protocols=nil, type=nil, prepayment=nil) @Protocols = protocols @Type = type @Prepayment = prepayment end |
Instance Attribute Details
#Prepayment ⇒ Object
197 198 199 |
# File 'lib/v20190719/models.rb', line 197 def Prepayment @Prepayment end |
#Protocols ⇒ Object
197 198 199 |
# File 'lib/v20190719/models.rb', line 197 def Protocols @Protocols end |
#Type ⇒ Object
197 198 199 |
# File 'lib/v20190719/models.rb', line 197 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
205 206 207 208 209 210 211 212 213 214 215 216 |
# File 'lib/v20190719/models.rb', line 205 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 |