Files
g.hnyhua.cn/TencentCloud/Ms/V20180408/Models/ServiceInfo.cs

65 lines
2.6 KiB
C#
Raw Normal View History

/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Ms.V20180408.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ServiceInfo : AbstractModel
{
/// <summary>
/// 服务版本基础版basic专业版professional企业版enterprise。
/// </summary>
[JsonProperty("ServiceEdition")]
public string ServiceEdition{ get; set; }
/// <summary>
/// 任务处理完成后的反向通知回调地址如果不需要通知请传递空字符串。通知为POST请求post包体数据示例{"Response":{"ItemId":"4cdad8fb86f036b06bccb3f58971c306","ShieldCode":0,"ShieldMd5":"78701576793c4a5f04e1c9660de0aa0b","ShieldSize":11997354,"TaskStatus":1,"TaskTime":1539148141}},调用方需要返回如下信息,{"Result":"ok","Reason":"xxxxx"}如果Result字段值不等于ok会继续回调。
/// </summary>
[JsonProperty("CallbackUrl")]
public string CallbackUrl{ get; set; }
/// <summary>
/// 提交来源 YYB-应用宝 RDM-rdm MC-控制台 MAC_TOOL-mac工具 WIN_TOOL-window工具。
/// </summary>
[JsonProperty("SubmitSource")]
public string SubmitSource{ get; set; }
/// <summary>
/// 加固策略编号如果不传则使用系统默认加固策略。如果指定的plan不存在会返回错误。
/// </summary>
[JsonProperty("PlanId")]
public ulong? PlanId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ServiceEdition", this.ServiceEdition);
this.SetParamSimple(map, prefix + "CallbackUrl", this.CallbackUrl);
this.SetParamSimple(map, prefix + "SubmitSource", this.SubmitSource);
this.SetParamSimple(map, prefix + "PlanId", this.PlanId);
}
}
}