Package com.spotify.github.v3.issues
Interface Issue
-
- All Superinterfaces:
CloseTracking
,UpdateTracking
- All Known Subinterfaces:
SearchIssue
- All Known Implementing Classes:
ImmutableIssue
,ImmutableSearchIssue
@Immutable public interface Issue extends CloseTracking
Issue resource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<User>
assignee()
Login for the user that this issue should be assigned to.Optional<String>
body()
The contents of the issue.Integer
comments()
Number of comments.URI
commentsUrl()
Comments URL.Optional<URI>
eventsUrl()
Events URL.URI
htmlUrl()
HTML URL.Integer
id()
ID.List<Label>
labels()
A list of comma separated label names.String
labelsUrl()
Labels URL template.Boolean
locked()
Is locked.Optional<Milestone>
milestone()
The milestone associated this issue with.Integer
number()
Number.Optional<PullRequest>
pullRequest()
Pull request.Optional<URI>
repositoryUrl()
Repository URL.String
state()
Indicates the state of the issues to return.String
title()
The title of the issue.URI
url()
URL.User
user()
User.-
Methods inherited from interface com.spotify.github.CloseTracking
closedAt
-
Methods inherited from interface com.spotify.github.UpdateTracking
createdAt, updatedAt
-
-
-
-
Method Detail
-
id
@Nullable Integer id()
ID.
-
url
@Nullable URI url()
URL.
-
labelsUrl
@Nullable String labelsUrl()
Labels URL template.
-
commentsUrl
@Nullable URI commentsUrl()
Comments URL.
-
htmlUrl
@Nullable URI htmlUrl()
HTML URL.
-
number
@Nullable Integer number()
Number.
-
state
@Nullable String state()
Indicates the state of the issues to return. Can be either open, closed, or all.
-
title
@Nullable String title()
The title of the issue.
-
user
@Nullable User user()
User.
-
labels
@Nullable List<Label> labels()
A list of comma separated label names. Example: bug,ui,@highl.
-
locked
@Nullable Boolean locked()
Is locked.
-
comments
@Nullable Integer comments()
Number of comments.
-
pullRequest
Optional<PullRequest> pullRequest()
Pull request.
-
-