/// <summary> /// This is a async execution of \comments\destroy_batch rest call. /// It returns JsonResponse<CommentsDestroyBatch.Response> /// Here comes request Comments: ///<para>根据评论ID批量删除评论 </para> ///<para>URL:</para> ///<para> https://api.weibo.com/2/comments/destroy_batch.json</para> ///<para>支持格式:</para> ///<para> JSON</para> ///<para>HTTP请求方式:</para> ///<para> POST</para> ///<para>是否需要登录:</para> ///<para> 是 关于登录授权,参见 如何登录授权</para> ///<para>访问授权限制:</para> ///<para> 访问级别:普通接口 频次限制:是 关于频次限制,参见 接口访问权限说明</para> ///<para>注意事项:</para> ///<para> 无</para> ///<para></para> /// </summary> public async Task<JsonResponse<CommentsDestroyBatch.Response>> ExecuteCommentsDestroyBatchAsync ( CommentsDestroyBatch.Request request, CancellationToken cancellationToken=default(CancellationToken), IProgress<ProgressReport> progress=null) { return await _executeCommentsDestroyBatchMethod.GetResponseAsync(request, cancellationToken, progress); }
/// <summary> /// This is a sync execution of \comments\destroy_batch rest call. /// It returns JsonResponse<CommentsDestroyBatch.Response> /// Here comes request Comments: ///<para>根据评论ID批量删除评论 </para> ///<para>URL:</para> ///<para> https://api.weibo.com/2/comments/destroy_batch.json</para> ///<para>支持格式:</para> ///<para> JSON</para> ///<para>HTTP请求方式:</para> ///<para> POST</para> ///<para>是否需要登录:</para> ///<para> 是 关于登录授权,参见 如何登录授权</para> ///<para>访问授权限制:</para> ///<para> 访问级别:普通接口 频次限制:是 关于频次限制,参见 接口访问权限说明</para> ///<para>注意事项:</para> ///<para> 无</para> ///<para></para> /// </summary> public JsonResponse<CommentsDestroyBatch.Response> ExecuteCommentsDestroyBatch(CommentsDestroyBatch.Request request) { return ExecuteCommentsDestroyBatchAsync(request).Result; }
/// <summary> /// This is a sync request of \comments\destroy_batch rest call. ///It returns JsonResponse<Stream> /// Here comes request Comments: ///<para>根据评论ID批量删除评论 </para> ///<para>URL:</para> ///<para> https://api.weibo.com/2/comments/destroy_batch.json</para> ///<para>支持格式:</para> ///<para> JSON</para> ///<para>HTTP请求方式:</para> ///<para> POST</para> ///<para>是否需要登录:</para> ///<para> 是 关于登录授权,参见 如何登录授权</para> ///<para>访问授权限制:</para> ///<para> 访问级别:普通接口 频次限制:是 关于频次限制,参见 接口访问权限说明</para> ///<para>注意事项:</para> ///<para> 无</para> ///<para></para> /// </summary> public JsonResponse<Stream> RequestCommentsDestroyBatch(CommentsDestroyBatch.Request request) { return RequestCommentsDestroyBatchAsync(request).Result; }