Esempio n. 1
0
 public async Task <AddImageResponse> AddImageAsync(AddImageRequest request, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
 {
     AlibabaCloud.TeaUtil.Common.ValidateModel(request);
     return(TeaModel.ToObject <AddImageResponse>(await DoRequestAsync("AddImage", "HTTPS", "POST", "2020-02-12", "AK", null, request.ToMap(), runtime)));
 }
Esempio n. 2
0
 public AddImageResponse AddImage(AddImageRequest request, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
 {
     AlibabaCloud.TeaUtil.Common.ValidateModel(request);
     return(TeaModel.ToObject <AddImageResponse>(DoRequest("AddImage", "HTTPS", "POST", "2020-03-20", "AK", null, request.ToMap(), runtime)));
 }