Package com.twitter.clientlib.model
Class MultiTweetLookupResponseMeta
- java.lang.Object
-
- com.twitter.clientlib.model.MultiTweetLookupResponseMeta
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class MultiTweetLookupResponseMeta extends Object
MultiTweetLookupResponseMeta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiTweetLookupResponseMeta.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_RESULT_COUNT
-
Constructor Summary
Constructors Constructor Description MultiTweetLookupResponseMeta()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static MultiTweetLookupResponseMetafromJson(String jsonString)Create an instance of MultiTweetLookupResponseMeta given an JSON stringIntegergetResultCount()The number of spaces results returned in this responseinthashCode()MultiTweetLookupResponseMetaresultCount(Integer resultCount)voidsetResultCount(Integer resultCount)StringtoJson()Convert an instance of MultiTweetLookupResponseMeta to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
resultCount
public MultiTweetLookupResponseMeta resultCount(Integer resultCount)
-
getResultCount
@Nullable public Integer getResultCount()
The number of spaces 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 MultiTweetLookupResponseMeta
-
fromJson
public static MultiTweetLookupResponseMeta fromJson(String jsonString) throws IOException
Create an instance of MultiTweetLookupResponseMeta given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MultiTweetLookupResponseMeta
- Throws:
IOException- if the JSON string is invalid with respect to MultiTweetLookupResponseMeta
-
toJson
public String toJson()
Convert an instance of MultiTweetLookupResponseMeta to an JSON string- Returns:
- JSON string
-
-