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.oapi.smartdevice.printdetail.get
|
/// </summary>
|
public class OapiSmartdevicePrintdetailGetRequest : BaseDingTalkRequest<DingTalk.Api.Response.OapiSmartdevicePrintdetailGetResponse>
|
{
|
/// <summary>
|
/// 起始游标,从0开始
|
/// </summary>
|
public Nullable<long> Cursor { get; set; }
|
|
/// <summary>
|
/// 每页大小,1-100
|
/// </summary>
|
public Nullable<long> Size { get; set; }
|
|
#region IDingTalkRequest Members
|
|
public override string GetApiName()
|
{
|
return "dingtalk.oapi.smartdevice.printdetail.get";
|
}
|
|
public override string GetApiCallType()
|
{
|
return DingTalkConstants.CALL_TYPE_OAPI;
|
}
|
|
public override IDictionary<string, string> GetParameters()
|
{
|
TopDictionary parameters = new TopDictionary();
|
parameters.Add("cursor", this.Cursor);
|
parameters.Add("size", this.Size);
|
if (this.otherParams != null)
|
{
|
parameters.AddAll(this.otherParams);
|
}
|
return parameters;
|
}
|
|
public override void Validate()
|
{
|
}
|
|
#endregion
|
}
|
}
|