zrg
2024-08-16 18865d8bf24382e850e661dec6cca0e8b9dba6ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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.hrm.employee.addresumerecord
    /// </summary>
    public class CorpHrmEmployeeAddresumerecordRequest : BaseDingTalkRequest<DingTalk.Api.Response.CorpHrmEmployeeAddresumerecordResponse>
    {
        /// <summary>
        /// 成长记录第一条内容
        /// </summary>
        public string Content { get; set; }
 
        /// <summary>
        /// 厂长记录kv展示内容:json格式,顺序展示
        /// </summary>
        public string KVContent { get; set; }
 
        /// <summary>
        /// pc端url
        /// </summary>
        public string PcUrl { get; set; }
 
        /// <summary>
        /// 手机端url
        /// </summary>
        public string PhoneUrl { get; set; }
 
        /// <summary>
        /// 20180428 零点零分零秒
        /// </summary>
        public Nullable<long> RecordTimeStamp { get; set; }
 
        /// <summary>
        /// 成长记录title
        /// </summary>
        public string Title { get; set; }
 
        /// <summary>
        /// 被操作人userid
        /// </summary>
        public string Userid { get; set; }
 
        /// <summary>
        /// webOA后台url
        /// </summary>
        public string WebUrl { get; set; }
 
        #region IDingTalkRequest Members
 
        public override string GetApiName()
        {
            return "dingtalk.corp.hrm.employee.addresumerecord";
        }
 
        public override string GetApiCallType()
        {
            return DingTalkConstants.CALL_TYPE_TOP;
        }
 
        public override IDictionary<string, string> GetParameters()
        {
            TopDictionary parameters = new TopDictionary();
            parameters.Add("content", this.Content);
            parameters.Add("k_v_content", this.KVContent);
            parameters.Add("pc_url", this.PcUrl);
            parameters.Add("phone_url", this.PhoneUrl);
            parameters.Add("record_time_stamp", this.RecordTimeStamp);
            parameters.Add("title", this.Title);
            parameters.Add("userid", this.Userid);
            parameters.Add("web_url", this.WebUrl);
            if (this.otherParams != null)
            {
                parameters.AddAll(this.otherParams);
            }
            return parameters;
        }
 
        public override void Validate()
        {
        }
 
        #endregion
    }
}