com.aylien.newsapi.parameters.CoveragesParams Maven / Gradle / Ivy
Show all versions of client Show documentation
/**
* Copyright 2016 Aylien, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aylien.newsapi.parameters;
import org.joda.time.DateTime;
import java.util.List;
public class CoveragesParams {
private List id;
private String title;
private String body;
private String text;
private List language;
private String publishedAtStart;
private String publishedAtEnd;
private String categoriesTaxonomy;
private Boolean categoriesConfident;
private List categoriesId;
private List categoriesLevel;
private List entitiesTitleText;
private List entitiesTitleType;
private List entitiesTitleLinksDbpedia;
private List entitiesBodyText;
private List entitiesBodyType;
private List entitiesBodyLinksDbpedia;
private String sentimentTitlePolarity;
private String sentimentBodyPolarity;
private Integer mediaImagesCountMin;
private Integer mediaImagesCountMax;
private Integer mediaVideosCountMin;
private Integer mediaVideosCountMax;
private List authorId;
private String authorName;
private List sourceId;
private List sourceName;
private List sourceDomain;
private List sourceLocationsCountry;
private List sourceLocationsState;
private List sourceLocationsCity;
private List sourceScopesCountry;
private List sourceScopesState;
private List sourceScopesCity;
private List sourceScopesLevel;
private Integer sourceLinksInCountMin;
private Integer sourceLinksInCountMax;
private Integer sourceRankingsAlexaRankMin;
private Integer sourceRankingsAlexaRankMax;
private List sourceRankingsAlexaCountry;
private Boolean cluster;
private String clusterAlgorithm;
private List _return;
private Long storyId;
private String storyUrl;
private String storyTitle;
private String storyBody;
private DateTime storyPublishedAt;
private String storyLanguage;
private Integer perPage;
/**
* Constructs parameters for Coverages endpoint
*
* @param id This parameter is used for finding stroies by story id. (optional)
* @param title This parameter is used for finding stories whose title contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional)
* @param body This parameter is used for finding stories whose body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional)
* @param text This parameter is used for finding stories whose title or body contains a specfic keyword. It supports [boolean operators](https://newsapi.aylien.com/docs/boolean-operators). (optional)
* @param language This parameter is used for finding stories whose language is the specified value. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional)
* @param publishedAtStart This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional)
* @param publishedAtEnd This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates). (optional)
* @param categoriesTaxonomy This parameter is used for defining the type of the taxonomy for the rest of the categories queries. (optional)
* @param categoriesConfident This parameter is used for finding stories whose categories are confident. (optional, default to true)
* @param categoriesId This parameter is used for finding stories by categories id. (optional)
* @param categoriesLevel This parameter is used for finding stories by categories level. (optional)
* @param entitiesTitleText This parameter is used to find stories based on the specified entities `text` in story titles. (optional)
* @param entitiesTitleType This parameter is used to find stories based on the specified entities `type` in story titles. (optional)
* @param entitiesTitleLinksDbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. (optional)
* @param entitiesBodyText This parameter is used to find stories based on the specified entities `text` in the body of stories. (optional)
* @param entitiesBodyType This parameter is used to find stories based on the specified entities `type` in the body of stories. (optional)
* @param entitiesBodyLinksDbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. (optional)
* @param sentimentTitlePolarity This parameter is used for finding stories whose title sentiment is the specified value. (optional)
* @param sentimentBodyPolarity This parameter is used for finding stories whose body sentiment is the specified value. (optional)
* @param mediaImagesCountMin This parameter is used for finding stories whose number of images is greater than or equal to the specified value. (optional)
* @param mediaImagesCountMax This parameter is used for finding stories whose number of images is less than or equal to the specified value. (optional)
* @param mediaVideosCountMin This parameter is used for finding stories whose number of videos is greater than or equal to the specified value. (optional)
* @param mediaVideosCountMax This parameter is used for finding stories whose number of videos is less than or equal to the specified value. (optional)
* @param authorId This parameter is used for finding stories whose author id is the specified value. (optional)
* @param authorName This parameter is used for finding stories whose author full name contains the specified value. (optional)
* @param sourceId This parameter is used for finding stories whose source id is the specified value. (optional)
* @param sourceName This parameter is used for finding stories whose source name contains the specified value. (optional)
* @param sourceDomain This parameter is used for finding stories whose source domain is the specified value. (optional)
* @param sourceLocationsCountry This parameter is used for finding stories whose source country is the specified value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceLocationsState This parameter is used for finding stories whose source state/province is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceLocationsCity This parameter is used for finding stories whose source city is the specified value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceScopesCountry This parameter is used for finding stories whose source scopes is the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceScopesState This parameter is used for finding stories whose source scopes is the specified state/province value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceScopesCity This parameter is used for finding stories whose source scopes is the specified city value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceScopesLevel This parameter is used for finding stories whose source scopes is the specified level value. [Here](https://newsapi.aylien.com/docs/working-with-locations) you can find more information about how [to work with locations](https://newsapi.aylien.com/docs/working-with-locations). (optional)
* @param sourceLinksInCountMin This parameter is used for finding stories from sources whose Links in count is greater than or equal to the specified value. You can read more about working with Links in count here [https://newsapi.aylien.com/docs/working-with-links-in-count](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional)
* @param sourceLinksInCountMax This parameter is used for finding stories from sources whose Links in count is less than or equal to the specified value. You can read more about working with Links in count here [https://newsapi.aylien.com/docs/working-with-links-in-count](https://newsapi.aylien.com/docs/working-with-links-in-count). (optional)
* @param sourceRankingsAlexaRankMin This parameter is used for finding stories from sources whose Alexa rank is greater than or equal to the specified value. You can read more about working with Alexa ranks here [https://newsapi.aylien.com/docs/working-with-alexa-ranks](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional)
* @param sourceRankingsAlexaRankMax This parameter is used for finding stories from sources whose Alexa rank is less than or equal to the specified value. You can read more about working with Alexa ranks here [https://newsapi.aylien.com/docs/working-with-alexa-ranks](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional)
* @param sourceRankingsAlexaCountry This parameter is used for finding stories from sources whose Alexa rank is in the specified country value. It supports [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes. You can read more about working with Alexa ranks here [https://newsapi.aylien.com/docs/working-with-alexa-ranks](https://newsapi.aylien.com/docs/working-with-alexa-ranks). (optional)
* @param cluster This parameter enables clustering for the returned stories. (optional, default to false)
* @param clusterAlgorithm This parameter is used for specifying the clustering algorithm you wish to use. It supprts STC, Lingo and [k-means](https://en.wikipedia.org/wiki/K-means_clustering) algorithms. (optional, default to lingo)
* @param _return This parameter is used for specifying return fields. (optional)
* @param storyId A story id (optional)
* @param storyUrl An article or webpage (optional)
* @param storyTitle Title of the article (optional)
* @param storyBody Body of the article (optional)
* @param storyPublishedAt Publish date of the article. If you use a url or title and body of an article for getting coverages, this parameter is required. The format used is a restricted form of the canonical representation of dateTime in the [XML Schema specification (ISO 8601)](https://www.w3.org/TR/xmlschema-2/#dateTime). (optional)
* @param storyLanguage This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (optional, default to auto)
* @param perPage This parameter is used for specifying number of items in each page. (optional, default to 3)
*/
public CoveragesParams(List id, String title, String body, String text, List language, String publishedAtStart, String publishedAtEnd, String categoriesTaxonomy, Boolean categoriesConfident, List categoriesId, List categoriesLevel, List entitiesTitleText, List entitiesTitleType, List entitiesTitleLinksDbpedia, List entitiesBodyText, List entitiesBodyType, List entitiesBodyLinksDbpedia, String sentimentTitlePolarity, String sentimentBodyPolarity, Integer mediaImagesCountMin, Integer mediaImagesCountMax, Integer mediaVideosCountMin, Integer mediaVideosCountMax, List authorId, String authorName, List sourceId, List sourceName, List sourceDomain, List sourceLocationsCountry, List sourceLocationsState, List sourceLocationsCity, List sourceScopesCountry, List sourceScopesState, List sourceScopesCity, List sourceScopesLevel, Integer sourceLinksInCountMin, Integer sourceLinksInCountMax, Integer sourceRankingsAlexaRankMin, Integer sourceRankingsAlexaRankMax, List sourceRankingsAlexaCountry, Boolean cluster, String clusterAlgorithm, List _return, Long storyId, String storyUrl, String storyTitle, String storyBody, DateTime storyPublishedAt, String storyLanguage, Integer perPage) {
this.id = id;
this.title = title;
this.body = body;
this.text = text;
this.language = language;
this.publishedAtStart = publishedAtStart;
this.publishedAtEnd = publishedAtEnd;
this.categoriesTaxonomy = categoriesTaxonomy;
this.categoriesConfident = categoriesConfident;
this.categoriesId = categoriesId;
this.categoriesLevel = categoriesLevel;
this.entitiesTitleText = entitiesTitleText;
this.entitiesTitleType = entitiesTitleType;
this.entitiesTitleLinksDbpedia = entitiesTitleLinksDbpedia;
this.entitiesBodyText = entitiesBodyText;
this.entitiesBodyType = entitiesBodyType;
this.entitiesBodyLinksDbpedia = entitiesBodyLinksDbpedia;
this.sentimentTitlePolarity = sentimentTitlePolarity;
this.sentimentBodyPolarity = sentimentBodyPolarity;
this.mediaImagesCountMin = mediaImagesCountMin;
this.mediaImagesCountMax = mediaImagesCountMax;
this.mediaVideosCountMin = mediaVideosCountMin;
this.mediaVideosCountMax = mediaVideosCountMax;
this.authorId = authorId;
this.authorName = authorName;
this.sourceId = sourceId;
this.sourceName = sourceName;
this.sourceDomain = sourceDomain;
this.sourceLocationsCountry = sourceLocationsCountry;
this.sourceLocationsState = sourceLocationsState;
this.sourceLocationsCity = sourceLocationsCity;
this.sourceScopesCountry = sourceScopesCountry;
this.sourceScopesState = sourceScopesState;
this.sourceScopesCity = sourceScopesCity;
this.sourceScopesLevel = sourceScopesLevel;
this.sourceLinksInCountMin = sourceLinksInCountMin;
this.sourceLinksInCountMax = sourceLinksInCountMax;
this.sourceRankingsAlexaRankMin = sourceRankingsAlexaRankMin;
this.sourceRankingsAlexaRankMax = sourceRankingsAlexaRankMax;
this.sourceRankingsAlexaCountry = sourceRankingsAlexaCountry;
this.cluster = cluster;
this.clusterAlgorithm = clusterAlgorithm;
this._return = _return;
this.storyId = storyId;
this.storyUrl = storyUrl;
this.storyTitle = storyTitle;
this.storyBody = storyBody;
this.storyPublishedAt = storyPublishedAt;
this.storyLanguage = storyLanguage;
this.perPage = perPage;
}
public static Builder newBuilder() {
return new Builder();
}
public List getId() {
return id;
}
public String getTitle() {
return title;
}
public String getBody() {
return body;
}
public String getText() {
return text;
}
public List getLanguage() {
return language;
}
public String getPublishedAtStart() {
return publishedAtStart;
}
public String getPublishedAtEnd() {
return publishedAtEnd;
}
public String getCategoriesTaxonomy() {
return categoriesTaxonomy;
}
public Boolean getCategoriesConfident() {
return categoriesConfident;
}
public List getCategoriesId() {
return categoriesId;
}
public List getCategoriesLevel() {
return categoriesLevel;
}
public List getEntitiesTitleText() {
return entitiesTitleText;
}
public List getEntitiesTitleType() {
return entitiesTitleType;
}
public List getEntitiesTitleLinksDbpedia() {
return entitiesTitleLinksDbpedia;
}
public List getEntitiesBodyText() {
return entitiesBodyText;
}
public List getEntitiesBodyType() {
return entitiesBodyType;
}
public List getEntitiesBodyLinksDbpedia() {
return entitiesBodyLinksDbpedia;
}
public String getSentimentTitlePolarity() {
return sentimentTitlePolarity;
}
public String getSentimentBodyPolarity() {
return sentimentBodyPolarity;
}
public Integer getMediaImagesCountMin() {
return mediaImagesCountMin;
}
public Integer getMediaImagesCountMax() {
return mediaImagesCountMax;
}
public Integer getMediaVideosCountMin() {
return mediaVideosCountMin;
}
public Integer getMediaVideosCountMax() {
return mediaVideosCountMax;
}
public List getAuthorId() {
return authorId;
}
public String getAuthorName() {
return authorName;
}
public List getSourceId() {
return sourceId;
}
public List getSourceName() {
return sourceName;
}
public List getSourceDomain() {
return sourceDomain;
}
public List getSourceLocationsCountry() {
return sourceLocationsCountry;
}
public List getSourceLocationsState() {
return sourceLocationsState;
}
public List getSourceLocationsCity() {
return sourceLocationsCity;
}
public List getSourceScopesCountry() {
return sourceScopesCountry;
}
public List getSourceScopesState() {
return sourceScopesState;
}
public List getSourceScopesCity() {
return sourceScopesCity;
}
public List getSourceScopesLevel() {
return sourceScopesLevel;
}
public Integer getSourceLinksInCountMin() {
return sourceLinksInCountMin;
}
public Integer getSourceLinksInCountMax() {
return sourceLinksInCountMax;
}
public Integer getSourceRankingsAlexaRankMin() {
return sourceRankingsAlexaRankMin;
}
public Integer getSourceRankingsAlexaRankMax() {
return sourceRankingsAlexaRankMax;
}
public List getSourceRankingsAlexaCountry() {
return sourceRankingsAlexaCountry;
}
public Boolean getCluster() {
return cluster;
}
public String getClusterAlgorithm() {
return clusterAlgorithm;
}
public List get_return() {
return _return;
}
public Integer getPerPage() {
return perPage;
}
public Long getStoryId() {
return storyId;
}
public String getStoryUrl() {
return storyUrl;
}
public String getStoryTitle() {
return storyTitle;
}
public String getStoryBody() {
return storyBody;
}
public DateTime getStoryPublishedAt() {
return storyPublishedAt;
}
public String getStoryLanguage() {
return storyLanguage;
}
public static class Builder {
private List id;
private String title;
private String body;
private String text;
private List language;
private String publishedAtStart;
private String publishedAtEnd;
private String categoriesTaxonomy;
private Boolean categoriesConfident;
private List categoriesId;
private List categoriesLevel;
private List entitiesTitleText;
private List entitiesTitleType;
private List entitiesTitleLinksDbpedia;
private List entitiesBodyText;
private List entitiesBodyType;
private List entitiesBodyLinksDbpedia;
private String sentimentTitlePolarity;
private String sentimentBodyPolarity;
private Integer mediaImagesCountMin;
private Integer mediaImagesCountMax;
private Integer mediaVideosCountMin;
private Integer mediaVideosCountMax;
private List authorId;
private String authorName;
private List sourceId;
private List sourceName;
private List sourceDomain;
private List sourceLocationsCountry;
private List sourceLocationsState;
private List sourceLocationsCity;
private List sourceScopesCountry;
private List sourceScopesState;
private List sourceScopesCity;
private List sourceScopesLevel;
private Integer sourceLinksInCountMin;
private Integer sourceLinksInCountMax;
private Integer sourceRankingsAlexaRankMin;
private Integer sourceRankingsAlexaRankMax;
private List sourceRankingsAlexaCountry;
private Boolean cluster;
private String clusterAlgorithm;
private List _return;
private Long storyId;
private String storyUrl;
private String storyTitle;
private String storyBody;
private DateTime storyPublishedAt;
private String storyLanguage;
private Integer perPage;
public Builder setId(List id) {
this.id = id;
return this;
}
public Builder setTitle(String title) {
this.title = title;
return this;
}
public Builder setBody(String body) {
this.body = body;
return this;
}
public Builder setText(String text) {
this.text = text;
return this;
}
public Builder setLanguage(List language) {
this.language = language;
return this;
}
public Builder setPublishedAtStart(String publishedAtStart) {
this.publishedAtStart = publishedAtStart;
return this;
}
public Builder setPublishedAtEnd(String publishedAtEnd) {
this.publishedAtEnd = publishedAtEnd;
return this;
}
public Builder setCategoriesTaxonomy(String categoriesTaxonomy) {
this.categoriesTaxonomy = categoriesTaxonomy;
return this;
}
public Builder setCategoriesConfident(Boolean categoriesConfident) {
this.categoriesConfident = categoriesConfident;
return this;
}
public Builder setCategoriesId(List categoriesId) {
this.categoriesId = categoriesId;
return this;
}
public Builder setCategoriesLevel(List categoriesLevel) {
this.categoriesLevel = categoriesLevel;
return this;
}
public Builder setEntitiesTitleText(List entitiesTitleText) {
this.entitiesTitleText = entitiesTitleText;
return this;
}
public Builder setEntitiesTitleType(List entitiesTitleType) {
this.entitiesTitleType = entitiesTitleType;
return this;
}
public Builder setEntitiesTitleLinksDbpedia(List entitiesTitleLinksDbpedia) {
this.entitiesTitleLinksDbpedia = entitiesTitleLinksDbpedia;
return this;
}
public Builder setEntitiesBodyText(List entitiesBodyText) {
this.entitiesBodyText = entitiesBodyText;
return this;
}
public Builder setEntitiesBodyType(List entitiesBodyType) {
this.entitiesBodyType = entitiesBodyType;
return this;
}
public Builder setEntitiesBodyLinksDbpedia(List entitiesBodyLinksDbpedia) {
this.entitiesBodyLinksDbpedia = entitiesBodyLinksDbpedia;
return this;
}
public Builder setSentimentTitlePolarity(String sentimentTitlePolarity) {
this.sentimentTitlePolarity = sentimentTitlePolarity;
return this;
}
public Builder setSentimentBodyPolarity(String sentimentBodyPolarity) {
this.sentimentBodyPolarity = sentimentBodyPolarity;
return this;
}
public Builder setMediaImagesCountMin(Integer mediaImagesCountMin) {
this.mediaImagesCountMin = mediaImagesCountMin;
return this;
}
public Builder setMediaImagesCountMax(Integer mediaImagesCountMax) {
this.mediaImagesCountMax = mediaImagesCountMax;
return this;
}
public Builder setMediaVideosCountMin(Integer mediaVideosCountMin) {
this.mediaVideosCountMin = mediaVideosCountMin;
return this;
}
public Builder setMediaVideosCountMax(Integer mediaVideosCountMax) {
this.mediaVideosCountMax = mediaVideosCountMax;
return this;
}
public Builder setAuthorId(List authorId) {
this.authorId = authorId;
return this;
}
public Builder setAuthorName(String authorName) {
this.authorName = authorName;
return this;
}
public Builder setSourceId(List sourceId) {
this.sourceId = sourceId;
return this;
}
public Builder setSourceName(List sourceName) {
this.sourceName = sourceName;
return this;
}
public Builder setSourceDomain(List sourceDomain) {
this.sourceDomain = sourceDomain;
return this;
}
public Builder setSourceLocationsCountry(List sourceLocationsCountry) {
this.sourceLocationsCountry = sourceLocationsCountry;
return this;
}
public Builder setSourceLocationsState(List sourceLocationsState) {
this.sourceLocationsState = sourceLocationsState;
return this;
}
public Builder setSourceLocationsCity(List sourceLocationsCity) {
this.sourceLocationsCity = sourceLocationsCity;
return this;
}
public Builder setSourceScopesCountry(List sourceScopesCountry) {
this.sourceScopesCountry = sourceScopesCountry;
return this;
}
public Builder setSourceScopesState(List sourceScopesState) {
this.sourceScopesState = sourceScopesState;
return this;
}
public Builder setSourceScopesCity(List sourceScopesCity) {
this.sourceScopesCity = sourceScopesCity;
return this;
}
public Builder setSourceScopesLevel(List sourceScopesLevel) {
this.sourceScopesLevel = sourceScopesLevel;
return this;
}
public Builder setSourceLinksInCountMin(Integer sourceLinksInCountMin) {
this.sourceLinksInCountMin = sourceLinksInCountMin;
return this;
}
public Builder setSourceLinksInCountMax(Integer sourceLinksInCountMax) {
this.sourceLinksInCountMax = sourceLinksInCountMax;
return this;
}
public Builder setSourceRankingsAlexaRankMin(Integer sourceRankingsAlexaRankMin) {
this.sourceRankingsAlexaRankMin = sourceRankingsAlexaRankMin;
return this;
}
public Builder setSourceRankingsAlexaRankMax(Integer sourceRankingsAlexaRankMax) {
this.sourceRankingsAlexaRankMax = sourceRankingsAlexaRankMax;
return this;
}
public Builder setSourceRankingsAlexaCountry(List sourceRankingsAlexaCountry) {
this.sourceRankingsAlexaCountry = sourceRankingsAlexaCountry;
return this;
}
public Builder setCluster(Boolean cluster) {
this.cluster = cluster;
return this;
}
public Builder setClusterAlgorithm(String clusterAlgorithm) {
this.clusterAlgorithm = clusterAlgorithm;
return this;
}
public Builder set_return(List _return) {
this._return = _return;
return this;
}
public Builder setStoryId(Long storyId) {
this.storyId = storyId;
return this;
}
public Builder setStoryUrl(String storyUrl) {
this.storyUrl = storyUrl;
return this;
}
public Builder setStoryTitle(String storyTitle) {
this.storyTitle = storyTitle;
return this;
}
public Builder setStoryBody(String storyBody) {
this.storyBody = storyBody;
return this;
}
public Builder setStoryPublishedAt(DateTime storyPublishedAt) {
this.storyPublishedAt = storyPublishedAt;
return this;
}
public Builder setStoryLanguage(String storyLanguage) {
this.storyLanguage = storyLanguage;
return this;
}
public Builder setPerPage(Integer perPage) {
this.perPage = perPage;
return this;
}
public CoveragesParams build() {
return new CoveragesParams(id, title, body, text, language, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, categoriesLevel, entitiesTitleText, entitiesTitleType, entitiesTitleLinksDbpedia, entitiesBodyText, entitiesBodyType, entitiesBodyLinksDbpedia, sentimentTitlePolarity, sentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaVideosCountMin, mediaVideosCountMax, authorId, authorName, sourceId, sourceName, sourceDomain, sourceLocationsCountry, sourceLocationsState, sourceLocationsCity, sourceScopesCountry, sourceScopesState, sourceScopesCity, sourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, cluster, clusterAlgorithm, _return, storyId, storyUrl, storyTitle, storyBody, storyPublishedAt, storyLanguage, perPage);
}
}
}