Comment class
A comment.
Constructors
-
Comment({UserDetails? author, dynamic body, DateTime? created, String? id, bool? jsdAuthorCanSeeRequest, bool? jsdPublic, List<
EntityProperty> ? properties, String? renderedBody, String? self, UserDetails? updateAuthor, DateTime? updated, Visibility? visibility}) -
Comment.fromJson(Map<
String, Object?> json) -
factory
Properties
-
The ID of the user who created the comment.
final
- body → dynamic
-
The comment text in
Atlassian Document Format.
final
- created → DateTime?
-
The date and time at which the comment was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the comment.
final
- jsdAuthorCanSeeRequest → bool
-
Whether the comment was added from an email sent by a person who is not
part of the issue. See
Allow external emails to be added as comments on issuesfor
information on setting up this feature.
final
- jsdPublic → bool
-
Whether the comment is visible in Jira Service Desk. Defaults to true when
comments are created in the Jira Cloud Platform. This includes when the
site doesn't use Jira Service Desk or the project isn't a Jira Service
Desk project and, therefore, there is no Jira Service Desk for the issue
to be visible on. To create a comment with its visibility in Jira Service
Desk set to false, use the Jira Service Desk REST API
Create request comment
operation.
final
-
properties
→ List<
EntityProperty> -
A list of comment properties. Optional on create and update.
final
- renderedBody → String?
-
The rendered version of the comment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → String?
-
The URL of the comment.
final
- updateAuthor → UserDetails?
-
The ID of the user who updated the comment last.
final
- updated → DateTime?
-
The date and time at which the comment was updated last.
final
- visibility → Visibility?
-
The group or role to which this comment is visible. Optional on create and
update.
final
Methods
-
copyWith(
{UserDetails? author, dynamic body, DateTime? created, String? id, bool? jsdAuthorCanSeeRequest, bool? jsdPublic, List< EntityProperty> ? properties, String? renderedBody, String? self, UserDetails? updateAuthor, DateTime? updated, Visibility? visibility}) → Comment -
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