<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AttachRequest StructType
 * @subpackage Structs
 */
class AttachRequest extends AbstractStructBase
{
    /**
     * The attachReference
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \StructType\AttachReference
     */
    public $attachReference;
    /**
     * Constructor method for AttachRequest
     * @uses AttachRequest::setAttachReference()
     * @param \StructType\AttachReference $attachReference
     */
    public function __construct(\StructType\AttachReference $attachReference = null)
    {
        $this
            ->setAttachReference($attachReference);
    }
    /**
     * Get attachReference value
     * @return \StructType\AttachReference
     */
    public function getAttachReference()
    {
        return $this->attachReference;
    }
    /**
     * Set attachReference value
     * @param \StructType\AttachReference $attachReference
     * @return \StructType\AttachRequest
     */
    public function setAttachReference(\StructType\AttachReference $attachReference = null)
    {
        $this->attachReference = $attachReference;
        return $this;
    }
}
