using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiCollectionFormListResponse.
///
public class OapiCollectionFormListResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 结果
///
[XmlElement("result")]
public PageResultDomain Result { get; set; }
///
/// FormSchemaSettingVoDomain Data Structure.
///
[Serializable]
public class FormSchemaSettingVoDomain : TopObject
{
///
/// 表单类型
///
[XmlElement("biz_type")]
public long BizType { get; set; }
///
/// 创建时间
///
[XmlElement("create_time")]
public string CreateTime { get; set; }
///
/// 填表截止时间
///
[XmlElement("end_time")]
public string EndTime { get; set; }
///
/// 0表示通用智能填表,1表示教育版填表
///
[XmlElement("form_type")]
public long FormType { get; set; }
///
/// 填表周期,周一到周日分别用1-7表示
///
[XmlArray("loop_days")]
[XmlArrayItem("number")]
public List LoopDays { get; set; }
///
/// 填表时间
///
[XmlElement("loop_time")]
public string LoopTime { get; set; }
///
/// 应填人数
///
[XmlElement("should_participation_cnt")]
public long ShouldParticipationCnt { get; set; }
///
/// 填表是否终止的标记
///
[XmlElement("stop")]
public bool Stop { get; set; }
}
///
/// FormSchemaResponseDomain Data Structure.
///
[Serializable]
public class FormSchemaResponseDomain : TopObject
{
///
/// 创建人
///
[XmlElement("creator")]
public string Creator { get; set; }
///
/// 表单code
///
[XmlElement("form_code")]
public string FormCode { get; set; }
///
/// 填表提示
///
[XmlElement("memo")]
public string Memo { get; set; }
///
/// 填表名称
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 设置
///
[XmlElement("setting")]
public FormSchemaSettingVoDomain Setting { get; set; }
}
///
/// PageResultDomain Data Structure.
///
[Serializable]
public class PageResultDomain : TopObject
{
///
/// 是否有下一页
///
[XmlElement("has_more")]
public bool HasMore { get; set; }
///
/// 列表
///
[XmlArray("list")]
[XmlArrayItem("form_schema_response")]
public List List { get; set; }
///
/// 下次分页的起始offset
///
[XmlElement("next_cursor")]
public long NextCursor { get; set; }
}
}
}