_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * The date and time when this password was last updated. This property is currently not populated. Read-only. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. * * @param \DateTime $val The createdDateTime * * @return PasswordAuthenticationMethod */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the password * For security, the password is always returned as null from a LIST or GET operation. * * @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 * For security, the password is always returned as null from a LIST or GET operation. * * @param string $val The password * * @return PasswordAuthenticationMethod */ public function setPassword($val) { $this->_propDict["password"] = $val; return $this; } }