Class SubmitDocumentData


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class SubmitDocumentData
    extends Object
    The document to be submitted, as indicated by the metadata fields 'dataFormat' and 'dataFormatVersion'
    • Constructor Detail

      • SubmitDocumentData

        public SubmitDocumentData()
    • Method Detail

      • getData

        @Nullable
        public String getData()
        The document to be submitted, as indicated by the metadata fields 'dataFormat' and 'dataFormatVersion'
        Returns:
        data
      • setData

        public void setData​(String data)
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to SubmitDocumentData
      • fromJson

        public static SubmitDocumentData fromJson​(String jsonString)
                                           throws IOException
        Create an instance of SubmitDocumentData given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SubmitDocumentData
        Throws:
        IOException - if the JSON string is invalid with respect to SubmitDocumentData
      • toJson

        public String toJson()
        Convert an instance of SubmitDocumentData to an JSON string
        Returns:
        JSON string