c

github4s.interpreters

IssuesInterpreter

class IssuesInterpreter[F[_]] extends Issues[F]

Linear Supertypes
Issues[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IssuesInterpreter
  2. Issues
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IssuesInterpreter()(implicit client: HttpClient[F], accessToken: Option[String])

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 addLabels(owner: String, repo: String, number: Int, labels: List[String], headers: Map[String, String]): F[GHResponse[List[Label]]]

    Add the specified labels to an Issue

    Add the specified labels to an Issue

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    labels

    the list of labels to add to the issue

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of labels added to the Issue.

    Definition Classes
    IssuesInterpreterIssues
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def createComment(owner: String, repo: String, number: Int, body: String, headers: Map[String, String]): F[GHResponse[Comment]]

    Create a comment

    Create a comment

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    body

    Comment body

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the created Comment

    Definition Classes
    IssuesInterpreterIssues
  8. def createIssue(owner: String, repo: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], headers: Map[String, String]): F[GHResponse[Issue]]

    Create an issue

    Create an issue

    owner

    of the repo

    repo

    name of the repo

    title

    The title of the issue.

    body

    The contents of the issue.

    milestone

    The number of the milestone to associate this issue with.

    labels

    Labels to associate with this issue.

    assignees

    Logins for Users to assign to this issue.

    headers

    optional user headers to include in the request

    Definition Classes
    IssuesInterpreterIssues
  9. def createMilestone(owner: String, repo: String, title: String, state: Option[String], description: Option[String], due_on: Option[ZonedDateTime], headers: Map[String, String]): F[GHResponse[Milestone]]

    Create a milestone

    Create a milestone

    owner

    repo owner

    repo

    repo name

    title

    The title of the milestone.

    state

    The state of the milestone. Either open or closed. Default: open

    description

    A description of the milestone.

    due_on

    The milestone due date. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the created Milestone

    Definition Classes
    IssuesInterpreterIssues
  10. def deleteComment(owner: String, repo: String, id: Int, headers: Map[String, String]): F[GHResponse[Unit]]

    Delete a comment

    Delete a comment

    owner

    of the repo

    repo

    name of the repo

    id

    Comment id

    headers

    optional user headers to include in the request

    returns

    a unit GHResponse

    Definition Classes
    IssuesInterpreterIssues
  11. def deleteMilestone(owner: String, repo: String, milestone_number: Int, headers: Map[String, String]): F[GHResponse[Unit]]

    Delete a milestone

    Delete a milestone

    owner

    repo owner

    repo

    repo name

    milestone_number

    number of milestone

    headers

    optional user headers to include in the request

    returns

    a Unit GHResponse

    Definition Classes
    IssuesInterpreterIssues
  12. def editComment(owner: String, repo: String, id: Int, body: String, headers: Map[String, String]): F[GHResponse[Comment]]

    Edit a comment

    Edit a comment

    owner

    of the repo

    repo

    name of the repo

    id

    Comment id

    body

    Comment body

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the edited Comment

    Definition Classes
    IssuesInterpreterIssues
  13. def editIssue(owner: String, repo: String, issue: Int, state: String, title: String, body: String, milestone: Option[Int], labels: List[String], assignees: List[String], headers: Map[String, String]): F[GHResponse[Issue]]

    Edit an issue

    Edit an issue

    owner

    of the repo

    repo

    name of the repo

    issue

    number

    state

    State of the issue. Either open or closed.

    title

    The title of the issue.

    body

    The contents of the issue.

    milestone

    The number of the milestone to associate this issue with.

    labels

    Labels to associate with this issue. Pass one or more Labels to replace the set of Labels on this Issue. Send an empty list to clear all Labels from the Issue.

    assignees

    Logins for Users to assign to this issue. Pass one or more user logins to replace the set of assignees on this Issue. Send an empty list to clear all assignees from the Issue.

    headers

    optional user headers to include in the request

    Definition Classes
    IssuesInterpreterIssues
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getIssue(owner: String, repo: String, number: Int, headers: Map[String, String]): F[GHResponse[Issue]]

    Get a single issue of a repository

    Get a single issue of a repository

    Note: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request.

    This endpoint may also return pull requests in the response. If an issue is a pull request, the object will include a pull_request key.

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the issue list.

    Definition Classes
    IssuesInterpreterIssues
  19. def getMilestone(owner: String, repo: String, number: Int, headers: Map[String, String]): F[GHResponse[Milestone]]

    Get a single milestone

    Get a single milestone

    owner

    repo owner

    repo

    repo name

    number

    Milestone number

    headers

    optional user headers to include in the request

    returns

    a GHResponse with a Milestone

    Definition Classes
    IssuesInterpreterIssues
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def listAvailableAssignees(owner: String, repo: String, pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[User]]]

    List available assignees for issues

    List available assignees for issues

    owner

    repo owner

    repo

    repo name

    pagination

    Limit and Offset for pagination

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of available assignees for issues in specified repository

    Definition Classes
    IssuesInterpreterIssues
  23. def listComments(owner: String, repo: String, number: Int, pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[Comment]]]

    List comments to an Issue

    List comments to an Issue

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    pagination

    Limit and Offset for pagination

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the comment list of the Issue.

    Definition Classes
    IssuesInterpreterIssues
  24. def listIssues(owner: String, repo: String, pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[Issue]]]

    List issues for a repository

    List issues for a repository

    Note: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request.

    This endpoint may also return pull requests in the response. If an issue is a pull request, the object will include a pull_request key.

    owner

    of the repo

    repo

    name of the repo

    pagination

    Limit and Offset for pagination

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the issue list.

    Definition Classes
    IssuesInterpreterIssues
  25. def listLabels(owner: String, repo: String, number: Int, pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[Label]]]

    List the labels assigned to an Issue

    List the labels assigned to an Issue

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    pagination

    Limit and Offset for pagination, optional.

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of labels for the Issue.

    Definition Classes
    IssuesInterpreterIssues
  26. def listLabelsRepository(owner: String, repo: String, pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[Label]]]

    List the labels assigned to a Repository

    List the labels assigned to a Repository

    owner

    of the repo

    repo

    name of the repo

    pagination

    Limit and Offset for pagination, optional.

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of labels for the Repository.

    Definition Classes
    IssuesInterpreterIssues
  27. def listMilestones(owner: String, repo: String, state: Option[String], sort: Option[String], direction: Option[String], pagination: Option[Pagination], headers: Map[String, String]): F[GHResponse[List[Milestone]]]

    List milestone in specified repository

    List milestone in specified repository

    owner

    repo owner

    repo

    repo name

    state

    filter milestones returned by their state. Can be either open, closed, all. Default: open

    sort

    What to sort results by. Either due_on or completeness. Default: due_on

    direction

    The direction of the sort. Either asc or desc. Default: asc

    pagination

    Limit and Offset for pagination

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of milestones in specified repository

    Definition Classes
    IssuesInterpreterIssues
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def removeLabel(owner: String, repo: String, number: Int, label: String, headers: Map[String, String]): F[GHResponse[List[Label]]]

    Remove the specified label from an Issue

    Remove the specified label from an Issue

    owner

    of the repo

    repo

    name of the repo

    number

    Issue number

    label

    the name of the label to remove from the issue

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the list of labels removed from the Issue.

    Definition Classes
    IssuesInterpreterIssues
  32. def searchIssues(query: String, searchParams: List[SearchParam], headers: Map[String, String]): F[GHResponse[SearchIssuesResult]]

    Search for issues

    Search for issues

    Note: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request.

    This endpoint may also return pull requests in the response. If an issue is a pull request, the object will include a pull_request key.

    query

    the query string for the search

    searchParams

    list of search params

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the result of the search.

    Definition Classes
    IssuesInterpreterIssues
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def updateMilestone(owner: String, repo: String, milestone_number: Int, title: String, state: Option[String], description: Option[String], due_on: Option[ZonedDateTime], headers: Map[String, String]): F[GHResponse[Milestone]]

    Update a milestone

    Update a milestone

    owner

    repo owner

    repo

    repo name

    milestone_number

    number of milestone

    title

    The title of the milestone.

    state

    The state of the milestone. Either open or closed. Default: open

    description

    A description of the milestone.

    due_on

    The milestone due date. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

    headers

    optional user headers to include in the request

    returns

    a GHResponse with the updated Milestone

    Definition Classes
    IssuesInterpreterIssues
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Issues[F]

Inherited from AnyRef

Inherited from Any

Ungrouped