Class Worklog
Worklog information
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Dapplo.Jira.Entities
Assembly:Dapplo.Jira.dll
Syntax
[JsonObject]
public class Worklog : BaseProperties<string>
Constructors
| Improve this Doc View SourceWorklog()
Default constructor for a work log
Declaration
public Worklog()
Worklog(TimeSpan)
Default constructor with a TimeSpan for the TimeSpentSeconds
Declaration
public Worklog(TimeSpan timeSpent)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | timeSpent | TimeSpan |
Properties
| Improve this Doc View SourceAuthor
Author of this worklog
Declaration
[JsonProperty(PropertyName = "author")]
public User Author { get; set; }
Property Value
Type | Description |
---|---|
User |
Comment
Comment for this worklog
Declaration
[JsonProperty(PropertyName = "comment")]
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Created
When was the worklog created
Declaration
[JsonProperty(PropertyName = "created")]
public DateTimeOffset? Created { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
Started
When was the worklog started
Declaration
[JsonProperty(PropertyName = "started")]
[JsonConverter(typeof (CustomDateTimeOffsetConverter))]
public DateTimeOffset? Started { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
TimeSpent
Time spent in this worklog, this is a number and qualifier (h = hour, d = day etc)
Declaration
[JsonProperty(PropertyName = "timeSpent")]
public string TimeSpent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TimeSpentSeconds
Time spent in this worklog, in seconds
Declaration
[JsonProperty(PropertyName = "timeSpentSeconds")]
public long ? TimeSpentSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
UpdateAuthor
Who updated this worklog, this cannot be updated
Declaration
[JsonProperty(PropertyName = "updateAuthor")]
public User UpdateAuthor { get; set; }
Property Value
Type | Description |
---|---|
User |
Updated
When was the worklog updated, this cannot be updated
Declaration
[JsonProperty(PropertyName = "updated")]
public DateTimeOffset? Updated { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTimeOffset> |
Visibility
Visibility
Declaration
[JsonProperty(PropertyName = "visibility")]
public Visibility Visibility { get; set; }
Property Value
Type | Description |
---|---|
Visibility |