Class: TencentCloud::Bpaas::V20181217::Scf

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

Overview

云函数SCF

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scfregion = nil, scfregionname = nil, scfname = nil, params = nil) ⇒ Scf

Returns a new instance of Scf.



275
276
277
278
279
280
# File 'lib/v20181217/models.rb', line 275

def initialize(scfregion=nil, scfregionname=nil, scfname=nil, params=nil)
  @ScfRegion = scfregion
  @ScfRegionName = scfregionname
  @ScfName = scfname
  @Params = params
end

Instance Attribute Details

#ParamsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScfRegion:

    Scf函数地域id

  • ScfRegionName:

    Scf函数地域

  • ScfName:

    Scf函数名称

  • Params:

    Scf函数入参



273
274
275
# File 'lib/v20181217/models.rb', line 273

def Params
  @Params
end

#ScfNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScfRegion:

    Scf函数地域id

  • ScfRegionName:

    Scf函数地域

  • ScfName:

    Scf函数名称

  • Params:

    Scf函数入参



273
274
275
# File 'lib/v20181217/models.rb', line 273

def ScfName
  @ScfName
end

#ScfRegionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScfRegion:

    Scf函数地域id

  • ScfRegionName:

    Scf函数地域

  • ScfName:

    Scf函数名称

  • Params:

    Scf函数入参



273
274
275
# File 'lib/v20181217/models.rb', line 273

def ScfRegion
  @ScfRegion
end

#ScfRegionNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ScfRegion:

    Scf函数地域id

  • ScfRegionName:

    Scf函数地域

  • ScfName:

    Scf函数名称

  • Params:

    Scf函数入参



273
274
275
# File 'lib/v20181217/models.rb', line 273

def ScfRegionName
  @ScfRegionName
end

Instance Method Details

#deserialize(params) ⇒ Object



282
283
284
285
286
287
288
289
290
291
292
293
294
# File 'lib/v20181217/models.rb', line 282

def deserialize(params)
  @ScfRegion = params['ScfRegion']
  @ScfRegionName = params['ScfRegionName']
  @ScfName = params['ScfName']
  unless params['Params'].nil?
    @Params = []
    params['Params'].each do |i|
      scfparam_tmp = ScfParam.new
      scfparam_tmp.deserialize(i)
      @Params << scfparam_tmp
    end
  end
end