com.aylien.sita.newsapi.parameters.StoriesParams 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.sita.newsapi.parameters;
import java.util.List;
public class StoriesParams {
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 mediaImagesWidthMin;
private Integer mediaImagesWidthMax;
private Integer mediaImagesHeightMin;
private Integer mediaImagesHeightMax;
private Integer mediaImagesContentLengthMin;
private Integer mediaImagesContentLengthMax;
private List mediaImagesFormat;
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 Integer socialSharesCountFacebookMin;
private Integer socialSharesCountFacebookMax;
private Integer socialSharesCountGooglePlusMin;
private Integer socialSharesCountGooglePlusMax;
private Integer socialSharesCountLinkedinMin;
private Integer socialSharesCountLinkedinMax;
private Integer socialSharesCountRedditMin;
private Integer socialSharesCountRedditMax;
private Boolean cluster;
private String clusterAlgorithm;
private List _return;
private String sortBy;
private String sortDirection;
private String cursor;
private Integer perPage;
/**
* Constructs parameters for Stories endpoint
*
* @param id This parameter is used for finding stories 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. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional)
* @param categoriesConfident This parameter is used for finding stories whose categories are confident. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional, default to true)
* @param categoriesId This parameter is used for finding stories by categories id. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional)
* @param categoriesLevel This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories). (optional)
* @param entitiesTitleText This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional)
* @param entitiesTitleType This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional)
* @param entitiesTitleLinksDbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional)
* @param entitiesBodyText This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional)
* @param entitiesBodyType This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (optional)
* @param entitiesBodyLinksDbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). (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 mediaImagesWidthMin This parameter is used for finding stories whose width of images are greater than or equal to the specified value. (optional)
* @param mediaImagesWidthMax This parameter is used for finding stories whose width of images are less than or equal to the specified value. (optional)
* @param mediaImagesHeightMin This parameter is used for finding stories whose height of images are greater than or equal to the specified value. (optional)
* @param mediaImagesHeightMax This parameter is used for finding stories whose height of images are less than or equal to the specified value. (optional)
* @param mediaImagesContentLengthMin This parameter is used for finding stories whose images content length are greater than or equal to the specified value. (optional)
* @param mediaImagesContentLengthMax This parameter is used for finding stories whose images content length are less than or equal to the specified value. (optional)
* @param mediaImagesFormat This parameter is used for finding stories whose images format are 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). (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). (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). (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). (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). (optional)
* @param socialSharesCountFacebookMin This parameter is used for finding stories whose Facebook social shares count is greater than or equal to the specified value. (optional)
* @param socialSharesCountFacebookMax This parameter is used for finding stories whose Facebook social shares count is less than or equal to the specified value. (optional)
* @param socialSharesCountGooglePlusMin This parameter is used for finding stories whose Google+ social shares count is greater than or equal to the specified value. (optional)
* @param socialSharesCountGooglePlusMax This parameter is used for finding stories whose Google+ social shares count is less than or equal to the specified value. (optional)
* @param socialSharesCountLinkedinMin This parameter is used for finding stories whose LinkedIn social shares count is greater than or equal to the specified value. (optional)
* @param socialSharesCountLinkedinMax This parameter is used for finding stories whose LinkedIn social shares count is less than or equal to the specified value. (optional)
* @param socialSharesCountRedditMin This parameter is used for finding stories whose Reddit social shares count is greater than or equal to the specified value. (optional)
* @param socialSharesCountRedditMax This parameter is used for finding stories whose Reddit social shares count is less than or equal to the specified value. (optional)
* @param cluster This parameter enables clustering for the returned stories. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (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. You can read more about working with clustering [here](https://newsapi.aylien.com/docs/working-with-clustering). (optional, default to lingo)
* @param _return This parameter is used for specifying return fields. (optional)
* @param sortBy This parameter is used for changing the order column of the results. (optional, default to published_at)
* @param sortDirection This parameter is used for changing the order direction of the result. (optional, default to desc)
* @param cursor This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (optional, default to *)
* @param perPage This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (optional, default to 10)
*/
public StoriesParams(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 mediaImagesWidthMin, Integer mediaImagesWidthMax, Integer mediaImagesHeightMin, Integer mediaImagesHeightMax, Integer mediaImagesContentLengthMin, Integer mediaImagesContentLengthMax, List mediaImagesFormat, 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, Integer socialSharesCountFacebookMin, Integer socialSharesCountFacebookMax, Integer socialSharesCountGooglePlusMin, Integer socialSharesCountGooglePlusMax, Integer socialSharesCountLinkedinMin, Integer socialSharesCountLinkedinMax, Integer socialSharesCountRedditMin, Integer socialSharesCountRedditMax, Boolean cluster, String clusterAlgorithm, List _return, String sortBy, String sortDirection, String cursor, 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.mediaImagesWidthMin = mediaImagesWidthMin;
this.mediaImagesWidthMax = mediaImagesWidthMax;
this.mediaImagesHeightMin = mediaImagesHeightMin;
this.mediaImagesHeightMax = mediaImagesHeightMax;
this.mediaImagesContentLengthMin = mediaImagesContentLengthMin;
this.mediaImagesContentLengthMax = mediaImagesContentLengthMax;
this.mediaImagesFormat = mediaImagesFormat;
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.socialSharesCountFacebookMin = socialSharesCountFacebookMin;
this.socialSharesCountFacebookMax = socialSharesCountFacebookMax;
this.socialSharesCountGooglePlusMin = socialSharesCountGooglePlusMin;
this.socialSharesCountGooglePlusMax = socialSharesCountGooglePlusMax;
this.socialSharesCountLinkedinMin = socialSharesCountLinkedinMin;
this.socialSharesCountLinkedinMax = socialSharesCountLinkedinMax;
this.socialSharesCountRedditMin = socialSharesCountRedditMin;
this.socialSharesCountRedditMax = socialSharesCountRedditMax;
this.cluster = cluster;
this.clusterAlgorithm = clusterAlgorithm;
this._return = _return;
this.sortBy = sortBy;
this.sortDirection = sortDirection;
this.cursor = cursor;
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 getMediaImagesWidthMin() {
return mediaImagesWidthMin;
}
public Integer getMediaImagesWidthMax() {
return mediaImagesWidthMax;
}
public Integer getMediaImagesHeightMin() {
return mediaImagesHeightMin;
}
public Integer getMediaImagesHeightMax() {
return mediaImagesHeightMax;
}
public Integer getMediaImagesContentLengthMin() {
return mediaImagesContentLengthMin;
}
public Integer getMediaImagesContentLengthMax() {
return mediaImagesContentLengthMax;
}
public List getMediaImagesFormat() {
return mediaImagesFormat;
}
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 Integer getSocialSharesCountFacebookMin() {
return socialSharesCountFacebookMin;
}
public Integer getSocialSharesCountFacebookMax() {
return socialSharesCountFacebookMax;
}
public Integer getSocialSharesCountGooglePlusMin() {
return socialSharesCountGooglePlusMin;
}
public Integer getSocialSharesCountGooglePlusMax() {
return socialSharesCountGooglePlusMax;
}
public Integer getSocialSharesCountLinkedinMin() {
return socialSharesCountLinkedinMin;
}
public Integer getSocialSharesCountLinkedinMax() {
return socialSharesCountLinkedinMax;
}
public Integer getSocialSharesCountRedditMin() {
return socialSharesCountRedditMin;
}
public Integer getSocialSharesCountRedditMax() {
return socialSharesCountRedditMax;
}
public Boolean getCluster() {
return cluster;
}
public String getClusterAlgorithm() {
return clusterAlgorithm;
}
public List get_return() {
return _return;
}
public String getSortBy() {
return sortBy;
}
public String getSortDirection() {
return sortDirection;
}
public String getCursor() {
return cursor;
}
public Integer getPerPage() {
return perPage;
}
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 mediaImagesWidthMin;
private Integer mediaImagesWidthMax;
private Integer mediaImagesHeightMin;
private Integer mediaImagesHeightMax;
private Integer mediaImagesContentLengthMin;
private Integer mediaImagesContentLengthMax;
private List mediaImagesFormat;
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 Integer socialSharesCountFacebookMin;
private Integer socialSharesCountFacebookMax;
private Integer socialSharesCountGooglePlusMin;
private Integer socialSharesCountGooglePlusMax;
private Integer socialSharesCountLinkedinMin;
private Integer socialSharesCountLinkedinMax;
private Integer socialSharesCountRedditMin;
private Integer socialSharesCountRedditMax;
private Boolean cluster;
private String clusterAlgorithm;
private List _return;
private String sortBy;
private String sortDirection;
private String cursor;
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 setMediaImagesWidthMin(Integer mediaImagesWidthMin) {
this.mediaImagesWidthMin = mediaImagesWidthMin;
return this;
}
public Builder setMediaImagesWidthMax(Integer mediaImagesWidthMax) {
this.mediaImagesWidthMax = mediaImagesWidthMax;
return this;
}
public Builder setMediaImagesHeightMin(Integer mediaImagesHeightMin) {
this.mediaImagesHeightMin = mediaImagesHeightMin;
return this;
}
public Builder setMediaImagesHeightMax(Integer mediaImagesHeightMax) {
this.mediaImagesHeightMax = mediaImagesHeightMax;
return this;
}
public Builder setMediaImagesContentLengthMin(Integer mediaImagesContentLengthMin) {
this.mediaImagesContentLengthMin = mediaImagesContentLengthMin;
return this;
}
public Builder setMediaImagesContentLengthMax(Integer mediaImagesContentLengthMax) {
this.mediaImagesContentLengthMax = mediaImagesContentLengthMax;
return this;
}
public Builder setMediaImagesFormat(List mediaImagesFormat) {
this.mediaImagesFormat = mediaImagesFormat;
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 setSocialSharesCountFacebookMin(Integer socialSharesCountFacebookMin) {
this.socialSharesCountFacebookMin = socialSharesCountFacebookMin;
return this;
}
public Builder setSocialSharesCountFacebookMax(Integer socialSharesCountFacebookMax) {
this.socialSharesCountFacebookMax = socialSharesCountFacebookMax;
return this;
}
public Builder setSocialSharesCountGooglePlusMin(Integer socialSharesCountGooglePlusMin) {
this.socialSharesCountGooglePlusMin = socialSharesCountGooglePlusMin;
return this;
}
public Builder setSocialSharesCountGooglePlusMax(Integer socialSharesCountGooglePlusMax) {
this.socialSharesCountGooglePlusMax = socialSharesCountGooglePlusMax;
return this;
}
public Builder setSocialSharesCountLinkedinMin(Integer socialSharesCountLinkedinMin) {
this.socialSharesCountLinkedinMin = socialSharesCountLinkedinMin;
return this;
}
public Builder setSocialSharesCountLinkedinMax(Integer socialSharesCountLinkedinMax) {
this.socialSharesCountLinkedinMax = socialSharesCountLinkedinMax;
return this;
}
public Builder setSocialSharesCountRedditMin(Integer socialSharesCountRedditMin) {
this.socialSharesCountRedditMin = socialSharesCountRedditMin;
return this;
}
public Builder setSocialSharesCountRedditMax(Integer socialSharesCountRedditMax) {
this.socialSharesCountRedditMax = socialSharesCountRedditMax;
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 setSortBy(String sortBy) {
this.sortBy = sortBy;
return this;
}
public Builder setSortDirection(String sortDirection) {
this.sortDirection = sortDirection;
return this;
}
public Builder setCursor(String cursor) {
this.cursor = cursor;
return this;
}
public Builder setPerPage(Integer perPage) {
this.perPage = perPage;
return this;
}
public StoriesParams build() {
return new StoriesParams(id, title, body, text, language, publishedAtStart, publishedAtEnd, categoriesTaxonomy, categoriesConfident, categoriesId, categoriesLevel, entitiesTitleText, entitiesTitleType, entitiesTitleLinksDbpedia, entitiesBodyText, entitiesBodyType, entitiesBodyLinksDbpedia, sentimentTitlePolarity, sentimentBodyPolarity, mediaImagesCountMin, mediaImagesCountMax, mediaImagesWidthMin, mediaImagesWidthMax, mediaImagesHeightMin, mediaImagesHeightMax, mediaImagesContentLengthMin, mediaImagesContentLengthMax, mediaImagesFormat, mediaVideosCountMin, mediaVideosCountMax, authorId, authorName, sourceId, sourceName, sourceDomain, sourceLocationsCountry, sourceLocationsState, sourceLocationsCity, sourceScopesCountry, sourceScopesState, sourceScopesCity, sourceScopesLevel, sourceLinksInCountMin, sourceLinksInCountMax, sourceRankingsAlexaRankMin, sourceRankingsAlexaRankMax, sourceRankingsAlexaCountry, socialSharesCountFacebookMin, socialSharesCountFacebookMax, socialSharesCountGooglePlusMin, socialSharesCountGooglePlusMax, socialSharesCountLinkedinMin, socialSharesCountLinkedinMax, socialSharesCountRedditMin, socialSharesCountRedditMax, cluster, clusterAlgorithm, _return, sortBy, sortDirection, cursor, perPage);
}
}
}