Package model

Class ComplianceFormFiles


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ComplianceFormFiles
    extends Object
    Details about the `File` resoruce where the `compliance_form` was uploaded.
    • Constructor Detail

      • ComplianceFormFiles

        public ComplianceFormFiles()
    • Method Detail

      • getUnsignedFile

        @Nullable
        public String getUnsignedFile()
        ID of the `File` resource that has the `compliance_form`.
        Returns:
        unsignedFile
      • setUnsignedFile

        public void setUnsignedFile​(String unsignedFile)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates 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