_propDict)) { if (is_a($this->_propDict["credentials"], "\Beta\Microsoft\Graph\Model\Credential") || is_null($this->_propDict["credentials"])) { return $this->_propDict["credentials"]; } else { $this->_propDict["credentials"] = new Credential($this->_propDict["credentials"]); return $this->_propDict["credentials"]; } } return null; } /** * Sets the credentials * A list of credential objects that define the complete sign in flow. * * @param Credential $val The value to assign to the credentials * * @return PasswordSingleSignOnCredentialSet The PasswordSingleSignOnCredentialSet */ public function setCredentials($val) { $this->_propDict["credentials"] = $val; return $this; } /** * Gets the id * The ID of the user or group this credential set belongs to. * * @return string|null The id */ public function getId() { if (array_key_exists("id", $this->_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * The ID of the user or group this credential set belongs to. * * @param string $val The value of the id * * @return PasswordSingleSignOnCredentialSet */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } }