<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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