<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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