<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Candidate_PhotoType StructType
 * Meta information extracted from the WSDL
 * - documentation: Contains Candidate Photo data.
 * @subpackage Structs
 */
class Candidate_PhotoType extends AbstractStructBase
{
    /**
     * The Candidate_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to a Candidate.
     * - minOccurs: 0
     * @var \StructType\CandidateObjectType
     */
    public $Candidate_Reference;
    /**
     * The Candidate_Photo_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Candidate_Photo_DataType
     */
    public $Candidate_Photo_Data;
    /**
     * Constructor method for Candidate_PhotoType
     * @uses Candidate_PhotoType::setCandidate_Reference()
     * @uses Candidate_PhotoType::setCandidate_Photo_Data()
     * @param \StructType\CandidateObjectType $candidate_Reference
     * @param \StructType\Candidate_Photo_DataType $candidate_Photo_Data
     */
    public function __construct(\StructType\CandidateObjectType $candidate_Reference = null, \StructType\Candidate_Photo_DataType $candidate_Photo_Data = null)
    {
        $this
            ->setCandidate_Reference($candidate_Reference)
            ->setCandidate_Photo_Data($candidate_Photo_Data);
    }
    /**
     * Get Candidate_Reference value
     * @return \StructType\CandidateObjectType|null
     */
    public function getCandidate_Reference()
    {
        return $this->Candidate_Reference;
    }
    /**
     * Set Candidate_Reference value
     * @param \StructType\CandidateObjectType $candidate_Reference
     * @return \StructType\Candidate_PhotoType
     */
    public function setCandidate_Reference(\StructType\CandidateObjectType $candidate_Reference = null)
    {
        $this->Candidate_Reference = $candidate_Reference;
        return $this;
    }
    /**
     * Get Candidate_Photo_Data value
     * @return \StructType\Candidate_Photo_DataType|null
     */
    public function getCandidate_Photo_Data()
    {
        return $this->Candidate_Photo_Data;
    }
    /**
     * Set Candidate_Photo_Data value
     * @param \StructType\Candidate_Photo_DataType $candidate_Photo_Data
     * @return \StructType\Candidate_PhotoType
     */
    public function setCandidate_Photo_Data(\StructType\Candidate_Photo_DataType $candidate_Photo_Data = null)
    {
        $this->Candidate_Photo_Data = $candidate_Photo_Data;
        return $this;
    }
}
