<?php

namespace TRIBUNALWS;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BIVitimas TRIBUNALWS
 * @subpackage Structs
 */
class BIVitimas extends AbstractStructBase
{
    /**
     * The IdProcesso
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $IdProcesso;
    /**
     * The BIVitimas
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \ArrayType\ArrayOfstring
     */
    public $BIVitimas;
    /**
     * Constructor method for BIVitimas
     * @uses BIVitimas::setIdProcesso()
     * @uses BIVitimas::setBIVitimas()
     * @param string $idProcesso
     * @param \ArrayType\ArrayOfstring $bIVitimas
     */
    public function __construct($idProcesso = null, \ArrayType\ArrayOfstring $bIVitimas = null)
    {
        $this
            ->setIdProcesso($idProcesso)
            ->setBIVitimas($bIVitimas);
    }
    /**
     * Get IdProcesso 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 string|null
     */
    public function getIdProcesso()
    {
        return isset($this->IdProcesso) ? $this->IdProcesso : null;
    }
    /**
     * Set IdProcesso 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 string $idProcesso
     * @return \TRIBUNALWS\BIVitimas
     */
    public function setIdProcesso($idProcesso = null)
    {
        if (is_null($idProcesso) || (is_array($idProcesso) && empty($idProcesso))) {
            unset($this->IdProcesso);
        } else {
            $this->IdProcesso = $idProcesso;
        }
        return $this;
    }
    /**
     * Get BIVitimas 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 \ArrayType\ArrayOfstring|null
     */
    public function getBIVitimas()
    {
        return isset($this->BIVitimas) ? $this->BIVitimas : null;
    }
    /**
     * Set BIVitimas 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 \ArrayType\ArrayOfstring $bIVitimas
     * @return \TRIBUNALWS\BIVitimas
     */
    public function setBIVitimas(\ArrayType\ArrayOfstring $bIVitimas = null)
    {
        if (is_null($bIVitimas) || (is_array($bIVitimas) && empty($bIVitimas))) {
            unset($this->BIVitimas);
        } else {
            $this->BIVitimas = $bIVitimas;
        }
        return $this;
    }
}
