<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for NoteSearchBasic StructType
 * @subpackage Structs
 */
class NoteSearchBasic extends SearchRecordBasic
{
    /**
     * The author
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $author;
    /**
     * The direction
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $direction;
    /**
     * 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 note
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $note;
    /**
     * The noteDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $noteDate;
    /**
     * The noteType
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $noteType;
    /**
     * The title
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $title;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchCustomFieldList
     */
    public $customFieldList;
    /**
     * Constructor method for NoteSearchBasic
     * @uses NoteSearchBasic::setAuthor()
     * @uses NoteSearchBasic::setDirection()
     * @uses NoteSearchBasic::setExternalId()
     * @uses NoteSearchBasic::setExternalIdString()
     * @uses NoteSearchBasic::setInternalId()
     * @uses NoteSearchBasic::setInternalIdNumber()
     * @uses NoteSearchBasic::setNote()
     * @uses NoteSearchBasic::setNoteDate()
     * @uses NoteSearchBasic::setNoteType()
     * @uses NoteSearchBasic::setTitle()
     * @uses NoteSearchBasic::setCustomFieldList()
     * @param \StructType\SearchMultiSelectField $author
     * @param \StructType\SearchBooleanField $direction
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchStringField $note
     * @param \StructType\SearchDateField $noteDate
     * @param \StructType\SearchMultiSelectField $noteType
     * @param \StructType\SearchStringField $title
     * @param \StructType\SearchCustomFieldList $customFieldList
     */
    public function __construct(\StructType\SearchMultiSelectField $author = null, \StructType\SearchBooleanField $direction = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchStringField $note = null, \StructType\SearchDateField $noteDate = null, \StructType\SearchMultiSelectField $noteType = null, \StructType\SearchStringField $title = null, \StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this
            ->setAuthor($author)
            ->setDirection($direction)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setNote($note)
            ->setNoteDate($noteDate)
            ->setNoteType($noteType)
            ->setTitle($title)
            ->setCustomFieldList($customFieldList);
    }
    /**
     * Get author value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getAuthor()
    {
        return $this->author;
    }
    /**
     * Set author value
     * @param \StructType\SearchMultiSelectField $author
     * @return \StructType\NoteSearchBasic
     */
    public function setAuthor(\StructType\SearchMultiSelectField $author = null)
    {
        $this->author = $author;
        return $this;
    }
    /**
     * Get direction value
     * @return \StructType\SearchBooleanField|null
     */
    public function getDirection()
    {
        return $this->direction;
    }
    /**
     * Set direction value
     * @param \StructType\SearchBooleanField $direction
     * @return \StructType\NoteSearchBasic
     */
    public function setDirection(\StructType\SearchBooleanField $direction = null)
    {
        $this->direction = $direction;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\NoteSearchBasic
     */
    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\NoteSearchBasic
     */
    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\NoteSearchBasic
     */
    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\NoteSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get note value
     * @return \StructType\SearchStringField|null
     */
    public function getNote()
    {
        return $this->note;
    }
    /**
     * Set note value
     * @param \StructType\SearchStringField $note
     * @return \StructType\NoteSearchBasic
     */
    public function setNote(\StructType\SearchStringField $note = null)
    {
        $this->note = $note;
        return $this;
    }
    /**
     * Get noteDate value
     * @return \StructType\SearchDateField|null
     */
    public function getNoteDate()
    {
        return $this->noteDate;
    }
    /**
     * Set noteDate value
     * @param \StructType\SearchDateField $noteDate
     * @return \StructType\NoteSearchBasic
     */
    public function setNoteDate(\StructType\SearchDateField $noteDate = null)
    {
        $this->noteDate = $noteDate;
        return $this;
    }
    /**
     * Get noteType value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getNoteType()
    {
        return $this->noteType;
    }
    /**
     * Set noteType value
     * @param \StructType\SearchMultiSelectField $noteType
     * @return \StructType\NoteSearchBasic
     */
    public function setNoteType(\StructType\SearchMultiSelectField $noteType = null)
    {
        $this->noteType = $noteType;
        return $this;
    }
    /**
     * Get title value
     * @return \StructType\SearchStringField|null
     */
    public function getTitle()
    {
        return $this->title;
    }
    /**
     * Set title value
     * @param \StructType\SearchStringField $title
     * @return \StructType\NoteSearchBasic
     */
    public function setTitle(\StructType\SearchStringField $title = null)
    {
        $this->title = $title;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\SearchCustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\SearchCustomFieldList $customFieldList
     * @return \StructType\NoteSearchBasic
     */
    public function setCustomFieldList(\StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
}
