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 getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
} | Gets the name
Human-readable name of the synchronization rule. Not nullable.
@return string|null The name | getName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
} | Sets the name
Human-readable name of the synchronization rule. Not nullable.
@param string $val The value of the name
@return SynchronizationRule | setName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function getObjectMappings()
{
if (array_key_exists("objectMappings", $this->_propDict)) {
if (is_a($this->_propDict["objectMappings"], "\Beta\Microsoft\Graph\Model\ObjectMapping") || is_null($this->_propDict["objectMappings"])) {
return $this->_propDict["objectMappings"];
} else {
$this->_propDict["objectMappings"] = new ObjectMapping($this->_propDict["objectMappings"]);
return $this->_propDict["objectMappings"];
}
}
return null;
} | Gets the objectMappings
Collection of object mappings supported by the rule. Tells the synchronization engine which objects should be synchronized.
@return ObjectMapping|null The objectMappings | getObjectMappings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function setObjectMappings($val)
{
$this->_propDict["objectMappings"] = $val;
return $this;
} | Sets the objectMappings
Collection of object mappings supported by the rule. Tells the synchronization engine which objects should be synchronized.
@param ObjectMapping $val The value to assign to the objectMappings
@return SynchronizationRule The SynchronizationRule | setObjectMappings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function getPriority()
{
if (array_key_exists("priority", $this->_propDict)) {
return $this->_propDict["priority"];
} else {
return null;
}
} | Gets the priority
Priority relative to other rules in the synchronizationSchema. Rules with the lowest priority number will be processed first.
@return int|null The priority | getPriority | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function setPriority($val)
{
$this->_propDict["priority"] = $val;
return $this;
} | Sets the priority
Priority relative to other rules in the synchronizationSchema. Rules with the lowest priority number will be processed first.
@param int $val The value of the priority
@return SynchronizationRule | setPriority | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function getSourceDirectoryName()
{
if (array_key_exists("sourceDirectoryName", $this->_propDict)) {
return $this->_propDict["sourceDirectoryName"];
} else {
return null;
}
} | Gets the sourceDirectoryName
Name of the source directory. Must match one of the directory definitions in synchronizationSchema.
@return string|null The sourceDirectoryName | getSourceDirectoryName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function setSourceDirectoryName($val)
{
$this->_propDict["sourceDirectoryName"] = $val;
return $this;
} | Sets the sourceDirectoryName
Name of the source directory. Must match one of the directory definitions in synchronizationSchema.
@param string $val The value of the sourceDirectoryName
@return SynchronizationRule | setSourceDirectoryName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function getTargetDirectoryName()
{
if (array_key_exists("targetDirectoryName", $this->_propDict)) {
return $this->_propDict["targetDirectoryName"];
} else {
return null;
}
} | Gets the targetDirectoryName
Name of the target directory. Must match one of the directory definitions in synchronizationSchema.
@return string|null The targetDirectoryName | getTargetDirectoryName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function setTargetDirectoryName($val)
{
$this->_propDict["targetDirectoryName"] = $val;
return $this;
} | Sets the targetDirectoryName
Name of the target directory. Must match one of the directory definitions in synchronizationSchema.
@param string $val The value of the targetDirectoryName
@return SynchronizationRule | setTargetDirectoryName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SynchronizationRule.php | MIT |
public function getIsSingleLineQuestion()
{
if (array_key_exists("isSingleLineQuestion", $this->_propDict)) {
return $this->_propDict["isSingleLineQuestion"];
} else {
return null;
}
} | Gets the isSingleLineQuestion
Indicates whether the answer will be in single or multiple line format.
@return bool|null The isSingleLineQuestion | getIsSingleLineQuestion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | MIT |
public function setIsSingleLineQuestion($val)
{
$this->_propDict["isSingleLineQuestion"] = $val;
return $this;
} | Sets the isSingleLineQuestion
Indicates whether the answer will be in single or multiple line format.
@param bool $val The value of the isSingleLineQuestion
@return AccessPackageTextInputQuestion | setIsSingleLineQuestion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | MIT |
public function getRegexPattern()
{
if (array_key_exists("regexPattern", $this->_propDict)) {
return $this->_propDict["regexPattern"];
} else {
return null;
}
} | Gets the regexPattern
This is the regex pattern that the corresponding text answer must follow.
@return string|null The regexPattern | getRegexPattern | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | MIT |
public function setRegexPattern($val)
{
$this->_propDict["regexPattern"] = $val;
return $this;
} | Sets the regexPattern
This is the regex pattern that the corresponding text answer must follow.
@param string $val The value of the regexPattern
@return AccessPackageTextInputQuestion | setRegexPattern | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AccessPackageTextInputQuestion.php | MIT |
public function getEmail()
{
if (array_key_exists("email", $this->_propDict)) {
return $this->_propDict["email"];
} else {
return null;
}
} | Gets the email
Represents the provisioned email address.
@return string|null The email | getEmail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php | MIT |
public function setEmail($val)
{
$this->_propDict["email"] = $val;
return $this;
} | Sets the email
Represents the provisioned email address.
@param string $val The value of the email
@return ProvisionChannelEmailResult | setEmail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ProvisionChannelEmailResult.php | MIT |
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
return $this->_propDict["status"];
} else {
return null;
}
} | Gets the status
Status of imported device identity
@return bool|null The status | getStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php | MIT |
public function setStatus($val)
{
$this->_propDict["status"] = boolval($val);
return $this;
} | Sets the status
Status of imported device identity
@param bool $val The status
@return ImportedAppleDeviceIdentityResult | setStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ImportedAppleDeviceIdentityResult.php | MIT |
public function getItem()
{
if (array_key_exists("item", $this->_propDict)) {
if (is_a($this->_propDict["item"], "\Microsoft\Graph\Model\OutlookItem") || is_null($this->_propDict["item"])) {
return $this->_propDict["item"];
} else {
$this->_propDict["item"] = new OutlookItem($this->_propDict["item"]);
return $this->_propDict["item"];
}
}
return null;
} | Gets the item
The attached message or event. Navigation property.
@return OutlookItem|null The item | getItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php | MIT |
public function setItem($val)
{
$this->_propDict["item"] = $val;
return $this;
} | Sets the item
The attached message or event. Navigation property.
@param OutlookItem $val The item
@return ItemAttachment | setItem | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/ItemAttachment.php | MIT |
public function getAppIdentifier()
{
if (array_key_exists("appIdentifier", $this->_propDict)) {
return $this->_propDict["appIdentifier"];
} else {
return null;
}
} | Gets the appIdentifier
The Identity Name.
@return string|null The appIdentifier | getAppIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function setAppIdentifier($val)
{
$this->_propDict["appIdentifier"] = $val;
return $this;
} | Sets the appIdentifier
The Identity Name.
@param string $val The appIdentifier
@return AndroidForWorkApp | setAppIdentifier | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function getAppStoreUrl()
{
if (array_key_exists("appStoreUrl", $this->_propDict)) {
return $this->_propDict["appStoreUrl"];
} else {
return null;
}
} | Gets the appStoreUrl
The Play for Work Store app URL.
@return string|null The appStoreUrl | getAppStoreUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function setAppStoreUrl($val)
{
$this->_propDict["appStoreUrl"] = $val;
return $this;
} | Sets the appStoreUrl
The Play for Work Store app URL.
@param string $val The appStoreUrl
@return AndroidForWorkApp | setAppStoreUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.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/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function setPackageId($val)
{
$this->_propDict["packageId"] = $val;
return $this;
} | Sets the packageId
The package identifier.
@param string $val The packageId
@return AndroidForWorkApp | setPackageId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function getTotalLicenseCount()
{
if (array_key_exists("totalLicenseCount", $this->_propDict)) {
return $this->_propDict["totalLicenseCount"];
} else {
return null;
}
} | Gets the totalLicenseCount
The total number of VPP licenses.
@return int|null The totalLicenseCount | getTotalLicenseCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function setTotalLicenseCount($val)
{
$this->_propDict["totalLicenseCount"] = intval($val);
return $this;
} | Sets the totalLicenseCount
The total number of VPP licenses.
@param int $val The totalLicenseCount
@return AndroidForWorkApp | setTotalLicenseCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function getUsedLicenseCount()
{
if (array_key_exists("usedLicenseCount", $this->_propDict)) {
return $this->_propDict["usedLicenseCount"];
} else {
return null;
}
} | Gets the usedLicenseCount
The number of VPP licenses in use.
@return int|null The usedLicenseCount | getUsedLicenseCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function setUsedLicenseCount($val)
{
$this->_propDict["usedLicenseCount"] = intval($val);
return $this;
} | Sets the usedLicenseCount
The number of VPP licenses in use.
@param int $val The usedLicenseCount
@return AndroidForWorkApp | setUsedLicenseCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AndroidForWorkApp.php | MIT |
public function getConnectorServerName()
{
if (array_key_exists("connectorServerName", $this->_propDict)) {
return $this->_propDict["connectorServerName"];
} else {
return null;
}
} | Gets the connectorServerName
The name of the server hosting the Exchange Connector.
@return string|null The connectorServerName | getConnectorServerName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setConnectorServerName($val)
{
$this->_propDict["connectorServerName"] = $val;
return $this;
} | Sets the connectorServerName
The name of the server hosting the Exchange Connector.
@param string $val The connectorServerName
@return DeviceManagementExchangeConnector | setConnectorServerName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getExchangeAlias()
{
if (array_key_exists("exchangeAlias", $this->_propDict)) {
return $this->_propDict["exchangeAlias"];
} else {
return null;
}
} | Gets the exchangeAlias
An alias assigned to the Exchange server
@return string|null The exchangeAlias | getExchangeAlias | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setExchangeAlias($val)
{
$this->_propDict["exchangeAlias"] = $val;
return $this;
} | Sets the exchangeAlias
An alias assigned to the Exchange server
@param string $val The exchangeAlias
@return DeviceManagementExchangeConnector | setExchangeAlias | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getExchangeConnectorType()
{
if (array_key_exists("exchangeConnectorType", $this->_propDict)) {
if (is_a($this->_propDict["exchangeConnectorType"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorType") || is_null($this->_propDict["exchangeConnectorType"])) {
return $this->_propDict["exchangeConnectorType"];
} else {
$this->_propDict["exchangeConnectorType"] = new DeviceManagementExchangeConnectorType($this->_propDict["exchangeConnectorType"]);
return $this->_propDict["exchangeConnectorType"];
}
}
return null;
} | Gets the exchangeConnectorType
The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated, unknownFutureValue.
@return DeviceManagementExchangeConnectorType|null The exchangeConnectorType | getExchangeConnectorType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setExchangeConnectorType($val)
{
$this->_propDict["exchangeConnectorType"] = $val;
return $this;
} | Sets the exchangeConnectorType
The type of Exchange Connector Configured. Possible values are: onPremises, hosted, serviceToService, dedicated, unknownFutureValue.
@param DeviceManagementExchangeConnectorType $val The exchangeConnectorType
@return DeviceManagementExchangeConnector | setExchangeConnectorType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getExchangeOrganization()
{
if (array_key_exists("exchangeOrganization", $this->_propDict)) {
return $this->_propDict["exchangeOrganization"];
} else {
return null;
}
} | Gets the exchangeOrganization
Exchange Organization to the Exchange server
@return string|null The exchangeOrganization | getExchangeOrganization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setExchangeOrganization($val)
{
$this->_propDict["exchangeOrganization"] = $val;
return $this;
} | Sets the exchangeOrganization
Exchange Organization to the Exchange server
@param string $val The exchangeOrganization
@return DeviceManagementExchangeConnector | setExchangeOrganization | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getLastSyncDateTime()
{
if (array_key_exists("lastSyncDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastSyncDateTime"], "\DateTime") || is_null($this->_propDict["lastSyncDateTime"])) {
return $this->_propDict["lastSyncDateTime"];
} else {
$this->_propDict["lastSyncDateTime"] = new \DateTime($this->_propDict["lastSyncDateTime"]);
return $this->_propDict["lastSyncDateTime"];
}
}
return null;
} | Gets the lastSyncDateTime
Last sync time for the Exchange Connector
@return \DateTime|null The lastSyncDateTime | getLastSyncDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setLastSyncDateTime($val)
{
$this->_propDict["lastSyncDateTime"] = $val;
return $this;
} | Sets the lastSyncDateTime
Last sync time for the Exchange Connector
@param \DateTime $val The lastSyncDateTime
@return DeviceManagementExchangeConnector | setLastSyncDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getPrimarySmtpAddress()
{
if (array_key_exists("primarySmtpAddress", $this->_propDict)) {
return $this->_propDict["primarySmtpAddress"];
} else {
return null;
}
} | Gets the primarySmtpAddress
Email address used to configure the Service To Service Exchange Connector.
@return string|null The primarySmtpAddress | getPrimarySmtpAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setPrimarySmtpAddress($val)
{
$this->_propDict["primarySmtpAddress"] = $val;
return $this;
} | Sets the primarySmtpAddress
Email address used to configure the Service To Service Exchange Connector.
@param string $val The primarySmtpAddress
@return DeviceManagementExchangeConnector | setPrimarySmtpAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getServerName()
{
if (array_key_exists("serverName", $this->_propDict)) {
return $this->_propDict["serverName"];
} else {
return null;
}
} | Gets the serverName
The name of the Exchange server.
@return string|null The serverName | getServerName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setServerName($val)
{
$this->_propDict["serverName"] = $val;
return $this;
} | Sets the serverName
The name of the Exchange server.
@param string $val The serverName
@return DeviceManagementExchangeConnector | setServerName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "\Microsoft\Graph\Model\DeviceManagementExchangeConnectorStatus") || is_null($this->_propDict["status"])) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new DeviceManagementExchangeConnectorStatus($this->_propDict["status"]);
return $this->_propDict["status"];
}
}
return null;
} | Gets the status
Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected, unknownFutureValue.
@return DeviceManagementExchangeConnectorStatus|null The status | getStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setStatus($val)
{
$this->_propDict["status"] = $val;
return $this;
} | Sets the status
Exchange Connector Status. Possible values are: none, connectionPending, connected, disconnected, unknownFutureValue.
@param DeviceManagementExchangeConnectorStatus $val The status
@return DeviceManagementExchangeConnector | setStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getVersion()
{
if (array_key_exists("version", $this->_propDict)) {
return $this->_propDict["version"];
} else {
return null;
}
} | Gets the version
The version of the ExchangeConnectorAgent
@return string|null The version | getVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function setVersion($val)
{
$this->_propDict["version"] = $val;
return $this;
} | Sets the version
The version of the ExchangeConnectorAgent
@param string $val The version
@return DeviceManagementExchangeConnector | setVersion | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/DeviceManagementExchangeConnector.php | MIT |
public function getIsExpirationRequired()
{
if (array_key_exists("isExpirationRequired", $this->_propDict)) {
return $this->_propDict["isExpirationRequired"];
} else {
return null;
}
} | Gets the isExpirationRequired
Indicates whether expiration is required or if it's a permanently active assignment or eligibility.
@return bool|null The isExpirationRequired | getIsExpirationRequired | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | MIT |
public function setIsExpirationRequired($val)
{
$this->_propDict["isExpirationRequired"] = boolval($val);
return $this;
} | Sets the isExpirationRequired
Indicates whether expiration is required or if it's a permanently active assignment or eligibility.
@param bool $val The isExpirationRequired
@return UnifiedRoleManagementPolicyExpirationRule | setIsExpirationRequired | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | MIT |
public function getMaximumDuration()
{
if (array_key_exists("maximumDuration", $this->_propDict)) {
if (is_a($this->_propDict["maximumDuration"], "\DateInterval") || is_null($this->_propDict["maximumDuration"])) {
return $this->_propDict["maximumDuration"];
} else {
$this->_propDict["maximumDuration"] = new \DateInterval($this->_propDict["maximumDuration"]);
return $this->_propDict["maximumDuration"];
}
}
return null;
} | Gets the maximumDuration
The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true.
@return \DateInterval|null The maximumDuration | getMaximumDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | MIT |
public function setMaximumDuration($val)
{
$this->_propDict["maximumDuration"] = $val;
return $this;
} | Sets the maximumDuration
The maximum duration allowed for eligibility or assignment which is not permanent. Required when isExpirationRequired is true.
@param \DateInterval $val The maximumDuration
@return UnifiedRoleManagementPolicyExpirationRule | setMaximumDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementPolicyExpirationRule.php | MIT |
public function getEffectiveValue()
{
if (array_key_exists("effectiveValue", $this->_propDict)) {
if (is_a($this->_propDict["effectiveValue"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateValue") || is_null($this->_propDict["effectiveValue"])) {
return $this->_propDict["effectiveValue"];
} else {
$this->_propDict["effectiveValue"] = new DeploymentStateValue($this->_propDict["effectiveValue"]);
return $this->_propDict["effectiveValue"];
}
}
return null;
} | Gets the effectiveValue
Specifies the state of the deployment. Supports a subset of the values for deploymentStateValue. Possible values are: scheduled, offering, paused, unknownFutureValue. Read-only.
@return DeploymentStateValue|null The effectiveValue | getEffectiveValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function setEffectiveValue($val)
{
$this->_propDict["effectiveValue"] = $val;
return $this;
} | Sets the effectiveValue
Specifies the state of the deployment. Supports a subset of the values for deploymentStateValue. Possible values are: scheduled, offering, paused, unknownFutureValue. Read-only.
@param DeploymentStateValue $val The value to assign to the effectiveValue
@return DeploymentState The DeploymentState | setEffectiveValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function getReasons()
{
if (array_key_exists("reasons", $this->_propDict)) {
if (is_a($this->_propDict["reasons"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\DeploymentStateReason") || is_null($this->_propDict["reasons"])) {
return $this->_propDict["reasons"];
} else {
$this->_propDict["reasons"] = new DeploymentStateReason($this->_propDict["reasons"]);
return $this->_propDict["reasons"];
}
}
return null;
} | Gets the reasons
Specifies the reasons the deployment has its state value. Read-only.
@return DeploymentStateReason|null The reasons | getReasons | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function setReasons($val)
{
$this->_propDict["reasons"] = $val;
return $this;
} | Sets the reasons
Specifies the reasons the deployment has its state value. Read-only.
@param DeploymentStateReason $val The value to assign to the reasons
@return DeploymentState The DeploymentState | setReasons | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function getRequestedValue()
{
if (array_key_exists("requestedValue", $this->_propDict)) {
if (is_a($this->_propDict["requestedValue"], "\Beta\Microsoft\Graph\WindowsUpdates\Model\RequestedDeploymentStateValue") || is_null($this->_propDict["requestedValue"])) {
return $this->_propDict["requestedValue"];
} else {
$this->_propDict["requestedValue"] = new RequestedDeploymentStateValue($this->_propDict["requestedValue"]);
return $this->_propDict["requestedValue"];
}
}
return null;
} | Gets the requestedValue
Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue.
@return RequestedDeploymentStateValue|null The requestedValue | getRequestedValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function setRequestedValue($val)
{
$this->_propDict["requestedValue"] = $val;
return $this;
} | Sets the requestedValue
Specifies the requested state of the deployment. Supports a subset of the values for requestedDeploymentStateValue. Possible values are: none, paused, unknownFutureValue.
@param RequestedDeploymentStateValue $val The value to assign to the requestedValue
@return DeploymentState The DeploymentState | setRequestedValue | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/WindowsUpdates/Model/DeploymentState.php | MIT |
public function getActivitySettings()
{
if (array_key_exists("activitySettings", $this->_propDict)) {
if (is_a($this->_propDict["activitySettings"], "\Microsoft\Graph\ExternalConnectors\Model\ActivitySettings") || is_null($this->_propDict["activitySettings"])) {
return $this->_propDict["activitySettings"];
} else {
$this->_propDict["activitySettings"] = new ActivitySettings($this->_propDict["activitySettings"]);
return $this->_propDict["activitySettings"];
}
}
return null;
} | Gets the activitySettings
Collects configurable settings related to activities involving connector content.
@return ActivitySettings|null The activitySettings | getActivitySettings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setActivitySettings($val)
{
$this->_propDict["activitySettings"] = $val;
return $this;
} | Sets the activitySettings
Collects configurable settings related to activities involving connector content.
@param ActivitySettings $val The activitySettings
@return ExternalConnection | setActivitySettings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function getConfiguration()
{
if (array_key_exists("configuration", $this->_propDict)) {
if (is_a($this->_propDict["configuration"], "\Microsoft\Graph\ExternalConnectors\Model\Configuration") || is_null($this->_propDict["configuration"])) {
return $this->_propDict["configuration"];
} else {
$this->_propDict["configuration"] = new Configuration($this->_propDict["configuration"]);
return $this->_propDict["configuration"];
}
}
return null;
} | Gets the configuration
Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.
@return Configuration|null The configuration | getConfiguration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setConfiguration($val)
{
$this->_propDict["configuration"] = $val;
return $this;
} | Sets the configuration
Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.
@param Configuration $val The configuration
@return ExternalConnection | setConfiguration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function getDescription()
{
if (array_key_exists("description", $this->_propDict)) {
return $this->_propDict["description"];
} else {
return null;
}
} | Gets the description
Description of the connection displayed in the Microsoft 365 admin center. Optional.
@return string|null The description | getDescription | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
} | Sets the description
Description of the connection displayed in the Microsoft 365 admin center. Optional.
@param string $val The description
@return ExternalConnection | setDescription | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function getName()
{
if (array_key_exists("name", $this->_propDict)) {
return $this->_propDict["name"];
} else {
return null;
}
} | Gets the name
The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
@return string|null The name | getName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setName($val)
{
$this->_propDict["name"] = $val;
return $this;
} | Sets the name
The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
@param string $val The name
@return ExternalConnection | setName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function getSearchSettings()
{
if (array_key_exists("searchSettings", $this->_propDict)) {
if (is_a($this->_propDict["searchSettings"], "\Microsoft\Graph\ExternalConnectors\Model\SearchSettings") || is_null($this->_propDict["searchSettings"])) {
return $this->_propDict["searchSettings"];
} else {
$this->_propDict["searchSettings"] = new SearchSettings($this->_propDict["searchSettings"]);
return $this->_propDict["searchSettings"];
}
}
return null;
} | Gets the searchSettings
The settings configuring the search experience for content in this connection, such as the display templates for search results.
@return SearchSettings|null The searchSettings | getSearchSettings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setSearchSettings($val)
{
$this->_propDict["searchSettings"] = $val;
return $this;
} | Sets the searchSettings
The settings configuring the search experience for content in this connection, such as the display templates for search results.
@param SearchSettings $val The searchSettings
@return ExternalConnection | setSearchSettings | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
if (is_a($this->_propDict["state"], "\Microsoft\Graph\ExternalConnectors\Model\ConnectionState") || is_null($this->_propDict["state"])) {
return $this->_propDict["state"];
} else {
$this->_propDict["state"] = new ConnectionState($this->_propDict["state"]);
return $this->_propDict["state"];
}
}
return null;
} | Gets the state
Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
@return ConnectionState|null The state | getState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
} | Sets the state
Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
@param ConnectionState $val The state
@return ExternalConnection | setState | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/ExternalConnectors/Model/ExternalConnection.php | MIT |
public function put(
$upToken,
$key,
$data,
$params = null,
$mime = 'application/octet-stream',
$fname = "default_filename",
$reqOpt = null
) {
$reqOpt = $reqOpt === null ? $this->reqOpt : $reqOpt;
$params = self::trimParams($params);
return FormUploader::put(
$upToken,
$key,
$data,
$this->config,
$params,
$mime,
$fname,
$reqOpt
);
} | 上传二进制流到七牛
@param $upToken 上传凭证
@param $key 上传文件名
@param $data 上传二进制流
@param $params 自定义变量,规格参考
http://developer.qiniu.com/docs/v6/api/overview/up/response/vars.html#xvar
@param $mime 上传数据的mimeType
@param $checkCrc 是否校验crc32
@return array 包含已上传文件的信息,类似:
[
"hash" => "<Hash string>",
"key" => "<Key string>"
] | put | php | xiebruce/PicUploader | vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | MIT |
public function putFile(
$upToken,
$key,
$filePath,
$params = null,
$mime = 'application/octet-stream',
$checkCrc = false,
$resumeRecordFile = null,
$version = 'v1',
$partSize = config::BLOCK_SIZE,
$reqOpt = null
) {
$reqOpt = $reqOpt === null ? $this->reqOpt : $reqOpt;
$file = fopen($filePath, 'rb');
if ($file === false) {
throw new \Exception("file can not open", 1);
}
$params = self::trimParams($params);
$stat = fstat($file);
$size = $stat['size'];
if ($size <= Config::BLOCK_SIZE) {
$data = fread($file, $size);
fclose($file);
if ($data === false) {
throw new \Exception("file can not read", 1);
}
return FormUploader::put(
$upToken,
$key,
$data,
$this->config,
$params,
$mime,
basename($filePath),
$reqOpt
);
}
$up = new ResumeUploader(
$upToken,
$key,
$file,
$size,
$params,
$mime,
$this->config,
$resumeRecordFile,
$version,
$partSize,
$reqOpt
);
$ret = $up->upload(basename($filePath));
fclose($file);
return $ret;
} | 上传文件到七牛
@param string $upToken 上传凭证
@param string $key 上传文件名
@param string $filePath 上传文件的路径
@param array<string, mixed> $params 定义变量,规格参考
http://developer.qiniu.com/docs/v6/api/overview/up/response/vars.html#xvar
@param boolean $mime 上传数据的mimeType
@param string $checkCrc 是否校验crc32
@param string $resumeRecordFile 断点续传文件路径 默认为null
@param string $version 分片上传版本 目前支持v1/v2版本 默认v1
@param int $partSize 分片上传v2字段 默认大小为4MB 分片大小范围为1 MB - 1 GB
@return array<string, mixed> 包含已上传文件的信息,类似:
[
"hash" => "<Hash string>",
"key" => "<Key string>"
]
@throws \Exception | putFile | php | xiebruce/PicUploader | vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/qiniu/php-sdk/src/Qiniu/Storage/UploadManager.php | MIT |
public function getCalleeNumber()
{
if (array_key_exists("calleeNumber", $this->_propDict)) {
return $this->_propDict["calleeNumber"];
} else {
return null;
}
} | Gets the calleeNumber
Number of the user or bot who received the call. E.164 format, but may include additional data.
@return string|null The calleeNumber | getCalleeNumber | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setCalleeNumber($val)
{
$this->_propDict["calleeNumber"] = $val;
return $this;
} | Sets the calleeNumber
Number of the user or bot who received the call. E.164 format, but may include additional data.
@param string $val The value of the calleeNumber
@return DirectRoutingLogRow | setCalleeNumber | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getCallEndSubReason()
{
if (array_key_exists("callEndSubReason", $this->_propDict)) {
return $this->_propDict["callEndSubReason"];
} else {
return null;
}
} | Gets the callEndSubReason
In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue.
@return int|null The callEndSubReason | getCallEndSubReason | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setCallEndSubReason($val)
{
$this->_propDict["callEndSubReason"] = $val;
return $this;
} | Sets the callEndSubReason
In addition to the SIP codes, Microsoft has own subcodes that indicate the specific issue.
@param int $val The value of the callEndSubReason
@return DirectRoutingLogRow | setCallEndSubReason | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getCallerNumber()
{
if (array_key_exists("callerNumber", $this->_propDict)) {
return $this->_propDict["callerNumber"];
} else {
return null;
}
} | Gets the callerNumber
Number of the user or bot who made the call. E.164 format, but may include additional data.
@return string|null The callerNumber | getCallerNumber | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setCallerNumber($val)
{
$this->_propDict["callerNumber"] = $val;
return $this;
} | Sets the callerNumber
Number of the user or bot who made the call. E.164 format, but may include additional data.
@param string $val The value of the callerNumber
@return DirectRoutingLogRow | setCallerNumber | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getCallType()
{
if (array_key_exists("callType", $this->_propDict)) {
return $this->_propDict["callType"];
} else {
return null;
}
} | Gets the callType
Call type and direction.
@return string|null The callType | getCallType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setCallType($val)
{
$this->_propDict["callType"] = $val;
return $this;
} | Sets the callType
Call type and direction.
@param string $val The value of the callType
@return DirectRoutingLogRow | setCallType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getCorrelationId()
{
if (array_key_exists("correlationId", $this->_propDict)) {
return $this->_propDict["correlationId"];
} else {
return null;
}
} | Gets the correlationId
Identifier for the call that you can use when calling Microsoft Support. GUID.
@return string|null The correlationId | getCorrelationId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setCorrelationId($val)
{
$this->_propDict["correlationId"] = $val;
return $this;
} | Sets the correlationId
Identifier for the call that you can use when calling Microsoft Support. GUID.
@param string $val The value of the correlationId
@return DirectRoutingLogRow | setCorrelationId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getDuration()
{
if (array_key_exists("duration", $this->_propDict)) {
return $this->_propDict["duration"];
} else {
return null;
}
} | Gets the duration
Duration of the call in seconds.
@return int|null The duration | getDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setDuration($val)
{
$this->_propDict["duration"] = $val;
return $this;
} | Sets the duration
Duration of the call in seconds.
@param int $val The value of the duration
@return DirectRoutingLogRow | setDuration | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getEndDateTime()
{
if (array_key_exists("endDateTime", $this->_propDict)) {
if (is_a($this->_propDict["endDateTime"], "\DateTime") || is_null($this->_propDict["endDateTime"])) {
return $this->_propDict["endDateTime"];
} else {
$this->_propDict["endDateTime"] = new \DateTime($this->_propDict["endDateTime"]);
return $this->_propDict["endDateTime"];
}
}
return null;
} | Gets the endDateTime
Only exists for successful (fully established) calls. Time when call ended.
@return \DateTime|null The endDateTime | getEndDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setEndDateTime($val)
{
$this->_propDict["endDateTime"] = $val;
return $this;
} | Sets the endDateTime
Only exists for successful (fully established) calls. Time when call ended.
@param \DateTime $val The value to assign to the endDateTime
@return DirectRoutingLogRow The DirectRoutingLogRow | setEndDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getFailureDateTime()
{
if (array_key_exists("failureDateTime", $this->_propDict)) {
if (is_a($this->_propDict["failureDateTime"], "\DateTime") || is_null($this->_propDict["failureDateTime"])) {
return $this->_propDict["failureDateTime"];
} else {
$this->_propDict["failureDateTime"] = new \DateTime($this->_propDict["failureDateTime"]);
return $this->_propDict["failureDateTime"];
}
}
return null;
} | Gets the failureDateTime
Only exists for failed (not fully established) calls.
@return \DateTime|null The failureDateTime | getFailureDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setFailureDateTime($val)
{
$this->_propDict["failureDateTime"] = $val;
return $this;
} | Sets the failureDateTime
Only exists for failed (not fully established) calls.
@param \DateTime $val The value to assign to the failureDateTime
@return DirectRoutingLogRow The DirectRoutingLogRow | setFailureDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getFinalSipCode()
{
if (array_key_exists("finalSipCode", $this->_propDict)) {
return $this->_propDict["finalSipCode"];
} else {
return null;
}
} | Gets the finalSipCode
The code with which the call ended, RFC 3261.
@return int|null The finalSipCode | getFinalSipCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setFinalSipCode($val)
{
$this->_propDict["finalSipCode"] = $val;
return $this;
} | Sets the finalSipCode
The code with which the call ended, RFC 3261.
@param int $val The value of the finalSipCode
@return DirectRoutingLogRow | setFinalSipCode | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getFinalSipCodePhrase()
{
if (array_key_exists("finalSipCodePhrase", $this->_propDict)) {
return $this->_propDict["finalSipCodePhrase"];
} else {
return null;
}
} | Gets the finalSipCodePhrase
Description of the SIP code and Microsoft subcode.
@return string|null The finalSipCodePhrase | getFinalSipCodePhrase | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setFinalSipCodePhrase($val)
{
$this->_propDict["finalSipCodePhrase"] = $val;
return $this;
} | Sets the finalSipCodePhrase
Description of the SIP code and Microsoft subcode.
@param string $val The value of the finalSipCodePhrase
@return DirectRoutingLogRow | setFinalSipCodePhrase | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getId()
{
if (array_key_exists("id", $this->_propDict)) {
return $this->_propDict["id"];
} else {
return null;
}
} | Gets the id
Unique call identifier. GUID.
@return string|null The id | getId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setId($val)
{
$this->_propDict["id"] = $val;
return $this;
} | Sets the id
Unique call identifier. GUID.
@param string $val The value of the id
@return DirectRoutingLogRow | setId | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getInviteDateTime()
{
if (array_key_exists("inviteDateTime", $this->_propDict)) {
if (is_a($this->_propDict["inviteDateTime"], "\DateTime") || is_null($this->_propDict["inviteDateTime"])) {
return $this->_propDict["inviteDateTime"];
} else {
$this->_propDict["inviteDateTime"] = new \DateTime($this->_propDict["inviteDateTime"]);
return $this->_propDict["inviteDateTime"];
}
}
return null;
} | Gets the inviteDateTime
When the initial invite was sent.
@return \DateTime|null The inviteDateTime | getInviteDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setInviteDateTime($val)
{
$this->_propDict["inviteDateTime"] = $val;
return $this;
} | Sets the inviteDateTime
When the initial invite was sent.
@param \DateTime $val The value to assign to the inviteDateTime
@return DirectRoutingLogRow The DirectRoutingLogRow | setInviteDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getMediaBypassEnabled()
{
if (array_key_exists("mediaBypassEnabled", $this->_propDict)) {
return $this->_propDict["mediaBypassEnabled"];
} else {
return null;
}
} | Gets the mediaBypassEnabled
Indicates if the trunk was enabled for media bypass or not.
@return bool|null The mediaBypassEnabled | getMediaBypassEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setMediaBypassEnabled($val)
{
$this->_propDict["mediaBypassEnabled"] = $val;
return $this;
} | Sets the mediaBypassEnabled
Indicates if the trunk was enabled for media bypass or not.
@param bool $val The value of the mediaBypassEnabled
@return DirectRoutingLogRow | setMediaBypassEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function getMediaPathLocation()
{
if (array_key_exists("mediaPathLocation", $this->_propDict)) {
return $this->_propDict["mediaPathLocation"];
} else {
return null;
}
} | Gets the mediaPathLocation
The datacenter used for media path in non-bypass call.
@return string|null The mediaPathLocation | getMediaPathLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | MIT |
public function setMediaPathLocation($val)
{
$this->_propDict["mediaPathLocation"] = $val;
return $this;
} | Sets the mediaPathLocation
The datacenter used for media path in non-bypass call.
@param string $val The value of the mediaPathLocation
@return DirectRoutingLogRow | setMediaPathLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/CallRecords/Model/DirectRoutingLogRow.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.