<?php

namespace TRIBUNALWS;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BIDenunciantesResponse TRIBUNALWS
 * @subpackage Structs
 */
class BIDenunciantesResponse extends AbstractStructBase
{
    /**
     * The BIDenunciantesResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \TRIBUNALWS\ReturnValuePN
     */
    public $BIDenunciantesResult;
    /**
     * Constructor method for BIDenunciantesResponse
     * @uses BIDenunciantesResponse::setBIDenunciantesResult()
     * @param \TRIBUNALWS\ReturnValuePN $bIDenunciantesResult
     */
    public function __construct(\TRIBUNALWS\ReturnValuePN $bIDenunciantesResult = null)
    {
        $this
            ->setBIDenunciantesResult($bIDenunciantesResult);
    }
    /**
     * Get BIDenunciantesResult value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \TRIBUNALWS\ReturnValuePN|null
     */
    public function getBIDenunciantesResult()
    {
        return isset($this->BIDenunciantesResult) ? $this->BIDenunciantesResult : null;
    }
    /**
     * Set BIDenunciantesResult value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \TRIBUNALWS\ReturnValuePN $bIDenunciantesResult
     * @return \TRIBUNALWS\BIDenunciantesResponse
     */
    public function setBIDenunciantesResult(\TRIBUNALWS\ReturnValuePN $bIDenunciantesResult = null)
    {
        if (is_null($bIDenunciantesResult) || (is_array($bIDenunciantesResult) && empty($bIDenunciantesResult))) {
            unset($this->BIDenunciantesResult);
        } else {
            $this->BIDenunciantesResult = $bIDenunciantesResult;
        }
        return $this;
    }
}
