Class: TencentCloud::Scf::V20180416::ListAliasesRequest

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

Overview

ListAliases请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(functionname = nil, namespace = nil, functionversion = nil, offset = nil, limit = nil) ⇒ ListAliasesRequest

Returns a new instance of ListAliasesRequest.



3033
3034
3035
3036
3037
3038
3039
# File 'lib/v20180416/models.rb', line 3033

def initialize(functionname=nil, namespace=nil, functionversion=nil, offset=nil, limit=nil)
  @FunctionName = functionname
  @Namespace = namespace
  @FunctionVersion = functionversion
  @Offset = offset
  @Limit = limit
end

Instance Attribute Details

#FunctionName ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • Namespace: —

    函数所在的命名空间

  • FunctionVersion: —

    如果提供此参数,则只返回与该函数版本有关联的别名

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

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



3031
3032
3033
# File 'lib/v20180416/models.rb', line 3031

def FunctionName
  @FunctionName
end

#FunctionVersion ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • Namespace: —

    函数所在的命名空间

  • FunctionVersion: —

    如果提供此参数,则只返回与该函数版本有关联的别名

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

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



3031
3032
3033
# File 'lib/v20180416/models.rb', line 3031

def FunctionVersion
  @FunctionVersion
end

#Limit ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • Namespace: —

    函数所在的命名空间

  • FunctionVersion: —

    如果提供此参数,则只返回与该函数版本有关联的别名

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

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



3031
3032
3033
# File 'lib/v20180416/models.rb', line 3031

def Limit
  @Limit
end

#Namespace ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • Namespace: —

    函数所在的命名空间

  • FunctionVersion: —

    如果提供此参数,则只返回与该函数版本有关联的别名

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

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



3031
3032
3033
# File 'lib/v20180416/models.rb', line 3031

def Namespace
  @Namespace
end

#Offset ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • Namespace: —

    函数所在的命名空间

  • FunctionVersion: —

    如果提供此参数,则只返回与该函数版本有关联的别名

  • Offset: —

    数据偏移量,默认值为 0

  • Limit: —

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



3031
3032
3033
# File 'lib/v20180416/models.rb', line 3031

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



3041
3042
3043
3044
3045
3046
3047
# File 'lib/v20180416/models.rb', line 3041

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