code
stringlengths 17
247k
| 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 getCertificateValidityPeriod()
{
if (array_key_exists("certificateValidityPeriod", $this->_propDict)) {
return $this->_propDict["certificateValidityPeriod"];
} else {
return null;
}
} | Gets the certificateValidityPeriod
Validity period
@return int|null The certificateValidityPeriod | getCertificateValidityPeriod | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function setCertificateValidityPeriod($val)
{
$this->_propDict["certificateValidityPeriod"] = intval($val);
return $this;
} | Sets the certificateValidityPeriod
Validity period
@param int $val The certificateValidityPeriod
@return ManagedDeviceCertificateState | setCertificateValidityPeriod | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function getCertificateValidityPeriodUnits()
{
if (array_key_exists("certificateValidityPeriodUnits", $this->_propDict)) {
if (is_a($this->_propDict["certificateValidityPeriodUnits"], "\Beta\Microsoft\Graph\Model\CertificateValidityPeriodScale") || is_null($this->_propDict["certificateValidityPeriodUnits"])) {
return $this->_propDict["certificateValidityPeriodUnits"];
} else {
$this->_propDict["certificateValidityPeriodUnits"] = new CertificateValidityPeriodScale($this->_propDict["certificateValidityPeriodUnits"]);
return $this->_propDict["certificateValidityPeriodUnits"];
}
}
return null;
} | Gets the certificateValidityPeriodUnits
Validity period units. Possible values are: days, months, years.
@return CertificateValidityPeriodScale|null The certificateValidityPeriodUnits | getCertificateValidityPeriodUnits | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function setCertificateValidityPeriodUnits($val)
{
$this->_propDict["certificateValidityPeriodUnits"] = $val;
return $this;
} | Sets the certificateValidityPeriodUnits
Validity period units. Possible values are: days, months, years.
@param CertificateValidityPeriodScale $val The certificateValidityPeriodUnits
@return ManagedDeviceCertificateState | setCertificateValidityPeriodUnits | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function getDevicePlatform()
{
if (array_key_exists("devicePlatform", $this->_propDict)) {
if (is_a($this->_propDict["devicePlatform"], "\Beta\Microsoft\Graph\Model\DevicePlatformType") || is_null($this->_propDict["devicePlatform"])) {
return $this->_propDict["devicePlatform"];
} else {
$this->_propDict["devicePlatform"] = new DevicePlatformType($this->_propDict["devicePlatform"]);
return $this->_propDict["devicePlatform"];
}
}
return null;
} | Gets the devicePlatform
Device platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.
@return DevicePlatformType|null The devicePlatform | getDevicePlatform | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function setDevicePlatform($val)
{
$this->_propDict["devicePlatform"] = $val;
return $this;
} | Sets the devicePlatform
Device platform. Possible values are: android, androidForWork, iOS, macOS, windowsPhone81, windows81AndLater, windows10AndLater, androidWorkProfile, unknown, androidAOSP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.
@param DevicePlatformType $val The devicePlatform
@return ManagedDeviceCertificateState | setDevicePlatform | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function getLastCertificateStateChangeDateTime()
{
if (array_key_exists("lastCertificateStateChangeDateTime", $this->_propDict)) {
if (is_a($this->_propDict["lastCertificateStateChangeDateTime"], "\DateTime") || is_null($this->_propDict["lastCertificateStateChangeDateTime"])) {
return $this->_propDict["lastCertificateStateChangeDateTime"];
} else {
$this->_propDict["lastCertificateStateChangeDateTime"] = new \DateTime($this->_propDict["lastCertificateStateChangeDateTime"]);
return $this->_propDict["lastCertificateStateChangeDateTime"];
}
}
return null;
} | Gets the lastCertificateStateChangeDateTime
Last certificate issuance state change
@return \DateTime|null The lastCertificateStateChangeDateTime | getLastCertificateStateChangeDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function setLastCertificateStateChangeDateTime($val)
{
$this->_propDict["lastCertificateStateChangeDateTime"] = $val;
return $this;
} | Sets the lastCertificateStateChangeDateTime
Last certificate issuance state change
@param \DateTime $val The lastCertificateStateChangeDateTime
@return ManagedDeviceCertificateState | setLastCertificateStateChangeDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/ManagedDeviceCertificateState.php | MIT |
public function setMinimumCount($val)
{
$this->_propDict["minimumCount"] = $val;
return $this;
} | Sets the minimumCount
The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional.
@param int $val The value of the minimumCount
@return BucketAggregationDefinition | setMinimumCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function getPrefixFilter()
{
if (array_key_exists("prefixFilter", $this->_propDict)) {
return $this->_propDict["prefixFilter"];
} else {
return null;
}
} | Gets the prefixFilter
A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional.
@return string|null The prefixFilter | getPrefixFilter | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function setPrefixFilter($val)
{
$this->_propDict["prefixFilter"] = $val;
return $this;
} | Sets the prefixFilter
A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional.
@param string $val The value of the prefixFilter
@return BucketAggregationDefinition | setPrefixFilter | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function getRanges()
{
if (array_key_exists("ranges", $this->_propDict)) {
if (is_a($this->_propDict["ranges"], "\Microsoft\Graph\Model\BucketAggregationRange") || is_null($this->_propDict["ranges"])) {
return $this->_propDict["ranges"];
} else {
$this->_propDict["ranges"] = new BucketAggregationRange($this->_propDict["ranges"]);
return $this->_propDict["ranges"];
}
}
return null;
} | Gets the ranges
Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional.
@return BucketAggregationRange|null The ranges | getRanges | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function setRanges($val)
{
$this->_propDict["ranges"] = $val;
return $this;
} | Sets the ranges
Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional.
@param BucketAggregationRange $val The value to assign to the ranges
@return BucketAggregationDefinition The BucketAggregationDefinition | setRanges | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function getSortBy()
{
if (array_key_exists("sortBy", $this->_propDict)) {
if (is_a($this->_propDict["sortBy"], "\Microsoft\Graph\Model\BucketAggregationSortProperty") || is_null($this->_propDict["sortBy"])) {
return $this->_propDict["sortBy"];
} else {
$this->_propDict["sortBy"] = new BucketAggregationSortProperty($this->_propDict["sortBy"]);
return $this->_propDict["sortBy"];
}
}
return null;
} | Gets the sortBy
The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required.
@return BucketAggregationSortProperty|null The sortBy | getSortBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function setSortBy($val)
{
$this->_propDict["sortBy"] = $val;
return $this;
} | Sets the sortBy
The possible values are count to sort by the number of matches in the aggregation, keyAsStringto sort alphabeticaly based on the key in the aggregation, keyAsNumber for numerical sorting based on the key in the aggregation. Required.
@param BucketAggregationSortProperty $val The value to assign to the sortBy
@return BucketAggregationDefinition The BucketAggregationDefinition | setSortBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/BucketAggregationDefinition.php | MIT |
public function getAttemptsCount()
{
if (array_key_exists("attemptsCount", $this->_propDict)) {
return $this->_propDict["attemptsCount"];
} else {
return null;
}
} | Gets the attemptsCount
Number of times the operation was attempted before being marked successful or failed.
@return int|null The attemptsCount | getAttemptsCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php | MIT |
public function setAttemptsCount($val)
{
$this->_propDict["attemptsCount"] = intval($val);
return $this;
} | Sets the attemptsCount
Number of times the operation was attempted before being marked successful or failed.
@param int $val The attemptsCount
@return TeamsAsyncOperation | setAttemptsCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php | MIT |
public function getError()
{
if (array_key_exists("error", $this->_propDict)) {
if (is_a($this->_propDict["error"], "\Microsoft\Graph\Model\OperationError") || is_null($this->_propDict["error"])) {
return $this->_propDict["error"];
} else {
$this->_propDict["error"] = new OperationError($this->_propDict["error"]);
return $this->_propDict["error"];
}
}
return null;
} | Gets the error
Any error that causes the async operation to fail.
@return OperationError|null The error | getError | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Model/TeamsAsyncOperation.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.