class

Post

Inherits Reference < Object

The Post class is a representation of a post or comment.

Constructors

new(id : Int64)

Initializes a new Post instance.

Source

Instance methods

content

The content property represents the post's content.

Source
content=(content : String)

The content property represents the post's content.

Source
email

The email property represents the post's linked email.

Source
email=(email : String | Nil)

The email property represents the post's linked email.

Source
frozen

The frozen property represents whether a post has been locked for further replies.

Source
frozen=(frozen : Bool)

The frozen property represents whether a post has been locked for further replies.

Source
id

The id property is the post's unique ID.

Source
ip

The ip property is the post's originating IP. FIXME: If behind a reverse proxy, IPs can be useless for moderation purposes. Implement CSRF checks.

Source
ip=(ip : String)

The ip property is the post's originating IP. FIXME: If behind a reverse proxy, IPs can be useless for moderation purposes. Implement CSRF checks.

Source
name

The name property represents the post's username.

Source
name=(name : String | Nil)

The name property represents the post's username.

Source
parent

The parent property is a reply's parent thread.

Source
parent=(parent : Int64 | Nil)

The parent property is a reply's parent thread.

Source
replies

The replies property represents the number of replies that a post contains.

Source
replies=(replies : Int64)

The replies property represents the number of replies that a post contains.

Source
subject

The subject property represents the post's subject.

Source
subject=(subject : String | Nil)

The subject property represents the post's subject.

Source
time

The time property is the time that the post was created at.

Source
time=(time : Time)

The time property is the time that the post was created at.

Source