コード例 #1
0
        public void GetUcdnDomainLogTest()
        {
            var entity   = new GetUcdnDomainLogRequest();
            var response = ucdn.GetUcdnDomainLog(entity);

            Assert.AreEqual(response.RetCode, 0);
        }
コード例 #2
0
        /// <summary>
        /// 获取加速域名原始日志
        /// </summary>
        /// <param name="requestParams">请求参数.</param>
        /// <returns>返回对象<see cref="UCloudSDK.Models.GetUcdnDomainLogResponse"/></returns>
        public GetUcdnDomainLogResponse GetUcdnDomainLog(GetUcdnDomainLogRequest requestParams)
        {
            var request = new RestRequest(Method.GET);

            request.AddUObject(requestParams);
            return(Execute <GetUcdnDomainLogResponse>(request));
        }