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