Class NewsfeedFields
- java.lang.Object
-
- com.cheetahdigital.corekit.rest.params.BaseParams
-
- com.cheetahdigital.newsfeed.core.api.NewsfeedFields
-
- All Implemented Interfaces:
android.os.Parcelable
public class NewsfeedFields extends BaseParams
Class for setting the field 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
NewsfeedFields.Builder
Builder class forNewsfeedFields
-
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<NewsfeedFields>
CREATOR
-
Fields inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
mId, mQueryMap
-
-
Constructor Summary
Constructors Constructor Description NewsfeedFields()
Default constructorNewsfeedFields(android.os.Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBody()
Returns the body of the created postjava.lang.String
getFlag()
Returns the selected flag from list ofFlag
java.lang.String
getMessage()
Returns the content of the commentvoid
setBody(java.lang.String body)
Set the body of the created postvoid
setFlag(java.lang.String flag)
Set the selected flag from list ofFlag
void
setMessage(java.lang.String message)
Set the content of the comment-
Methods inherited from class com.cheetahdigital.corekit.rest.params.BaseParams
addParam, describeContents, getAccessToken, getId, getParam, getQueryMap, setAccessToken, setId, writeToParcel
-
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<NewsfeedFields> CREATOR
-
-
Method Detail
-
getFlag
@Nullable public java.lang.String getFlag()
Returns the selected flag from list ofFlag
- Returns:
- selected flag from list of
Flag
-
setFlag
public void setFlag(@Nullable java.lang.String flag)
Set the selected flag from list ofFlag
- Parameters:
flag
- selected flag from list ofFlag
-
getMessage
@Nullable public java.lang.String getMessage()
Returns the content of the comment- Returns:
- content of the comment
-
setMessage
public void setMessage(@Nullable java.lang.String message)
Set the content of the comment- Parameters:
message
- content of the comment
-
getBody
@Nullable public java.lang.String getBody()
Returns the body of the created post- Returns:
- body of the created post
-
setBody
@Nullable public void setBody(java.lang.String body)
Set the body of the created post- Parameters:
body
- body of the created post
-
-