Package model
Class ComplianceFormFiles
- java.lang.Object
-
- model.ComplianceFormFiles
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ComplianceFormFiles extends Object
Details about the `File` resoruce where the `compliance_form` was uploaded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComplianceFormFiles.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_SIGNED_FILEstatic StringSERIALIZED_NAME_UNSIGNED_FILE
-
Constructor Summary
Constructors Constructor Description ComplianceFormFiles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ComplianceFormFilesfromJson(String jsonString)Create an instance of ComplianceFormFiles given an JSON stringStringgetSignedFile()<ul><li>Autofills to <strong>null</strong>.</li> <li>When a <kbd>compliance_form</kbd> is attested, <kbd>signed_file</kbd> will contain a <kbd>File</kbd> corresponding to the signed version of the form.</li></ul>StringgetUnsignedFile()ID of the `File` resource that has the `compliance_form`.inthashCode()voidsetSignedFile(String signedFile)voidsetUnsignedFile(String unsignedFile)ComplianceFormFilessignedFile(String signedFile)StringtoJson()Convert an instance of ComplianceFormFiles to an JSON stringStringtoString()ComplianceFormFilesunsignedFile(String unsignedFile)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_UNSIGNED_FILE
public static final String SERIALIZED_NAME_UNSIGNED_FILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIGNED_FILE
public static final String SERIALIZED_NAME_SIGNED_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
unsignedFile
public ComplianceFormFiles unsignedFile(String unsignedFile)
-
getUnsignedFile
@Nullable public String getUnsignedFile()
ID of the `File` resource that has the `compliance_form`.- Returns:
- unsignedFile
-
setUnsignedFile
public void setUnsignedFile(String unsignedFile)
-
signedFile
public ComplianceFormFiles signedFile(String signedFile)
-
getSignedFile
@Nullable public String getSignedFile()
<ul><li>Autofills to <strong>null</strong>.</li> <li>When a <kbd>compliance_form</kbd> is attested, <kbd>signed_file</kbd> will contain a <kbd>File</kbd> corresponding to the signed version of the form.</li></ul>- Returns:
- signedFile
-
setSignedFile
public void setSignedFile(String signedFile)
-
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 ComplianceFormFiles
-
fromJson
public static ComplianceFormFiles fromJson(String jsonString) throws IOException
Create an instance of ComplianceFormFiles given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ComplianceFormFiles
- Throws:
IOException- if the JSON string is invalid with respect to ComplianceFormFiles
-
toJson
public String toJson()
Convert an instance of ComplianceFormFiles to an JSON string- Returns:
- JSON string
-
-