Domain Documentation

Structure Article

public struct Article: Codable  

see https://github.com/gothinkster/realworld/blob/master/api/swagger.json

Article Article Codable Codable Article->Codable

Nested Types

Article.CodingKeys

Conforms To

Codable

Initializers

init(slug:​title:​_description:​body:​tag​List:​created​At:​updated​At:​favorited:​favorites​Count:​author:​)

public init(slug: String, title: String, _description: String, body: String, tagList: [String], createdAt: Date, updatedAt: Date, favorited: Bool, favoritesCount: Int, author: Profile)  

Properties

slug

public var slug: String

title

public var title: String

_description

public var _description: String

body

public var body: String

tag​List

public var tagList: [String] 

created​At

public var createdAt: Date

updated​At

public var updatedAt: Date

favorited

public var favorited: Bool

favorites​Count

public var favoritesCount: Int

author

public var author: Profile