Class: TencentCloud::Ms::V20180408::AndroidPlan

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

Overview

渠道合作Android加固策略信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planid = nil, apppkgname = nil, apptype = nil, encryptparam = nil) ⇒ AndroidPlan

Returns a new instance of AndroidPlan.



195
196
197
198
199
200
# File 'lib/v20180408/models.rb', line 195

def initialize(planid=nil, apppkgname=nil, apptype=nil, encryptparam=nil)
  @PlanId = planid
  @AppPkgName = apppkgname
  @AppType = apptype
  @EncryptParam = encryptparam
end

Instance Attribute Details

#AppPkgNameObject

aab加固方案二单独vmp加固:‘{

"vmp": {
    "enable": 1,
    "ndkpath": "/xxx/android-ndk-r10e",
    "profile": "/xxx/vmpprofile.txt",
    "mapping": "/xxx/mapping.txt",
    "antiprotect": 1,
    "antimonitor": 1
}

}’



193
194
195
# File 'lib/v20180408/models.rb', line 193

def AppPkgName
  @AppPkgName
end

#AppTypeObject

aab加固方案二单独vmp加固:‘{

"vmp": {
    "enable": 1,
    "ndkpath": "/xxx/android-ndk-r10e",
    "profile": "/xxx/vmpprofile.txt",
    "mapping": "/xxx/mapping.txt",
    "antiprotect": 1,
    "antimonitor": 1
}

}’



193
194
195
# File 'lib/v20180408/models.rb', line 193

def AppType
  @AppType
end

#EncryptParamObject

aab加固方案二单独vmp加固:‘{

"vmp": {
    "enable": 1,
    "ndkpath": "/xxx/android-ndk-r10e",
    "profile": "/xxx/vmpprofile.txt",
    "mapping": "/xxx/mapping.txt",
    "antiprotect": 1,
    "antimonitor": 1
}

}’



193
194
195
# File 'lib/v20180408/models.rb', line 193

def EncryptParam
  @EncryptParam
end

#PlanIdObject

aab加固方案二单独vmp加固:‘{

"vmp": {
    "enable": 1,
    "ndkpath": "/xxx/android-ndk-r10e",
    "profile": "/xxx/vmpprofile.txt",
    "mapping": "/xxx/mapping.txt",
    "antiprotect": 1,
    "antimonitor": 1
}

}’



193
194
195
# File 'lib/v20180408/models.rb', line 193

def PlanId
  @PlanId
end

Instance Method Details

#deserialize(params) ⇒ Object



202
203
204
205
206
207
# File 'lib/v20180408/models.rb', line 202

def deserialize(params)
  @PlanId = params['PlanId']
  @AppPkgName = params['AppPkgName']
  @AppType = params['AppType']
  @EncryptParam = params['EncryptParam']
end