using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api.Util;
using Top.Api;
using Top.Api.DingTalk;
namespace DingTalk.Api.Request
{
///
/// TOP API: dingtalk.oapi.edu.circle.post.list
///
public class OapiEduCirclePostListRequest : BaseDingTalkRequest
{
///
/// 1
///
public string OpenFeedQueryParam { get; set; }
public OpenFeedQueryParamDomain OpenFeedQueryParam_ { set { this.OpenFeedQueryParam = TopUtils.ObjectToJson(value); } }
#region IDingTalkRequest Members
public override string GetApiName()
{
return "dingtalk.oapi.edu.circle.post.list";
}
public override string GetApiCallType()
{
return DingTalkConstants.CALL_TYPE_OAPI;
}
public override IDictionary GetParameters()
{
TopDictionary parameters = new TopDictionary();
parameters.Add("open_feed_query_param", this.OpenFeedQueryParam);
if (this.otherParams != null)
{
parameters.AddAll(this.otherParams);
}
return parameters;
}
public override void Validate()
{
}
///
/// OpenFeedQueryParamDomain Data Structure.
///
[Serializable]
public class OpenFeedQueryParamDomain : TopObject
{
///
/// 1
///
[XmlElement("biz_type")]
public Nullable BizType { get; set; }
///
/// 1
///
[XmlElement("class_id")]
public Nullable ClassId { get; set; }
///
/// 1
///
[XmlElement("count")]
public Nullable Count { get; set; }
///
/// 1
///
[XmlElement("cursor")]
public Nullable Cursor { get; set; }
///
/// 1
///
[XmlElement("feed_type")]
public Nullable FeedType { get; set; }
///
/// 1
///
[XmlElement("student_id")]
public string StudentId { get; set; }
///
/// 1
///
[XmlElement("topic_id")]
public Nullable TopicId { get; set; }
///
/// 1
///
[XmlElement("user_role")]
public string UserRole { get; set; }
///
/// 1
///
[XmlElement("userid")]
public string Userid { get; set; }
}
#endregion
}
}