Domain Documentation

Structure Comment

public struct Comment: Codable  

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

Comment Comment Codable Codable Comment->Codable

Nested Types

Comment.CodingKeys

Conforms To

Codable

Initializers

init(_id:​created​At:​updated​At:​body:​author:​)

public init(_id: Int, createdAt: Date, updatedAt: Date, body: String, author: Profile)  

Properties

_id

public var _id: Int

created​At

public var createdAt: Date

updated​At

public var updatedAt: Date

body

public var body: String

author

public var author: Profile