Class InsertFormElementResponse

    • Constructor Detail

      • InsertFormElementResponse

        public InsertFormElementResponse​(boolean success,
                                         String error)
        Creates a new POJO with the given data.
        Parameters:
        success - Whether the element could be inserted.
        error - Error that occurred.
    • Method Detail

      • isSuccess

        public boolean isSuccess()
        Returns:
        Whether the element could be inserted.
      • getError

        public String getError()
        Returns:
        Error that occurred.