<?php

namespace App\Integration\Providers\Alliance3\DTO;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for RequestsReplacePolicyOwnerResponse DTO
 * @subpackage Structs
 */
class RequestsReplacePolicyOwnerResponse extends AbstractStructBase
{
    /**
     * The errors
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \App\Integration\Providers\Alliance3\DTO\ErrorList
     */
    public $errors;
    /**
     * The hashCode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $hashCode;
    /**
     * Constructor method for RequestsReplacePolicyOwnerResponse
     * @uses RequestsReplacePolicyOwnerResponse::setErrors()
     * @uses RequestsReplacePolicyOwnerResponse::setHashCode()
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorList $errors
     * @param string $hashCode
     */
    public function __construct(\App\Integration\Providers\Alliance3\DTO\ErrorList $errors = null, $hashCode = null)
    {
        $this
            ->setErrors($errors)
            ->setHashCode($hashCode);
    }
    /**
     * Get errors value
     * @return \App\Integration\Providers\Alliance3\DTO\ErrorList|null
     */
    public function getErrors()
    {
        return $this->errors;
    }
    /**
     * Set errors value
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorList $errors
     * @return \App\Integration\Providers\Alliance3\DTO\RequestsReplacePolicyOwnerResponse
     */
    public function setErrors(\App\Integration\Providers\Alliance3\DTO\ErrorList $errors = null)
    {
        $this->errors = $errors;
        return $this;
    }
    /**
     * Get hashCode value
     * @return string|null
     */
    public function getHashCode()
    {
        return $this->hashCode;
    }
    /**
     * Set hashCode value
     * @param string $hashCode
     * @return \App\Integration\Providers\Alliance3\DTO\RequestsReplacePolicyOwnerResponse
     */
    public function setHashCode($hashCode = null)
    {
        $this->hashCode = $hashCode;
        return $this;
    }
}
