<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ActivateModemResponse StructType
 * @subpackage Structs
 */
class ActivateModemResponse extends AbstractStructBase
{
    /**
     * The ActivateModemResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $ActivateModemResult;
    /**
     * Constructor method for ActivateModemResponse
     * @uses ActivateModemResponse::setActivateModemResult()
     * @param string $activateModemResult
     */
    public function __construct($activateModemResult = null)
    {
        $this
            ->setActivateModemResult($activateModemResult);
    }
    /**
     * Get ActivateModemResult value
     * @return string
     */
    public function getActivateModemResult()
    {
        return $this->ActivateModemResult;
    }
    /**
     * Set ActivateModemResult value
     * @uses \CustomerManagement\EnumType\ActivateModemOutput::valueIsValid()
     * @uses \CustomerManagement\EnumType\ActivateModemOutput::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $activateModemResult
     * @return \CustomerManagement\StructType\ActivateModemResponse
     */
    public function setActivateModemResult($activateModemResult = null)
    {
        // validation for constraint: enumeration
        if (!\CustomerManagement\EnumType\ActivateModemOutput::valueIsValid($activateModemResult)) {
            throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \CustomerManagement\EnumType\ActivateModemOutput', is_array($activateModemResult) ? implode(', ', $activateModemResult) : var_export($activateModemResult, true), implode(', ', \CustomerManagement\EnumType\ActivateModemOutput::getValidValues())), __LINE__);
        }
        $this->ActivateModemResult = $activateModemResult;
        return $this;
    }
}
