Class Recipients
- java.lang.Object
-
- no.digipost.api.client.representations.Representation
-
- no.digipost.api.client.representations.Recipients
-
public class Recipients extends Representation
-
-
Field Summary
-
Fields inherited from class no.digipost.api.client.representations.Representation
links
-
-
Constructor Summary
Constructors Constructor Description Recipients()
Recipients(Link... links)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Recipient recipient)
protected java.util.List<Link>
getLink()
java.util.List<Recipient>
getRecipients()
Link
getSelfUri()
protected void
setLink(java.util.List<Link> links)
java.lang.String
toString()
-
Methods inherited from class no.digipost.api.client.representations.Representation
addLink, getLinkByRelationName
-
-
-
-
Constructor Detail
-
Recipients
public Recipients(Link... links)
-
Recipients
public Recipients()
-
-
Method Detail
-
getRecipients
public java.util.List<Recipient> getRecipients()
-
getSelfUri
public Link getSelfUri()
-
add
public void add(Recipient recipient)
-
getLink
protected java.util.List<Link> getLink()
-
setLink
protected void setLink(java.util.List<Link> links)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-