<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Contingent_Worker_WWSType StructType
 * Meta information extracted from the WSDL
 * - documentation: Element containing Contingent Worker information
 * @subpackage Structs
 */
class Contingent_Worker_WWSType extends AbstractStructBase
{
    /**
     * The Contingent_Worker_Reference
     * Meta information extracted from the WSDL
     * - documentation: Contingent Worker Reference
     * - minOccurs: 0
     * @var \StructType\Contingent_WorkerObjectType
     */
    public $Contingent_Worker_Reference;
    /**
     * The Contingent_Worker_Data
     * Meta information extracted from the WSDL
     * - documentation: This Element contains Contingent Worker attributes.
     * - minOccurs: 0
     * @var \StructType\Contingent_Workers_DataType
     */
    public $Contingent_Worker_Data;
    /**
     * Constructor method for Contingent_Worker_WWSType
     * @uses Contingent_Worker_WWSType::setContingent_Worker_Reference()
     * @uses Contingent_Worker_WWSType::setContingent_Worker_Data()
     * @param \StructType\Contingent_WorkerObjectType $contingent_Worker_Reference
     * @param \StructType\Contingent_Workers_DataType $contingent_Worker_Data
     */
    public function __construct(\StructType\Contingent_WorkerObjectType $contingent_Worker_Reference = null, \StructType\Contingent_Workers_DataType $contingent_Worker_Data = null)
    {
        $this
            ->setContingent_Worker_Reference($contingent_Worker_Reference)
            ->setContingent_Worker_Data($contingent_Worker_Data);
    }
    /**
     * Get Contingent_Worker_Reference value
     * @return \StructType\Contingent_WorkerObjectType|null
     */
    public function getContingent_Worker_Reference()
    {
        return $this->Contingent_Worker_Reference;
    }
    /**
     * Set Contingent_Worker_Reference value
     * @param \StructType\Contingent_WorkerObjectType $contingent_Worker_Reference
     * @return \StructType\Contingent_Worker_WWSType
     */
    public function setContingent_Worker_Reference(\StructType\Contingent_WorkerObjectType $contingent_Worker_Reference = null)
    {
        $this->Contingent_Worker_Reference = $contingent_Worker_Reference;
        return $this;
    }
    /**
     * Get Contingent_Worker_Data value
     * @return \StructType\Contingent_Workers_DataType|null
     */
    public function getContingent_Worker_Data()
    {
        return $this->Contingent_Worker_Data;
    }
    /**
     * Set Contingent_Worker_Data value
     * @param \StructType\Contingent_Workers_DataType $contingent_Worker_Data
     * @return \StructType\Contingent_Worker_WWSType
     */
    public function setContingent_Worker_Data(\StructType\Contingent_Workers_DataType $contingent_Worker_Data = null)
    {
        $this->Contingent_Worker_Data = $contingent_Worker_Data;
        return $this;
    }
}
