@@ -37,6 +37,21 @@ public string GetEndpoint(string productId, string regionId, string endpointRule
3737 return AlibabaCloud . EndpointUtil . Common . GetEndpointRules ( productId , regionId , endpointRule , network , suffix ) ;
3838 }
3939
40+ /// <term><b>Summary:</b></term>
41+ /// <summary>
42+ /// <para>Obtains the verification result of your phone number.</para>
43+ /// </summary>
44+ ///
45+ /// <param name="request">
46+ /// GetPhoneNumberIdentificationResultRequest
47+ /// </param>
48+ /// <param name="runtime">
49+ /// runtime options for this request RuntimeOptions
50+ /// </param>
51+ ///
52+ /// <returns>
53+ /// GetPhoneNumberIdentificationResultResponse
54+ /// </returns>
4055 public GetPhoneNumberIdentificationResultResponse GetPhoneNumberIdentificationResultWithOptions ( GetPhoneNumberIdentificationResultRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
4156 {
4257 AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
@@ -89,9 +104,31 @@ public GetPhoneNumberIdentificationResultResponse GetPhoneNumberIdentificationRe
89104 ReqBodyType = "formData" ,
90105 BodyType = "json" ,
91106 } ;
92- return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( CallApi ( params_ , req , runtime ) ) ;
107+ if ( AlibabaCloud . TeaUtil . Common . IsUnset ( _signatureVersion ) || ! AlibabaCloud . TeaUtil . Common . EqualString ( _signatureVersion , "v4" ) )
108+ {
109+ return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( CallApi ( params_ , req , runtime ) ) ;
110+ }
111+ else
112+ {
113+ return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( Execute ( params_ , req , runtime ) ) ;
114+ }
93115 }
94116
117+ /// <term><b>Summary:</b></term>
118+ /// <summary>
119+ /// <para>Obtains the verification result of your phone number.</para>
120+ /// </summary>
121+ ///
122+ /// <param name="request">
123+ /// GetPhoneNumberIdentificationResultRequest
124+ /// </param>
125+ /// <param name="runtime">
126+ /// runtime options for this request RuntimeOptions
127+ /// </param>
128+ ///
129+ /// <returns>
130+ /// GetPhoneNumberIdentificationResultResponse
131+ /// </returns>
95132 public async Task < GetPhoneNumberIdentificationResultResponse > GetPhoneNumberIdentificationResultWithOptionsAsync ( GetPhoneNumberIdentificationResultRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
96133 {
97134 AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
@@ -144,21 +181,67 @@ public async Task<GetPhoneNumberIdentificationResultResponse> GetPhoneNumberIden
144181 ReqBodyType = "formData" ,
145182 BodyType = "json" ,
146183 } ;
147- return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( await CallApiAsync ( params_ , req , runtime ) ) ;
184+ if ( AlibabaCloud . TeaUtil . Common . IsUnset ( _signatureVersion ) || ! AlibabaCloud . TeaUtil . Common . EqualString ( _signatureVersion , "v4" ) )
185+ {
186+ return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( await CallApiAsync ( params_ , req , runtime ) ) ;
187+ }
188+ else
189+ {
190+ return TeaModel . ToObject < GetPhoneNumberIdentificationResultResponse > ( await ExecuteAsync ( params_ , req , runtime ) ) ;
191+ }
148192 }
149193
194+ /// <term><b>Summary:</b></term>
195+ /// <summary>
196+ /// <para>Obtains the verification result of your phone number.</para>
197+ /// </summary>
198+ ///
199+ /// <param name="request">
200+ /// GetPhoneNumberIdentificationResultRequest
201+ /// </param>
202+ ///
203+ /// <returns>
204+ /// GetPhoneNumberIdentificationResultResponse
205+ /// </returns>
150206 public GetPhoneNumberIdentificationResultResponse GetPhoneNumberIdentificationResult ( GetPhoneNumberIdentificationResultRequest request )
151207 {
152208 AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
153209 return GetPhoneNumberIdentificationResultWithOptions ( request , runtime ) ;
154210 }
155211
212+ /// <term><b>Summary:</b></term>
213+ /// <summary>
214+ /// <para>Obtains the verification result of your phone number.</para>
215+ /// </summary>
216+ ///
217+ /// <param name="request">
218+ /// GetPhoneNumberIdentificationResultRequest
219+ /// </param>
220+ ///
221+ /// <returns>
222+ /// GetPhoneNumberIdentificationResultResponse
223+ /// </returns>
156224 public async Task < GetPhoneNumberIdentificationResultResponse > GetPhoneNumberIdentificationResultAsync ( GetPhoneNumberIdentificationResultRequest request )
157225 {
158226 AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
159227 return await GetPhoneNumberIdentificationResultWithOptionsAsync ( request , runtime ) ;
160228 }
161229
230+ /// <term><b>Summary:</b></term>
231+ /// <summary>
232+ /// <para>Obtains the verification URL of your phone number.</para>
233+ /// </summary>
234+ ///
235+ /// <param name="request">
236+ /// GetPhoneNumberIdentificationUrlRequest
237+ /// </param>
238+ /// <param name="runtime">
239+ /// runtime options for this request RuntimeOptions
240+ /// </param>
241+ ///
242+ /// <returns>
243+ /// GetPhoneNumberIdentificationUrlResponse
244+ /// </returns>
162245 public GetPhoneNumberIdentificationUrlResponse GetPhoneNumberIdentificationUrlWithOptions ( GetPhoneNumberIdentificationUrlRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
163246 {
164247 AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
@@ -211,9 +294,31 @@ public GetPhoneNumberIdentificationUrlResponse GetPhoneNumberIdentificationUrlWi
211294 ReqBodyType = "formData" ,
212295 BodyType = "json" ,
213296 } ;
214- return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( CallApi ( params_ , req , runtime ) ) ;
297+ if ( AlibabaCloud . TeaUtil . Common . IsUnset ( _signatureVersion ) || ! AlibabaCloud . TeaUtil . Common . EqualString ( _signatureVersion , "v4" ) )
298+ {
299+ return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( CallApi ( params_ , req , runtime ) ) ;
300+ }
301+ else
302+ {
303+ return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( Execute ( params_ , req , runtime ) ) ;
304+ }
215305 }
216306
307+ /// <term><b>Summary:</b></term>
308+ /// <summary>
309+ /// <para>Obtains the verification URL of your phone number.</para>
310+ /// </summary>
311+ ///
312+ /// <param name="request">
313+ /// GetPhoneNumberIdentificationUrlRequest
314+ /// </param>
315+ /// <param name="runtime">
316+ /// runtime options for this request RuntimeOptions
317+ /// </param>
318+ ///
319+ /// <returns>
320+ /// GetPhoneNumberIdentificationUrlResponse
321+ /// </returns>
217322 public async Task < GetPhoneNumberIdentificationUrlResponse > GetPhoneNumberIdentificationUrlWithOptionsAsync ( GetPhoneNumberIdentificationUrlRequest request , AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime )
218323 {
219324 AlibabaCloud . TeaUtil . Common . ValidateModel ( request ) ;
@@ -266,15 +371,46 @@ public async Task<GetPhoneNumberIdentificationUrlResponse> GetPhoneNumberIdentif
266371 ReqBodyType = "formData" ,
267372 BodyType = "json" ,
268373 } ;
269- return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( await CallApiAsync ( params_ , req , runtime ) ) ;
374+ if ( AlibabaCloud . TeaUtil . Common . IsUnset ( _signatureVersion ) || ! AlibabaCloud . TeaUtil . Common . EqualString ( _signatureVersion , "v4" ) )
375+ {
376+ return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( await CallApiAsync ( params_ , req , runtime ) ) ;
377+ }
378+ else
379+ {
380+ return TeaModel . ToObject < GetPhoneNumberIdentificationUrlResponse > ( await ExecuteAsync ( params_ , req , runtime ) ) ;
381+ }
270382 }
271383
384+ /// <term><b>Summary:</b></term>
385+ /// <summary>
386+ /// <para>Obtains the verification URL of your phone number.</para>
387+ /// </summary>
388+ ///
389+ /// <param name="request">
390+ /// GetPhoneNumberIdentificationUrlRequest
391+ /// </param>
392+ ///
393+ /// <returns>
394+ /// GetPhoneNumberIdentificationUrlResponse
395+ /// </returns>
272396 public GetPhoneNumberIdentificationUrlResponse GetPhoneNumberIdentificationUrl ( GetPhoneNumberIdentificationUrlRequest request )
273397 {
274398 AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
275399 return GetPhoneNumberIdentificationUrlWithOptions ( request , runtime ) ;
276400 }
277401
402+ /// <term><b>Summary:</b></term>
403+ /// <summary>
404+ /// <para>Obtains the verification URL of your phone number.</para>
405+ /// </summary>
406+ ///
407+ /// <param name="request">
408+ /// GetPhoneNumberIdentificationUrlRequest
409+ /// </param>
410+ ///
411+ /// <returns>
412+ /// GetPhoneNumberIdentificationUrlResponse
413+ /// </returns>
278414 public async Task < GetPhoneNumberIdentificationUrlResponse > GetPhoneNumberIdentificationUrlAsync ( GetPhoneNumberIdentificationUrlRequest request )
279415 {
280416 AlibabaCloud . TeaUtil . Models . RuntimeOptions runtime = new AlibabaCloud . TeaUtil . Models . RuntimeOptions ( ) ;
0 commit comments