Class DocumentReference
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.DocumentReference
-
public class DocumentReference extends Object
DocumentReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentReference.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACTIVEstatic StringSERIALIZED_NAME_FILE_NAMEstatic StringSERIALIZED_NAME_ID
-
Constructor Summary
Constructors Constructor Description DocumentReference()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentReferenceactive(Boolean active)booleanequals(Object o)DocumentReferencefileName(String fileName)static DocumentReferencefromJson(String jsonString)Create an instance of DocumentReference given an JSON stringBooleangetActive()Identifies whether the document is active and used for checks.StringgetFileName()Document name.StringgetId()The unique identifier of the resource.inthashCode()DocumentReferenceid(String id)voidsetActive(Boolean active)voidsetFileName(String fileName)voidsetId(String id)StringtoJson()Convert an instance of DocumentReference 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_ACTIVE
public static final String SERIALIZED_NAME_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILE_NAME
public static final String SERIALIZED_NAME_FILE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
active
public DocumentReference active(Boolean active)
-
getActive
public Boolean getActive()
Identifies whether the document is active and used for checks.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
fileName
public DocumentReference fileName(String fileName)
-
getFileName
public String getFileName()
Document name.- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
id
public DocumentReference id(String id)
-
getId
public String getId()
The unique identifier of the resource.- Returns:
- id
-
setId
public void setId(String id)
-
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 DocumentReference
-
fromJson
public static DocumentReference fromJson(String jsonString) throws IOException
Create an instance of DocumentReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentReference
- Throws:
IOException- if the JSON string is invalid with respect to DocumentReference
-
toJson
public String toJson()
Convert an instance of DocumentReference to an JSON string- Returns:
- JSON string
-
-