| Package | Description |
|---|---|
| com.atlassian.marketplace.client.model |
Entities that can be returned by the Atlassian Marketplace API.
|
| Modifier and Type | Method and Description |
|---|---|
static Link |
Link.fromUri(URI uri,
com.atlassian.fugue.Option<String> type) |
static Link |
Link.fromUriTemplate(UriTemplate ut,
com.atlassian.fugue.Option<String> type) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,com.google.common.collect.ImmutableList<Link>> |
Links.getItems()
Used internally.
|
com.atlassian.fugue.Option<Link> |
Links.getLink(String rel)
Returns the first
Link matching the given key, if any. |
com.atlassian.fugue.Option<Link> |
Links.getLink(String rel,
String contentType)
Returns the first
Link matching the given key and the given content type, if any. |
Iterable<Link> |
Links.getLinks(String rel)
Returns every
Link that matches the given key. |
| Modifier and Type | Method and Description |
|---|---|
ModelBuilders.LinksBuilder |
ModelBuilders.LinksBuilder.put(String rel,
com.google.common.collect.ImmutableList<Link> values)
Adds a list of links of any kind, replacing any other links with the same key.
|
| Constructor and Description |
|---|
Links(Map<String,com.google.common.collect.ImmutableList<Link>> items) |
Copyright © 2019 Atlassian. All rights reserved.