lib/v20220105/models.rb in tencentcloud-sdk-acp-3.0.412 vs lib/v20220105/models.rb in tencentcloud-sdk-acp-3.0.413
- old
+ new
@@ -160,24 +160,30 @@
# @type PrivacyTextUrl: String
# @param AppName: 应用名称
# @type AppName: String
# @param PrivacyTextName: 隐私申明文件名称
# @type PrivacyTextName: String
+ # @param AppSha1: 软件Sha1值(PrivacyTextMD5不为空时必填)
+ # @type AppSha1: String
+ # @param PrivacyTextMD5: 隐私申明文本md5(AppSha1不为空时必填)
+ # @type PrivacyTextMD5: String
- attr_accessor :Source, :Platform, :TaskType, :OrgTaskID, :AppPackage, :FileID, :AppDownloadUrl, :PrivacyTextUrl, :AppName, :PrivacyTextName
+ attr_accessor :Source, :Platform, :TaskType, :OrgTaskID, :AppPackage, :FileID, :AppDownloadUrl, :PrivacyTextUrl, :AppName, :PrivacyTextName, :AppSha1, :PrivacyTextMD5
- def initialize(source=nil, platform=nil, tasktype=nil, orgtaskid=nil, apppackage=nil, fileid=nil, appdownloadurl=nil, privacytexturl=nil, appname=nil, privacytextname=nil)
+ def initialize(source=nil, platform=nil, tasktype=nil, orgtaskid=nil, apppackage=nil, fileid=nil, appdownloadurl=nil, privacytexturl=nil, appname=nil, privacytextname=nil, appsha1=nil, privacytextmd5=nil)
@Source = source
@Platform = platform
@TaskType = tasktype
@OrgTaskID = orgtaskid
@AppPackage = apppackage
@FileID = fileid
@AppDownloadUrl = appdownloadurl
@PrivacyTextUrl = privacytexturl
@AppName = appname
@PrivacyTextName = privacytextname
+ @AppSha1 = appsha1
+ @PrivacyTextMD5 = privacytextmd5
end
def deserialize(params)
@Source = params['Source']
@Platform = params['Platform']
@@ -187,10 +193,12 @@
@FileID = params['FileID']
@AppDownloadUrl = params['AppDownloadUrl']
@PrivacyTextUrl = params['PrivacyTextUrl']
@AppName = params['AppName']
@PrivacyTextName = params['PrivacyTextName']
+ @AppSha1 = params['AppSha1']
+ @PrivacyTextMD5 = params['PrivacyTextMD5']
end
end
# CreateAppScanTaskRepeat返回参数结构体
class CreateAppScanTaskRepeatResponse < TencentCloud::Common::AbstractModel
@@ -224,11 +232,11 @@
# @type Source: Integer
# @param Platform: 应用平台, 0:android, 1:ios, 2:小程序
# @type Platform: Integer
# @param AppPackage: App包名
# @type AppPackage: String
- # @param AppName: App名称
+ # @param AppName: App名称(任务来源为2时必填)
# @type AppName: String
# @param AppVersion: App版本
# @type AppVersion: String
# @param FileID: 上传的软件文件ID(任务来源为1时必填)
# @type FileID: String
@@ -250,14 +258,18 @@
# @type Remark: String
# @param IsAgreePrivacy: 是否同意隐私条款,0:不同意(默认), 1:同意
# @type IsAgreePrivacy: Integer
# @param PrivacyTextName: 隐私申明文件名称
# @type PrivacyTextName: String
+ # @param AppSha1: 软件Sha1值(PrivacyTextMD5不为空时必填)
+ # @type AppSha1: String
+ # @param PrivacyTextMD5: 隐私申明文本md5(AppSha1不为空时必填)
+ # @type PrivacyTextMD5: String
- attr_accessor :TaskType, :Source, :Platform, :AppPackage, :AppName, :AppVersion, :FileID, :AppDownloadUrl, :PrivacyTextUrl, :ContactName, :TelNumber, :Email, :CorpName, :SalesPerson, :Remark, :IsAgreePrivacy, :PrivacyTextName
+ attr_accessor :TaskType, :Source, :Platform, :AppPackage, :AppName, :AppVersion, :FileID, :AppDownloadUrl, :PrivacyTextUrl, :ContactName, :TelNumber, :Email, :CorpName, :SalesPerson, :Remark, :IsAgreePrivacy, :PrivacyTextName, :AppSha1, :PrivacyTextMD5
- def initialize(tasktype=nil, source=nil, platform=nil, apppackage=nil, appname=nil, appversion=nil, fileid=nil, appdownloadurl=nil, privacytexturl=nil, contactname=nil, telnumber=nil, email=nil, corpname=nil, salesperson=nil, remark=nil, isagreeprivacy=nil, privacytextname=nil)
+ def initialize(tasktype=nil, source=nil, platform=nil, apppackage=nil, appname=nil, appversion=nil, fileid=nil, appdownloadurl=nil, privacytexturl=nil, contactname=nil, telnumber=nil, email=nil, corpname=nil, salesperson=nil, remark=nil, isagreeprivacy=nil, privacytextname=nil, appsha1=nil, privacytextmd5=nil)
@TaskType = tasktype
@Source = source
@Platform = platform
@AppPackage = apppackage
@AppName = appname
@@ -271,10 +283,12 @@
@CorpName = corpname
@SalesPerson = salesperson
@Remark = remark
@IsAgreePrivacy = isagreeprivacy
@PrivacyTextName = privacytextname
+ @AppSha1 = appsha1
+ @PrivacyTextMD5 = privacytextmd5
end
def deserialize(params)
@TaskType = params['TaskType']
@Source = params['Source']
@@ -291,9 +305,11 @@
@CorpName = params['CorpName']
@SalesPerson = params['SalesPerson']
@Remark = params['Remark']
@IsAgreePrivacy = params['IsAgreePrivacy']
@PrivacyTextName = params['PrivacyTextName']
+ @AppSha1 = params['AppSha1']
+ @PrivacyTextMD5 = params['PrivacyTextMD5']
end
end
# CreateAppScanTask返回参数结构体
class CreateAppScanTaskResponse < TencentCloud::Common::AbstractModel