Package com.spotify.github
Interface Links
-
- All Known Subinterfaces:
CommentLinks,PullRequestLinks
- All Known Implementing Classes:
ImmutableCommentLinks,ImmutableLinks,ImmutablePullRequestLinks
@Immutable public interface LinksEntity for mapping the JSON field _links.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLinks.Href<T>Holder for href values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Links.Href<URI>html()Link to the HTML representaion of this item.Links.Href<URI>self()Link to this entity in the API.
-
-
-
Method Detail
-
self
@Nullable Links.Href<URI> self()
Link to this entity in the API.- Returns:
- The link to the API of this entity
-
html
@Nullable Links.Href<URI> html()
Link to the HTML representaion of this item.- Returns:
- The link to the HTML representation of this entity
-
-