Class: TencentCloud::Scf::V20180416::ListFunctionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::ListFunctionsResponse
- Defined in:
- lib/v20180416/models.rb
Overview
ListFunctions返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(functions = nil, totalcount = nil, requestid = nil) ⇒ ListFunctionsResponse
constructor
A new instance of ListFunctionsResponse.
Constructor Details
#initialize(functions = nil, totalcount = nil, requestid = nil) ⇒ ListFunctionsResponse
Returns a new instance of ListFunctionsResponse.
3324 3325 3326 3327 3328 |
# File 'lib/v20180416/models.rb', line 3324 def initialize(functions=nil, totalcount=nil, requestid=nil) @Functions = functions @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Functions ⇒ Object
3322 3323 3324 |
# File 'lib/v20180416/models.rb', line 3322 def Functions @Functions end |
#RequestId ⇒ Object
3322 3323 3324 |
# File 'lib/v20180416/models.rb', line 3322 def RequestId @RequestId end |
#TotalCount ⇒ Object
3322 3323 3324 |
# File 'lib/v20180416/models.rb', line 3322 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 |
# File 'lib/v20180416/models.rb', line 3330 def deserialize(params) unless params['Functions'].nil? @Functions = [] params['Functions'].each do |i| function_tmp = Function.new function_tmp.deserialize(i) @Functions << function_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |