using InterfaceForward.Domain.Shared.Enum;
namespace InterfaceForward.Domain.Shared.Dtos;
public class InterfaceDto
{
///
/// 接口Id
///
public int Id { get; set; }
///
/// 接口名
///
public string Name { get; set; } = null!;
///
/// 服务商id
///
public int ServiceProviderId { get; set; }
///
/// 接口代码
///
public string Code { get; set; } = null!;
///
/// 请求地址
///
public string RequestAddress { get; set; } = null!;
///
/// 请求协议
///
public RequestProtocol RequestProtocol { get; set; }
///
/// 请求方式
///
public string RequestMethod { get; set; } = null!;
///
/// 内容类型
///
public ContentType ContentType { get; set; }
///
/// 返回内容类型
///
public ResponseContentType ResponseContentType { get; set; }
///
/// 是否支持批量处理
///
public bool IsBatch { get; set; }
///
/// 批量处理上限
///
public int Limit { get; set; }
///
/// qps
///
public int Qps { get; set; }
///
/// 流程代码
///
public string? FlowCode { get; set; }
///
/// 是否禁用授权
///
public bool IsDisableAuth { get; set; }
///
/// 请求超时(s)
///
public int? Timeout { get; set; }
///
/// 映射后参数类型(默认Object)
///
public ParameterType MappedParamType { get; set; }
}