DiscussionPoll [object]
A poll for a discussion.
Implements
Attributes
Discussion [object]
A discussion in a repository.
Implements
Attributes
Reason that the conversation was locked.
The comment chosen as this discussion's answer, if any.
The time when a user chose this discussion's answer, if answered.
The user who chose this discussion's answer, if answered.
The actor who authored the comment.
Author's association with the subject of the comment.
The main text of the discussion post.
The body rendered to HTML.
The body rendered to text.
The category for this discussion.
Indicates if the object is closed (definition of closed may depend on type)
Identifies the date and time when the object was closed.
The replies to the discussion.
Identifies the date and time when the object was created.
Check if this comment was created via an email reply.
Identifies the primary key from the database.
The actor who edited the comment.
The Node ID of the Discussion object
Check if this comment was edited and includes an edit with the creation data
Only return answered/unanswered discussions
A list of labels associated with the object.
The moment the editor made the last edit
true
if the object is locked
The number identifying this discussion within the repository.
The poll associated with this discussion, if one exists.
Identifies when the comment was published at.
A list of reactions grouped by content left on the subject.
A list of Reactions left on the Issue.
The repository associated with this node.
The path for this discussion.
Identifies the reason for the discussion's state.
The title of this discussion.
Identifies the date and time when the object was last updated.
Number of upvotes that this subject has received.
The URL for this discussion.
A list of edits to this content.
Indicates if the object can be closed by the viewer.
Check if the current viewer can delete this object.
Can user react to this subject
Indicates if the object can be reopened by the viewer.
Check if the viewer is able to change their subscription status for the repository.
Check if the current viewer can update this object.
Whether or not the current user can add or remove an upvote on this subject.
Did the viewer author this comment.
Whether or not the current user has already upvoted this subject.
Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.
The discussion that this poll belongs to.
ID [scalar]
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
The Node ID of the DiscussionPoll object
DiscussionPollOptionConnection [object]
The connection type for DiscussionPollOption.
Attributes
A list of edges.
A list of nodes.
Information to aid in pagination.
Identifies the total count of items in the connection.
The options for this poll.
String [scalar]
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
The question that is being asked by this poll.
Int [scalar]
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
The total number of votes that have been cast for this poll.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates if the viewer has permission to vote in this poll.
Boolean [scalar]
The Boolean
scalar type represents true
or false
.
Indicates if the viewer has voted for any option in this poll.