L
- the type of links. Use SelfLinkDTO if only exposing "self"; use a subtype if expose more links.public interface Linkable<L extends SelfLinkDTO>
Implementers will expose a _links property in their JSON responses. At minimum, _links should have a "self" property. Conversely, the "self" property that this interface mandates is NOT exposed in JSON, but is used to generate the identity Location attribute, e.g on "create" operations.
com.atlassian.servicedesk.api.rest.util.ResponseFactory#createdDtoAsResponse()
Modifier and Type | Method and Description |
---|---|
L |
get_links() |
default URI |
getSelf()
The default implementation of getSelf() simply returns self from the links, but can be overriden if needed.
|
Copyright © 2019 Atlassian. All rights reserved.