public class HalTenant extends HalResource<HalTenant> implements HalIdResource
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected String |
name |
static HalRelation |
REL_SELF |
_embedded, _links, linker
Constructor and Description |
---|
HalTenant() |
Modifier and Type | Method and Description |
---|---|
static HalTenant |
fromTenant(Tenant tenant) |
String |
getId()
return the identifier of the resource
|
String |
getName() |
addEmbedded, addEmbedded, addLink, addLink, embed, get_embedded, get_links, getEmbedded
public static final HalRelation REL_SELF
protected String id
protected String name
public String getId()
HalIdResource
getId
in interface HalIdResource
public String getName()
Copyright © 2019. All rights reserved.