<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetAudienceListResponse 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 GetAudienceListResponse extends AbstractStructBase
{
    /**
     * The GetAudienceListResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult $GetAudienceListResult = null;
    /**
     * Constructor method for GetAudienceListResponse
     * @uses GetAudienceListResponse::setGetAudienceListResult()
     * @param \Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult $getAudienceListResult
     */
    public function __construct(?\Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult $getAudienceListResult = null)
    {
        $this
            ->setGetAudienceListResult($getAudienceListResult);
    }
    /**
     * Get GetAudienceListResult value
     * @return \Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult|null
     */
    public function getGetAudienceListResult(): ?\Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult
    {
        return $this->GetAudienceListResult;
    }
    /**
     * Set GetAudienceListResult value
     * @param \Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult $getAudienceListResult
     * @return \Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResponse
     */
    public function setGetAudienceListResult(?\Drupal\netforum\xWeb\Generated\StructType\GetAudienceListResult $getAudienceListResult = null): self
    {
        $this->GetAudienceListResult = $getAudienceListResult;
        
        return $this;
    }
}
