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