Class: TencentCloud::Scf::V20180416::ListVersionByFunctionRequest

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

Overview

ListVersionByFunction请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(functionname = nil, namespace = nil, offset = nil, limit = nil, order = nil, orderby = nil) ⇒ ListVersionByFunctionRequest

Returns a new instance of ListVersionByFunctionRequest.



3617
3618
3619
3620
3621
3622
3623
3624
# File 'lib/v20180416/models.rb', line 3617

def initialize(functionname=nil, namespace=nil, offset=nil, limit=nil, order=nil, orderby=nil)
  @FunctionName = functionname
  @Namespace = namespace
  @Offset = offset
  @Limit = limit
  @Order = order
  @OrderBy = orderby
end

Instance Attribute Details

#FunctionName ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def FunctionName
  @FunctionName
end

#Limit ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def Limit
  @Limit
end

#Namespace ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def Namespace
  @Namespace
end

#Offset ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def Offset
  @Offset
end

#Order ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def Order
  @Order
end

#OrderBy ⇒ Object

Parameters:

  • FunctionName: —

    函数名

  • Namespace: —

    函数所在命名空间

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

    返回数据长度,默认值为 20

  • Order: —

    以升序还是降序的方式返回结果,可选值 ASC 和 DESC

  • OrderBy: —

    根据哪个字段进行返回结果排序,支持以下字段:AddTime, ModTime



3615
3616
3617
# File 'lib/v20180416/models.rb', line 3615

def OrderBy
  @OrderBy
end

Instance Method Details

#deserialize(params) ⇒ Object



3626
3627
3628
3629
3630
3631
3632
3633
# File 'lib/v20180416/models.rb', line 3626

def deserialize(params)
  @FunctionName = params['FunctionName']
  @Namespace = params['Namespace']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @Order = params['Order']
  @OrderBy = params['OrderBy']
end