Packages

object PullRequest

Source
Client.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PullRequest
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def activeLockReason: SelectionBuilder[PullRequest, Option[LockReason]]

    Reason that the conversation was locked.

  5. def additions: SelectionBuilder[PullRequest, Int]

    The number of additions in this pull request.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def assignees[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[UserConnection, A]): SelectionBuilder[PullRequest, A]

    A list of Users assigned to this object.

  8. def author[A](onBot: Option[SelectionBuilder[Bot, A]] = None, onEnterpriseUserAccount: Option[SelectionBuilder[EnterpriseUserAccount, A]] = None, onMannequin: Option[SelectionBuilder[Mannequin, A]] = None, onUser: Option[SelectionBuilder[User, A]] = None, onOrganization: Option[SelectionBuilder[Organization, A]] = None): SelectionBuilder[PullRequest, Option[A]]

    The actor who authored the comment.

  9. def authorAssociation: SelectionBuilder[PullRequest, CommentAuthorAssociation]

    Author's association with the subject of the comment.

  10. def baseRef[A](innerSelection: SelectionBuilder[Ref, A]): SelectionBuilder[PullRequest, Option[A]]

    Identifies the base Ref associated with the pull request.

  11. def baseRefName: SelectionBuilder[PullRequest, String]

    Identifies the name of the base Ref associated with the pull request, even if the ref has been deleted.

  12. def baseRefOid: SelectionBuilder[PullRequest, GitObjectID]

    Identifies the oid of the base ref associated with the pull request, even if the ref has been deleted.

  13. def baseRepository[A](innerSelection: SelectionBuilder[Repository, A]): SelectionBuilder[PullRequest, Option[A]]

    The repository associated with this pull request's base Ref.

  14. def body: SelectionBuilder[PullRequest, String]

    The body as Markdown.

  15. def bodyHTML: SelectionBuilder[PullRequest, HTML]

    The body rendered to HTML.

  16. def bodyText: SelectionBuilder[PullRequest, String]

    The body rendered to text.

  17. def changedFiles: SelectionBuilder[PullRequest, Int]

    The number of changed files in this pull request.

  18. def checksResourcePath: SelectionBuilder[PullRequest, URI]

    The HTTP path for the checks of this pull request.

  19. def checksUrl: SelectionBuilder[PullRequest, URI]

    The HTTP URL for the checks of this pull request.

  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  21. def closed: SelectionBuilder[PullRequest, Boolean]

    true if the pull request is closed

  22. def closedAt: SelectionBuilder[PullRequest, Option[DateTime]]

    Identifies the date and time when the object was closed.

  23. def comments[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, orderBy: Option[IssueCommentOrder] = None)(innerSelection: SelectionBuilder[IssueCommentConnection, A]): SelectionBuilder[PullRequest, A]

    A list of comments associated with the pull request.

  24. def commits[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[PullRequestCommitConnection, A]): SelectionBuilder[PullRequest, A]

    A list of commits present in this pull request's head branch not present in the base branch.

  25. def createdAt: SelectionBuilder[PullRequest, DateTime]

    Identifies the date and time when the object was created.

  26. def createdViaEmail: SelectionBuilder[PullRequest, Boolean]

    Check if this comment was created via an email reply.

  27. def databaseId: SelectionBuilder[PullRequest, Option[Int]]

    Identifies the primary key from the database.

  28. def deletions: SelectionBuilder[PullRequest, Int]

    The number of deletions in this pull request.

  29. def editor[A](onBot: Option[SelectionBuilder[Bot, A]] = None, onEnterpriseUserAccount: Option[SelectionBuilder[EnterpriseUserAccount, A]] = None, onMannequin: Option[SelectionBuilder[Mannequin, A]] = None, onUser: Option[SelectionBuilder[User, A]] = None, onOrganization: Option[SelectionBuilder[Organization, A]] = None): SelectionBuilder[PullRequest, Option[A]]

    The actor who edited this pull request's body.

  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  32. def files[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[PullRequestChangedFileConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    Lists the files changed within this pull request.

  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def headRef[A](innerSelection: SelectionBuilder[Ref, A]): SelectionBuilder[PullRequest, Option[A]]

    Identifies the head Ref associated with the pull request.

  37. def headRefName: SelectionBuilder[PullRequest, String]

    Identifies the name of the head Ref associated with the pull request, even if the ref has been deleted.

  38. def headRefOid: SelectionBuilder[PullRequest, GitObjectID]

    Identifies the oid of the head ref associated with the pull request, even if the ref has been deleted.

  39. def headRepository[A](innerSelection: SelectionBuilder[Repository, A]): SelectionBuilder[PullRequest, Option[A]]

    The repository associated with this pull request's head Ref.

  40. def headRepositoryOwner[A](onUser: Option[SelectionBuilder[User, A]] = None, onOrganization: Option[SelectionBuilder[Organization, A]] = None): SelectionBuilder[PullRequest, Option[A]]

    The owner of the repository associated with this pull request's head Ref.

  41. def hovercard[A](includeNotificationContexts: Option[Boolean] = None)(innerSelection: SelectionBuilder[Hovercard, A]): SelectionBuilder[PullRequest, A]

    The hovercard information for this issue

  42. def id: SelectionBuilder[PullRequest, String]
  43. def includesCreatedEdit: SelectionBuilder[PullRequest, Boolean]

    Check if this comment was edited and includes an edit with the creation data

  44. def isCrossRepository: SelectionBuilder[PullRequest, Boolean]

    The head and base repositories are different.

  45. def isDraft: SelectionBuilder[PullRequest, Boolean]

    Identifies if the pull request is a draft.

  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def isReadByViewer: SelectionBuilder[PullRequest, Option[Boolean]]

    Is this pull request read by the viewer

  48. def labels[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, orderBy: Option[LabelOrder] = None)(innerSelection: SelectionBuilder[LabelConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of labels associated with the object.

  49. def lastEditedAt: SelectionBuilder[PullRequest, Option[DateTime]]

    The moment the editor made the last edit

  50. def latestOpinionatedReviews[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, writersOnly: Option[Boolean] = None)(innerSelection: SelectionBuilder[PullRequestReviewConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of latest reviews per user associated with the pull request.

  51. def latestReviews[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[PullRequestReviewConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of latest reviews per user associated with the pull request that are not also pending review.

  52. def locked: SelectionBuilder[PullRequest, Boolean]

    true if the pull request is locked

  53. def maintainerCanModify: SelectionBuilder[PullRequest, Boolean]

    Indicates whether maintainers can modify the pull request.

  54. def mergeCommit[A](innerSelection: SelectionBuilder[Commit, A]): SelectionBuilder[PullRequest, Option[A]]

    The commit that was created when this pull request was merged.

  55. def mergeable: SelectionBuilder[PullRequest, MergeableState]

    Whether or not the pull request can be merged based on the existence of merge conflicts.

  56. def merged: SelectionBuilder[PullRequest, Boolean]

    Whether or not the pull request was merged.

  57. def mergedAt: SelectionBuilder[PullRequest, Option[DateTime]]

    The date and time that the pull request was merged.

  58. def mergedBy[A](onBot: Option[SelectionBuilder[Bot, A]] = None, onEnterpriseUserAccount: Option[SelectionBuilder[EnterpriseUserAccount, A]] = None, onMannequin: Option[SelectionBuilder[Mannequin, A]] = None, onUser: Option[SelectionBuilder[User, A]] = None, onOrganization: Option[SelectionBuilder[Organization, A]] = None): SelectionBuilder[PullRequest, Option[A]]

    The actor who merged the pull request.

  59. def milestone[A](innerSelection: SelectionBuilder[Milestone, A]): SelectionBuilder[PullRequest, Option[A]]

    Identifies the milestone associated with the pull request.

  60. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. def number: SelectionBuilder[PullRequest, Int]

    Identifies the pull request number.

  64. def participants[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[UserConnection, A]): SelectionBuilder[PullRequest, A]

    A list of Users that are participating in the Pull Request conversation.

  65. def permalink: SelectionBuilder[PullRequest, URI]

    The permalink to the pull request.

  66. def potentialMergeCommit[A](innerSelection: SelectionBuilder[Commit, A]): SelectionBuilder[PullRequest, Option[A]]

    The commit that GitHub automatically generated to test if this pull request could be merged.

    The commit that GitHub automatically generated to test if this pull request could be merged. This field will not return a value if the pull request is merged, or if the test merge commit is still being generated. See the mergeable field for more details on the mergeability of the pull request.

  67. def projectCards[A](after: Option[String] = None, archivedStates: Option[List[Option[ProjectCardArchivedState]]] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[ProjectCardConnection, A]): SelectionBuilder[PullRequest, A]

    List of project cards associated with this pull request.

  68. def publishedAt: SelectionBuilder[PullRequest, Option[DateTime]]

    Identifies when the comment was published at.

  69. def reactionGroups[A](innerSelection: SelectionBuilder[ReactionGroup, A]): SelectionBuilder[PullRequest, Option[List[A]]]

    A list of reactions grouped by content left on the subject.

  70. def reactions[A](after: Option[String] = None, before: Option[String] = None, content: Option[ReactionContent] = None, first: Option[Int] = None, last: Option[Int] = None, orderBy: Option[ReactionOrder] = None)(innerSelection: SelectionBuilder[ReactionConnection, A]): SelectionBuilder[PullRequest, A]

    A list of Reactions left on the Issue.

  71. def repository[A](innerSelection: SelectionBuilder[Repository, A]): SelectionBuilder[PullRequest, A]

    The repository associated with this node.

  72. def resourcePath: SelectionBuilder[PullRequest, URI]

    The HTTP path for this pull request.

  73. def revertResourcePath: SelectionBuilder[PullRequest, URI]

    The HTTP path for reverting this pull request.

  74. def revertUrl: SelectionBuilder[PullRequest, URI]

    The HTTP URL for reverting this pull request.

  75. def reviewDecision: SelectionBuilder[PullRequest, Option[PullRequestReviewDecision]]

    The current status of this pull request with respect to code review.

  76. def reviewRequests[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[ReviewRequestConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of review requests associated with the pull request.

  77. def reviewThreads[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[PullRequestReviewThreadConnection, A]): SelectionBuilder[PullRequest, A]

    The list of all review threads for this pull request.

  78. def reviews[A](after: Option[String] = None, author: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, states: Option[List[PullRequestReviewState]] = None)(innerSelection: SelectionBuilder[PullRequestReviewConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of reviews associated with the pull request.

  79. def state: SelectionBuilder[PullRequest, PullRequestState]

    Identifies the state of the pull request.

  80. def suggestedReviewers[A](innerSelection: SelectionBuilder[SuggestedReviewer, A]): SelectionBuilder[PullRequest, List[Option[A]]]

    A list of reviewer suggestions based on commit history and past review comments.

  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def timelineItems[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, itemTypes: Option[List[PullRequestTimelineItemsItemType]] = None, last: Option[Int] = None, since: Option[DateTime] = None, skip: Option[Int] = None)(innerSelection: SelectionBuilder[PullRequestTimelineItemsConnection, A]): SelectionBuilder[PullRequest, A]

    A list of events, comments, commits, etc.

    A list of events, comments, commits, etc. associated with the pull request.

  83. def title: SelectionBuilder[PullRequest, String]

    Identifies the pull request title.

  84. def toString(): String
    Definition Classes
    AnyRef → Any
  85. def updatedAt: SelectionBuilder[PullRequest, DateTime]

    Identifies the date and time when the object was last updated.

  86. def url: SelectionBuilder[PullRequest, URI]

    The HTTP URL for this pull request.

  87. def userContentEdits[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None)(innerSelection: SelectionBuilder[UserContentEditConnection, A]): SelectionBuilder[PullRequest, Option[A]]

    A list of edits to this content.

  88. def viewerCanApplySuggestion: SelectionBuilder[PullRequest, Boolean]

    Whether or not the viewer can apply suggestion.

  89. def viewerCanDeleteHeadRef: SelectionBuilder[PullRequest, Boolean]

    Check if the viewer can restore the deleted head ref.

  90. def viewerCanReact: SelectionBuilder[PullRequest, Boolean]

    Can user react to this subject

  91. def viewerCanSubscribe: SelectionBuilder[PullRequest, Boolean]

    Check if the viewer is able to change their subscription status for the repository.

  92. def viewerCanUpdate: SelectionBuilder[PullRequest, Boolean]

    Check if the current viewer can update this object.

  93. def viewerCannotUpdateReasons: SelectionBuilder[PullRequest, List[CommentCannotUpdateReason]]

    Reasons why the current viewer can not update this comment.

  94. def viewerDidAuthor: SelectionBuilder[PullRequest, Boolean]

    Did the viewer author this comment.

  95. def viewerMergeBodyText(mergeType: Option[PullRequestMergeMethod] = None): SelectionBuilder[PullRequest, String]

    The merge body text for the viewer and method.

  96. def viewerMergeHeadlineText(mergeType: Option[PullRequestMergeMethod] = None): SelectionBuilder[PullRequest, String]

    The merge headline text for the viewer and method.

  97. def viewerSubscription: SelectionBuilder[PullRequest, Option[SubscriptionState]]

    Identifies if the viewer is watching, not watching, or ignoring the subscribable entity.

  98. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def timeline[A](after: Option[String] = None, before: Option[String] = None, first: Option[Int] = None, last: Option[Int] = None, since: Option[DateTime] = None)(innerSelection: SelectionBuilder[PullRequestTimelineConnection, A]): SelectionBuilder[PullRequest, A]

    A list of events, comments, commits, etc.

    A list of events, comments, commits, etc. associated with the pull request.

    Annotations
    @deprecated
    Deprecated

    (Since version ) timeline will be removed Use PullRequest.timelineItems instead. Removal on 2020-10-01 UTC.

Inherited from AnyRef

Inherited from Any

Ungrouped