Class NotebookPreparationError


  • public final class NotebookPreparationError
    extends Object
    The NotebookPreparationError model.
    • Constructor Detail

      • NotebookPreparationError

        public NotebookPreparationError()
    • Method Detail

      • errorMessage

        public String errorMessage()
        Get the errorMessage property: The errorMessage property.
        Returns:
        the errorMessage value.
      • withErrorMessage

        public NotebookPreparationError withErrorMessage​(String errorMessage)
        Set the errorMessage property: The errorMessage property.
        Parameters:
        errorMessage - the errorMessage value to set.
        Returns:
        the NotebookPreparationError object itself.
      • statusCode

        public Integer statusCode()
        Get the statusCode property: The statusCode property.
        Returns:
        the statusCode value.
      • withStatusCode

        public NotebookPreparationError withStatusCode​(Integer statusCode)
        Set the statusCode property: The statusCode property.
        Parameters:
        statusCode - the statusCode value to set.
        Returns:
        the NotebookPreparationError object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.