<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CustomRecordSearchBasic StructType
 * @subpackage Structs
 */
class CustomRecordSearchBasic extends SearchRecordBasic
{
    /**
     * The recType
     * @var \StructType\RecordRef
     */
    public $recType;
    /**
     * The availableOffline
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $availableOffline;
    /**
     * The created
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $created;
    /**
     * 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 id
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $id;
    /**
     * 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 isInactive
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isInactive;
    /**
     * The lastModified
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $lastModified;
    /**
     * The lastModifiedBy
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $lastModifiedBy;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The owner
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $owner;
    /**
     * The parent
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $parent;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchCustomFieldList
     */
    public $customFieldList;
    /**
     * Constructor method for CustomRecordSearchBasic
     * @uses CustomRecordSearchBasic::setRecType()
     * @uses CustomRecordSearchBasic::setAvailableOffline()
     * @uses CustomRecordSearchBasic::setCreated()
     * @uses CustomRecordSearchBasic::setExternalId()
     * @uses CustomRecordSearchBasic::setExternalIdString()
     * @uses CustomRecordSearchBasic::setId()
     * @uses CustomRecordSearchBasic::setInternalId()
     * @uses CustomRecordSearchBasic::setInternalIdNumber()
     * @uses CustomRecordSearchBasic::setIsInactive()
     * @uses CustomRecordSearchBasic::setLastModified()
     * @uses CustomRecordSearchBasic::setLastModifiedBy()
     * @uses CustomRecordSearchBasic::setName()
     * @uses CustomRecordSearchBasic::setOwner()
     * @uses CustomRecordSearchBasic::setParent()
     * @uses CustomRecordSearchBasic::setCustomFieldList()
     * @param \StructType\RecordRef $recType
     * @param \StructType\SearchBooleanField $availableOffline
     * @param \StructType\SearchDateField $created
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchLongField $id
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchBooleanField $isInactive
     * @param \StructType\SearchDateField $lastModified
     * @param \StructType\SearchMultiSelectField $lastModifiedBy
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchMultiSelectField $owner
     * @param \StructType\SearchMultiSelectField $parent
     * @param \StructType\SearchCustomFieldList $customFieldList
     */
    public function __construct(\StructType\RecordRef $recType = null, \StructType\SearchBooleanField $availableOffline = null, \StructType\SearchDateField $created = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchLongField $id = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchBooleanField $isInactive = null, \StructType\SearchDateField $lastModified = null, \StructType\SearchMultiSelectField $lastModifiedBy = null, \StructType\SearchStringField $name = null, \StructType\SearchMultiSelectField $owner = null, \StructType\SearchMultiSelectField $parent = null, \StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this
            ->setRecType($recType)
            ->setAvailableOffline($availableOffline)
            ->setCreated($created)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setId($id)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setIsInactive($isInactive)
            ->setLastModified($lastModified)
            ->setLastModifiedBy($lastModifiedBy)
            ->setName($name)
            ->setOwner($owner)
            ->setParent($parent)
            ->setCustomFieldList($customFieldList);
    }
    /**
     * Get recType value
     * @return \StructType\RecordRef|null
     */
    public function getRecType()
    {
        return $this->recType;
    }
    /**
     * Set recType value
     * @param \StructType\RecordRef $recType
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setRecType(\StructType\RecordRef $recType = null)
    {
        $this->recType = $recType;
        return $this;
    }
    /**
     * Get availableOffline value
     * @return \StructType\SearchBooleanField|null
     */
    public function getAvailableOffline()
    {
        return $this->availableOffline;
    }
    /**
     * Set availableOffline value
     * @param \StructType\SearchBooleanField $availableOffline
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setAvailableOffline(\StructType\SearchBooleanField $availableOffline = null)
    {
        $this->availableOffline = $availableOffline;
        return $this;
    }
    /**
     * Get created value
     * @return \StructType\SearchDateField|null
     */
    public function getCreated()
    {
        return $this->created;
    }
    /**
     * Set created value
     * @param \StructType\SearchDateField $created
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setCreated(\StructType\SearchDateField $created = null)
    {
        $this->created = $created;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\CustomRecordSearchBasic
     */
    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\CustomRecordSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get id value
     * @return \StructType\SearchLongField|null
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Set id value
     * @param \StructType\SearchLongField $id
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setId(\StructType\SearchLongField $id = null)
    {
        $this->id = $id;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\CustomRecordSearchBasic
     */
    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\CustomRecordSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get isInactive value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIsInactive()
    {
        return $this->isInactive;
    }
    /**
     * Set isInactive value
     * @param \StructType\SearchBooleanField $isInactive
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setIsInactive(\StructType\SearchBooleanField $isInactive = null)
    {
        $this->isInactive = $isInactive;
        return $this;
    }
    /**
     * Get lastModified value
     * @return \StructType\SearchDateField|null
     */
    public function getLastModified()
    {
        return $this->lastModified;
    }
    /**
     * Set lastModified value
     * @param \StructType\SearchDateField $lastModified
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setLastModified(\StructType\SearchDateField $lastModified = null)
    {
        $this->lastModified = $lastModified;
        return $this;
    }
    /**
     * Get lastModifiedBy value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getLastModifiedBy()
    {
        return $this->lastModifiedBy;
    }
    /**
     * Set lastModifiedBy value
     * @param \StructType\SearchMultiSelectField $lastModifiedBy
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setLastModifiedBy(\StructType\SearchMultiSelectField $lastModifiedBy = null)
    {
        $this->lastModifiedBy = $lastModifiedBy;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get owner value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getOwner()
    {
        return $this->owner;
    }
    /**
     * Set owner value
     * @param \StructType\SearchMultiSelectField $owner
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setOwner(\StructType\SearchMultiSelectField $owner = null)
    {
        $this->owner = $owner;
        return $this;
    }
    /**
     * Get parent value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getParent()
    {
        return $this->parent;
    }
    /**
     * Set parent value
     * @param \StructType\SearchMultiSelectField $parent
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setParent(\StructType\SearchMultiSelectField $parent = null)
    {
        $this->parent = $parent;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\SearchCustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\SearchCustomFieldList $customFieldList
     * @return \StructType\CustomRecordSearchBasic
     */
    public function setCustomFieldList(\StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
}
