Class
ArticlesAndAuthorWithFavoritedRow
public final class ArticlesAndAuthorWithFavoritedRow: Codable
Representation of a row combining Articles and authors and favorite information about them.
Relationships
Conforms To
Codable
Initializers
init(id:slug:title:description:body:favoritesCount:favorited:author:createdAt:updatedAt:username:bio:image:following:tagCSV:)
public init( id: Int?, slug: String, title: String, description: String, body: String, favoritesCount: Int, favorited: Bool?, author: Int, createdAt: Date = Date(), updatedAt: Date = Date(), username: String, bio: String, image: String, following: Bool?, tagCSV: String? )
Default initializer.
Properties
favorited
public let favorited: Bool?
Whether the person who read this article favorite the article.