<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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