| License | BSD-3-Clause |
|---|---|
| Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Safe Haskell | None |
| Language | Haskell2010 |
GitHub.Data.Issues
Description
- data Issue = Issue {
- issueClosedAt :: !(Maybe UTCTime)
- issueUpdatedAt :: !UTCTime
- issueEventsUrl :: !URL
- issueHtmlUrl :: !(Maybe URL)
- issueClosedBy :: !(Maybe SimpleUser)
- issueLabels :: Vector IssueLabel
- issueNumber :: !Int
- issueAssignees :: !(Vector SimpleUser)
- issueUser :: !SimpleUser
- issueTitle :: !Text
- issuePullRequest :: !(Maybe PullRequestReference)
- issueUrl :: !URL
- issueCreatedAt :: !UTCTime
- issueBody :: !(Maybe Text)
- issueState :: !IssueState
- issueId :: !(Id Issue)
- issueComments :: !Int
- issueMilestone :: !(Maybe Milestone)
- data NewIssue = NewIssue {
- newIssueTitle :: !Text
- newIssueBody :: !(Maybe Text)
- newIssueAssignee :: !(Maybe Text)
- newIssueMilestone :: !(Maybe (Id Milestone))
- newIssueLabels :: !(Maybe (Vector (Name IssueLabel)))
- data EditIssue = EditIssue {
- editIssueTitle :: !(Maybe Text)
- editIssueBody :: !(Maybe Text)
- editIssueAssignee :: !(Maybe (Name User))
- editIssueState :: !(Maybe IssueState)
- editIssueMilestone :: !(Maybe (Id Milestone))
- editIssueLabels :: !(Maybe (Vector (Name IssueLabel)))
- data IssueComment = IssueComment {}
- data EventType
- data IssueEvent = IssueEvent {
- issueEventActor :: !SimpleUser
- issueEventType :: !EventType
- issueEventCommitId :: !(Maybe Text)
- issueEventUrl :: !URL
- issueEventCreatedAt :: !UTCTime
- issueEventId :: !Int
- issueEventIssue :: !(Maybe Issue)
Documentation
Constructors
| Issue | |
Fields
| |
Constructors
| NewIssue | |
Fields
| |
Constructors
| EditIssue | |
Fields
| |
data IssueComment Source #
Constructors
| IssueComment | |
Fields
| |
Constructors
| Mentioned | The actor was @mentioned in an issue body. |
| Subscribed | The actor subscribed to receive notifications for an issue. |
| Unsubscribed | The issue was unsubscribed from by the actor. |
| Referenced | The issue was referenced from a commit message. The commit_id attribute is the commit SHA1 of where that happened. |
| Merged | The issue was merged by the actor. The commit_id attribute is the SHA1 of the HEAD commit that was merged. |
| Assigned | The issue was assigned to the actor. |
| Closed | The issue was closed by the actor. When the commit_id is present, it identifies the commit that closed the issue using “closes / fixes #NN” syntax. |
| Reopened | The issue was reopened by the actor. |
| ActorUnassigned | The issue was unassigned to the actor |
| Labeled | A label was added to the issue. |
| Unlabeled | A label was removed from the issue. |
| Milestoned | The issue was added to a milestone. |
| Demilestoned | The issue was removed from a milestone. |
| Renamed | The issue title was changed. |
| Locked | The issue was locked by the actor. |
| Unlocked | The issue was unlocked by the actor. |
| HeadRefDeleted | The pull request’s branch was deleted. |
| HeadRefRestored | The pull request’s branch was restored. |
data IssueEvent Source #
Issue event
Constructors
| IssueEvent | |
Fields
| |
Instances