Files

114 lines
4.4 KiB
C#
Raw Permalink 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.Sms.V20190711.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AddSmsSignRequest : AbstractModel
{
/// <summary>
/// 签名名称。
/// </summary>
[JsonProperty("SignName")]
public string SignName{ get; set; }
/// <summary>
/// 签名类型。其中每种类型后面标注了其可选的 DocumentType证明类型
/// 0公司0123
/// 1APP01234
/// 2网站01235
/// 3公众号或者小程序01236
/// 4商标7
/// 5政府/机关事业单位/其他机构23
/// 注:必须按照对应关系选择证明类型,否则会审核失败。
/// </summary>
[JsonProperty("SignType")]
public ulong? SignType{ get; set; }
/// <summary>
/// 证明类型:
/// 0三证合一。
/// 1企业营业执照。
/// 2组织机构代码证书。
/// 3社会信用代码证书。
/// 4应用后台管理截图个人开发APP
/// 5网站备案后台截图个人开发网站
/// 6小程序设置页面截图个人认证小程序
/// 7商标注册书。
/// </summary>
[JsonProperty("DocumentType")]
public ulong? DocumentType{ get; set; }
/// <summary>
/// 是否国际/港澳台短信:
/// 0表示国内短信。
/// 1表示国际/港澳台短信。
/// </summary>
[JsonProperty("International")]
public ulong? International{ get; set; }
/// <summary>
/// 签名用途:
/// 0自用。
/// 1他用。
/// </summary>
[JsonProperty("UsedMethod")]
public ulong? UsedMethod{ get; set; }
/// <summary>
/// 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// </summary>
[JsonProperty("ProofImage")]
public string ProofImage{ get; set; }
/// <summary>
/// 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
/// 图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
/// 注:只有 UsedMethod 在选择为 1他用这个字段才会生效。
/// </summary>
[JsonProperty("CommissionImage")]
public string CommissionImage{ get; set; }
/// <summary>
/// 签名的申请备注。
/// </summary>
[JsonProperty("Remark")]
public string Remark{ 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 + "SignName", this.SignName);
this.SetParamSimple(map, prefix + "SignType", this.SignType);
this.SetParamSimple(map, prefix + "DocumentType", this.DocumentType);
this.SetParamSimple(map, prefix + "International", this.International);
this.SetParamSimple(map, prefix + "UsedMethod", this.UsedMethod);
this.SetParamSimple(map, prefix + "ProofImage", this.ProofImage);
this.SetParamSimple(map, prefix + "CommissionImage", this.CommissionImage);
this.SetParamSimple(map, prefix + "Remark", this.Remark);
}
}
}