Comment
public struct Comment : Codable, Equatable
Struct representing Comment related values.
-
Value representing the entity id.
Declaration
Swift
public var id: Int -
Specifies the user who made this comment.
Declaration
Swift
public var commenter: Commenter? -
Specifies the date when the comment was written.
Declaration
Swift
public var createdAt: String -
Specifies if the comment was flagged.
Declaration
Swift
public var flagged: String -
Specifies if the user is a commenter or the original post creator.
Declaration
Swift
public var isCommenter: Bool -
Specifies if the post is liked.
Declaration
Swift
public var isLiked: Bool -
Specifies if the comment is visible.
Declaration
Swift
public var isVisible: Bool -
Total like count.
Declaration
Swift
public var likeCount: Int -
Actual comment.
Declaration
Swift
public var message: String -
The original like count of the comment.
Declaration
Swift
public var originalLikeCount: Int -
Specifies the date when the comment was updated.
Declaration
Swift
public var updatedAt: String -
init(id:commenter: createdAt: flagged: isCommenter: isLiked: isVisible: likeCount: message: originalLikeCount: updatedAt: ) Undocumented
Declaration
Swift
public init(id: Int, commenter: Commenter?, createdAt: String, flagged: String, isCommenter: Bool, isLiked: Bool, isVisible: Bool, likeCount: Int, message: String, originalLikeCount: Int, updatedAt: String) -
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Comment Structure Reference