示例#1
0
        public void DescribeUDiskUpgradePriceTest()
        {
            var entity   = new DescribeUDiskUpgradePriceRequest(Config.region, uDiskId, 200);
            var response = udisk.DescribeUDiskUpgradePrice(entity);

            Assert.AreEqual(response.RetCode, 0);
        }
示例#2
0
        /// <summary>
        /// 获取udisk升级价格信息
        /// </summary>
        /// <param name="requestParams">请求参数.</param>
        /// <returns>返回对象<see cref="UCloudSDK.Models.DescribeUDiskUpgradePriceResponse"/></returns>
        public DescribeUDiskUpgradePriceResponse DescribeUDiskUpgradePrice(DescribeUDiskUpgradePriceRequest requestParams)
        {
            var request = new RestRequest(Method.GET);

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