<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ResourceAllocationSearchBasic StructType
 * @subpackage Structs
 */
class ResourceAllocationSearchBasic extends SearchRecordBasic
{
    /**
     * The allocationType
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $allocationType;
    /**
     * The allocationUnit
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $allocationUnit;
    /**
     * The approvalStatus
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $approvalStatus;
    /**
     * The customer
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $customer;
    /**
     * The endDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $endDate;
    /**
     * The externalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $externalId;
    /**
     * The externalIdString
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $externalIdString;
    /**
     * The internalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $internalId;
    /**
     * The internalIdNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $internalIdNumber;
    /**
     * The nextApprover
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $nextApprover;
    /**
     * The notes
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $notes;
    /**
     * The numberHours
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $numberHours;
    /**
     * The percentOfTime
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $percentOfTime;
    /**
     * The project
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $project;
    /**
     * The requestedBy
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $requestedBy;
    /**
     * The resource
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $resource;
    /**
     * The startDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $startDate;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchCustomFieldList
     */
    public $customFieldList;
    /**
     * Constructor method for ResourceAllocationSearchBasic
     * @uses ResourceAllocationSearchBasic::setAllocationType()
     * @uses ResourceAllocationSearchBasic::setAllocationUnit()
     * @uses ResourceAllocationSearchBasic::setApprovalStatus()
     * @uses ResourceAllocationSearchBasic::setCustomer()
     * @uses ResourceAllocationSearchBasic::setEndDate()
     * @uses ResourceAllocationSearchBasic::setExternalId()
     * @uses ResourceAllocationSearchBasic::setExternalIdString()
     * @uses ResourceAllocationSearchBasic::setInternalId()
     * @uses ResourceAllocationSearchBasic::setInternalIdNumber()
     * @uses ResourceAllocationSearchBasic::setNextApprover()
     * @uses ResourceAllocationSearchBasic::setNotes()
     * @uses ResourceAllocationSearchBasic::setNumberHours()
     * @uses ResourceAllocationSearchBasic::setPercentOfTime()
     * @uses ResourceAllocationSearchBasic::setProject()
     * @uses ResourceAllocationSearchBasic::setRequestedBy()
     * @uses ResourceAllocationSearchBasic::setResource()
     * @uses ResourceAllocationSearchBasic::setStartDate()
     * @uses ResourceAllocationSearchBasic::setCustomFieldList()
     * @param \StructType\SearchMultiSelectField $allocationType
     * @param \StructType\SearchEnumMultiSelectField $allocationUnit
     * @param \StructType\SearchEnumMultiSelectField $approvalStatus
     * @param \StructType\SearchMultiSelectField $customer
     * @param \StructType\SearchDateField $endDate
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchMultiSelectField $nextApprover
     * @param \StructType\SearchStringField $notes
     * @param \StructType\SearchDoubleField $numberHours
     * @param \StructType\SearchDoubleField $percentOfTime
     * @param \StructType\SearchMultiSelectField $project
     * @param \StructType\SearchMultiSelectField $requestedBy
     * @param \StructType\SearchMultiSelectField $resource
     * @param \StructType\SearchDateField $startDate
     * @param \StructType\SearchCustomFieldList $customFieldList
     */
    public function __construct(\StructType\SearchMultiSelectField $allocationType = null, \StructType\SearchEnumMultiSelectField $allocationUnit = null, \StructType\SearchEnumMultiSelectField $approvalStatus = null, \StructType\SearchMultiSelectField $customer = null, \StructType\SearchDateField $endDate = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchMultiSelectField $nextApprover = null, \StructType\SearchStringField $notes = null, \StructType\SearchDoubleField $numberHours = null, \StructType\SearchDoubleField $percentOfTime = null, \StructType\SearchMultiSelectField $project = null, \StructType\SearchMultiSelectField $requestedBy = null, \StructType\SearchMultiSelectField $resource = null, \StructType\SearchDateField $startDate = null, \StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this
            ->setAllocationType($allocationType)
            ->setAllocationUnit($allocationUnit)
            ->setApprovalStatus($approvalStatus)
            ->setCustomer($customer)
            ->setEndDate($endDate)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setNextApprover($nextApprover)
            ->setNotes($notes)
            ->setNumberHours($numberHours)
            ->setPercentOfTime($percentOfTime)
            ->setProject($project)
            ->setRequestedBy($requestedBy)
            ->setResource($resource)
            ->setStartDate($startDate)
            ->setCustomFieldList($customFieldList);
    }
    /**
     * Get allocationType value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getAllocationType()
    {
        return $this->allocationType;
    }
    /**
     * Set allocationType value
     * @param \StructType\SearchMultiSelectField $allocationType
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setAllocationType(\StructType\SearchMultiSelectField $allocationType = null)
    {
        $this->allocationType = $allocationType;
        return $this;
    }
    /**
     * Get allocationUnit value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getAllocationUnit()
    {
        return $this->allocationUnit;
    }
    /**
     * Set allocationUnit value
     * @param \StructType\SearchEnumMultiSelectField $allocationUnit
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setAllocationUnit(\StructType\SearchEnumMultiSelectField $allocationUnit = null)
    {
        $this->allocationUnit = $allocationUnit;
        return $this;
    }
    /**
     * Get approvalStatus value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getApprovalStatus()
    {
        return $this->approvalStatus;
    }
    /**
     * Set approvalStatus value
     * @param \StructType\SearchEnumMultiSelectField $approvalStatus
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setApprovalStatus(\StructType\SearchEnumMultiSelectField $approvalStatus = null)
    {
        $this->approvalStatus = $approvalStatus;
        return $this;
    }
    /**
     * Get customer value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getCustomer()
    {
        return $this->customer;
    }
    /**
     * Set customer value
     * @param \StructType\SearchMultiSelectField $customer
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setCustomer(\StructType\SearchMultiSelectField $customer = null)
    {
        $this->customer = $customer;
        return $this;
    }
    /**
     * Get endDate value
     * @return \StructType\SearchDateField|null
     */
    public function getEndDate()
    {
        return $this->endDate;
    }
    /**
     * Set endDate value
     * @param \StructType\SearchDateField $endDate
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setEndDate(\StructType\SearchDateField $endDate = null)
    {
        $this->endDate = $endDate;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setExternalId(\StructType\SearchMultiSelectField $externalId = null)
    {
        $this->externalId = $externalId;
        return $this;
    }
    /**
     * Get externalIdString value
     * @return \StructType\SearchStringField|null
     */
    public function getExternalIdString()
    {
        return $this->externalIdString;
    }
    /**
     * Set externalIdString value
     * @param \StructType\SearchStringField $externalIdString
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setInternalId(\StructType\SearchMultiSelectField $internalId = null)
    {
        $this->internalId = $internalId;
        return $this;
    }
    /**
     * Get internalIdNumber value
     * @return \StructType\SearchLongField|null
     */
    public function getInternalIdNumber()
    {
        return $this->internalIdNumber;
    }
    /**
     * Set internalIdNumber value
     * @param \StructType\SearchLongField $internalIdNumber
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get nextApprover value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getNextApprover()
    {
        return $this->nextApprover;
    }
    /**
     * Set nextApprover value
     * @param \StructType\SearchMultiSelectField $nextApprover
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setNextApprover(\StructType\SearchMultiSelectField $nextApprover = null)
    {
        $this->nextApprover = $nextApprover;
        return $this;
    }
    /**
     * Get notes value
     * @return \StructType\SearchStringField|null
     */
    public function getNotes()
    {
        return $this->notes;
    }
    /**
     * Set notes value
     * @param \StructType\SearchStringField $notes
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setNotes(\StructType\SearchStringField $notes = null)
    {
        $this->notes = $notes;
        return $this;
    }
    /**
     * Get numberHours value
     * @return \StructType\SearchDoubleField|null
     */
    public function getNumberHours()
    {
        return $this->numberHours;
    }
    /**
     * Set numberHours value
     * @param \StructType\SearchDoubleField $numberHours
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setNumberHours(\StructType\SearchDoubleField $numberHours = null)
    {
        $this->numberHours = $numberHours;
        return $this;
    }
    /**
     * Get percentOfTime value
     * @return \StructType\SearchDoubleField|null
     */
    public function getPercentOfTime()
    {
        return $this->percentOfTime;
    }
    /**
     * Set percentOfTime value
     * @param \StructType\SearchDoubleField $percentOfTime
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setPercentOfTime(\StructType\SearchDoubleField $percentOfTime = null)
    {
        $this->percentOfTime = $percentOfTime;
        return $this;
    }
    /**
     * Get project value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getProject()
    {
        return $this->project;
    }
    /**
     * Set project value
     * @param \StructType\SearchMultiSelectField $project
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setProject(\StructType\SearchMultiSelectField $project = null)
    {
        $this->project = $project;
        return $this;
    }
    /**
     * Get requestedBy value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getRequestedBy()
    {
        return $this->requestedBy;
    }
    /**
     * Set requestedBy value
     * @param \StructType\SearchMultiSelectField $requestedBy
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setRequestedBy(\StructType\SearchMultiSelectField $requestedBy = null)
    {
        $this->requestedBy = $requestedBy;
        return $this;
    }
    /**
     * Get resource value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getResource()
    {
        return $this->resource;
    }
    /**
     * Set resource value
     * @param \StructType\SearchMultiSelectField $resource
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setResource(\StructType\SearchMultiSelectField $resource = null)
    {
        $this->resource = $resource;
        return $this;
    }
    /**
     * Get startDate value
     * @return \StructType\SearchDateField|null
     */
    public function getStartDate()
    {
        return $this->startDate;
    }
    /**
     * Set startDate value
     * @param \StructType\SearchDateField $startDate
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setStartDate(\StructType\SearchDateField $startDate = null)
    {
        $this->startDate = $startDate;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\SearchCustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\SearchCustomFieldList $customFieldList
     * @return \StructType\ResourceAllocationSearchBasic
     */
    public function setCustomFieldList(\StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
}
