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.ResultEnumThe result of this operation.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_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)Return true if this SubjectErasureResponse object is equal to 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)The result of this operation.voidsetResult(SubjectErasureResponse.ResultEnum result)The result of this operation.StringtoJson()Convert an instance of SubjectErasureResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RESULT
public static final String JSON_PROPERTY_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
result
public SubjectErasureResponse result(SubjectErasureResponse.ResultEnum result)
The result of this operation.- Parameters:
result-- Returns:
- the current
SubjectErasureResponseinstance, allowing for method chaining
-
getResult
public SubjectErasureResponse.ResultEnum getResult()
The result of this operation.- Returns:
- result
-
setResult
public void setResult(SubjectErasureResponse.ResultEnum result)
The result of this operation.- Parameters:
result-
-
equals
public boolean equals(Object o)
Return true if this SubjectErasureResponse object is equal to o.
-
fromJson
public static SubjectErasureResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SubjectErasureResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubjectErasureResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SubjectErasureResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SubjectErasureResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-