Class NewsfeedParams
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.corekit.rest.params.BaseListQueryParams
-
- com.cheetahdigital.newsfeed.core.api.NewsfeedParams
-
- All Implemented Interfaces:
android.os.Parcelable
public class NewsfeedParams extends BaseListQueryParams
Class for setting the query parameters of Newsfeed API. AllNullable
parameters means you can remove the parameter by passing anull
value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewsfeedParams.Builder
Builder class forNewsfeedParams
-
Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams
BaseListQueryParams.BaseListQueryBuilder<P extends BaseListQueryParams,B extends BaseListQueryParams.BaseListQueryBuilder>
-
Nested classes/interfaces inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
BaseParams.BaseBuilder<T extends BaseParams,B extends BaseParams.BaseBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<NewsfeedParams>
CREATOR
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description NewsfeedParams()
Default constructorNewsfeedParams(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCategory()
Returns category of theFeeds
java.lang.String
getCommentId()
Returns the id ofComment
java.lang.String
getFeedName()
Returns internal name ofNewsfeed
void
setCategory(java.lang.String category)
Set category of theFeeds
void
setCommentId(java.lang.String commentId)
Set the id ofComment
void
setFeedName(java.lang.String feedName)
Set internal name ofNewsfeed
-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseListQueryParams
addCategories, addCategory, clearCategories, describeContents, getCategories, getItemsPerPage, getLayout, getPage, getSortBy, getSortOrder, removeCategory, setItemsPerPage, setLayout, setPage, setSortBy, setSortOrder, writeToParcel
-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
addParam, getAccessToken, getId, getParam, getQueryMap, setAccessToken, setId
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<NewsfeedParams> CREATOR
-
-
Method Detail
-
getFeedName
@Nullable public java.lang.String getFeedName()
Returns internal name ofNewsfeed
- Returns:
- internal name of
Newsfeed
-
setFeedName
public void setFeedName(@Nullable java.lang.String feedName)
Set internal name ofNewsfeed
- Parameters:
feedName
- internal name ofNewsfeed
-
getCommentId
@Nullable public java.lang.String getCommentId()
Returns the id ofComment
- Returns:
- id of
Comment
-
setCommentId
public void setCommentId(@Nullable java.lang.String commentId)
Set the id ofComment
- Parameters:
commentId
- id ofComment
-
getCategory
@Nullable public java.lang.String getCategory()
Returns category of theFeeds
- Returns:
- category of the
Feeds
-
-