<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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