public class SourceEntity
The entity providing source data.
class SourceObject| Constructor and Description |
|---|
SourceEntity(java.lang.String status,
java.util.List<xyz.thegrapevine.news.entities.SourceObject> sources)
The entity providing source data.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
API/endpoint status
|
java.util.List<xyz.thegrapevine.news.entities.SourceObject> |
component2()
A list of source data
|
SourceEntity |
copy(java.lang.String status,
java.util.List<xyz.thegrapevine.news.entities.SourceObject> sources)
The entity providing source data.
|
boolean |
equals(java.lang.Object p) |
java.util.List<xyz.thegrapevine.news.entities.SourceObject> |
getSources()
A list of source data
|
java.lang.String |
getStatus()
API/endpoint status
|
int |
hashCode() |
java.lang.String |
toString() |
public SourceEntity(@NotNull
java.lang.String status,
@NotNull
java.util.List<xyz.thegrapevine.news.entities.SourceObject> sources)
The entity providing source data.
status - API/endpoint statussources - A list of source dataclass SourceObject@NotNull public java.lang.String getStatus()
API/endpoint status
@NotNull public java.util.List<xyz.thegrapevine.news.entities.SourceObject> getSources()
A list of source data
@NotNull public java.lang.String component1()
API/endpoint status
@NotNull public java.util.List<xyz.thegrapevine.news.entities.SourceObject> component2()
A list of source data
@NotNull public SourceEntity copy(@NotNull java.lang.String status, @NotNull java.util.List<xyz.thegrapevine.news.entities.SourceObject> sources)
The entity providing source data.
status - API/endpoint statussources - A list of source dataclass SourceObject@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)