_propDict)) { if (is_a($this->_propDict["customKeyIdentifier"], "\GuzzleHttp\Psr7\Stream")) { return $this->_propDict["customKeyIdentifier"]; } else { $this->_propDict["customKeyIdentifier"] = \GuzzleHttp\Psr7\stream_for($this->_propDict["customKeyIdentifier"]); return $this->_propDict["customKeyIdentifier"]; } } return null; } /** * Sets the customKeyIdentifier * Do not use. * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the customKeyIdentifier * * @return PasswordCredential The PasswordCredential */ public function setCustomKeyIdentifier($val) { $this->_propDict["customKeyIdentifier"] = $val; return $this; } /** * Gets the displayName * Friendly name for the password. Optional. * * @return string The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Friendly name for the password. Optional. * * @param string $val The value of the displayName * * @return PasswordCredential */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the endDateTime * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional. * * @return \DateTime The endDateTime */ public function getEndDateTime() { if (array_key_exists("endDateTime", $this->_propDict)) { if (is_a($this->_propDict["endDateTime"], "\DateTime")) { return $this->_propDict["endDateTime"]; } else { $this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]); return $this->_propDict["endDateTime"]; } } return null; } /** * Sets the endDateTime * The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Optional. * * @param \DateTime $val The value to assign to the endDateTime * * @return PasswordCredential The PasswordCredential */ public function setEndDateTime($val) { $this->_propDict["endDateTime"] = $val; return $this; } /** * Gets the keyId * The unique identifier for the password. * * @return string The keyId */ public function getKeyId() { if (array_key_exists("keyId", $this->_propDict)) { return $this->_propDict["keyId"]; } else { return null; } } /** * Sets the keyId * The unique identifier for the password. * * @param string $val The value of the keyId * * @return PasswordCredential */ public function setKeyId($val) { $this->_propDict["keyId"] = $val; return $this; } /** * Gets the startDateTime * The date and time at which the password becomes valid. 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 would look like this: '2014-01-01T00:00:00Z'. Optional. * * @return \DateTime The startDateTime */ public function getStartDateTime() { if (array_key_exists("startDateTime", $this->_propDict)) { if (is_a($this->_propDict["startDateTime"], "\DateTime")) { return $this->_propDict["startDateTime"]; } else { $this->_propDict["startDateTime"] = new \DateTime($this->_propDict["startDateTime"]); return $this->_propDict["startDateTime"]; } } return null; } /** * Sets the startDateTime * The date and time at which the password becomes valid. 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 would look like this: '2014-01-01T00:00:00Z'. Optional. * * @param \DateTime $val The value to assign to the startDateTime * * @return PasswordCredential The PasswordCredential */ public function setStartDateTime($val) { $this->_propDict["startDateTime"] = $val; return $this; } /** * Gets the secretText * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. * * @return string The secretText */ public function getSecretText() { if (array_key_exists("secretText", $this->_propDict)) { return $this->_propDict["secretText"]; } else { return null; } } /** * Sets the secretText * Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future. * * @param string $val The value of the secretText * * @return PasswordCredential */ public function setSecretText($val) { $this->_propDict["secretText"] = $val; return $this; } /** * Gets the hint * Contains the first three characters of the password. Read-only. * * @return string The hint */ public function getHint() { if (array_key_exists("hint", $this->_propDict)) { return $this->_propDict["hint"]; } else { return null; } } /** * Sets the hint * Contains the first three characters of the password. Read-only. * * @param string $val The value of the hint * * @return PasswordCredential */ public function setHint($val) { $this->_propDict["hint"] = $val; return $this; } }