<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for WEBWebUserGetByRecno_CustomResponse StructType
 * @subpackage Structs
 * @author Drupal NetForum xWeb PHP SDK Generator
 * @version 1.0.0
 * @license GPL-2.0-or-later https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * @see https://www.drupal.org/project/netforum
 * @generatedDate 2025-08-05
 * @generatedRelease Official
 * @generatedNetForumVersion 37
 */
#[\AllowDynamicProperties]
class WEBWebUserGetByRecno_CustomResponse extends AbstractStructBase
{
    /**
     * The WEBWebUserGetByRecno_CustomResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \Drupal\netforum\xWeb\Generated\StructType\WebUserType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\WebUserType $WEBWebUserGetByRecno_CustomResult = null;
    /**
     * Constructor method for WEBWebUserGetByRecno_CustomResponse
     * @uses WEBWebUserGetByRecno_CustomResponse::setWEBWebUserGetByRecno_CustomResult()
     * @param \Drupal\netforum\xWeb\Generated\StructType\WebUserType $wEBWebUserGetByRecno_CustomResult
     */
    public function __construct(?\Drupal\netforum\xWeb\Generated\StructType\WebUserType $wEBWebUserGetByRecno_CustomResult = null)
    {
        $this
            ->setWEBWebUserGetByRecno_CustomResult($wEBWebUserGetByRecno_CustomResult);
    }
    /**
     * Get WEBWebUserGetByRecno_CustomResult value
     * @return \Drupal\netforum\xWeb\Generated\StructType\WebUserType|null
     */
    public function getWEBWebUserGetByRecno_CustomResult(): ?\Drupal\netforum\xWeb\Generated\StructType\WebUserType
    {
        return $this->WEBWebUserGetByRecno_CustomResult;
    }
    /**
     * Set WEBWebUserGetByRecno_CustomResult value
     * @param \Drupal\netforum\xWeb\Generated\StructType\WebUserType $wEBWebUserGetByRecno_CustomResult
     * @return \Drupal\netforum\xWeb\Generated\StructType\WEBWebUserGetByRecno_CustomResponse
     */
    public function setWEBWebUserGetByRecno_CustomResult(?\Drupal\netforum\xWeb\Generated\StructType\WebUserType $wEBWebUserGetByRecno_CustomResult = null): self
    {
        $this->WEBWebUserGetByRecno_CustomResult = $wEBWebUserGetByRecno_CustomResult;
        
        return $this;
    }
}
