<?php

namespace Eurostop\Stocks;

class ValidationError
{

    /**
     * @var ValidationErrorSeverity $ErrorSeverity
     */
    protected $ErrorSeverity = null;

    /**
     * @var string $ErrorSource
     */
    protected $ErrorSource = null;

    /**
     * @var ValidationErrorType $ErrorType
     */
    protected $ErrorType = null;

    /**
     * @var string $Message
     */
    protected $Message = null;

    
    public function __construct()
    {
    
    }

    /**
     * @return ValidationErrorSeverity
     */
    public function getErrorSeverity()
    {
      return $this->ErrorSeverity;
    }

    /**
     * @param ValidationErrorSeverity $ErrorSeverity
     * @return \Eurostop\Stocks\ValidationError
     */
    public function setErrorSeverity($ErrorSeverity)
    {
      $this->ErrorSeverity = $ErrorSeverity;
      return $this;
    }

    /**
     * @return string
     */
    public function getErrorSource()
    {
      return $this->ErrorSource;
    }

    /**
     * @param string $ErrorSource
     * @return \Eurostop\Stocks\ValidationError
     */
    public function setErrorSource($ErrorSource)
    {
      $this->ErrorSource = $ErrorSource;
      return $this;
    }

    /**
     * @return ValidationErrorType
     */
    public function getErrorType()
    {
      return $this->ErrorType;
    }

    /**
     * @param ValidationErrorType $ErrorType
     * @return \Eurostop\Stocks\ValidationError
     */
    public function setErrorType($ErrorType)
    {
      $this->ErrorType = $ErrorType;
      return $this;
    }

    /**
     * @return string
     */
    public function getMessage()
    {
      return $this->Message;
    }

    /**
     * @param string $Message
     * @return \Eurostop\Stocks\ValidationError
     */
    public function setMessage($Message)
    {
      $this->Message = $Message;
      return $this;
    }

}
