Class DefenseDocumentType


  • public class DefenseDocumentType
    extends Object
    DefenseDocumentType
    • Constructor Detail

      • DefenseDocumentType

        public DefenseDocumentType()
    • Method Detail

      • available

        public DefenseDocumentType available​(Boolean available)
        When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type.
        Parameters:
        available -
        Returns:
        the current DefenseDocumentType instance, allowing for method chaining
      • getAvailable

        public Boolean getAvailable()
        When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type.
        Returns:
        available
      • setAvailable

        public void setAvailable​(Boolean available)
        When **true**, you've successfully uploaded this type of defense document. When **false**, you haven't uploaded this defense document type.
        Parameters:
        available -
      • defenseDocumentTypeCode

        public DefenseDocumentType defenseDocumentTypeCode​(String defenseDocumentTypeCode)
        The document type code of the defense document.
        Parameters:
        defenseDocumentTypeCode -
        Returns:
        the current DefenseDocumentType instance, allowing for method chaining
      • getDefenseDocumentTypeCode

        public String getDefenseDocumentTypeCode()
        The document type code of the defense document.
        Returns:
        defenseDocumentTypeCode
      • setDefenseDocumentTypeCode

        public void setDefenseDocumentTypeCode​(String defenseDocumentTypeCode)
        The document type code of the defense document.
        Parameters:
        defenseDocumentTypeCode -
      • requirementLevel

        public DefenseDocumentType requirementLevel​(String requirementLevel)
        Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes.
        Parameters:
        requirementLevel -
        Returns:
        the current DefenseDocumentType instance, allowing for method chaining
      • getRequirementLevel

        public String getRequirementLevel()
        Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes.
        Returns:
        requirementLevel
      • setRequirementLevel

        public void setRequirementLevel​(String requirementLevel)
        Indicates to what extent the defense document is required in the defense process. Possible values: * **Required**: You must supply the document. * **OneOrMore**: You must supply at least one of the documents with this label. * **Optional**: You can choose to supply the document. * **AlternativeRequired**: You must supply a generic defense document. To enable this functionality, contact our Support Team. When enabled, you can supply a generic defense document for all schemes.
        Parameters:
        requirementLevel -
      • equals

        public boolean equals​(Object o)
        Return true if this DefenseDocumentType object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static DefenseDocumentType fromJson​(String jsonString)
                                            throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DefenseDocumentType given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DefenseDocumentType
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DefenseDocumentType
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of DefenseDocumentType to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException