using System;
using System.Collections.Generic;
namespace DingTalk.Api
{
///
/// TOP请求接口。
///
public interface IDingTalkRequest where T : DingTalkResponse
{
///
/// 获取TOP的API名称。
///
string GetApiName();
///
/// 获取API请求方式。
///
/// The API call type.
string GetApiCallType();
///
/// 获取所有的Key-Value形式的文本请求参数字典。
///
IDictionary GetParameters();
///
/// 获取自定义HTTP请求头参数。
///
IDictionary GetHeaderParameters();
///
/// 客户端参数检查,减少服务端无效调用。
///
void Validate();
///
/// 获取http method
///
/// The http method.
string GetHttpMethod();
}
}