public class Document extends GenericModel
AlchemyDataNews
service.Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the id.
|
Source |
getSource()
Gets the source.
|
int |
getTimestamp()
Gets the timestamp.
|
void |
setId(String id)
Sets the id.
|
void |
setSource(Source source)
Sets the source.
|
void |
setTimestamp(int timestamp)
Sets the timestamp.
|
void |
setTimestamp(Integer timestamp)
Sets the timestamp.
|
equals, hashCode, toString
public String getId()
public Source getSource()
public int getTimestamp()
public void setId(String id)
id
- The idpublic void setSource(Source source)
source
- The sourcepublic void setTimestamp(int timestamp)
timestamp
- The timestamppublic void setTimestamp(Integer timestamp)
timestamp
- the timestamp to setCopyright © 2015–2016. All rights reserved.