using System; using System.Collections.Generic; using Top.Api.Util; namespace Top.Api.Request { /// /// TOP API: taobao.open.account.search /// public class OpenAccountSearchRequest : BaseTopRequest { /// /// 基于阿里云OpenSearch服务,openSearch查询语法:https://help.aliyun.com/document_detail/29157.html,搜索服务能够基于id,loginId,mobile,email,isvAccountId,display_name,create_app_key,做搜索查询,示例中mobile可以基于模糊搜素,搜索135的账号,该搜索是分页返回,start表示开始行,hit表示一页返回值,最大500 /// public string Query { get; set; } #region ITopRequest Members public override string GetApiName() { return "taobao.open.account.search"; } public override IDictionary GetParameters() { TopDictionary parameters = new TopDictionary(); parameters.Add("query", this.Query); if (this.otherParams != null) { parameters.AddAll(this.otherParams); } return parameters; } public override void Validate() { RequestValidator.ValidateRequired("query", this.Query); } #endregion } }