using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiSmartdevicePrintdetailGetResponse.
///
public class OapiSmartdevicePrintdetailGetResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 页数据结果
///
[XmlElement("result")]
public PageVODomain Result { get; set; }
///
/// 请求是否成功
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// PrintDetailVODomain Data Structure.
///
[Serializable]
public class PrintDetailVODomain : TopObject
{
///
/// 部门扩展信息
///
[XmlElement("dept_ext_info")]
public string DeptExtInfo { get; set; }
///
/// 部门全称
///
[XmlElement("dept_full_name")]
public string DeptFullName { get; set; }
///
/// 一级部门名
///
[XmlElement("dept_level1_name")]
public string DeptLevel1Name { get; set; }
///
/// 二级部门名
///
[XmlElement("dept_level2_name")]
public string DeptLevel2Name { get; set; }
///
/// 三级部门名
///
[XmlElement("dept_level3_name")]
public string DeptLevel3Name { get; set; }
///
/// 打印来源编号,0-5: 0-其他 1-pc驱动 2-二维码 3-审批 4-钉盘 5-IM
///
[XmlElement("origin")]
public string Origin { get; set; }
///
/// 彩色或黑白打印类型.0黑白,1彩色
///
[XmlElement("page_color_type")]
public long PageColorType { get; set; }
///
/// 单双面类型,0是单面,1是双面
///
[XmlElement("page_double_type")]
public long PageDoubleType { get; set; }
///
/// 纸张大小类型 A3
///
[XmlElement("page_size_type")]
public string PageSizeType { get; set; }
///
/// 打印总页数
///
[XmlElement("pages")]
public long Pages { get; set; }
///
/// 打印时间戳,单位是毫秒
///
[XmlElement("print_date")]
public string PrintDate { get; set; }
///
/// 打印机名称
///
[XmlElement("printer_nick")]
public string PrinterNick { get; set; }
///
/// 用户名
///
[XmlElement("user_name")]
public string UserName { get; set; }
}
///
/// PageVODomain Data Structure.
///
[Serializable]
public class PageVODomain : TopObject
{
///
/// 是否有更多记录
///
[XmlElement("has_more")]
public bool HasMore { get; set; }
///
/// 打印详情列表
///
[XmlArray("list")]
[XmlArrayItem("print_detail_v_o")]
public List List { get; set; }
///
/// 下一个游标
///
[XmlElement("next_cursor")]
public long NextCursor { get; set; }
///
/// 下一游标
///
[XmlElement("next_cursor_string")]
public string NextCursorString { get; set; }
}
}
}