chengkun
2025-06-05 4080b5997b38ca84b3b203c7101dcadb97b76925
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?php
/*
 * Copyright (c) 2017-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;
use TencentCloud\Common\AbstractModel;
 
/**
 * ModifySmsSign请求参数结构体
 *
 * @method integer getSignId() 获取待修改的签名 ID。
 * @method void setSignId(integer $SignId) 设置待修改的签名 ID。
 * @method string getSignName() 获取签名名称。
 * @method void setSignName(string $SignName) 设置签名名称。
 * @method integer getSignType() 获取签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
0:公司,可选 DocumentType 有(0,1)。
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
2:网站,可选 DocumentType 有(0,1,2,3,5)。
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
4:商标,可选 DocumentType 有(7)。
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
注:必须按照对应关系选择证明类型,否则会审核失败。
 * @method void setSignType(integer $SignType) 设置签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
0:公司,可选 DocumentType 有(0,1)。
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
2:网站,可选 DocumentType 有(0,1,2,3,5)。
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
4:商标,可选 DocumentType 有(7)。
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
注:必须按照对应关系选择证明类型,否则会审核失败。
 * @method integer getDocumentType() 获取证明类型:
0:三证合一。
1:企业营业执照。
2:组织机构代码证书。
3:社会信用代码证书。
4:应用后台管理截图(个人开发APP)。
5:网站备案后台截图(个人开发网站)。
6:小程序设置页面截图(个人认证小程序)。
7:商标注册书。
8:公众号设置页面截图(个人认证公众号)。
 * @method void setDocumentType(integer $DocumentType) 设置证明类型:
0:三证合一。
1:企业营业执照。
2:组织机构代码证书。
3:社会信用代码证书。
4:应用后台管理截图(个人开发APP)。
5:网站备案后台截图(个人开发网站)。
6:小程序设置页面截图(个人认证小程序)。
7:商标注册书。
8:公众号设置页面截图(个人认证公众号)。
 * @method integer getInternational() 获取是否国际/港澳台短信:
0:表示国内短信。
1:表示国际/港澳台短信。
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
 * @method void setInternational(integer $International) 设置是否国际/港澳台短信:
0:表示国内短信。
1:表示国际/港澳台短信。
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
 * @method integer getUsedMethod() 获取签名用途:
0:自用。
1:他用。
 * @method void setUsedMethod(integer $UsedMethod) 设置签名用途:
0:自用。
1:他用。
 * @method string getProofImage() 获取签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
 * @method void setProofImage(string $ProofImage) 设置签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
 * @method string getCommissionImage() 获取委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
 * @method void setCommissionImage(string $CommissionImage) 设置委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
 * @method string getRemark() 获取签名的申请备注。
 * @method void setRemark(string $Remark) 设置签名的申请备注。
 * @method integer getQualificationId() 获取已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。<dx-alert infotype="notice" title="说明"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></dx-alert>
 * @method void setQualificationId(integer $QualificationId) 设置已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。<dx-alert infotype="notice" title="说明"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></dx-alert>
 */
class ModifySmsSignRequest extends AbstractModel
{
    /**
     * @var integer 待修改的签名 ID。
     */
    public $SignId;
 
    /**
     * @var string 签名名称。
     */
    public $SignName;
 
    /**
     * @var integer 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
0:公司,可选 DocumentType 有(0,1)。
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
2:网站,可选 DocumentType 有(0,1,2,3,5)。
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
4:商标,可选 DocumentType 有(7)。
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
注:必须按照对应关系选择证明类型,否则会审核失败。
     */
    public $SignType;
 
    /**
     * @var integer 证明类型:
0:三证合一。
1:企业营业执照。
2:组织机构代码证书。
3:社会信用代码证书。
4:应用后台管理截图(个人开发APP)。
5:网站备案后台截图(个人开发网站)。
6:小程序设置页面截图(个人认证小程序)。
7:商标注册书。
8:公众号设置页面截图(个人认证公众号)。
     */
    public $DocumentType;
 
    /**
     * @var integer 是否国际/港澳台短信:
0:表示国内短信。
1:表示国际/港澳台短信。
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
     */
    public $International;
 
    /**
     * @var integer 签名用途:
0:自用。
1:他用。
     */
    public $UsedMethod;
 
    /**
     * @var string 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
     */
    public $ProofImage;
 
    /**
     * @var string 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
     */
    public $CommissionImage;
 
    /**
     * @var string 签名的申请备注。
     */
    public $Remark;
 
    /**
     * @var integer 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。<dx-alert infotype="notice" title="说明"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></dx-alert>
     */
    public $QualificationId;
 
    /**
     * @param integer $SignId 待修改的签名 ID。
     * @param string $SignName 签名名称。
     * @param integer $SignType 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
0:公司,可选 DocumentType 有(0,1)。
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
2:网站,可选 DocumentType 有(0,1,2,3,5)。
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
4:商标,可选 DocumentType 有(7)。
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
注:必须按照对应关系选择证明类型,否则会审核失败。
     * @param integer $DocumentType 证明类型:
0:三证合一。
1:企业营业执照。
2:组织机构代码证书。
3:社会信用代码证书。
4:应用后台管理截图(个人开发APP)。
5:网站备案后台截图(个人开发网站)。
6:小程序设置页面截图(个人认证小程序)。
7:商标注册书。
8:公众号设置页面截图(个人认证公众号)。
     * @param integer $International 是否国际/港澳台短信:
0:表示国内短信。
1:表示国际/港澳台短信。
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
     * @param integer $UsedMethod 签名用途:
0:自用。
1:他用。
     * @param string $ProofImage 签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
     * @param string $CommissionImage 委托授权证明。选择 UsedMethod 为他用之后需要提交委托的授权证明。
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
注:只有 UsedMethod 在选择为 1(他用)时,这个字段才会生效。
     * @param string $Remark 签名的申请备注。
     * @param integer $QualificationId 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。<dx-alert infotype="notice" title="说明"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></dx-alert>
     */
    function __construct()
    {
 
    }
 
    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("SignId",$param) and $param["SignId"] !== null) {
            $this->SignId = $param["SignId"];
        }
 
        if (array_key_exists("SignName",$param) and $param["SignName"] !== null) {
            $this->SignName = $param["SignName"];
        }
 
        if (array_key_exists("SignType",$param) and $param["SignType"] !== null) {
            $this->SignType = $param["SignType"];
        }
 
        if (array_key_exists("DocumentType",$param) and $param["DocumentType"] !== null) {
            $this->DocumentType = $param["DocumentType"];
        }
 
        if (array_key_exists("International",$param) and $param["International"] !== null) {
            $this->International = $param["International"];
        }
 
        if (array_key_exists("UsedMethod",$param) and $param["UsedMethod"] !== null) {
            $this->UsedMethod = $param["UsedMethod"];
        }
 
        if (array_key_exists("ProofImage",$param) and $param["ProofImage"] !== null) {
            $this->ProofImage = $param["ProofImage"];
        }
 
        if (array_key_exists("CommissionImage",$param) and $param["CommissionImage"] !== null) {
            $this->CommissionImage = $param["CommissionImage"];
        }
 
        if (array_key_exists("Remark",$param) and $param["Remark"] !== null) {
            $this->Remark = $param["Remark"];
        }
 
        if (array_key_exists("QualificationId",$param) and $param["QualificationId"] !== null) {
            $this->QualificationId = $param["QualificationId"];
        }
    }
}