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

namespace ZionRobot.Models.ZFlow
{
	// Token: 0x0200003C RID: 60
	public class Activity
	{
		// Token: 0x1700010F RID: 271
		// (get) Token: 0x0600028C RID: 652 RVA: 0x00009983 File Offset: 0x00007B83
		// (set) Token: 0x0600028D RID: 653 RVA: 0x0000998B File Offset: 0x00007B8B
		public string Action { get; set; }

		// Token: 0x17000110 RID: 272
		// (get) Token: 0x0600028E RID: 654 RVA: 0x00009994 File Offset: 0x00007B94
		// (set) Token: 0x0600028F RID: 655 RVA: 0x0000999C File Offset: 0x00007B9C
		public int EntityId { get; set; }

		// Token: 0x17000111 RID: 273
		// (get) Token: 0x06000290 RID: 656 RVA: 0x000099A5 File Offset: 0x00007BA5
		// (set) Token: 0x06000291 RID: 657 RVA: 0x000099AD File Offset: 0x00007BAD
		public int Id { get; set; }

		// Token: 0x17000112 RID: 274
		// (get) Token: 0x06000292 RID: 658 RVA: 0x000099B6 File Offset: 0x00007BB6
		// (set) Token: 0x06000293 RID: 659 RVA: 0x000099BE File Offset: 0x00007BBE
		public int TypeId { get; set; }

		// Token: 0x17000113 RID: 275
		// (get) Token: 0x06000294 RID: 660 RVA: 0x000099C7 File Offset: 0x00007BC7
		// (set) Token: 0x06000295 RID: 661 RVA: 0x000099CF File Offset: 0x00007BCF
		public string TypeDescription { get; set; }

		// Token: 0x17000114 RID: 276
		// (get) Token: 0x06000296 RID: 662 RVA: 0x000099D8 File Offset: 0x00007BD8
		// (set) Token: 0x06000297 RID: 663 RVA: 0x000099E0 File Offset: 0x00007BE0
		public string Client { get; set; }

		// Token: 0x17000115 RID: 277
		// (get) Token: 0x06000298 RID: 664 RVA: 0x000099E9 File Offset: 0x00007BE9
		// (set) Token: 0x06000299 RID: 665 RVA: 0x000099F1 File Offset: 0x00007BF1
		public string ClientCode { get; set; }

		// Token: 0x17000116 RID: 278
		// (get) Token: 0x0600029A RID: 666 RVA: 0x000099FA File Offset: 0x00007BFA
		// (set) Token: 0x0600029B RID: 667 RVA: 0x00009A02 File Offset: 0x00007C02
		public string Sponsor { get; set; }

		// Token: 0x17000117 RID: 279
		// (get) Token: 0x0600029C RID: 668 RVA: 0x00009A0B File Offset: 0x00007C0B
		// (set) Token: 0x0600029D RID: 669 RVA: 0x00009A13 File Offset: 0x00007C13
		public string SponsorEmail { get; set; }

		// Token: 0x17000118 RID: 280
		// (get) Token: 0x0600029E RID: 670 RVA: 0x00009A1C File Offset: 0x00007C1C
		// (set) Token: 0x0600029F RID: 671 RVA: 0x00009A24 File Offset: 0x00007C24
		public string Subject { get; set; }

		// Token: 0x17000119 RID: 281
		// (get) Token: 0x060002A0 RID: 672 RVA: 0x00009A2D File Offset: 0x00007C2D
		// (set) Token: 0x060002A1 RID: 673 RVA: 0x00009A35 File Offset: 0x00007C35
		public string Date { get; set; }

		// Token: 0x1700011A RID: 282
		// (get) Token: 0x060002A2 RID: 674 RVA: 0x00009A3E File Offset: 0x00007C3E
		// (set) Token: 0x060002A3 RID: 675 RVA: 0x00009A46 File Offset: 0x00007C46
		public string DateFinal { get; set; }

		// Token: 0x1700011B RID: 283
		// (get) Token: 0x060002A4 RID: 676 RVA: 0x00009A4F File Offset: 0x00007C4F
		// (set) Token: 0x060002A5 RID: 677 RVA: 0x00009A57 File Offset: 0x00007C57
		public string Status { get; set; }

		// Token: 0x1700011C RID: 284
		// (get) Token: 0x060002A6 RID: 678 RVA: 0x00009A60 File Offset: 0x00007C60
		// (set) Token: 0x060002A7 RID: 679 RVA: 0x00009A68 File Offset: 0x00007C68
		public string Group { get; set; }

		// Token: 0x1700011D RID: 285
		// (get) Token: 0x060002A8 RID: 680 RVA: 0x00009A71 File Offset: 0x00007C71
		// (set) Token: 0x060002A9 RID: 681 RVA: 0x00009A79 File Offset: 0x00007C79
		public string DataJuri { get; set; }

		// Token: 0x1700011E RID: 286
		// (get) Token: 0x060002AA RID: 682 RVA: 0x00009A82 File Offset: 0x00007C82
		// (set) Token: 0x060002AB RID: 683 RVA: 0x00009A8A File Offset: 0x00007C8A
		public int? ParentId { get; set; }

		// Token: 0x1700011F RID: 287
		// (get) Token: 0x060002AC RID: 684 RVA: 0x00009A93 File Offset: 0x00007C93
		// (set) Token: 0x060002AD RID: 685 RVA: 0x00009A9B File Offset: 0x00007C9B
		public string ParentDataJuri { get; set; }

		// Token: 0x17000120 RID: 288
		// (get) Token: 0x060002AE RID: 686 RVA: 0x00009AA4 File Offset: 0x00007CA4
		// (set) Token: 0x060002AF RID: 687 RVA: 0x00009AAC File Offset: 0x00007CAC
		public string ProcessNumber { get; set; }

		// Token: 0x17000121 RID: 289
		// (get) Token: 0x060002B0 RID: 688 RVA: 0x00009AB5 File Offset: 0x00007CB5
		// (set) Token: 0x060002B1 RID: 689 RVA: 0x00009ABD File Offset: 0x00007CBD
		public string ProcessURL { get; set; }

		// Token: 0x17000122 RID: 290
		// (get) Token: 0x060002B2 RID: 690 RVA: 0x00009AC6 File Offset: 0x00007CC6
		// (set) Token: 0x060002B3 RID: 691 RVA: 0x00009ACE File Offset: 0x00007CCE
		public string CaseURL { get; set; }

		// Token: 0x17000123 RID: 291
		// (get) Token: 0x060002B4 RID: 692 RVA: 0x00009AD7 File Offset: 0x00007CD7
		// (set) Token: 0x060002B5 RID: 693 RVA: 0x00009ADF File Offset: 0x00007CDF
		public string Sharepoint { get; set; }

		// Token: 0x17000124 RID: 292
		// (get) Token: 0x060002B6 RID: 694 RVA: 0x00009AE8 File Offset: 0x00007CE8
		// (set) Token: 0x060002B7 RID: 695 RVA: 0x00009AF0 File Offset: 0x00007CF0
		public string Parecer { get; set; }

		// Token: 0x17000125 RID: 293
		// (get) Token: 0x060002B8 RID: 696 RVA: 0x00009AF9 File Offset: 0x00007CF9
		// (set) Token: 0x060002B9 RID: 697 RVA: 0x00009B01 File Offset: 0x00007D01
		public string Hour { get; set; }

		// Token: 0x17000126 RID: 294
		// (get) Token: 0x060002BA RID: 698 RVA: 0x00009B0A File Offset: 0x00007D0A
		// (set) Token: 0x060002BB RID: 699 RVA: 0x00009B12 File Offset: 0x00007D12
		public string Content { get; set; }

		// Token: 0x17000127 RID: 295
		// (get) Token: 0x060002BC RID: 700 RVA: 0x00009B1B File Offset: 0x00007D1B
		// (set) Token: 0x060002BD RID: 701 RVA: 0x00009B23 File Offset: 0x00007D23
		public string CreatedAt { get; set; }

		// Token: 0x17000128 RID: 296
		// (get) Token: 0x060002BE RID: 702 RVA: 0x00009B2C File Offset: 0x00007D2C
		// (set) Token: 0x060002BF RID: 703 RVA: 0x00009B34 File Offset: 0x00007D34
		public string Priority { get; set; }

		// Token: 0x17000129 RID: 297
		// (get) Token: 0x060002C0 RID: 704 RVA: 0x00009B3D File Offset: 0x00007D3D
		// (set) Token: 0x060002C1 RID: 705 RVA: 0x00009B45 File Offset: 0x00007D45
		public string EmailTo { get; set; }

		// Token: 0x1700012A RID: 298
		// (get) Token: 0x060002C2 RID: 706 RVA: 0x00009B4E File Offset: 0x00007D4E
		// (set) Token: 0x060002C3 RID: 707 RVA: 0x00009B56 File Offset: 0x00007D56
		public string EmailSubject { get; set; }

		// Token: 0x1700012B RID: 299
		// (get) Token: 0x060002C4 RID: 708 RVA: 0x00009B5F File Offset: 0x00007D5F
		// (set) Token: 0x060002C5 RID: 709 RVA: 0x00009B67 File Offset: 0x00007D67
		public string EmailContent { get; set; }

		// Token: 0x1700012C RID: 300
		// (get) Token: 0x060002C6 RID: 710 RVA: 0x00009B70 File Offset: 0x00007D70
		// (set) Token: 0x060002C7 RID: 711 RVA: 0x00009B78 File Offset: 0x00007D78
		public string EmailReplyContent { get; set; }

		// Token: 0x1700012D RID: 301
		// (get) Token: 0x060002C8 RID: 712 RVA: 0x00009B81 File Offset: 0x00007D81
		// (set) Token: 0x060002C9 RID: 713 RVA: 0x00009B89 File Offset: 0x00007D89
		public string EmailReplaySubject { get; set; }

		// Token: 0x1700012E RID: 302
		// (get) Token: 0x060002CA RID: 714 RVA: 0x00009B92 File Offset: 0x00007D92
		// (set) Token: 0x060002CB RID: 715 RVA: 0x00009B9A File Offset: 0x00007D9A
		public List<Attachment> Attachments { get; set; }

		// Token: 0x1700012F RID: 303
		// (get) Token: 0x060002CC RID: 716 RVA: 0x00009BA3 File Offset: 0x00007DA3
		// (set) Token: 0x060002CD RID: 717 RVA: 0x00009BAB File Offset: 0x00007DAB
		public Dictionary<string, string> Fields { get; set; }

		// Token: 0x17000130 RID: 304
		// (get) Token: 0x060002CE RID: 718 RVA: 0x00009BB4 File Offset: 0x00007DB4
		// (set) Token: 0x060002CF RID: 719 RVA: 0x00009BBC File Offset: 0x00007DBC
		public string Comment { get; set; }

		// Token: 0x17000131 RID: 305
		// (get) Token: 0x060002D0 RID: 720 RVA: 0x00009BC5 File Offset: 0x00007DC5
		// (set) Token: 0x060002D1 RID: 721 RVA: 0x00009BCD File Offset: 0x00007DCD
		public string CommentCreateBy { get; set; }

		// Token: 0x17000132 RID: 306
		// (get) Token: 0x060002D2 RID: 722 RVA: 0x00009BD6 File Offset: 0x00007DD6
		// (set) Token: 0x060002D3 RID: 723 RVA: 0x00009BDE File Offset: 0x00007DDE
		public List<Comment> Comments { get; set; }

		// Token: 0x17000133 RID: 307
		// (get) Token: 0x060002D4 RID: 724 RVA: 0x00009BE7 File Offset: 0x00007DE7
		// (set) Token: 0x060002D5 RID: 725 RVA: 0x00009BEF File Offset: 0x00007DEF
		public List<Deadline> Deadlines { get; set; }

		// Token: 0x17000134 RID: 308
		// (get) Token: 0x060002D6 RID: 726 RVA: 0x00009BF8 File Offset: 0x00007DF8
		// (set) Token: 0x060002D7 RID: 727 RVA: 0x00009C00 File Offset: 0x00007E00
		public int SyncId { get; set; }

		// Token: 0x17000135 RID: 309
		// (get) Token: 0x060002D8 RID: 728 RVA: 0x00009C09 File Offset: 0x00007E09
		// (set) Token: 0x060002D9 RID: 729 RVA: 0x00009C11 File Offset: 0x00007E11
		public string SyncCreateAt { get; set; }

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

		// Token: 0x060002DB RID: 731 RVA: 0x00009C54 File Offset: 0x00007E54
		public void createActivity()
		{
			try
			{
				string result = new Activity().ActivityCreate(this);
			}
			catch (Exception ex)
			{
				throw;
			}
		}

		// Token: 0x060002DC RID: 732 RVA: 0x00009C88 File Offset: 0x00007E88
		public void UpdateActivityUrl()
		{
			string result = new Activity().UpdateActivityUrl(this);
		}

		// Token: 0x060002DD RID: 733 RVA: 0x00009CA4 File Offset: 0x00007EA4
		public void UpdateActivityFieldValue(string name, string value)
		{
			string result = new Activity().UpdateActivityFieldValue(this, name, value);
		}

		// Token: 0x060002DE RID: 734 RVA: 0x00009CC0 File Offset: 0x00007EC0
		public void UpdateActivitySycn(int syncStatus)
		{
			string result = new Activity().UpdateActivitySync(this, syncStatus);
		}

		// Token: 0x060002DF RID: 735 RVA: 0x00009CDC File Offset: 0x00007EDC
		public void CanceledActivity()
		{
			List<Activity> result = new Activity().ActivityCanceled(this);
		}

		// Token: 0x060002E0 RID: 736 RVA: 0x00009CF8 File Offset: 0x00007EF8
		public void DoneActivity()
		{
			string result = new Activity().ActivityDone(this);
		}
	}
}
