Class: TencentCloud::Scf::V20180416::ListFunctionsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180416/models.rb

Overview

ListFunctions返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • Functions: —

    函数列表

  • TotalCount: —

    总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3322
3323
3324
# File 'lib/v20180416/models.rb', line 3322

def Functions
  @Functions
end

#RequestId ⇒ Object

Parameters:

  • Functions: —

    函数列表

  • TotalCount: —

    总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3322
3323
3324
# File 'lib/v20180416/models.rb', line 3322

def RequestId
  @RequestId
end

#TotalCount ⇒ Object

Parameters:

  • Functions: —

    函数列表

  • TotalCount: —

    总数

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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