// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

public struct ReplySchema: Codable, Equatable, Identifiable {
    public var content: String
    public var createdAt: Date
    /// CommentEntityType
    public var entityType: CommentEntityType?
    public var id: String
    public var numLikes: Int
    public var parentId: String?
    public var reactionType: String?
    public var userAvatarUrl: String
    public var userCommentsBlocked: Bool?
    public var userDisplayName: String
    public var userHandle: String
    public var userId: String
    public var userMentions: [Mention]?

    public init(content: String, createdAt: Date, entityType: CommentEntityType? = nil, id: String, numLikes: Int, parentId: String? = nil, reactionType: String? = nil, userAvatarUrl: String, userCommentsBlocked: Bool? = nil, userDisplayName: String, userHandle: String, userId: String, userMentions: [Mention]? = nil) {
        self.content = content
        self.createdAt = createdAt
        self.entityType = entityType
        self.id = id
        self.numLikes = numLikes
        self.parentId = parentId
        self.reactionType = reactionType
        self.userAvatarUrl = userAvatarUrl
        self.userCommentsBlocked = userCommentsBlocked
        self.userDisplayName = userDisplayName
        self.userHandle = userHandle
        self.userId = userId
        self.userMentions = userMentions
    }
}
