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))); }
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))); }