<?php

namespace CfcalSDK\Entity;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for InformationsConnexion Entity
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:InformationsConnexion
 * @subpackage Structs
 */
class InformationsConnexion extends AbstractStructBase
{
    /**
     * The Identifiant
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var string
     */
    public $Identifiant;
    /**
     * The MotDePasse
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var string
     */
    public $MotDePasse;
    /**
     * The IdentifiantEnTantQue
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var string
     */
    public $IdentifiantEnTantQue;
    /**
     * Constructor method for InformationsConnexion
     * @uses InformationsConnexion::setIdentifiant()
     * @uses InformationsConnexion::setMotDePasse()
     * @uses InformationsConnexion::setIdentifiantEnTantQue()
     * @param string $identifiant
     * @param string $motDePasse
     * @param string $identifiantEnTantQue
     */
    public function __construct($identifiant = null, $motDePasse = null, $identifiantEnTantQue = null)
    {
        $this
            ->setIdentifiant($identifiant)
            ->setMotDePasse($motDePasse)
            ->setIdentifiantEnTantQue($identifiantEnTantQue);
    }
    /**
     * Get Identifiant value
     * @return string|null
     */
    public function getIdentifiant()
    {
        return $this->Identifiant;
    }
    /**
     * Set Identifiant value
     * @param string $identifiant
     * @return \CfcalSDK\Entity\InformationsConnexion
     */
    public function setIdentifiant($identifiant = null)
    {
        // validation for constraint: string
        if (!is_null($identifiant) && !is_string($identifiant)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($identifiant, true), gettype($identifiant)), __LINE__);
        }
        $this->Identifiant = $identifiant;
        return $this;
    }
    /**
     * Get MotDePasse value
     * @return string|null
     */
    public function getMotDePasse()
    {
        return $this->MotDePasse;
    }
    /**
     * Set MotDePasse value
     * @param string $motDePasse
     * @return \CfcalSDK\Entity\InformationsConnexion
     */
    public function setMotDePasse($motDePasse = null)
    {
        // validation for constraint: string
        if (!is_null($motDePasse) && !is_string($motDePasse)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($motDePasse, true), gettype($motDePasse)), __LINE__);
        }
        $this->MotDePasse = $motDePasse;
        return $this;
    }
    /**
     * Get IdentifiantEnTantQue value
     * @return string|null
     */
    public function getIdentifiantEnTantQue()
    {
        return $this->IdentifiantEnTantQue;
    }
    /**
     * Set IdentifiantEnTantQue value
     * @param string $identifiantEnTantQue
     * @return \CfcalSDK\Entity\InformationsConnexion
     */
    public function setIdentifiantEnTantQue($identifiantEnTantQue = null)
    {
        // validation for constraint: string
        if (!is_null($identifiantEnTantQue) && !is_string($identifiantEnTantQue)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($identifiantEnTantQue, true), gettype($identifiantEnTantQue)), __LINE__);
        }
        $this->IdentifiantEnTantQue = $identifiantEnTantQue;
        return $this;
    }
}
