Class DownloadDefenseDocumentResponse


  • public class DownloadDefenseDocumentResponse
    extends Object
    DownloadDefenseDocumentResponse
    • Constructor Detail

      • DownloadDefenseDocumentResponse

        public DownloadDefenseDocumentResponse()
    • Method Detail

      • getContent

        public byte[] getContent()
        The content of the defense document in Base64 binary format. Must be encoded in the format that is specified in the `contentType` field.
        Returns:
        content
      • setContent

        public void setContent​(byte[] content)
      • getContentType

        public String getContentType()
        The content type of the dispute defense document. Possible values: * **image/jpg** * **image/jpeg** * **image/tiff** * **application/pdf**
        Returns:
        contentType
      • setContentType

        public void setContentType​(String contentType)
      • getDisputeServiceResult

        public DisputeServiceResult getDisputeServiceResult()
        Get disputeServiceResult
        Returns:
        disputeServiceResult
      • setDisputeServiceResult

        public void setDisputeServiceResult​(DisputeServiceResult disputeServiceResult)
      • equals

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

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

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

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