Package com.adyen.model.dataprotection
Class SubjectErasureResponse
- java.lang.Object
-
- com.adyen.model.dataprotection.SubjectErasureResponse
-
public class SubjectErasureResponse extends Object
SubjectErasureResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubjectErasureResponse.CustomTypeAdapterFactorystatic classSubjectErasureResponse.ResultEnumThe result of this operation.
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_RESULT
-
Constructor Summary
Constructors Constructor Description SubjectErasureResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static SubjectErasureResponsefromJson(String jsonString)Create an instance of SubjectErasureResponse given an JSON stringSubjectErasureResponse.ResultEnumgetResult()The result of this operation.inthashCode()SubjectErasureResponseresult(SubjectErasureResponse.ResultEnum result)voidsetResult(SubjectErasureResponse.ResultEnum result)StringtoJson()Convert an instance of SubjectErasureResponse to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
result
public SubjectErasureResponse result(SubjectErasureResponse.ResultEnum result)
-
getResult
public SubjectErasureResponse.ResultEnum getResult()
The result of this operation.- Returns:
- result
-
setResult
public void setResult(SubjectErasureResponse.ResultEnum result)
-
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 SubjectErasureResponse
-
fromJson
public static SubjectErasureResponse fromJson(String jsonString) throws IOException
Create an instance of SubjectErasureResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubjectErasureResponse
- Throws:
IOException- if the JSON string is invalid with respect to SubjectErasureResponse
-
toJson
public String toJson()
Convert an instance of SubjectErasureResponse to an JSON string- Returns:
- JSON string
-
-