Class: TencentCloud::Ms::V20180408::ServiceInfo

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

Overview

提交app加固的服务信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(serviceedition = nil, callbackurl = nil, submitsource = nil, planid = nil) ⇒ ServiceInfo

Returns a new instance of ServiceInfo.



2719
2720
2721
2722
2723
2724
# File 'lib/v20180408/models.rb', line 2719

def initialize(serviceedition=nil, callbackurl=nil, submitsource=nil, planid=nil)
  @ServiceEdition = serviceedition
  @CallbackUrl = callbackurl
  @SubmitSource = submitsource
  @PlanId = planid
end

Instance Attribute Details

#CallbackUrlObject

Parameters:

  • ServiceEdition:

    服务版本,基础版basic,专业版professional,企业版enterprise。

  • CallbackUrl:

    任务处理完成后的反向通知回调地址,如果不需要通知请传递空字符串。通知为POST请求,post包体数据示例“Response”:{“ItemId”:“4cdad8fb86f036b06bccb3f58971c306”,“ShieldCode”:0,“ShieldMd5”:“78701576793c4a5f04e1c9660de0aa0b”,“ShieldSize”:11997354,“TaskStatus”:1,“TaskTime”:1539148141},调用方需要返回如下信息,“Result”:“ok”,“Reason”:“xxxxx”,如果Result字段值不等于ok会继续回调。

  • SubmitSource:

    提交来源 YYB-应用宝 RDM-rdm MC-控制台 MAC_TOOL-mac工具 WIN_TOOL-window工具。

  • PlanId:

    加固策略编号,如果不传则使用系统默认加固策略。如果指定的plan不存在会返回错误。



2717
2718
2719
# File 'lib/v20180408/models.rb', line 2717

def CallbackUrl
  @CallbackUrl
end

#PlanIdObject

Parameters:

  • ServiceEdition:

    服务版本,基础版basic,专业版professional,企业版enterprise。

  • CallbackUrl:

    任务处理完成后的反向通知回调地址,如果不需要通知请传递空字符串。通知为POST请求,post包体数据示例“Response”:{“ItemId”:“4cdad8fb86f036b06bccb3f58971c306”,“ShieldCode”:0,“ShieldMd5”:“78701576793c4a5f04e1c9660de0aa0b”,“ShieldSize”:11997354,“TaskStatus”:1,“TaskTime”:1539148141},调用方需要返回如下信息,“Result”:“ok”,“Reason”:“xxxxx”,如果Result字段值不等于ok会继续回调。

  • SubmitSource:

    提交来源 YYB-应用宝 RDM-rdm MC-控制台 MAC_TOOL-mac工具 WIN_TOOL-window工具。

  • PlanId:

    加固策略编号,如果不传则使用系统默认加固策略。如果指定的plan不存在会返回错误。



2717
2718
2719
# File 'lib/v20180408/models.rb', line 2717

def PlanId
  @PlanId
end

#ServiceEditionObject

Parameters:

  • ServiceEdition:

    服务版本,基础版basic,专业版professional,企业版enterprise。

  • CallbackUrl:

    任务处理完成后的反向通知回调地址,如果不需要通知请传递空字符串。通知为POST请求,post包体数据示例“Response”:{“ItemId”:“4cdad8fb86f036b06bccb3f58971c306”,“ShieldCode”:0,“ShieldMd5”:“78701576793c4a5f04e1c9660de0aa0b”,“ShieldSize”:11997354,“TaskStatus”:1,“TaskTime”:1539148141},调用方需要返回如下信息,“Result”:“ok”,“Reason”:“xxxxx”,如果Result字段值不等于ok会继续回调。

  • SubmitSource:

    提交来源 YYB-应用宝 RDM-rdm MC-控制台 MAC_TOOL-mac工具 WIN_TOOL-window工具。

  • PlanId:

    加固策略编号,如果不传则使用系统默认加固策略。如果指定的plan不存在会返回错误。



2717
2718
2719
# File 'lib/v20180408/models.rb', line 2717

def ServiceEdition
  @ServiceEdition
end

#SubmitSourceObject

Parameters:

  • ServiceEdition:

    服务版本,基础版basic,专业版professional,企业版enterprise。

  • CallbackUrl:

    任务处理完成后的反向通知回调地址,如果不需要通知请传递空字符串。通知为POST请求,post包体数据示例“Response”:{“ItemId”:“4cdad8fb86f036b06bccb3f58971c306”,“ShieldCode”:0,“ShieldMd5”:“78701576793c4a5f04e1c9660de0aa0b”,“ShieldSize”:11997354,“TaskStatus”:1,“TaskTime”:1539148141},调用方需要返回如下信息,“Result”:“ok”,“Reason”:“xxxxx”,如果Result字段值不等于ok会继续回调。

  • SubmitSource:

    提交来源 YYB-应用宝 RDM-rdm MC-控制台 MAC_TOOL-mac工具 WIN_TOOL-window工具。

  • PlanId:

    加固策略编号,如果不传则使用系统默认加固策略。如果指定的plan不存在会返回错误。



2717
2718
2719
# File 'lib/v20180408/models.rb', line 2717

def SubmitSource
  @SubmitSource
end

Instance Method Details

#deserialize(params) ⇒ Object



2726
2727
2728
2729
2730
2731
# File 'lib/v20180408/models.rb', line 2726

def deserialize(params)
  @ServiceEdition = params['ServiceEdition']
  @CallbackUrl = params['CallbackUrl']
  @SubmitSource = params['SubmitSource']
  @PlanId = params['PlanId']
end