/** * Description: 该接口用于获取狗狗的年龄 * Summary: 获取狗狗的年龄 */ public async Task <GetDemoDogAgeResponse> GetDemoDogAgeAsync(GetDemoDogAgeRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); Dictionary <string, string> headers = new Dictionary <string, string>() { }; return(await GetDemoDogAgeExAsync(request, headers, runtime)); }
/** * Description: 该接口用于获取狗狗的年龄 * Summary: 获取狗狗的年龄 */ public GetDemoDogAgeResponse GetDemoDogAge(GetDemoDogAgeRequest request) { AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions(); Dictionary <string, string> headers = new Dictionary <string, string>() { }; return(GetDemoDogAgeEx(request, headers, runtime)); }
/** * Description: 该接口用于获取狗狗的年龄 * Summary: 获取狗狗的年龄 */ public async Task <GetDemoDogAgeResponse> GetDemoDogAgeExAsync(GetDemoDogAgeRequest request, Dictionary <string, string> headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime) { AlibabaCloud.TeaUtil.Common.ValidateModel(request); return(TeaModel.ToObject <GetDemoDogAgeResponse>(await DoRequestAsync("1.0", "demo.dog.age.get", "HTTPS", "POST", "/gateway.do", request.ToMap(), headers, runtime))); }