Class: TencentCloud::Teo::V20220901::DescribeFunctionsResponse

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

Overview

DescribeFunctions返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, functions = nil, requestid = nil) ⇒ DescribeFunctionsResponse

Returns a new instance of DescribeFunctionsResponse.



8776
8777
8778
8779
8780
# File 'lib/v20220901/models.rb', line 8776

def initialize(totalcount=nil, functions=nil, requestid=nil)
  @TotalCount = totalcount
  @Functions = functions
  @RequestId = requestid
end

Instance Attribute Details

#FunctionsObject

Parameters:

  • TotalCount:

    符合查询条件的函数总数。

  • Functions:

    符合查询条件的所有函数信息。

  • RequestId:

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



8774
8775
8776
# File 'lib/v20220901/models.rb', line 8774

def Functions
  @Functions
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的函数总数。

  • Functions:

    符合查询条件的所有函数信息。

  • RequestId:

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



8774
8775
8776
# File 'lib/v20220901/models.rb', line 8774

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的函数总数。

  • Functions:

    符合查询条件的所有函数信息。

  • RequestId:

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



8774
8775
8776
# File 'lib/v20220901/models.rb', line 8774

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
# File 'lib/v20220901/models.rb', line 8782

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Functions'].nil?
    @Functions = []
    params['Functions'].each do |i|
      function_tmp = Function.new
      function_tmp.deserialize(i)
      @Functions << function_tmp
    end
  end
  @RequestId = params['RequestId']
end