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 voidadd(Recipient recipient)protected java.util.List<Link>getLink()java.util.List<Recipient>getRecipients()LinkgetSelfUri()protected voidsetLink(java.util.List<Link> links)java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
-