Package com.twitter.clientlib.model
Class TweetDeleteResponseData
- java.lang.Object
-
- com.twitter.clientlib.model.TweetDeleteResponseData
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TweetDeleteResponseData extends Object
TweetDeleteResponseData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TweetDeleteResponseData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_DELETED
-
Constructor Summary
Constructors Constructor Description TweetDeleteResponseData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TweetDeleteResponseData
deleted(Boolean deleted)
boolean
equals(Object o)
static TweetDeleteResponseData
fromJson(String jsonString)
Create an instance of TweetDeleteResponseData given an JSON stringBoolean
getDeleted()
Get deletedint
hashCode()
void
setDeleted(Boolean deleted)
String
toJson()
Convert an instance of TweetDeleteResponseData to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
deleted
public TweetDeleteResponseData deleted(Boolean deleted)
-
setDeleted
public void setDeleted(Boolean deleted)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
Validates 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 TweetDeleteResponseData
-
fromJson
public static TweetDeleteResponseData fromJson(String jsonString) throws IOException
Create an instance of TweetDeleteResponseData given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of TweetDeleteResponseData
- Throws:
IOException
- if the JSON string is invalid with respect to TweetDeleteResponseData
-
toJson
public String toJson()
Convert an instance of TweetDeleteResponseData to an JSON string- Returns:
- JSON string
-
-