<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetProductsAttributesTypes-Request StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetProductsAttributesTypes-Request
 * @subpackage Structs
 */
class GetProductsAttributesTypes_Request extends AbstractStructBase
{
    /**
     * The IncludeAttributeValues
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $IncludeAttributeValues;
    /**
     * Constructor method for GetProductsAttributesTypes-Request
     * @uses GetProductsAttributesTypes_Request::setIncludeAttributeValues()
     * @param bool $includeAttributeValues
     */
    public function __construct($includeAttributeValues = null)
    {
        $this
            ->setIncludeAttributeValues($includeAttributeValues);
    }
    /**
     * Get IncludeAttributeValues value
     * @return bool|null
     */
    public function getIncludeAttributeValues()
    {
        return $this->IncludeAttributeValues;
    }
    /**
     * Set IncludeAttributeValues value
     * @param bool $includeAttributeValues
     * @return \patest\StructType\GetProductsAttributesTypes_Request
     */
    public function setIncludeAttributeValues($includeAttributeValues = null)
    {
        // validation for constraint: boolean
        if (!is_null($includeAttributeValues) && !is_bool($includeAttributeValues)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($includeAttributeValues, true), gettype($includeAttributeValues)), __LINE__);
        }
        $this->IncludeAttributeValues = $includeAttributeValues;
        return $this;
    }
}
