Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Post

The equivalent of Type post.
This object represents the intersection of the Question and Answer objects.
It's used in cases where it would be beneficial to mix Questions and Answers in a response.

Hierarchy

  • Post

Index

Constructors

constructor

Properties

body

body: string | null

bodyMarkdown

bodyMarkdown: string | null

commentCount

commentCount: number | null

comments

comments: Comment[] | null

May be absent, in which case it is set to null

creationDate

creationDate: Date | null

downVoteCount

downVoteCount: number | null

downvoted

downvoted: boolean | null

lastActivityDate

lastActivityDate: Date | null

lastEditDate

lastEditDate: Date | null

May be absent, in which case it is set to null

lastEditor

lastEditor: ShallowUser | null

link

link: string | null

owner

owner: ShallowUser | null

May be absent, in which case it is set to null

postId

postId: number | null

Refers to a Post

postType

postType: "question" | "answer" | null

score

score: number | null

shareLink

shareLink: string | null

title

title: string | null

upVoteCount

upVoteCount: number | null

upvoted

upvoted: boolean | null

Made by Horyus. Documentation generated by TypeDoc.