Package com.twitter.clientlib.model
Class UsersMutingMutationResponse
- java.lang.Object
-
- com.twitter.clientlib.model.UsersMutingMutationResponse
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UsersMutingMutationResponse extends Object
UsersMutingMutationResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsersMutingMutationResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DATAstatic StringSERIALIZED_NAME_ERRORS
-
Constructor Summary
Constructors Constructor Description UsersMutingMutationResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersMutingMutationResponseaddErrorsItem(Problem errorsItem)UsersMutingMutationResponsedata(UsersMutingMutationResponseData data)booleanequals(Object o)UsersMutingMutationResponseerrors(List<Problem> errors)static UsersMutingMutationResponsefromJson(String jsonString)Create an instance of UsersMutingMutationResponse given an JSON stringUsersMutingMutationResponseDatagetData()Get dataList<Problem>getErrors()Get errorsinthashCode()voidsetData(UsersMutingMutationResponseData data)voidsetErrors(List<Problem> errors)StringtoJson()Convert an instance of UsersMutingMutationResponse 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_DATA
public static final String SERIALIZED_NAME_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public UsersMutingMutationResponse data(UsersMutingMutationResponseData data)
-
getData
@Nullable public UsersMutingMutationResponseData getData()
Get data- Returns:
- data
-
setData
public void setData(UsersMutingMutationResponseData data)
-
errors
public UsersMutingMutationResponse errors(List<Problem> errors)
-
addErrorsItem
public UsersMutingMutationResponse addErrorsItem(Problem errorsItem)
-
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 UsersMutingMutationResponse
-
fromJson
public static UsersMutingMutationResponse fromJson(String jsonString) throws IOException
Create an instance of UsersMutingMutationResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsersMutingMutationResponse
- Throws:
IOException- if the JSON string is invalid with respect to UsersMutingMutationResponse
-
toJson
public String toJson()
Convert an instance of UsersMutingMutationResponse to an JSON string- Returns:
- JSON string
-
-