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

namespace ZionRobot.Models.ZFlow
{
	// Token: 0x02000030 RID: 48
	public class Activity
	{
		// Token: 0x1700009C RID: 156
		// (get) Token: 0x06000194 RID: 404 RVA: 0x0000808F File Offset: 0x0000628F
		// (set) Token: 0x06000195 RID: 405 RVA: 0x00008097 File Offset: 0x00006297
		public string Action { get; set; }

		// Token: 0x1700009D RID: 157
		// (get) Token: 0x06000196 RID: 406 RVA: 0x000080A0 File Offset: 0x000062A0
		// (set) Token: 0x06000197 RID: 407 RVA: 0x000080A8 File Offset: 0x000062A8
		public int EntityId { get; set; }

		// Token: 0x1700009E RID: 158
		// (get) Token: 0x06000198 RID: 408 RVA: 0x000080B1 File Offset: 0x000062B1
		// (set) Token: 0x06000199 RID: 409 RVA: 0x000080B9 File Offset: 0x000062B9
		public int Id { get; set; }

		// Token: 0x1700009F RID: 159
		// (get) Token: 0x0600019A RID: 410 RVA: 0x000080C2 File Offset: 0x000062C2
		// (set) Token: 0x0600019B RID: 411 RVA: 0x000080CA File Offset: 0x000062CA
		public int TypeId { get; set; }

		// Token: 0x170000A0 RID: 160
		// (get) Token: 0x0600019C RID: 412 RVA: 0x000080D3 File Offset: 0x000062D3
		// (set) Token: 0x0600019D RID: 413 RVA: 0x000080DB File Offset: 0x000062DB
		public string TypeDescription { get; set; }

		// Token: 0x170000A1 RID: 161
		// (get) Token: 0x0600019E RID: 414 RVA: 0x000080E4 File Offset: 0x000062E4
		// (set) Token: 0x0600019F RID: 415 RVA: 0x000080EC File Offset: 0x000062EC
		public string Client { get; set; }

		// Token: 0x170000A2 RID: 162
		// (get) Token: 0x060001A0 RID: 416 RVA: 0x000080F5 File Offset: 0x000062F5
		// (set) Token: 0x060001A1 RID: 417 RVA: 0x000080FD File Offset: 0x000062FD
		public string ClientCode { get; set; }

		// Token: 0x170000A3 RID: 163
		// (get) Token: 0x060001A2 RID: 418 RVA: 0x00008106 File Offset: 0x00006306
		// (set) Token: 0x060001A3 RID: 419 RVA: 0x0000810E File Offset: 0x0000630E
		public string Sponsor { get; set; }

		// Token: 0x170000A4 RID: 164
		// (get) Token: 0x060001A4 RID: 420 RVA: 0x00008117 File Offset: 0x00006317
		// (set) Token: 0x060001A5 RID: 421 RVA: 0x0000811F File Offset: 0x0000631F
		public string SponsorEmail { get; set; }

		// Token: 0x170000A5 RID: 165
		// (get) Token: 0x060001A6 RID: 422 RVA: 0x00008128 File Offset: 0x00006328
		// (set) Token: 0x060001A7 RID: 423 RVA: 0x00008130 File Offset: 0x00006330
		public string Subject { get; set; }

		// Token: 0x170000A6 RID: 166
		// (get) Token: 0x060001A8 RID: 424 RVA: 0x00008139 File Offset: 0x00006339
		// (set) Token: 0x060001A9 RID: 425 RVA: 0x00008141 File Offset: 0x00006341
		public string Date { get; set; }

		// Token: 0x170000A7 RID: 167
		// (get) Token: 0x060001AA RID: 426 RVA: 0x0000814A File Offset: 0x0000634A
		// (set) Token: 0x060001AB RID: 427 RVA: 0x00008152 File Offset: 0x00006352
		public string DateFinal { get; set; }

		// Token: 0x170000A8 RID: 168
		// (get) Token: 0x060001AC RID: 428 RVA: 0x0000815B File Offset: 0x0000635B
		// (set) Token: 0x060001AD RID: 429 RVA: 0x00008163 File Offset: 0x00006363
		public string Status { get; set; }

		// Token: 0x170000A9 RID: 169
		// (get) Token: 0x060001AE RID: 430 RVA: 0x0000816C File Offset: 0x0000636C
		// (set) Token: 0x060001AF RID: 431 RVA: 0x00008174 File Offset: 0x00006374
		public string Group { get; set; }

		// Token: 0x170000AA RID: 170
		// (get) Token: 0x060001B0 RID: 432 RVA: 0x0000817D File Offset: 0x0000637D
		// (set) Token: 0x060001B1 RID: 433 RVA: 0x00008185 File Offset: 0x00006385
		public string DataJuri { get; set; }

		// Token: 0x170000AB RID: 171
		// (get) Token: 0x060001B2 RID: 434 RVA: 0x0000818E File Offset: 0x0000638E
		// (set) Token: 0x060001B3 RID: 435 RVA: 0x00008196 File Offset: 0x00006396
		public int? ParentId { get; set; }

		// Token: 0x170000AC RID: 172
		// (get) Token: 0x060001B4 RID: 436 RVA: 0x0000819F File Offset: 0x0000639F
		// (set) Token: 0x060001B5 RID: 437 RVA: 0x000081A7 File Offset: 0x000063A7
		public string ParentDataJuri { get; set; }

		// Token: 0x170000AD RID: 173
		// (get) Token: 0x060001B6 RID: 438 RVA: 0x000081B0 File Offset: 0x000063B0
		// (set) Token: 0x060001B7 RID: 439 RVA: 0x000081B8 File Offset: 0x000063B8
		public string ProcessNumber { get; set; }

		// Token: 0x170000AE RID: 174
		// (get) Token: 0x060001B8 RID: 440 RVA: 0x000081C1 File Offset: 0x000063C1
		// (set) Token: 0x060001B9 RID: 441 RVA: 0x000081C9 File Offset: 0x000063C9
		public string ProcessURL { get; set; }

		// Token: 0x170000AF RID: 175
		// (get) Token: 0x060001BA RID: 442 RVA: 0x000081D2 File Offset: 0x000063D2
		// (set) Token: 0x060001BB RID: 443 RVA: 0x000081DA File Offset: 0x000063DA
		public string CaseURL { get; set; }

		// Token: 0x170000B0 RID: 176
		// (get) Token: 0x060001BC RID: 444 RVA: 0x000081E3 File Offset: 0x000063E3
		// (set) Token: 0x060001BD RID: 445 RVA: 0x000081EB File Offset: 0x000063EB
		public string Sharepoint { get; set; }

		// Token: 0x170000B1 RID: 177
		// (get) Token: 0x060001BE RID: 446 RVA: 0x000081F4 File Offset: 0x000063F4
		// (set) Token: 0x060001BF RID: 447 RVA: 0x000081FC File Offset: 0x000063FC
		public string Parecer { get; set; }

		// Token: 0x170000B2 RID: 178
		// (get) Token: 0x060001C0 RID: 448 RVA: 0x00008205 File Offset: 0x00006405
		// (set) Token: 0x060001C1 RID: 449 RVA: 0x0000820D File Offset: 0x0000640D
		public string Hour { get; set; }

		// Token: 0x170000B3 RID: 179
		// (get) Token: 0x060001C2 RID: 450 RVA: 0x00008216 File Offset: 0x00006416
		// (set) Token: 0x060001C3 RID: 451 RVA: 0x0000821E File Offset: 0x0000641E
		public string Content { get; set; }

		// Token: 0x170000B4 RID: 180
		// (get) Token: 0x060001C4 RID: 452 RVA: 0x00008227 File Offset: 0x00006427
		// (set) Token: 0x060001C5 RID: 453 RVA: 0x0000822F File Offset: 0x0000642F
		public string CreatedAt { get; set; }

		// Token: 0x170000B5 RID: 181
		// (get) Token: 0x060001C6 RID: 454 RVA: 0x00008238 File Offset: 0x00006438
		// (set) Token: 0x060001C7 RID: 455 RVA: 0x00008240 File Offset: 0x00006440
		public string Priority { get; set; }

		// Token: 0x170000B6 RID: 182
		// (get) Token: 0x060001C8 RID: 456 RVA: 0x00008249 File Offset: 0x00006449
		// (set) Token: 0x060001C9 RID: 457 RVA: 0x00008251 File Offset: 0x00006451
		public string EmailTo { get; set; }

		// Token: 0x170000B7 RID: 183
		// (get) Token: 0x060001CA RID: 458 RVA: 0x0000825A File Offset: 0x0000645A
		// (set) Token: 0x060001CB RID: 459 RVA: 0x00008262 File Offset: 0x00006462
		public string EmailSubject { get; set; }

		// Token: 0x170000B8 RID: 184
		// (get) Token: 0x060001CC RID: 460 RVA: 0x0000826B File Offset: 0x0000646B
		// (set) Token: 0x060001CD RID: 461 RVA: 0x00008273 File Offset: 0x00006473
		public string EmailContent { get; set; }

		// Token: 0x170000B9 RID: 185
		// (get) Token: 0x060001CE RID: 462 RVA: 0x0000827C File Offset: 0x0000647C
		// (set) Token: 0x060001CF RID: 463 RVA: 0x00008284 File Offset: 0x00006484
		public string EmailReplyContent { get; set; }

		// Token: 0x170000BA RID: 186
		// (get) Token: 0x060001D0 RID: 464 RVA: 0x0000828D File Offset: 0x0000648D
		// (set) Token: 0x060001D1 RID: 465 RVA: 0x00008295 File Offset: 0x00006495
		public List<Attachment> Attachments { get; set; }

		// Token: 0x170000BB RID: 187
		// (get) Token: 0x060001D2 RID: 466 RVA: 0x0000829E File Offset: 0x0000649E
		// (set) Token: 0x060001D3 RID: 467 RVA: 0x000082A6 File Offset: 0x000064A6
		public Dictionary<string, string> Fields { get; set; }

		// Token: 0x170000BC RID: 188
		// (get) Token: 0x060001D4 RID: 468 RVA: 0x000082AF File Offset: 0x000064AF
		// (set) Token: 0x060001D5 RID: 469 RVA: 0x000082B7 File Offset: 0x000064B7
		public string Comment { get; set; }

		// Token: 0x170000BD RID: 189
		// (get) Token: 0x060001D6 RID: 470 RVA: 0x000082C0 File Offset: 0x000064C0
		// (set) Token: 0x060001D7 RID: 471 RVA: 0x000082C8 File Offset: 0x000064C8
		public string CommentCreateBy { get; set; }

		// Token: 0x170000BE RID: 190
		// (get) Token: 0x060001D8 RID: 472 RVA: 0x000082D1 File Offset: 0x000064D1
		// (set) Token: 0x060001D9 RID: 473 RVA: 0x000082D9 File Offset: 0x000064D9
		public List<Comment> Comments { get; set; }

		// Token: 0x170000BF RID: 191
		// (get) Token: 0x060001DA RID: 474 RVA: 0x000082E2 File Offset: 0x000064E2
		// (set) Token: 0x060001DB RID: 475 RVA: 0x000082EA File Offset: 0x000064EA
		public List<Deadline> Deadlines { get; set; }

		// Token: 0x170000C0 RID: 192
		// (get) Token: 0x060001DC RID: 476 RVA: 0x000082F3 File Offset: 0x000064F3
		// (set) Token: 0x060001DD RID: 477 RVA: 0x000082FB File Offset: 0x000064FB
		public int SyncId { get; set; }

		// Token: 0x170000C1 RID: 193
		// (get) Token: 0x060001DE RID: 478 RVA: 0x00008304 File Offset: 0x00006504
		// (set) Token: 0x060001DF RID: 479 RVA: 0x0000830C File Offset: 0x0000650C
		public string SyncCreateAt { get; set; }

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

		// Token: 0x060001E1 RID: 481 RVA: 0x00008350 File Offset: 0x00006550
		public void createActivity()
		{
			try
			{
				string result = new Activity().ActivityCreate(this);
			}
			catch (Exception ex)
			{
				throw;
			}
		}

		// Token: 0x060001E2 RID: 482 RVA: 0x00008384 File Offset: 0x00006584
		public void UpdateActivityUrl()
		{
			string result = new Activity().UpdateActivityUrl(this);
		}

		// Token: 0x060001E3 RID: 483 RVA: 0x000083A0 File Offset: 0x000065A0
		public void UpdateActivityFieldValue(string name, string value)
		{
			string result = new Activity().UpdateActivityFieldValue(this, name, value);
		}

		// Token: 0x060001E4 RID: 484 RVA: 0x000083BC File Offset: 0x000065BC
		public void UpdateActivitySycn(int syncStatus)
		{
			string result = new Activity().UpdateActivitySync(this, syncStatus);
		}

		// Token: 0x060001E5 RID: 485 RVA: 0x000083D8 File Offset: 0x000065D8
		public void CanceledActivity()
		{
			List<Activity> result = new Activity().ActivityCanceled(this);
		}

		// Token: 0x060001E6 RID: 486 RVA: 0x000083F4 File Offset: 0x000065F4
		public void DoneActivity()
		{
			string result = new Activity().ActivityDone(this);
		}
	}
}
