CommentDTO class

Constructors

CommentDTO({List<String>? expands, SelfLinkDTO? links, PagedDTOAttachmentDTO? attachments, UserDTO? author, String? body, DateDTO? created, String? id, bool? public, RenderedValueDTO? renderedBody})
CommentDTO.fromJson(Map<String, Object?> json)
factory

Properties

attachments PagedDTOAttachmentDTO?
List of the attachments included in the comment.
final
author UserDTO?
Details of the customer who authored the comment.
final
body String?
Content of the comment.
final
created DateDTO?
Date the comment was created.
final
expands List<String>
List of items that can be expanded in the response by specifying the expand query parameter.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
ID of the comment.
final
REST API URL link to the comment.
final
public bool
Indicates whether the comment is public (true) or private/internal (false).
final
renderedBody RenderedValueDTO?
The rendered body of the comment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({List<String>? expands, SelfLinkDTO? links, PagedDTOAttachmentDTO? attachments, UserDTO? author, String? body, DateDTO? created, String? id, bool? public, RenderedValueDTO? renderedBody}) CommentDTO
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