FezPostData
public struct FezPostData : Content
Used to return a FezPost
‘s data.
Returned by:
GET /api/v3/fez/ID
POST /api/v3/fez/ID/post
POST /api/v3/fez/ID/post/ID/delete
See: FezController.fezHandler(_:)
, FezController.postAddHandler(_:data:)
,
FezController.postDeleteHandler(_:)
.
-
The ID of the fez post.
Declaration
Swift
var postID: Int
-
The fez post’s author.
Declaration
Swift
var author: UserHeader
-
The text content of the fez post.
Declaration
Swift
var text: String
-
The time the post was submitted.
Declaration
Swift
var timestamp: Date
-
The image content of the fez post.
Declaration
Swift
var image: String?
-
Declaration
Swift
init(post: FezPost, author: UserHeader, overrideQuarantine: Bool = false) throws