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 classTweetDeleteResponseData.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DELETED
-
Constructor Summary
Constructors Constructor Description TweetDeleteResponseData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TweetDeleteResponseDatadeleted(Boolean deleted)booleanequals(Object o)static TweetDeleteResponseDatafromJson(String jsonString)Create an instance of TweetDeleteResponseData given an JSON stringBooleangetDeleted()Get deletedinthashCode()voidsetDeleted(Boolean deleted)StringtoJson()Convert an instance of TweetDeleteResponseData to an JSON stringStringtoString()static voidvalidateJsonObject(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 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 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
-
-