﻿using System;
using Newtonsoft.Json;

namespace AxosoftAPI.NET.Models
{
	public class WorkLog : BaseModel
	{
		[JsonProperty("project")]
		public Project Project { get; set; }

		[JsonProperty("release")]
		public Release Release { get; set; }

		[JsonProperty("user")]
		public User User { get; set; }

		[JsonProperty("work_done")]
		public DurationUnit WorkDone { get; set; }

		[JsonProperty("item")]
		public Item Item { get; set; }

		[JsonProperty("work_log_type")]
		public WorkLogType WorklogType { get; set; }

		[JsonProperty("description")]
		public string Description { get; set; }

		[JsonProperty("date_time")]
		public DateTime? DateTime { get; set; }
	}
}

﻿using System;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace AxosoftAPI.NET.Models
{
	public class WorkLog : BaseModel
	{
		[JsonProperty("project")]
		public Project Project { get; set; }

		[JsonProperty("release")]
		public Release Release { get; set; }

		[JsonProperty("user")]
		public User User { get; set; }

		[JsonProperty("work_done")]
		public DurationUnit WorkDone { get; set; }

		[JsonProperty("item")]
		public Item Item { get; set; }

		[JsonProperty("work_log_type")]
		public WorkLogType WorklogType { get; set; }

		[JsonProperty("description")]
		public string Description { get; set; }

		[JsonProperty("date_time")]
		public DateTime? DateTime { get; set; }

		[JsonProperty("custom_fields")]
		public IDictionary<string, object> CustomFields { get; set; }
	}
}

Add Custom Work Log field
Add Custom Work Log field

