<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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