<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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