1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidPkcsCertificateProfi...

174 lines
4.8 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AndroidPkcsCertificateProfile File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
/**
* AndroidPkcsCertificateProfile class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AndroidPkcsCertificateProfile extends AndroidCertificateProfileBase
{
/**
* Gets the certificateTemplateName
* PKCS Certificate Template Name
*
* @return string|null The certificateTemplateName
*/
public function getCertificateTemplateName()
{
if (array_key_exists("certificateTemplateName", $this->_propDict)) {
return $this->_propDict["certificateTemplateName"];
} else {
return null;
}
}
/**
* Sets the certificateTemplateName
* PKCS Certificate Template Name
*
* @param string $val The certificateTemplateName
*
* @return AndroidPkcsCertificateProfile
*/
public function setCertificateTemplateName($val)
{
$this->_propDict["certificateTemplateName"] = $val;
return $this;
}
/**
* Gets the certificationAuthority
* PKCS Certification Authority
*
* @return string|null The certificationAuthority
*/
public function getCertificationAuthority()
{
if (array_key_exists("certificationAuthority", $this->_propDict)) {
return $this->_propDict["certificationAuthority"];
} else {
return null;
}
}
/**
* Sets the certificationAuthority
* PKCS Certification Authority
*
* @param string $val The certificationAuthority
*
* @return AndroidPkcsCertificateProfile
*/
public function setCertificationAuthority($val)
{
$this->_propDict["certificationAuthority"] = $val;
return $this;
}
/**
* Gets the certificationAuthorityName
* PKCS Certification Authority Name
*
* @return string|null The certificationAuthorityName
*/
public function getCertificationAuthorityName()
{
if (array_key_exists("certificationAuthorityName", $this->_propDict)) {
return $this->_propDict["certificationAuthorityName"];
} else {
return null;
}
}
/**
* Sets the certificationAuthorityName
* PKCS Certification Authority Name
*
* @param string $val The certificationAuthorityName
*
* @return AndroidPkcsCertificateProfile
*/
public function setCertificationAuthorityName($val)
{
$this->_propDict["certificationAuthorityName"] = $val;
return $this;
}
/**
* Gets the subjectAlternativeNameFormatString
* Custom String that defines the AAD Attribute.
*
* @return string|null The subjectAlternativeNameFormatString
*/
public function getSubjectAlternativeNameFormatString()
{
if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) {
return $this->_propDict["subjectAlternativeNameFormatString"];
} else {
return null;
}
}
/**
* Sets the subjectAlternativeNameFormatString
* Custom String that defines the AAD Attribute.
*
* @param string $val The subjectAlternativeNameFormatString
*
* @return AndroidPkcsCertificateProfile
*/
public function setSubjectAlternativeNameFormatString($val)
{
$this->_propDict["subjectAlternativeNameFormatString"] = $val;
return $this;
}
/**
* Gets the managedDeviceCertificateStates
* Certificate state for devices. This collection can contain a maximum of 2147483647 elements.
*
* @return array|null The managedDeviceCertificateStates
*/
public function getManagedDeviceCertificateStates()
{
if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) {
return $this->_propDict["managedDeviceCertificateStates"];
} else {
return null;
}
}
/**
* Sets the managedDeviceCertificateStates
* Certificate state for devices. This collection can contain a maximum of 2147483647 elements.
*
* @param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates
*
* @return AndroidPkcsCertificateProfile
*/
public function setManagedDeviceCertificateStates($val)
{
$this->_propDict["managedDeviceCertificateStates"] = $val;
return $this;
}
}