_propDict)) { if (is_a($this->_propDict["address"], "\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["address"])) { return $this->_propDict["address"]; } else { $this->_propDict["address"] = new \Microsoft\Graph\Model\PhysicalAddress($this->_propDict["address"]); return $this->_propDict["address"]; } } return null; } /** * Sets the address * A physical address of the entity. * * @param \Microsoft\Graph\Model\PhysicalAddress $val The value to assign to the address * * @return SslCertificateEntity The SslCertificateEntity */ public function setAddress($val) { $this->_propDict["address"] = $val; return $this; } /** * Gets the alternateNames * Alternate names for this entity that are part of the certificate. * * @return string|null The alternateNames */ public function getAlternateNames() { if (array_key_exists("alternateNames", $this->_propDict)) { return $this->_propDict["alternateNames"]; } else { return null; } } /** * Sets the alternateNames * Alternate names for this entity that are part of the certificate. * * @param string $val The value of the alternateNames * * @return SslCertificateEntity */ public function setAlternateNames($val) { $this->_propDict["alternateNames"] = $val; return $this; } /** * Gets the commonName * A common name for this entity. * * @return string|null The commonName */ public function getCommonName() { if (array_key_exists("commonName", $this->_propDict)) { return $this->_propDict["commonName"]; } else { return null; } } /** * Sets the commonName * A common name for this entity. * * @param string $val The value of the commonName * * @return SslCertificateEntity */ public function setCommonName($val) { $this->_propDict["commonName"] = $val; return $this; } /** * Gets the email * An email for this entity. * * @return string|null The email */ public function getEmail() { if (array_key_exists("email", $this->_propDict)) { return $this->_propDict["email"]; } else { return null; } } /** * Sets the email * An email for this entity. * * @param string $val The value of the email * * @return SslCertificateEntity */ public function setEmail($val) { $this->_propDict["email"] = $val; return $this; } /** * Gets the givenName * If the entity is a person, this is the person's given name (first name). * * @return string|null The givenName */ public function getGivenName() { if (array_key_exists("givenName", $this->_propDict)) { return $this->_propDict["givenName"]; } else { return null; } } /** * Sets the givenName * If the entity is a person, this is the person's given name (first name). * * @param string $val The value of the givenName * * @return SslCertificateEntity */ public function setGivenName($val) { $this->_propDict["givenName"] = $val; return $this; } /** * Gets the organizationName * If the entity is an organization, this is the name of the organization. * * @return string|null The organizationName */ public function getOrganizationName() { if (array_key_exists("organizationName", $this->_propDict)) { return $this->_propDict["organizationName"]; } else { return null; } } /** * Sets the organizationName * If the entity is an organization, this is the name of the organization. * * @param string $val The value of the organizationName * * @return SslCertificateEntity */ public function setOrganizationName($val) { $this->_propDict["organizationName"] = $val; return $this; } /** * Gets the organizationUnitName * If the entity is an organization, this communicates if a unit in the organization is named on the entity. * * @return string|null The organizationUnitName */ public function getOrganizationUnitName() { if (array_key_exists("organizationUnitName", $this->_propDict)) { return $this->_propDict["organizationUnitName"]; } else { return null; } } /** * Sets the organizationUnitName * If the entity is an organization, this communicates if a unit in the organization is named on the entity. * * @param string $val The value of the organizationUnitName * * @return SslCertificateEntity */ public function setOrganizationUnitName($val) { $this->_propDict["organizationUnitName"] = $val; return $this; } /** * Gets the serialNumber * A serial number assigned to the entity; usually only available if the entity is the issuer. * * @return string|null The serialNumber */ public function getSerialNumber() { if (array_key_exists("serialNumber", $this->_propDict)) { return $this->_propDict["serialNumber"]; } else { return null; } } /** * Sets the serialNumber * A serial number assigned to the entity; usually only available if the entity is the issuer. * * @param string $val The value of the serialNumber * * @return SslCertificateEntity */ public function setSerialNumber($val) { $this->_propDict["serialNumber"] = $val; return $this; } /** * Gets the surname * If the entity is a person, this is the person's surname (last name). * * @return string|null The surname */ public function getSurname() { if (array_key_exists("surname", $this->_propDict)) { return $this->_propDict["surname"]; } else { return null; } } /** * Sets the surname * If the entity is a person, this is the person's surname (last name). * * @param string $val The value of the surname * * @return SslCertificateEntity */ public function setSurname($val) { $this->_propDict["surname"] = $val; return $this; } }