<?php

namespace NineDotMedia\viapost-php\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetDocumentation Struct
 * @subpackage Structs
 */
class GetDocumentation extends AbstractStructBase
{
    /**
     * The strLoginToken
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $strLoginToken;
    /**
     * The documentUrls
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \NineDotMedia\viapost-php\Array\ArrayOfAnyType
     */
    public $documentUrls;
    /**
     * The strReturnMessage
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $strReturnMessage;
    /**
     * Constructor method for GetDocumentation
     * @uses GetDocumentation::setStrLoginToken()
     * @uses GetDocumentation::setDocumentUrls()
     * @uses GetDocumentation::setStrReturnMessage()
     * @param string $strLoginToken
     * @param \NineDotMedia\viapost-php\Array\ArrayOfAnyType $documentUrls
     * @param string $strReturnMessage
     */
    public function __construct($strLoginToken = null, \NineDotMedia\viapost-php\Array\ArrayOfAnyType $documentUrls = null, $strReturnMessage = null)
    {
        $this
            ->setStrLoginToken($strLoginToken)
            ->setDocumentUrls($documentUrls)
            ->setStrReturnMessage($strReturnMessage);
    }
    /**
     * Get strLoginToken value
     * @return string|null
     */
    public function getStrLoginToken()
    {
        return $this->strLoginToken;
    }
    /**
     * Set strLoginToken value
     * @param string $strLoginToken
     * @return \NineDotMedia\viapost-php\Struct\GetDocumentation
     */
    public function setStrLoginToken($strLoginToken = null)
    {
        // validation for constraint: string
        if (!is_null($strLoginToken) && !is_string($strLoginToken)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($strLoginToken, true), gettype($strLoginToken)), __LINE__);
        }
        $this->strLoginToken = $strLoginToken;
        return $this;
    }
    /**
     * Get documentUrls value
     * @return \NineDotMedia\viapost-php\Array\ArrayOfAnyType|null
     */
    public function getDocumentUrls()
    {
        return $this->documentUrls;
    }
    /**
     * Set documentUrls value
     * @param \NineDotMedia\viapost-php\Array\ArrayOfAnyType $documentUrls
     * @return \NineDotMedia\viapost-php\Struct\GetDocumentation
     */
    public function setDocumentUrls(\NineDotMedia\viapost-php\Array\ArrayOfAnyType $documentUrls = null)
    {
        $this->documentUrls = $documentUrls;
        return $this;
    }
    /**
     * Get strReturnMessage value
     * @return string|null
     */
    public function getStrReturnMessage()
    {
        return $this->strReturnMessage;
    }
    /**
     * Set strReturnMessage value
     * @param string $strReturnMessage
     * @return \NineDotMedia\viapost-php\Struct\GetDocumentation
     */
    public function setStrReturnMessage($strReturnMessage = null)
    {
        // validation for constraint: string
        if (!is_null($strReturnMessage) && !is_string($strReturnMessage)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($strReturnMessage, true), gettype($strReturnMessage)), __LINE__);
        }
        $this->strReturnMessage = $strReturnMessage;
        return $this;
    }
}
