Worklog class
Details of a worklog.
Constructors
-
Worklog({UserDetails? author, dynamic comment, DateTime? created, String? id, String? issueId, List<
EntityProperty> ? properties, String? self, DateTime? started, String? timeSpent, int? timeSpentSeconds, UserDetails? updateAuthor, DateTime? updated, Visibility? visibility}) -
Worklog.fromJson(Map<
String, Object?> json) -
factory
Properties
-
Details of the user who created the worklog.
final
- comment → dynamic
-
A comment about the worklog in
Atlassian Document Format.
Optional when creating or updating a worklog.
final
- created → DateTime?
-
The datetime on which the worklog was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the worklog record.
final
- issueId → String?
-
The ID of the issue this worklog is for.
final
-
properties
→ List<
EntityProperty> -
Details of properties for the worklog. Optional when creating or updating
a worklog.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → String?
-
The URL of the worklog item.
final
- started → DateTime?
-
The datetime on which the worklog effort was started. Required when
creating a worklog. Optional when updating a worklog.
final
- timeSpent → String?
-
The time spent working on the issue as days (#d), hours (#h), or minutes
(#m or #). Required when creating a worklog if
timeSpentSeconds
isn't provided. Optional when updating a worklog. Cannot be provided iftimeSpentSecond
is provided.final - timeSpentSeconds → int?
-
The time in seconds spent working on the issue. Required when creating a
worklog if
timeSpent
isn't provided. Optional when updating a worklog. Cannot be provided iftimeSpent
is provided.final - updateAuthor → UserDetails?
-
Details of the user who last updated the worklog.
final
- updated → DateTime?
-
The datetime on which the worklog was last updated.
final
- visibility → Visibility?
-
Details about any restrictions in the visibility of the worklog. Optional
when creating or updating a worklog.
final
Methods
-
copyWith(
{UserDetails? author, dynamic comment, DateTime? created, String? id, String? issueId, List< EntityProperty> ? properties, String? self, DateTime? started, String? timeSpent, int? timeSpentSeconds, UserDetails? updateAuthor, DateTime? updated, Visibility? visibility}) → Worklog -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited