code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function setRoleSettings($val)
{
$this->_propDict["roleSettings"] = $val;
return $this;
} | Sets the roleSettings
The collection of role settings for the resource.
@param GovernanceRoleSetting[] $val The roleSettings
@return GovernanceResource | setRoleSettings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/GovernanceResource.php | MIT |
public function getCertificateAccessType()
{
if (array_key_exists("certificateAccessType", $this->_propDict)) {
if (is_a($this->_propDict["certificateAccessType"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerCertificateAccessType") || is_null($this->_propDict["certificateAccessType"])) {
return $this->_propDict["certificateAccessType"];
} else {
$this->_propDict["certificateAccessType"] = new AndroidDeviceOwnerCertificateAccessType($this->_propDict["certificateAccessType"]);
return $this->_propDict["certificateAccessType"];
}
}
return null;
} | Gets the certificateAccessType
Certificate access type. Possible values are: userApproval, specificApps, unknownFutureValue.
@return AndroidDeviceOwnerCertificateAccessType|null The certificateAccessType | getCertificateAccessType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificateAccessType($val)
{
$this->_propDict["certificateAccessType"] = $val;
return $this;
} | Sets the certificateAccessType
Certificate access type. Possible values are: userApproval, specificApps, unknownFutureValue.
@param AndroidDeviceOwnerCertificateAccessType $val The certificateAccessType
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificateAccessType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCertificateStore()
{
if (array_key_exists("certificateStore", $this->_propDict)) {
if (is_a($this->_propDict["certificateStore"], "\Beta\Microsoft\Graph\Model\CertificateStore") || is_null($this->_propDict["certificateStore"])) {
return $this->_propDict["certificateStore"];
} else {
$this->_propDict["certificateStore"] = new CertificateStore($this->_propDict["certificateStore"]);
return $this->_propDict["certificateStore"];
}
}
return null;
} | Gets the certificateStore
Target store certificate. Possible values are: user, machine.
@return CertificateStore|null The certificateStore | getCertificateStore | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificateStore($val)
{
$this->_propDict["certificateStore"] = $val;
return $this;
} | Sets the certificateStore
Target store certificate. Possible values are: user, machine.
@param CertificateStore $val The certificateStore
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificateStore | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCertificateTemplateName()
{
if (array_key_exists("certificateTemplateName", $this->_propDict)) {
return $this->_propDict["certificateTemplateName"];
} else {
return null;
}
} | Gets the certificateTemplateName
PKCS Certificate Template Name
@return string|null The certificateTemplateName | getCertificateTemplateName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificateTemplateName($val)
{
$this->_propDict["certificateTemplateName"] = $val;
return $this;
} | Sets the certificateTemplateName
PKCS Certificate Template Name
@param string $val The certificateTemplateName
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificateTemplateName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCertificationAuthority()
{
if (array_key_exists("certificationAuthority", $this->_propDict)) {
return $this->_propDict["certificationAuthority"];
} else {
return null;
}
} | Gets the certificationAuthority
PKCS Certification Authority
@return string|null The certificationAuthority | getCertificationAuthority | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificationAuthority($val)
{
$this->_propDict["certificationAuthority"] = $val;
return $this;
} | Sets the certificationAuthority
PKCS Certification Authority
@param string $val The certificationAuthority
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificationAuthority | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCertificationAuthorityName()
{
if (array_key_exists("certificationAuthorityName", $this->_propDict)) {
return $this->_propDict["certificationAuthorityName"];
} else {
return null;
}
} | Gets the certificationAuthorityName
PKCS Certification Authority Name
@return string|null The certificationAuthorityName | getCertificationAuthorityName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificationAuthorityName($val)
{
$this->_propDict["certificationAuthorityName"] = $val;
return $this;
} | Sets the certificationAuthorityName
PKCS Certification Authority Name
@param string $val The certificationAuthorityName
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificationAuthorityName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCertificationAuthorityType()
{
if (array_key_exists("certificationAuthorityType", $this->_propDict)) {
if (is_a($this->_propDict["certificationAuthorityType"], "\Beta\Microsoft\Graph\Model\DeviceManagementCertificationAuthority") || is_null($this->_propDict["certificationAuthorityType"])) {
return $this->_propDict["certificationAuthorityType"];
} else {
$this->_propDict["certificationAuthorityType"] = new DeviceManagementCertificationAuthority($this->_propDict["certificationAuthorityType"]);
return $this->_propDict["certificationAuthorityType"];
}
}
return null;
} | Gets the certificationAuthorityType
Certification authority type. Possible values are: notConfigured, microsoft, digiCert.
@return DeviceManagementCertificationAuthority|null The certificationAuthorityType | getCertificationAuthorityType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCertificationAuthorityType($val)
{
$this->_propDict["certificationAuthorityType"] = $val;
return $this;
} | Sets the certificationAuthorityType
Certification authority type. Possible values are: notConfigured, microsoft, digiCert.
@param DeviceManagementCertificationAuthority $val The certificationAuthorityType
@return AndroidDeviceOwnerPkcsCertificateProfile | setCertificationAuthorityType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getCustomSubjectAlternativeNames()
{
if (array_key_exists("customSubjectAlternativeNames", $this->_propDict)) {
return $this->_propDict["customSubjectAlternativeNames"];
} else {
return null;
}
} | Gets the customSubjectAlternativeNames
Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.
@return array|null The customSubjectAlternativeNames | getCustomSubjectAlternativeNames | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setCustomSubjectAlternativeNames($val)
{
$this->_propDict["customSubjectAlternativeNames"] = $val;
return $this;
} | Sets the customSubjectAlternativeNames
Custom Subject Alternative Name Settings. This collection can contain a maximum of 500 elements.
@param CustomSubjectAlternativeName[] $val The customSubjectAlternativeNames
@return AndroidDeviceOwnerPkcsCertificateProfile | setCustomSubjectAlternativeNames | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getSilentCertificateAccessDetails()
{
if (array_key_exists("silentCertificateAccessDetails", $this->_propDict)) {
return $this->_propDict["silentCertificateAccessDetails"];
} else {
return null;
}
} | Gets the silentCertificateAccessDetails
Certificate access information. This collection can contain a maximum of 50 elements.
@return array|null The silentCertificateAccessDetails | getSilentCertificateAccessDetails | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setSilentCertificateAccessDetails($val)
{
$this->_propDict["silentCertificateAccessDetails"] = $val;
return $this;
} | Sets the silentCertificateAccessDetails
Certificate access information. This collection can contain a maximum of 50 elements.
@param AndroidDeviceOwnerSilentCertificateAccess[] $val The silentCertificateAccessDetails
@return AndroidDeviceOwnerPkcsCertificateProfile | setSilentCertificateAccessDetails | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getSubjectAlternativeNameFormatString()
{
if (array_key_exists("subjectAlternativeNameFormatString", $this->_propDict)) {
return $this->_propDict["subjectAlternativeNameFormatString"];
} else {
return null;
}
} | Gets the subjectAlternativeNameFormatString
Custom String that defines the AAD Attribute.
@return string|null The subjectAlternativeNameFormatString | getSubjectAlternativeNameFormatString | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setSubjectAlternativeNameFormatString($val)
{
$this->_propDict["subjectAlternativeNameFormatString"] = $val;
return $this;
} | Sets the subjectAlternativeNameFormatString
Custom String that defines the AAD Attribute.
@param string $val The subjectAlternativeNameFormatString
@return AndroidDeviceOwnerPkcsCertificateProfile | setSubjectAlternativeNameFormatString | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getSubjectNameFormatString()
{
if (array_key_exists("subjectNameFormatString", $this->_propDict)) {
return $this->_propDict["subjectNameFormatString"];
} else {
return null;
}
} | Gets the subjectNameFormatString
Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US
@return string|null The subjectNameFormatString | getSubjectNameFormatString | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setSubjectNameFormatString($val)
{
$this->_propDict["subjectNameFormatString"] = $val;
return $this;
} | Sets the subjectNameFormatString
Custom format to use with SubjectNameFormat = Custom. Example: CN={{EmailAddress}},E={{EmailAddress}},OU=Enterprise Users,O=Contoso Corporation,L=Redmond,ST=WA,C=US
@param string $val The subjectNameFormatString
@return AndroidDeviceOwnerPkcsCertificateProfile | setSubjectNameFormatString | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getManagedDeviceCertificateStates()
{
if (array_key_exists("managedDeviceCertificateStates", $this->_propDict)) {
return $this->_propDict["managedDeviceCertificateStates"];
} else {
return null;
}
} | Gets the managedDeviceCertificateStates
Certificate state for devices. This collection can contain a maximum of 2147483647 elements.
@return array|null The managedDeviceCertificateStates | getManagedDeviceCertificateStates | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function setManagedDeviceCertificateStates($val)
{
$this->_propDict["managedDeviceCertificateStates"] = $val;
return $this;
} | Sets the managedDeviceCertificateStates
Certificate state for devices. This collection can contain a maximum of 2147483647 elements.
@param ManagedDeviceCertificateState[] $val The managedDeviceCertificateStates
@return AndroidDeviceOwnerPkcsCertificateProfile | setManagedDeviceCertificateStates | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidDeviceOwnerPkcsCertificateProfile.php | MIT |
public function getMode()
{
if (array_key_exists("mode", $this->_propDict)) {
if (is_a($this->_propDict["mode"], "\Microsoft\Graph\Model\PersistentBrowserSessionMode") || is_null($this->_propDict["mode"])) {
return $this->_propDict["mode"];
} else {
$this->_propDict["mode"] = new PersistentBrowserSessionMode($this->_propDict["mode"]);
return $this->_propDict["mode"];
}
}
return null;
} | Gets the mode
Possible values are: always, never.
@return PersistentBrowserSessionMode|null The mode | getMode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | MIT |
public function setMode($val)
{
$this->_propDict["mode"] = $val;
return $this;
} | Sets the mode
Possible values are: always, never.
@param PersistentBrowserSessionMode $val The value to assign to the mode
@return PersistentBrowserSessionControl The PersistentBrowserSessionControl | setMode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/PersistentBrowserSessionControl.php | MIT |
public function getAllowSampleSharing()
{
if (array_key_exists("allowSampleSharing", $this->_propDict)) {
return $this->_propDict["allowSampleSharing"];
} else {
return null;
}
} | Gets the allowSampleSharing
Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule
@return bool|null The allowSampleSharing | getAllowSampleSharing | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function setAllowSampleSharing($val)
{
$this->_propDict["allowSampleSharing"] = boolval($val);
return $this;
} | Sets the allowSampleSharing
Windows Defender AdvancedThreatProtection 'Allow Sample Sharing' Rule
@param bool $val The allowSampleSharing
@return WindowsDefenderAdvancedThreatProtectionConfiguration | setAllowSampleSharing | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function getEnableExpeditedTelemetryReporting()
{
if (array_key_exists("enableExpeditedTelemetryReporting", $this->_propDict)) {
return $this->_propDict["enableExpeditedTelemetryReporting"];
} else {
return null;
}
} | Gets the enableExpeditedTelemetryReporting
Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency.
@return bool|null The enableExpeditedTelemetryReporting | getEnableExpeditedTelemetryReporting | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
public function setEnableExpeditedTelemetryReporting($val)
{
$this->_propDict["enableExpeditedTelemetryReporting"] = boolval($val);
return $this;
} | Sets the enableExpeditedTelemetryReporting
Expedite Windows Defender Advanced Threat Protection telemetry reporting frequency.
@param bool $val The enableExpeditedTelemetryReporting
@return WindowsDefenderAdvancedThreatProtectionConfiguration | setEnableExpeditedTelemetryReporting | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/WindowsDefenderAdvancedThreatProtectionConfiguration.php | MIT |
function serialize(DAV\Server $server, \DOMElement $errorNode) {
$doc = $errorNode->ownerDocument;
$np = $doc->createElementNS(CalDAV\Plugin::NS_CALDAV, 'cal:supported-calendar-component');
$errorNode->appendChild($np);
} | Adds in extra information in the xml response.
This method adds the {CALDAV:}supported-calendar-component as defined in rfc4791
@param DAV\Server $server
@param \DOMElement $errorNode
@return void | serialize | php | xiebruce/PicUploader | vendor/sabre/dav/lib/CalDAV/Exception/InvalidComponentType.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/CalDAV/Exception/InvalidComponentType.php | MIT |
public function getIdentityName()
{
if (array_key_exists("identityName", $this->_propDict)) {
return $this->_propDict["identityName"];
} else {
return null;
}
} | Gets the identityName
The Identity Name. This property is being deprecated in 2302(February 2023).
@return string|null The identityName | getIdentityName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setIdentityName($val)
{
$this->_propDict["identityName"] = $val;
return $this;
} | Sets the identityName
The Identity Name. This property is being deprecated in 2302(February 2023).
@param string $val The identityName
@return AndroidLobApp | setIdentityName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getIdentityVersion()
{
if (array_key_exists("identityVersion", $this->_propDict)) {
return $this->_propDict["identityVersion"];
} else {
return null;
}
} | Gets the identityVersion
The identity version. This property is being deprecated in 2302(February 2023).
@return string|null The identityVersion | getIdentityVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setIdentityVersion($val)
{
$this->_propDict["identityVersion"] = $val;
return $this;
} | Sets the identityVersion
The identity version. This property is being deprecated in 2302(February 2023).
@param string $val The identityVersion
@return AndroidLobApp | setIdentityVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getMinimumSupportedOperatingSystem()
{
if (array_key_exists("minimumSupportedOperatingSystem", $this->_propDict)) {
if (is_a($this->_propDict["minimumSupportedOperatingSystem"], "\Beta\Microsoft\Graph\Model\AndroidMinimumOperatingSystem") || is_null($this->_propDict["minimumSupportedOperatingSystem"])) {
return $this->_propDict["minimumSupportedOperatingSystem"];
} else {
$this->_propDict["minimumSupportedOperatingSystem"] = new AndroidMinimumOperatingSystem($this->_propDict["minimumSupportedOperatingSystem"]);
return $this->_propDict["minimumSupportedOperatingSystem"];
}
}
return null;
} | Gets the minimumSupportedOperatingSystem
The value for the minimum applicable operating system.
@return AndroidMinimumOperatingSystem|null The minimumSupportedOperatingSystem | getMinimumSupportedOperatingSystem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setMinimumSupportedOperatingSystem($val)
{
$this->_propDict["minimumSupportedOperatingSystem"] = $val;
return $this;
} | Sets the minimumSupportedOperatingSystem
The value for the minimum applicable operating system.
@param AndroidMinimumOperatingSystem $val The minimumSupportedOperatingSystem
@return AndroidLobApp | setMinimumSupportedOperatingSystem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getPackageId()
{
if (array_key_exists("packageId", $this->_propDict)) {
return $this->_propDict["packageId"];
} else {
return null;
}
} | Gets the packageId
The package identifier.
@return string|null The packageId | getPackageId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setPackageId($val)
{
$this->_propDict["packageId"] = $val;
return $this;
} | Sets the packageId
The package identifier.
@param string $val The packageId
@return AndroidLobApp | setPackageId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getVersionCode()
{
if (array_key_exists("versionCode", $this->_propDict)) {
return $this->_propDict["versionCode"];
} else {
return null;
}
} | Gets the versionCode
The version code of Android Line of Business (LoB) app.
@return string|null The versionCode | getVersionCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setVersionCode($val)
{
$this->_propDict["versionCode"] = $val;
return $this;
} | Sets the versionCode
The version code of Android Line of Business (LoB) app.
@param string $val The versionCode
@return AndroidLobApp | setVersionCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getVersionName()
{
if (array_key_exists("versionName", $this->_propDict)) {
return $this->_propDict["versionName"];
} else {
return null;
}
} | Gets the versionName
The version name of Android Line of Business (LoB) app.
@return string|null The versionName | getVersionName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function setVersionName($val)
{
$this->_propDict["versionName"] = $val;
return $this;
} | Sets the versionName
The version name of Android Line of Business (LoB) app.
@param string $val The versionName
@return AndroidLobApp | setVersionName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidLobApp.php | MIT |
public function getAuthenticationType()
{
if (array_key_exists("authenticationType", $this->_propDict)) {
if (is_a($this->_propDict["authenticationType"], "\Beta\Microsoft\Graph\Model\SignInFrequencyAuthenticationType") || is_null($this->_propDict["authenticationType"])) {
return $this->_propDict["authenticationType"];
} else {
$this->_propDict["authenticationType"] = new SignInFrequencyAuthenticationType($this->_propDict["authenticationType"]);
return $this->_propDict["authenticationType"];
}
}
return null;
} | Gets the authenticationType
The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
@return SignInFrequencyAuthenticationType|null The authenticationType | getAuthenticationType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setAuthenticationType($val)
{
$this->_propDict["authenticationType"] = $val;
return $this;
} | Sets the authenticationType
The possible values are primaryAndSecondaryAuthentication, secondaryAuthentication, unknownFutureValue.
@param SignInFrequencyAuthenticationType $val The value to assign to the authenticationType
@return SignInFrequencySessionControl The SignInFrequencySessionControl | setAuthenticationType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function getFrequencyInterval()
{
if (array_key_exists("frequencyInterval", $this->_propDict)) {
if (is_a($this->_propDict["frequencyInterval"], "\Beta\Microsoft\Graph\Model\SignInFrequencyInterval") || is_null($this->_propDict["frequencyInterval"])) {
return $this->_propDict["frequencyInterval"];
} else {
$this->_propDict["frequencyInterval"] = new SignInFrequencyInterval($this->_propDict["frequencyInterval"]);
return $this->_propDict["frequencyInterval"];
}
}
return null;
} | Gets the frequencyInterval
The possible values are timeBased, everyTime, unknownFutureValue.
@return SignInFrequencyInterval|null The frequencyInterval | getFrequencyInterval | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setFrequencyInterval($val)
{
$this->_propDict["frequencyInterval"] = $val;
return $this;
} | Sets the frequencyInterval
The possible values are timeBased, everyTime, unknownFutureValue.
@param SignInFrequencyInterval $val The value to assign to the frequencyInterval
@return SignInFrequencySessionControl The SignInFrequencySessionControl | setFrequencyInterval | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function getType()
{
if (array_key_exists("type", $this->_propDict)) {
if (is_a($this->_propDict["type"], "\Beta\Microsoft\Graph\Model\SigninFrequencyType") || is_null($this->_propDict["type"])) {
return $this->_propDict["type"];
} else {
$this->_propDict["type"] = new SigninFrequencyType($this->_propDict["type"]);
return $this->_propDict["type"];
}
}
return null;
} | Gets the type
Possible values are: days, hours, or null if frequencyInterval is everyTime .
@return SigninFrequencyType|null The type | getType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setType($val)
{
$this->_propDict["type"] = $val;
return $this;
} | Sets the type
Possible values are: days, hours, or null if frequencyInterval is everyTime .
@param SigninFrequencyType $val The value to assign to the type
@return SignInFrequencySessionControl The SignInFrequencySessionControl | setType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function getValue()
{
if (array_key_exists("value", $this->_propDict)) {
return $this->_propDict["value"];
} else {
return null;
}
} | Gets the value
The number of days or hours.
@return int|null The value | getValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
public function setValue($val)
{
$this->_propDict["value"] = $val;
return $this;
} | Sets the value
The number of days or hours.
@param int $val The value of the value
@return SignInFrequencySessionControl | setValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SignInFrequencySessionControl.php | MIT |
function handle($properties, callable $callback) {
$usedProperties = [];
foreach ((array)$properties as $propertyName) {
if (array_key_exists($propertyName, $this->mutations) && !isset($this->result[$propertyName])) {
$usedProperties[] = $propertyName;
// HTTP Accepted
$this->result[$propertyName] = 202;
}
}
// Only registering if there's any unhandled properties.
if (!$usedProperties) {
return;
}
$this->propertyUpdateCallbacks[] = [
// If the original argument to this method was a string, we need
// to also make sure that it stays that way, so the commit function
// knows how to format the arguments to the callback.
is_string($properties) ? $properties : $usedProperties,
$callback
];
} | Call this function if you wish to handle updating certain properties.
For instance, your class may be responsible for handling updates for the
{DAV:}displayname property.
In that case, call this method with the first argument
"{DAV:}displayname" and a second argument that's a method that does the
actual updating.
It's possible to specify more than one property as an array.
The callback must return a boolean or an it. If the result is true, the
operation was considered successful. If it's false, it's consided
failed.
If the result is an integer, we'll use that integer as the http status
code associated with the operation.
@param string|string[] $properties
@param callable $callback
@return void | handle | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function handleRemaining(callable $callback) {
$properties = $this->getRemainingMutations();
if (!$properties) {
// Nothing to do, don't register callback
return;
}
foreach ($properties as $propertyName) {
// HTTP Accepted
$this->result[$propertyName] = 202;
$this->propertyUpdateCallbacks[] = [
$properties,
$callback
];
}
} | Call this function if you wish to handle _all_ properties that haven't
been handled by anything else yet. Note that you effectively claim with
this that you promise to process _all_ properties that are coming in.
@param callable $callback
@return void | handleRemaining | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function setResultCode($properties, $resultCode) {
foreach ((array)$properties as $propertyName) {
$this->result[$propertyName] = $resultCode;
}
if ($resultCode >= 400) {
$this->failed = true;
}
} | Sets the result code for one or more properties.
@param string|string[] $properties
@param int $resultCode
@return void | setResultCode | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function setRemainingResultCode($resultCode) {
$this->setResultCode(
$this->getRemainingMutations(),
$resultCode
);
} | Sets the result code for all properties that did not have a result yet.
@param int $resultCode
@return void | setRemainingResultCode | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getRemainingMutations() {
$remaining = [];
foreach ($this->mutations as $propertyName => $propValue) {
if (!isset($this->result[$propertyName])) {
$remaining[] = $propertyName;
}
}
return $remaining;
} | Returns the list of properties that don't have a result code yet.
This method returns a list of property names, but not its values.
@return string[] | getRemainingMutations | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getRemainingValues() {
$remaining = [];
foreach ($this->mutations as $propertyName => $propValue) {
if (!isset($this->result[$propertyName])) {
$remaining[$propertyName] = $propValue;
}
}
return $remaining;
} | Returns the list of properties that don't have a result code yet.
This method returns list of properties and their values.
@return array | getRemainingValues | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function commit() {
// First we validate if every property has a handler
foreach ($this->mutations as $propertyName => $value) {
if (!isset($this->result[$propertyName])) {
$this->failed = true;
$this->result[$propertyName] = 403;
}
}
foreach ($this->propertyUpdateCallbacks as $callbackInfo) {
if ($this->failed) {
break;
}
if (is_string($callbackInfo[0])) {
$this->doCallbackSingleProp($callbackInfo[0], $callbackInfo[1]);
} else {
$this->doCallbackMultiProp($callbackInfo[0], $callbackInfo[1]);
}
}
/**
* If anywhere in this operation updating a property failed, we must
* update all other properties accordingly.
*/
if ($this->failed) {
foreach ($this->result as $propertyName => $status) {
if ($status === 202) {
// Failed dependency
$this->result[$propertyName] = 424;
}
}
}
return !$this->failed;
} | Performs the actual update, and calls all callbacks.
This method returns true or false depending on if the operation was
successful.
@return bool | commit | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
private function doCallBackSingleProp($propertyName, callable $callback) {
$result = $callback($this->mutations[$propertyName]);
if (is_bool($result)) {
if ($result) {
if (is_null($this->mutations[$propertyName])) {
// Delete
$result = 204;
} else {
// Update
$result = 200;
}
} else {
// Fail
$result = 403;
}
}
if (!is_int($result)) {
throw new UnexpectedValueException('A callback sent to handle() did not return an int or a bool');
}
$this->result[$propertyName] = $result;
if ($result >= 400) {
$this->failed = true;
}
} | Executes a property callback with the single-property syntax.
@param string $propertyName
@param callable $callback
@return void | doCallBackSingleProp | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
private function doCallBackMultiProp(array $propertyList, callable $callback) {
$argument = [];
foreach ($propertyList as $propertyName) {
$argument[$propertyName] = $this->mutations[$propertyName];
}
$result = $callback($argument);
if (is_array($result)) {
foreach ($propertyList as $propertyName) {
if (!isset($result[$propertyName])) {
$resultCode = 500;
} else {
$resultCode = $result[$propertyName];
}
if ($resultCode >= 400) {
$this->failed = true;
}
$this->result[$propertyName] = $resultCode;
}
} elseif ($result === true) {
// Success
foreach ($argument as $propertyName => $propertyValue) {
$this->result[$propertyName] = is_null($propertyValue) ? 204 : 200;
}
} elseif ($result === false) {
// Fail :(
$this->failed = true;
foreach ($propertyList as $propertyName) {
$this->result[$propertyName] = 403;
}
} else {
throw new UnexpectedValueException('A callback sent to handle() did not return an array or a bool');
}
} | Executes a property callback with the multi-property syntax.
@param array $propertyList
@param callable $callback
@return void | doCallBackMultiProp | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getResult() {
return $this->result;
} | Returns the result of the operation.
@return array | getResult | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
function getMutations() {
return $this->mutations;
} | Returns the full list of mutations
@return array | getMutations | php | xiebruce/PicUploader | vendor/sabre/dav/lib/DAV/PropPatch.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/sabre/dav/lib/DAV/PropPatch.php | MIT |
public function getEventDateTime()
{
if (array_key_exists("eventDateTime", $this->_propDict)) {
if (is_a($this->_propDict["eventDateTime"], "\DateTime") || is_null($this->_propDict["eventDateTime"])) {
return $this->_propDict["eventDateTime"];
} else {
$this->_propDict["eventDateTime"] = new \DateTime($this->_propDict["eventDateTime"]);
return $this->_propDict["eventDateTime"];
}
}
return null;
} | Gets the eventDateTime
Date and time when the event occurred.
@return \DateTime|null The eventDateTime | getEventDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | MIT |
public function setEventDateTime($val)
{
$this->_propDict["eventDateTime"] = $val;
return $this;
} | Sets the eventDateTime
Date and time when the event occurred.
@param \DateTime $val The value to assign to the eventDateTime
@return MessageUnpinnedEventMessageDetail The MessageUnpinnedEventMessageDetail | setEventDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | MIT |
public function getInitiator()
{
if (array_key_exists("initiator", $this->_propDict)) {
if (is_a($this->_propDict["initiator"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["initiator"])) {
return $this->_propDict["initiator"];
} else {
$this->_propDict["initiator"] = new IdentitySet($this->_propDict["initiator"]);
return $this->_propDict["initiator"];
}
}
return null;
} | Gets the initiator
Initiator of the event.
@return IdentitySet|null The initiator | getInitiator | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | MIT |
public function setInitiator($val)
{
$this->_propDict["initiator"] = $val;
return $this;
} | Sets the initiator
Initiator of the event.
@param IdentitySet $val The value to assign to the initiator
@return MessageUnpinnedEventMessageDetail The MessageUnpinnedEventMessageDetail | setInitiator | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/MessageUnpinnedEventMessageDetail.php | MIT |
public function __construct(array $data)
{
parent::__construct($data);
$this->expires = new DateTime($this->getDataProperty('expires'));
$this->reference = $this->getDataProperty('copy_reference');
$this->setMetadata();
} | Create a new CopyReference instance
@param array $data | __construct | php | xiebruce/PicUploader | vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | MIT |
public function getExpirationDate()
{
return $this->expires;
} | Get the expiration date of the copy reference
@return DateTime | getExpirationDate | php | xiebruce/PicUploader | vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | MIT |
public function getMetadata()
{
return $this->metadata;
} | The metadata for the file/folder
@return \Kunnu\Dropbox\Models\FileMetadata|\Kunnu\Dropbox\Models\FolderMetadata | getMetadata | php | xiebruce/PicUploader | vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Models/CopyReference.php | MIT |
public function getAdditionalInformation()
{
if (array_key_exists("additionalInformation", $this->_propDict)) {
return $this->_propDict["additionalInformation"];
} else {
return null;
}
} | Gets the additionalInformation
Additional information that is sent to the customer when an appointment is confirmed.
@return string|null The additionalInformation | getAdditionalInformation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setAdditionalInformation($val)
{
$this->_propDict["additionalInformation"] = $val;
return $this;
} | Sets the additionalInformation
Additional information that is sent to the customer when an appointment is confirmed.
@param string $val The additionalInformation
@return BookingService | setAdditionalInformation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getCustomQuestions()
{
if (array_key_exists("customQuestions", $this->_propDict)) {
return $this->_propDict["customQuestions"];
} else {
return null;
}
} | Gets the customQuestions
Contains the set of custom questions associated with a particular service.
@return array|null The customQuestions | getCustomQuestions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setCustomQuestions($val)
{
$this->_propDict["customQuestions"] = $val;
return $this;
} | Sets the customQuestions
Contains the set of custom questions associated with a particular service.
@param BookingQuestionAssignment[] $val The customQuestions
@return BookingService | setCustomQuestions | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultDuration()
{
if (array_key_exists("defaultDuration", $this->_propDict)) {
if (is_a($this->_propDict["defaultDuration"], "\DateInterval") || is_null($this->_propDict["defaultDuration"])) {
return $this->_propDict["defaultDuration"];
} else {
$this->_propDict["defaultDuration"] = new \DateInterval($this->_propDict["defaultDuration"]);
return $this->_propDict["defaultDuration"];
}
}
return null;
} | Gets the defaultDuration
The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
@return \DateInterval|null The defaultDuration | getDefaultDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultDuration($val)
{
$this->_propDict["defaultDuration"] = $val;
return $this;
} | Sets the defaultDuration
The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
@param \DateInterval $val The defaultDuration
@return BookingService | setDefaultDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultLocation()
{
if (array_key_exists("defaultLocation", $this->_propDict)) {
if (is_a($this->_propDict["defaultLocation"], "\Beta\Microsoft\Graph\Model\Location") || is_null($this->_propDict["defaultLocation"])) {
return $this->_propDict["defaultLocation"];
} else {
$this->_propDict["defaultLocation"] = new Location($this->_propDict["defaultLocation"]);
return $this->_propDict["defaultLocation"];
}
}
return null;
} | Gets the defaultLocation
The default physical location for the service.
@return Location|null The defaultLocation | getDefaultLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultLocation($val)
{
$this->_propDict["defaultLocation"] = $val;
return $this;
} | Sets the defaultLocation
The default physical location for the service.
@param Location $val The defaultLocation
@return BookingService | setDefaultLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultPrice()
{
if (array_key_exists("defaultPrice", $this->_propDict)) {
return $this->_propDict["defaultPrice"];
} else {
return null;
}
} | Gets the defaultPrice
The default monetary price for the service.
@return float|null The defaultPrice | getDefaultPrice | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultPrice($val)
{
$this->_propDict["defaultPrice"] = floatval($val);
return $this;
} | Sets the defaultPrice
The default monetary price for the service.
@param float $val The defaultPrice
@return BookingService | setDefaultPrice | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultPriceType()
{
if (array_key_exists("defaultPriceType", $this->_propDict)) {
if (is_a($this->_propDict["defaultPriceType"], "\Beta\Microsoft\Graph\Model\BookingPriceType") || is_null($this->_propDict["defaultPriceType"])) {
return $this->_propDict["defaultPriceType"];
} else {
$this->_propDict["defaultPriceType"] = new BookingPriceType($this->_propDict["defaultPriceType"]);
return $this->_propDict["defaultPriceType"];
}
}
return null;
} | Gets the defaultPriceType
The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue.
@return BookingPriceType|null The defaultPriceType | getDefaultPriceType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultPriceType($val)
{
$this->_propDict["defaultPriceType"] = $val;
return $this;
} | Sets the defaultPriceType
The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue.
@param BookingPriceType $val The defaultPriceType
@return BookingService | setDefaultPriceType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDefaultReminders()
{
if (array_key_exists("defaultReminders", $this->_propDict)) {
return $this->_propDict["defaultReminders"];
} else {
return null;
}
} | Gets the defaultReminders
The value of this property is only available when reading an individual booking service by id.
@return array|null The defaultReminders | getDefaultReminders | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDefaultReminders($val)
{
$this->_propDict["defaultReminders"] = $val;
return $this;
} | Sets the defaultReminders
The value of this property is only available when reading an individual booking service by id.
@param BookingReminder[] $val The defaultReminders
@return BookingService | setDefaultReminders | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
} | Gets the description
A text description for the service.
@return string|null The description | getDescription | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
} | Sets the description
A text description for the service.
@param string $val The description
@return BookingService | setDescription | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getIsAnonymousJoinEnabled()
{
if (array_key_exists("isAnonymousJoinEnabled", $this->_propDict)) {
return $this->_propDict["isAnonymousJoinEnabled"];
} else {
return null;
}
} | Gets the isAnonymousJoinEnabled
True if an anonymousJoinWebUrl(webrtcUrl) will be generated for the appointment booked for this service.
@return bool|null The isAnonymousJoinEnabled | getIsAnonymousJoinEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setIsAnonymousJoinEnabled($val)
{
$this->_propDict["isAnonymousJoinEnabled"] = boolval($val);
return $this;
} | Sets the isAnonymousJoinEnabled
True if an anonymousJoinWebUrl(webrtcUrl) will be generated for the appointment booked for this service.
@param bool $val The isAnonymousJoinEnabled
@return BookingService | setIsAnonymousJoinEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getIsHiddenFromCustomers()
{
if (array_key_exists("isHiddenFromCustomers", $this->_propDict)) {
return $this->_propDict["isHiddenFromCustomers"];
} else {
return null;
}
} | Gets the isHiddenFromCustomers
True means this service is not available to customers for booking.
@return bool|null The isHiddenFromCustomers | getIsHiddenFromCustomers | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setIsHiddenFromCustomers($val)
{
$this->_propDict["isHiddenFromCustomers"] = boolval($val);
return $this;
} | Sets the isHiddenFromCustomers
True means this service is not available to customers for booking.
@param bool $val The isHiddenFromCustomers
@return BookingService | setIsHiddenFromCustomers | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getIsLocationOnline()
{
if (array_key_exists("isLocationOnline", $this->_propDict)) {
return $this->_propDict["isLocationOnline"];
} else {
return null;
}
} | Gets the isLocationOnline
True indicates that the appointments for the service will be held online. Default value is false.
@return bool|null The isLocationOnline | getIsLocationOnline | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setIsLocationOnline($val)
{
$this->_propDict["isLocationOnline"] = boolval($val);
return $this;
} | Sets the isLocationOnline
True indicates that the appointments for the service will be held online. Default value is false.
@param bool $val The isLocationOnline
@return BookingService | setIsLocationOnline | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getLanguageTag()
{
if (array_key_exists("languageTag", $this->_propDict)) {
return $this->_propDict["languageTag"];
} else {
return null;
}
} | Gets the languageTag
The language of the self service booking page.
@return string|null The languageTag | getLanguageTag | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setLanguageTag($val)
{
$this->_propDict["languageTag"] = $val;
return $this;
} | Sets the languageTag
The language of the self service booking page.
@param string $val The languageTag
@return BookingService | setLanguageTag | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getMaximumAttendeesCount()
{
if (array_key_exists("maximumAttendeesCount", $this->_propDict)) {
return $this->_propDict["maximumAttendeesCount"];
} else {
return null;
}
} | Gets the maximumAttendeesCount
The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.
@return int|null The maximumAttendeesCount | getMaximumAttendeesCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setMaximumAttendeesCount($val)
{
$this->_propDict["maximumAttendeesCount"] = intval($val);
return $this;
} | Sets the maximumAttendeesCount
The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.
@param int $val The maximumAttendeesCount
@return BookingService | setMaximumAttendeesCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getNotes()
{
if (array_key_exists("notes", $this->_propDict)) {
return $this->_propDict["notes"];
} else {
return null;
}
} | Gets the notes
Additional information about this service.
@return string|null The notes | getNotes | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setNotes($val)
{
$this->_propDict["notes"] = $val;
return $this;
} | Sets the notes
Additional information about this service.
@param string $val The notes
@return BookingService | setNotes | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getPostBuffer()
{
if (array_key_exists("postBuffer", $this->_propDict)) {
if (is_a($this->_propDict["postBuffer"], "\DateInterval") || is_null($this->_propDict["postBuffer"])) {
return $this->_propDict["postBuffer"];
} else {
$this->_propDict["postBuffer"] = new \DateInterval($this->_propDict["postBuffer"]);
return $this->_propDict["postBuffer"];
}
}
return null;
} | Gets the postBuffer
The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.
@return \DateInterval|null The postBuffer | getPostBuffer | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setPostBuffer($val)
{
$this->_propDict["postBuffer"] = $val;
return $this;
} | Sets the postBuffer
The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.
@param \DateInterval $val The postBuffer
@return BookingService | setPostBuffer | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function getPreBuffer()
{
if (array_key_exists("preBuffer", $this->_propDict)) {
if (is_a($this->_propDict["preBuffer"], "\DateInterval") || is_null($this->_propDict["preBuffer"])) {
return $this->_propDict["preBuffer"];
} else {
$this->_propDict["preBuffer"] = new \DateInterval($this->_propDict["preBuffer"]);
return $this->_propDict["preBuffer"];
}
}
return null;
} | Gets the preBuffer
The time to buffer before an appointment for this service can start.
@return \DateInterval|null The preBuffer | getPreBuffer | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
public function setPreBuffer($val)
{
$this->_propDict["preBuffer"] = $val;
return $this;
} | Sets the preBuffer
The time to buffer before an appointment for this service can start.
@param \DateInterval $val The preBuffer
@return BookingService | setPreBuffer | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/BookingService.php | MIT |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.