public abstract class Resource extends Object implements Filterable
Modifier and Type | Field and Description |
---|---|
static String |
EMPTY_IDENTIFIER |
static int |
EMPTY_IDENTIFIER_BACKWARDS |
Constructor and Description |
---|
Resource(es.situm.sdk.model.Resource.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getCreatedAt()
Returns a date containing the time when a resource was first created.
|
Map<String,String> |
getCustomFields()
Returns map of custom fields, indexed by their name.
|
String |
getIdentifier()
Returns the unique identifier of the resource
|
Date |
getUpdatedAt()
Returns a date containing the time when a resource was last updated.
|
int |
hashCode() |
String |
toString() |
public static final String EMPTY_IDENTIFIER
public static final int EMPTY_IDENTIFIER_BACKWARDS
public final String getIdentifier()
String
public final Date getUpdatedAt()
public final Date getCreatedAt()
public final Map<String,String> getCustomFields()
getCustomFields
in interface Filterable
Map
<String
, String
>