<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddResponse StructType
 * @subpackage Structs
 */
class AddResponse extends AbstractStructBase
{
    /**
     * The writeResponse
     * Meta information extracted from the WSDL
     * - ref: platformMsgs:writeResponse
     * @var \StructType\WriteResponse
     */
    public $writeResponse;
    /**
     * Constructor method for AddResponse
     * @uses AddResponse::setWriteResponse()
     * @param \StructType\WriteResponse $writeResponse
     */
    public function __construct(\StructType\WriteResponse $writeResponse = null)
    {
        $this
            ->setWriteResponse($writeResponse);
    }
    /**
     * Get writeResponse value
     * @return \StructType\WriteResponse|null
     */
    public function getWriteResponse()
    {
        return $this->writeResponse;
    }
    /**
     * Set writeResponse value
     * @param \StructType\WriteResponse $writeResponse
     * @return \StructType\AddResponse
     */
    public function setWriteResponse(\StructType\WriteResponse $writeResponse = null)
    {
        $this->writeResponse = $writeResponse;
        return $this;
    }
}
