Class: TencentCloud::Ms::V20180408::AppletPlan

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

Overview

小程序加固配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planid = nil, appletlevel = nil) ⇒ AppletPlan

Returns a new instance of AppletPlan.



541
542
543
544
# File 'lib/v20180408/models.rb', line 541

def initialize(planid=nil, appletlevel=nil)
  @PlanId = planid
  @AppletLevel = appletlevel
end

Instance Attribute Details

#AppletLevelObject

2 - 开启字符串编码和代码变换,代码膨胀,随机插入冗余代码,开启代码控制流平坦化,保证业务逻辑正常前提下,扁平化代码逻辑分支,破坏代码简单的线性结构。3 - 开启代码加密,对字符串、函数、变量、属性、类、数组等结构进行加密保护,更多得代码控制流平坦化,扁平化逻辑分支。

Parameters:

  • PlanId:

    策略Id

  • AppletLevel:

    1 - 开启代码混淆、代码压缩、代码反调试保护。



539
540
541
# File 'lib/v20180408/models.rb', line 539

def AppletLevel
  @AppletLevel
end

#PlanIdObject

2 - 开启字符串编码和代码变换,代码膨胀,随机插入冗余代码,开启代码控制流平坦化,保证业务逻辑正常前提下,扁平化代码逻辑分支,破坏代码简单的线性结构。3 - 开启代码加密,对字符串、函数、变量、属性、类、数组等结构进行加密保护,更多得代码控制流平坦化,扁平化逻辑分支。

Parameters:

  • PlanId:

    策略Id

  • AppletLevel:

    1 - 开启代码混淆、代码压缩、代码反调试保护。



539
540
541
# File 'lib/v20180408/models.rb', line 539

def PlanId
  @PlanId
end

Instance Method Details

#deserialize(params) ⇒ Object



546
547
548
549
# File 'lib/v20180408/models.rb', line 546

def deserialize(params)
  @PlanId = params['PlanId']
  @AppletLevel = params['AppletLevel']
end