public ScanTextResponse ScanText(ScanTextRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); return(ScanTextEx(request, runtime)); }
public async Task <ScanTextResponse> ScanTextAsync(ScanTextRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); return(await ScanTextExAsync(request, runtime)); }
public async Task <ScanTextResponse> ScanTextExAsync(ScanTextRequest request, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) { AlibabaCloud.TeaUtil.Common.ValidateModel(request); return(TeaModel.ToObject <ScanTextResponse>(await DoRequestAsync("ScanText", "HTTPS", "POST", "2019-12-30", "AK", null, request.ToMap(), runtime))); }