setODataType("#microsoft.graph.basicAuthentication"); } /** * Gets the password * The password. It isn't returned in the responses. * * @return string|null The password */ public function getPassword() { if (array_key_exists("password", $this->_propDict)) { return $this->_propDict["password"]; } else { return null; } } /** * Sets the password * The password. It isn't returned in the responses. * * @param string $val The value of the password * * @return BasicAuthentication */ public function setPassword($val) { $this->_propDict["password"] = $val; return $this; } /** * Gets the username * The username. * * @return string|null The username */ public function getUsername() { if (array_key_exists("username", $this->_propDict)) { return $this->_propDict["username"]; } else { return null; } } /** * Sets the username * The username. * * @param string $val The value of the username * * @return BasicAuthentication */ public function setUsername($val) { $this->_propDict["username"] = $val; return $this; } }