| using System; | 
| using System.Collections.Generic; | 
| using Top.Api.Util; | 
| using Top.Api; | 
| using Top.Api.DingTalk; | 
|   | 
| namespace DingTalk.Api.Request | 
| { | 
|     /// <summary> | 
|     /// TOP API: dingtalk.corp.ext.list | 
|     /// </summary> | 
|     public class CorpExtListRequest : BaseDingTalkRequest<DingTalk.Api.Response.CorpExtListResponse> | 
|     { | 
|         /// <summary> | 
|         /// 偏移位置 | 
|         /// </summary> | 
|         public Nullable<long> Offset { get; set; } | 
|   | 
|         /// <summary> | 
|         /// 分页大小, 最大100 | 
|         /// </summary> | 
|         public Nullable<long> Size { get; set; } | 
|   | 
|         #region IDingTalkRequest Members | 
|   | 
|         public override string GetApiName() | 
|         { | 
|             return "dingtalk.corp.ext.list"; | 
|         } | 
|   | 
|         public override string GetApiCallType() | 
|         { | 
|             return DingTalkConstants.CALL_TYPE_TOP; | 
|         } | 
|   | 
|         public override IDictionary<string, string> GetParameters() | 
|         { | 
|             TopDictionary parameters = new TopDictionary(); | 
|             parameters.Add("offset", this.Offset); | 
|             parameters.Add("size", this.Size); | 
|             if (this.otherParams != null) | 
|             { | 
|                 parameters.AddAll(this.otherParams); | 
|             } | 
|             return parameters; | 
|         } | 
|   | 
|         public override void Validate() | 
|         { | 
|         } | 
|   | 
|         #endregion | 
|     } | 
| } |