<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Project_Phase_Request_CriteriaType StructType
 * Meta information extracted from the WSDL
 * - documentation: Get Project Phase Request Criteria
 * @subpackage Structs
 */
class Project_Phase_Request_CriteriaType extends AbstractStructBase
{
    /**
     * The Project_Phase_Name
     * Meta information extracted from the WSDL
     * - documentation: Project Phase Name
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Project_Phase_Name;
    /**
     * Constructor method for Project_Phase_Request_CriteriaType
     * @uses Project_Phase_Request_CriteriaType::setProject_Phase_Name()
     * @param string $project_Phase_Name
     */
    public function __construct($project_Phase_Name = null)
    {
        $this
            ->setProject_Phase_Name($project_Phase_Name);
    }
    /**
     * Get Project_Phase_Name value
     * @return string|null
     */
    public function getProject_Phase_Name()
    {
        return $this->Project_Phase_Name;
    }
    /**
     * Set Project_Phase_Name value
     * @param string $project_Phase_Name
     * @return \StructType\Project_Phase_Request_CriteriaType
     */
    public function setProject_Phase_Name($project_Phase_Name = null)
    {
        // validation for constraint: string
        if (!is_null($project_Phase_Name) && !is_string($project_Phase_Name)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($project_Phase_Name, true), gettype($project_Phase_Name)), __LINE__);
        }
        $this->Project_Phase_Name = $project_Phase_Name;
        return $this;
    }
}
