Skip navigation links
A B C E G H N S T U X 

A

ArticleEntity - Class in xyz.thegrapevine.news.entities
The entity for the articles.
ArticleEntity(source, author, title, description, url, urlToImage, publishedAt, content) - Constructor for class xyz.thegrapevine.news.entities.ArticleEntity
The entity for the articles.
ArticleSourceEntity - Class in xyz.thegrapevine.news.entities
Data about the article's source
ArticleSourceEntity(id, name) - Constructor for class xyz.thegrapevine.news.entities.ArticleSourceEntity
Data about the article's source

B

BadRequestException - Exception in xyz.thegrapevine.news.exceptions
 
BadRequestException() - Constructor for exception xyz.thegrapevine.news.exceptions.BadRequestException
 
build() - Method in class xyz.thegrapevine.news.NewsClientBuilder
 

C

CallAdapterFactory - Class in xyz.thegrapevine.news.retrofit
A generic call adapter factory for Retrofit.
CallAdapterFactory() - Constructor for class xyz.thegrapevine.news.retrofit.CallAdapterFactory
A generic call adapter factory for Retrofit.
component1() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Data about the source
component1() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
Identifier of the source
component1() - Method in class xyz.thegrapevine.news.entities.NewsEntity
The API/endpoint status
component1() - Method in class xyz.thegrapevine.news.entities.SourceEntity
API/endpoint status
component1() - Method in class xyz.thegrapevine.news.entities.SourceObject
Identifier of the source
component2() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Name of the author
component2() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
Name of the source
component2() - Method in class xyz.thegrapevine.news.entities.NewsEntity
Amount of results aggregated
component2() - Method in class xyz.thegrapevine.news.entities.SourceEntity
A list of source data
component2() - Method in class xyz.thegrapevine.news.entities.SourceObject
Name of the source
component3() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Title of the article
component3() - Method in class xyz.thegrapevine.news.entities.NewsEntity
A list of article objects.
component3() - Method in class xyz.thegrapevine.news.entities.SourceObject
Short description of the source
component4() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Short description of the article
component4() - Method in class xyz.thegrapevine.news.entities.SourceObject
Direct link to the source
component5() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Direct link to the article
component5() - Method in class xyz.thegrapevine.news.entities.SourceObject
The main category that the source does
component6() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Direct link to the article
component6() - Method in class xyz.thegrapevine.news.entities.SourceObject
Language the source uses
component7() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
IS0-8601 formatted date on when it was published
component7() - Method in class xyz.thegrapevine.news.entities.SourceObject
The source
component8() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
The content of the article
copy(source, author, title, description, url, urlToImage, publishedAt, content) - Method in class xyz.thegrapevine.news.entities.ArticleEntity
The entity for the articles.
copy(id, name) - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
Data about the article's source
copy(status, totalResult, articles) - Method in class xyz.thegrapevine.news.entities.NewsEntity
The main object for articles.
copy(status, sources) - Method in class xyz.thegrapevine.news.entities.SourceEntity
The entity providing source data.
copy(id, name, description, url, category, language, country) - Method in class xyz.thegrapevine.news.entities.SourceObject
Object of each source.
create() - Method in class xyz.thegrapevine.news.retrofit.CallAdapterFactory
 

E

equals(p) - Method in class xyz.thegrapevine.news.entities.ArticleEntity
 
equals(p) - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
 
equals(p) - Method in class xyz.thegrapevine.news.entities.NewsEntity
 
equals(p) - Method in class xyz.thegrapevine.news.entities.SourceEntity
 
equals(p) - Method in class xyz.thegrapevine.news.entities.SourceObject
 

G

get(returnType, annotations, retrofit) - Method in class xyz.thegrapevine.news.retrofit.CallAdapterFactory
 
getArticles() - Method in class xyz.thegrapevine.news.entities.NewsEntity
A list of article objects.
getAuthor() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Name of the author
getCategory() - Method in class xyz.thegrapevine.news.entities.SourceObject
The main category that the source does
getContent() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
The content of the article
getCountry() - Method in class xyz.thegrapevine.news.entities.SourceObject
The source
getDescription() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Short description of the article
getDescription() - Method in class xyz.thegrapevine.news.entities.SourceObject
Short description of the source
getEverything(q, sources) - Method in interface xyz.thegrapevine.news.NewsClient
Returns the /everything endpoint
getHttpClient() - Method in class xyz.thegrapevine.news.NewsClientBuilder
 
getId() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
Identifier of the source
getId() - Method in class xyz.thegrapevine.news.entities.SourceObject
Identifier of the source
getLanguage() - Method in class xyz.thegrapevine.news.entities.SourceObject
Language the source uses
getName() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
Name of the source
getName() - Method in class xyz.thegrapevine.news.entities.SourceObject
Name of the source
getPublishedAt() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
IS0-8601 formatted date on when it was published
getSource() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Data about the source
getSources() - Method in class xyz.thegrapevine.news.entities.SourceEntity
A list of source data
getSources() - Method in interface xyz.thegrapevine.news.NewsClient
Returns available sources.
getStatus() - Method in class xyz.thegrapevine.news.entities.NewsEntity
The API/endpoint status
getStatus() - Method in class xyz.thegrapevine.news.entities.SourceEntity
API/endpoint status
getTitle() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Title of the article
getTopHeadlines(q, sources) - Method in interface xyz.thegrapevine.news.NewsClient
Returns the top headlines of today.
getTotalResult() - Method in class xyz.thegrapevine.news.entities.NewsEntity
Amount of results aggregated
getUrl() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Direct link to the article
getUrl() - Method in class xyz.thegrapevine.news.entities.SourceObject
Direct link to the source
getUrlToImage() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
Direct link to the article

H

hashCode() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
 
hashCode() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
 
hashCode() - Method in class xyz.thegrapevine.news.entities.NewsEntity
 
hashCode() - Method in class xyz.thegrapevine.news.entities.SourceEntity
 
hashCode() - Method in class xyz.thegrapevine.news.entities.SourceObject
 

N

NewsClient - Interface in xyz.thegrapevine.news
 
NewsClientBuilder - Class in xyz.thegrapevine.news
 
NewsClientBuilder(apiToken) - Constructor for class xyz.thegrapevine.news.NewsClientBuilder
 
NewsEntity - Class in xyz.thegrapevine.news.entities
The main object for articles.
NewsEntity(status, totalResult, articles) - Constructor for class xyz.thegrapevine.news.entities.NewsEntity
The main object for articles.

S

ServerErrorException - Exception in xyz.thegrapevine.news.exceptions
 
ServerErrorException() - Constructor for exception xyz.thegrapevine.news.exceptions.ServerErrorException
 
SourceEntity - Class in xyz.thegrapevine.news.entities
The entity providing source data.
SourceEntity(status, sources) - Constructor for class xyz.thegrapevine.news.entities.SourceEntity
The entity providing source data.
SourceObject - Class in xyz.thegrapevine.news.entities
Object of each source.
SourceObject(id, name, description, url, category, language, country) - Constructor for class xyz.thegrapevine.news.entities.SourceObject
Object of each source.

T

toString() - Method in class xyz.thegrapevine.news.entities.ArticleEntity
 
toString() - Method in class xyz.thegrapevine.news.entities.ArticleSourceEntity
 
toString() - Method in class xyz.thegrapevine.news.entities.NewsEntity
 
toString() - Method in class xyz.thegrapevine.news.entities.SourceEntity
 
toString() - Method in class xyz.thegrapevine.news.entities.SourceObject
 

U

UnauthorizedException - Exception in xyz.thegrapevine.news.exceptions
 
UnauthorizedException() - Constructor for exception xyz.thegrapevine.news.exceptions.UnauthorizedException
 

X

xyz.thegrapevine.news - package xyz.thegrapevine.news
 
xyz.thegrapevine.news.entities - package xyz.thegrapevine.news.entities
 
xyz.thegrapevine.news.exceptions - package xyz.thegrapevine.news.exceptions
 
xyz.thegrapevine.news.retrofit - package xyz.thegrapevine.news.retrofit
 
A B C E G H N S T U X 
Skip navigation links