<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateResponse StructType
 * @subpackage Structs
 */
class UpdateResponse extends AbstractStructBase
{
    /**
     * The writeResponse
     * Meta information extracted from the WSDL
     * - ref: platformMsgs:writeResponse
     * @var \StructType\WriteResponse
     */
    public $writeResponse;
    /**
     * Constructor method for UpdateResponse
     * @uses UpdateResponse::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\UpdateResponse
     */
    public function setWriteResponse(\StructType\WriteResponse $writeResponse = null)
    {
        $this->writeResponse = $writeResponse;
        return $this;
    }
}
