Class: TencentCloud::Scf::V20180416::ListLayersResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::ListLayersResponse
- Defined in:
- lib/v20180416/models.rb
Overview
ListLayers返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(layers = nil, totalcount = nil, requestid = nil) ⇒ ListLayersResponse
constructor
A new instance of ListLayersResponse.
Constructor Details
#initialize(layers = nil, totalcount = nil, requestid = nil) ⇒ ListLayersResponse
Returns a new instance of ListLayersResponse.
3430 3431 3432 3433 3434 |
# File 'lib/v20180416/models.rb', line 3430 def initialize(layers=nil, totalcount=nil, requestid=nil) @Layers = layers @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Layers ⇒ Object
3428 3429 3430 |
# File 'lib/v20180416/models.rb', line 3428 def Layers @Layers end |
#RequestId ⇒ Object
3428 3429 3430 |
# File 'lib/v20180416/models.rb', line 3428 def RequestId @RequestId end |
#TotalCount ⇒ Object
3428 3429 3430 |
# File 'lib/v20180416/models.rb', line 3428 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 |
# File 'lib/v20180416/models.rb', line 3436 def deserialize(params) unless params['Layers'].nil? @Layers = [] params['Layers'].each do |i| layerversioninfo_tmp = LayerVersionInfo.new layerversioninfo_tmp.deserialize(i) @Layers << layerversioninfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |