using System;
using System.Collections.Generic;
using ZionRobot.WebService;

namespace ZionRobot.Models.ZFlow
{
	// Token: 0x0200003E RID: 62
	public class Activity
	{
		// Token: 0x17000114 RID: 276
		// (get) Token: 0x06000297 RID: 663 RVA: 0x00009CA7 File Offset: 0x00007EA7
		// (set) Token: 0x06000298 RID: 664 RVA: 0x00009CAF File Offset: 0x00007EAF
		public string Action { get; set; }

		// Token: 0x17000115 RID: 277
		// (get) Token: 0x06000299 RID: 665 RVA: 0x00009CB8 File Offset: 0x00007EB8
		// (set) Token: 0x0600029A RID: 666 RVA: 0x00009CC0 File Offset: 0x00007EC0
		public int EntityId { get; set; }

		// Token: 0x17000116 RID: 278
		// (get) Token: 0x0600029B RID: 667 RVA: 0x00009CC9 File Offset: 0x00007EC9
		// (set) Token: 0x0600029C RID: 668 RVA: 0x00009CD1 File Offset: 0x00007ED1
		public int Id { get; set; }

		// Token: 0x17000117 RID: 279
		// (get) Token: 0x0600029D RID: 669 RVA: 0x00009CDA File Offset: 0x00007EDA
		// (set) Token: 0x0600029E RID: 670 RVA: 0x00009CE2 File Offset: 0x00007EE2
		public int TypeId { get; set; }

		// Token: 0x17000118 RID: 280
		// (get) Token: 0x0600029F RID: 671 RVA: 0x00009CEB File Offset: 0x00007EEB
		// (set) Token: 0x060002A0 RID: 672 RVA: 0x00009CF3 File Offset: 0x00007EF3
		public string TypeDescription { get; set; }

		// Token: 0x17000119 RID: 281
		// (get) Token: 0x060002A1 RID: 673 RVA: 0x00009CFC File Offset: 0x00007EFC
		// (set) Token: 0x060002A2 RID: 674 RVA: 0x00009D04 File Offset: 0x00007F04
		public string Client { get; set; }

		// Token: 0x1700011A RID: 282
		// (get) Token: 0x060002A3 RID: 675 RVA: 0x00009D0D File Offset: 0x00007F0D
		// (set) Token: 0x060002A4 RID: 676 RVA: 0x00009D15 File Offset: 0x00007F15
		public string ClientCode { get; set; }

		// Token: 0x1700011B RID: 283
		// (get) Token: 0x060002A5 RID: 677 RVA: 0x00009D1E File Offset: 0x00007F1E
		// (set) Token: 0x060002A6 RID: 678 RVA: 0x00009D26 File Offset: 0x00007F26
		public string Sponsor { get; set; }

		// Token: 0x1700011C RID: 284
		// (get) Token: 0x060002A7 RID: 679 RVA: 0x00009D2F File Offset: 0x00007F2F
		// (set) Token: 0x060002A8 RID: 680 RVA: 0x00009D37 File Offset: 0x00007F37
		public string SponsorEmail { get; set; }

		// Token: 0x1700011D RID: 285
		// (get) Token: 0x060002A9 RID: 681 RVA: 0x00009D40 File Offset: 0x00007F40
		// (set) Token: 0x060002AA RID: 682 RVA: 0x00009D48 File Offset: 0x00007F48
		public string Subject { get; set; }

		// Token: 0x1700011E RID: 286
		// (get) Token: 0x060002AB RID: 683 RVA: 0x00009D51 File Offset: 0x00007F51
		// (set) Token: 0x060002AC RID: 684 RVA: 0x00009D59 File Offset: 0x00007F59
		public string Date { get; set; }

		// Token: 0x1700011F RID: 287
		// (get) Token: 0x060002AD RID: 685 RVA: 0x00009D62 File Offset: 0x00007F62
		// (set) Token: 0x060002AE RID: 686 RVA: 0x00009D6A File Offset: 0x00007F6A
		public string DateFinal { get; set; }

		// Token: 0x17000120 RID: 288
		// (get) Token: 0x060002AF RID: 687 RVA: 0x00009D73 File Offset: 0x00007F73
		// (set) Token: 0x060002B0 RID: 688 RVA: 0x00009D7B File Offset: 0x00007F7B
		public string Status { get; set; }

		// Token: 0x17000121 RID: 289
		// (get) Token: 0x060002B1 RID: 689 RVA: 0x00009D84 File Offset: 0x00007F84
		// (set) Token: 0x060002B2 RID: 690 RVA: 0x00009D8C File Offset: 0x00007F8C
		public string Group { get; set; }

		// Token: 0x17000122 RID: 290
		// (get) Token: 0x060002B3 RID: 691 RVA: 0x00009D95 File Offset: 0x00007F95
		// (set) Token: 0x060002B4 RID: 692 RVA: 0x00009D9D File Offset: 0x00007F9D
		public string DataJuri { get; set; }

		// Token: 0x17000123 RID: 291
		// (get) Token: 0x060002B5 RID: 693 RVA: 0x00009DA6 File Offset: 0x00007FA6
		// (set) Token: 0x060002B6 RID: 694 RVA: 0x00009DAE File Offset: 0x00007FAE
		public int? ParentId { get; set; }

		// Token: 0x17000124 RID: 292
		// (get) Token: 0x060002B7 RID: 695 RVA: 0x00009DB7 File Offset: 0x00007FB7
		// (set) Token: 0x060002B8 RID: 696 RVA: 0x00009DBF File Offset: 0x00007FBF
		public string ParentDataJuri { get; set; }

		// Token: 0x17000125 RID: 293
		// (get) Token: 0x060002B9 RID: 697 RVA: 0x00009DC8 File Offset: 0x00007FC8
		// (set) Token: 0x060002BA RID: 698 RVA: 0x00009DD0 File Offset: 0x00007FD0
		public string ProcessNumber { get; set; }

		// Token: 0x17000126 RID: 294
		// (get) Token: 0x060002BB RID: 699 RVA: 0x00009DD9 File Offset: 0x00007FD9
		// (set) Token: 0x060002BC RID: 700 RVA: 0x00009DE1 File Offset: 0x00007FE1
		public string ProcessURL { get; set; }

		// Token: 0x17000127 RID: 295
		// (get) Token: 0x060002BD RID: 701 RVA: 0x00009DEA File Offset: 0x00007FEA
		// (set) Token: 0x060002BE RID: 702 RVA: 0x00009DF2 File Offset: 0x00007FF2
		public string CaseURL { get; set; }

		// Token: 0x17000128 RID: 296
		// (get) Token: 0x060002BF RID: 703 RVA: 0x00009DFB File Offset: 0x00007FFB
		// (set) Token: 0x060002C0 RID: 704 RVA: 0x00009E03 File Offset: 0x00008003
		public string Sharepoint { get; set; }

		// Token: 0x17000129 RID: 297
		// (get) Token: 0x060002C1 RID: 705 RVA: 0x00009E0C File Offset: 0x0000800C
		// (set) Token: 0x060002C2 RID: 706 RVA: 0x00009E14 File Offset: 0x00008014
		public string Parecer { get; set; }

		// Token: 0x1700012A RID: 298
		// (get) Token: 0x060002C3 RID: 707 RVA: 0x00009E1D File Offset: 0x0000801D
		// (set) Token: 0x060002C4 RID: 708 RVA: 0x00009E25 File Offset: 0x00008025
		public string Hour { get; set; }

		// Token: 0x1700012B RID: 299
		// (get) Token: 0x060002C5 RID: 709 RVA: 0x00009E2E File Offset: 0x0000802E
		// (set) Token: 0x060002C6 RID: 710 RVA: 0x00009E36 File Offset: 0x00008036
		public string Content { get; set; }

		// Token: 0x1700012C RID: 300
		// (get) Token: 0x060002C7 RID: 711 RVA: 0x00009E3F File Offset: 0x0000803F
		// (set) Token: 0x060002C8 RID: 712 RVA: 0x00009E47 File Offset: 0x00008047
		public string CreatedAt { get; set; }

		// Token: 0x1700012D RID: 301
		// (get) Token: 0x060002C9 RID: 713 RVA: 0x00009E50 File Offset: 0x00008050
		// (set) Token: 0x060002CA RID: 714 RVA: 0x00009E58 File Offset: 0x00008058
		public string Priority { get; set; }

		// Token: 0x1700012E RID: 302
		// (get) Token: 0x060002CB RID: 715 RVA: 0x00009E61 File Offset: 0x00008061
		// (set) Token: 0x060002CC RID: 716 RVA: 0x00009E69 File Offset: 0x00008069
		public string EmailTo { get; set; }

		// Token: 0x1700012F RID: 303
		// (get) Token: 0x060002CD RID: 717 RVA: 0x00009E72 File Offset: 0x00008072
		// (set) Token: 0x060002CE RID: 718 RVA: 0x00009E7A File Offset: 0x0000807A
		public string EmailSubject { get; set; }

		// Token: 0x17000130 RID: 304
		// (get) Token: 0x060002CF RID: 719 RVA: 0x00009E83 File Offset: 0x00008083
		// (set) Token: 0x060002D0 RID: 720 RVA: 0x00009E8B File Offset: 0x0000808B
		public string EmailContent { get; set; }

		// Token: 0x17000131 RID: 305
		// (get) Token: 0x060002D1 RID: 721 RVA: 0x00009E94 File Offset: 0x00008094
		// (set) Token: 0x060002D2 RID: 722 RVA: 0x00009E9C File Offset: 0x0000809C
		public string EmailReplyContent { get; set; }

		// Token: 0x17000132 RID: 306
		// (get) Token: 0x060002D3 RID: 723 RVA: 0x00009EA5 File Offset: 0x000080A5
		// (set) Token: 0x060002D4 RID: 724 RVA: 0x00009EAD File Offset: 0x000080AD
		public string EmailReplaySubject { get; set; }

		// Token: 0x17000133 RID: 307
		// (get) Token: 0x060002D5 RID: 725 RVA: 0x00009EB6 File Offset: 0x000080B6
		// (set) Token: 0x060002D6 RID: 726 RVA: 0x00009EBE File Offset: 0x000080BE
		public List<Attachment> Attachments { get; set; }

		// Token: 0x17000134 RID: 308
		// (get) Token: 0x060002D7 RID: 727 RVA: 0x00009EC7 File Offset: 0x000080C7
		// (set) Token: 0x060002D8 RID: 728 RVA: 0x00009ECF File Offset: 0x000080CF
		public Dictionary<string, string> Fields { get; set; }

		// Token: 0x17000135 RID: 309
		// (get) Token: 0x060002D9 RID: 729 RVA: 0x00009ED8 File Offset: 0x000080D8
		// (set) Token: 0x060002DA RID: 730 RVA: 0x00009EE0 File Offset: 0x000080E0
		public string Comment { get; set; }

		// Token: 0x17000136 RID: 310
		// (get) Token: 0x060002DB RID: 731 RVA: 0x00009EE9 File Offset: 0x000080E9
		// (set) Token: 0x060002DC RID: 732 RVA: 0x00009EF1 File Offset: 0x000080F1
		public string CommentCreateBy { get; set; }

		// Token: 0x17000137 RID: 311
		// (get) Token: 0x060002DD RID: 733 RVA: 0x00009EFA File Offset: 0x000080FA
		// (set) Token: 0x060002DE RID: 734 RVA: 0x00009F02 File Offset: 0x00008102
		public List<Comment> Comments { get; set; }

		// Token: 0x17000138 RID: 312
		// (get) Token: 0x060002DF RID: 735 RVA: 0x00009F0B File Offset: 0x0000810B
		// (set) Token: 0x060002E0 RID: 736 RVA: 0x00009F13 File Offset: 0x00008113
		public List<Deadline> Deadlines { get; set; }

		// Token: 0x17000139 RID: 313
		// (get) Token: 0x060002E1 RID: 737 RVA: 0x00009F1C File Offset: 0x0000811C
		// (set) Token: 0x060002E2 RID: 738 RVA: 0x00009F24 File Offset: 0x00008124
		public int SyncId { get; set; }

		// Token: 0x1700013A RID: 314
		// (get) Token: 0x060002E3 RID: 739 RVA: 0x00009F2D File Offset: 0x0000812D
		// (set) Token: 0x060002E4 RID: 740 RVA: 0x00009F35 File Offset: 0x00008135
		public string SyncCreateAt { get; set; }

		// Token: 0x060002E5 RID: 741 RVA: 0x00009F3E File Offset: 0x0000813E
		public Activity()
		{
			this.Fields = new Dictionary<string, string>();
			this.Attachments = new List<Attachment>();
			this.Comments = new List<Comment>();
			this.Deadlines = new List<Deadline>();
		}

		// Token: 0x060002E6 RID: 742 RVA: 0x00009F78 File Offset: 0x00008178
		public void createActivity()
		{
			try
			{
				string result = new Activity().ActivityCreate(this);
			}
			catch (Exception ex)
			{
				throw;
			}
		}

		// Token: 0x060002E7 RID: 743 RVA: 0x00009FAC File Offset: 0x000081AC
		public void UpdateActivityUrl()
		{
			string result = new Activity().UpdateActivityUrl(this);
		}

		// Token: 0x060002E8 RID: 744 RVA: 0x00009FC8 File Offset: 0x000081C8
		public void UpdateActivityFieldValue(string name, string value)
		{
			string result = new Activity().UpdateActivityFieldValue(this, name, value);
		}

		// Token: 0x060002E9 RID: 745 RVA: 0x00009FE4 File Offset: 0x000081E4
		public void UpdateActivitySycn(int syncStatus)
		{
			string result = new Activity().UpdateActivitySync(this, syncStatus);
		}

		// Token: 0x060002EA RID: 746 RVA: 0x0000A000 File Offset: 0x00008200
		public void CanceledActivity()
		{
			List<Activity> result = new Activity().ActivityCanceled(this);
		}

		// Token: 0x060002EB RID: 747 RVA: 0x0000A01C File Offset: 0x0000821C
		public void DoneActivity()
		{
			string result = new Activity().ActivityDone(this);
		}
	}
}
