// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.ApiGateway.Inputs
{

    public sealed class ApiResponseErrorCodeArgs : Pulumi.ResourceArgs
    {
        /// <summary>
        /// Custom response configuration error code.
        /// </summary>
        [Input("code", required: true)]
        public Input<int> Code { get; set; } = null!;

        /// <summary>
        /// Custom error code conversion.
        /// </summary>
        [Input("convertedCode")]
        public Input<int>? ConvertedCode { get; set; }

        /// <summary>
        /// Parameter description.
        /// </summary>
        [Input("desc")]
        public Input<string>? Desc { get; set; }

        /// <summary>
        /// Custom response configuration error message.
        /// </summary>
        [Input("msg", required: true)]
        public Input<string> Msg { get; set; } = null!;

        /// <summary>
        /// Whether to enable error code conversion. Default value: `false`.
        /// </summary>
        [Input("needConvert")]
        public Input<bool>? NeedConvert { get; set; }

        public ApiResponseErrorCodeArgs()
        {
        }
    }
}
