Package com.twitter.clientlib.model
Class GenericMultipleUsersLookupResponseMeta
- java.lang.Object
-
- com.twitter.clientlib.model.GenericMultipleUsersLookupResponseMeta
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class GenericMultipleUsersLookupResponseMeta extends ObjectGenericMultipleUsersLookupResponseMeta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenericMultipleUsersLookupResponseMeta.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NEXT_TOKENstatic StringSERIALIZED_NAME_PREVIOUS_TOKENstatic StringSERIALIZED_NAME_RESULT_COUNT
-
Constructor Summary
Constructors Constructor Description GenericMultipleUsersLookupResponseMeta()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GenericMultipleUsersLookupResponseMetafromJson(String jsonString)Create an instance of GenericMultipleUsersLookupResponseMeta given an JSON stringStringgetNextToken()The next tokenStringgetPreviousToken()The previous tokenIntegergetResultCount()The number of user results returned in this responseinthashCode()GenericMultipleUsersLookupResponseMetanextToken(String nextToken)GenericMultipleUsersLookupResponseMetapreviousToken(String previousToken)GenericMultipleUsersLookupResponseMetaresultCount(Integer resultCount)voidsetNextToken(String nextToken)voidsetPreviousToken(String previousToken)voidsetResultCount(Integer resultCount)StringtoJson()Convert an instance of GenericMultipleUsersLookupResponseMeta to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PREVIOUS_TOKEN
public static final String SERIALIZED_NAME_PREVIOUS_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NEXT_TOKEN
public static final String SERIALIZED_NAME_NEXT_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RESULT_COUNT
public static final String SERIALIZED_NAME_RESULT_COUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
previousToken
public GenericMultipleUsersLookupResponseMeta previousToken(String previousToken)
-
getPreviousToken
@Nullable public String getPreviousToken()
The previous token- Returns:
- previousToken
-
setPreviousToken
public void setPreviousToken(String previousToken)
-
nextToken
public GenericMultipleUsersLookupResponseMeta nextToken(String nextToken)
-
getNextToken
@Nullable public String getNextToken()
The next token- Returns:
- nextToken
-
setNextToken
public void setNextToken(String nextToken)
-
resultCount
public GenericMultipleUsersLookupResponseMeta resultCount(Integer resultCount)
-
getResultCount
@Nullable public Integer getResultCount()
The number of user results returned in this response- Returns:
- resultCount
-
setResultCount
public void setResultCount(Integer resultCount)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to GenericMultipleUsersLookupResponseMeta
-
fromJson
public static GenericMultipleUsersLookupResponseMeta fromJson(String jsonString) throws IOException
Create an instance of GenericMultipleUsersLookupResponseMeta given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GenericMultipleUsersLookupResponseMeta
- Throws:
IOException- if the JSON string is invalid with respect to GenericMultipleUsersLookupResponseMeta
-
toJson
public String toJson()
Convert an instance of GenericMultipleUsersLookupResponseMeta to an JSON string- Returns:
- JSON string
-
-