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 setDeviceCompliancePolicy($val)
{
$this->_propDict["deviceCompliancePolicy"] = $val;
return $this;
} | Sets the deviceCompliancePolicy
The navigation link to the device compliance polic targeted.
@param DeviceCompliancePolicy $val The deviceCompliancePolicy
@return DeviceCompliancePolicyGroupAssignment | setDeviceCompliancePolicy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceCompliancePolicyGroupAssignment.php | MIT |
private function sendRequest($httpMethod, array $varArgs)
{
$defaultArgs = array(
BosOptions::CONFIG => array(),
'bucket_name' => null,
'key' => null,
'body' => null,
'headers' => array(),
'params' => array(),
'outputStream' => null,
'parseUserMetadata' => false
);
$args = array_merge($defaultArgs, $varArgs);
if (empty($args[BosOptions::CONFIG])) {
$config = $this->config;
} else {
$config = array_merge(
array(),
$this->config,
$args[BosOptions::CONFIG]
);
}
if (!isset($args['headers'][HttpHeaders::CONTENT_TYPE])) {
$args['headers'][HttpHeaders::CONTENT_TYPE] =
HttpContentTypes::JSON;
}
// prevent low version curl add a default pragma:no-cache
if (!isset($args['headers'][HttpHeaders::PRAGMA])) {
$args['headers'][HttpHeaders::PRAGMA] = '';
}
$path = $this->getPath($args['bucket_name'], $args['key']);
$response = $this->httpClient->sendRequest(
$config,
$httpMethod,
$path,
$args['body'],
$args['headers'],
$args['params'],
$this->signer,
$args['outputStream']
);
if ($args['outputStream'] === null) {
$result = $this->parseJsonResult($response['body']);
} else {
$result = new \stdClass();
}
$result->metadata =
$this->convertHttpHeadersToMetadata($response['headers']);
if ($args['parseUserMetadata']) {
$userMetadata = array();
foreach ($response['headers'] as $key => $value) {
if (StringUtils::startsWith($key, HttpHeaders::BCE_USER_METADATA_PREFIX)) {
$key = substr($key, strlen(HttpHeaders::BCE_USER_METADATA_PREFIX));
$userMetadata[urldecode($key)] = urldecode($value);
}
}
$result->metadata[BosOptions::USER_METADATA] = $userMetadata;
}
return $result;
} | Create HttpClient and send request
@param string $httpMethod The Http request method
@param array $varArgs The extra arguments
@return mixed The Http response and headers. | sendRequest | php | xiebruce/PicUploader | vendor/baidubce/bce-sdk-php/src/BaiduBce/Services/Bos/BosClient.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/baidubce/bce-sdk-php/src/BaiduBce/Services/Bos/BosClient.php | MIT |
public function getCanonicalName()
{
if (array_key_exists("canonicalName", $this->_propDict)) {
return $this->_propDict["canonicalName"];
} else {
return null;
}
} | Gets the canonicalName
The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host.
@return string|null The canonicalName | getCanonicalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php | MIT |
public function setCanonicalName($val)
{
$this->_propDict["canonicalName"] = $val;
return $this;
} | Sets the canonicalName
The canonical name of the CNAME record. Used to configure the CNAME record at the DNS host.
@param string $val The canonicalName
@return DomainDnsCnameRecord | setCanonicalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DomainDnsCnameRecord.php | MIT |
public function __construct($bucketName, $prefix, $keyMarker, $nextKeyMarker, $versionIdMarker, $nextVersionIdMarker
, $maxKeys, $delimiter, $isTruncated
, array $objectversionList, array $deleteMarkerList, array $prefixList)
{
$this->bucketName = $bucketName;
$this->prefix = $prefix;
$this->keyMarker = $keyMarker;
$this->nextKeyMarker = $nextKeyMarker;
$this->versionIdMarker = $versionIdMarker;
$this->nextVersionIdMarker = $nextVersionIdMarker;
$this->maxKeys = $maxKeys;
$this->delimiter = $delimiter;
$this->isTruncated = $isTruncated;
$this->objectVersionList = $objectversionList;
$this->deleteMarkerList = $deleteMarkerList;
$this->prefixList = $prefixList;
} | ObjectVersionListInfo constructor.
@param string $bucketName
@param string $prefix
@param string $keyMarker
@param string $nextKeyMarker
@param string $versionIdMarker
@param string $nextVersionIdMarker
@param string $maxKeys
@param string $delimiter
@param null $isTruncated
@param array $objectversionList
@param array $deleteMarkerList
@param array $prefixList | __construct | php | xiebruce/PicUploader | vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | MIT |
public function getObjectVersionList()
{
return $this->objectVersionList;
} | Get the ObjectVersionInfo list.
@return ObjectVersionInfo[] | getObjectVersionList | php | xiebruce/PicUploader | vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | MIT |
public function getDeleteMarkerList()
{
return $this->deleteMarkerList;
} | Get the DeleteMarkerInfo list.
@return DeleteMarkerInfo[] | getDeleteMarkerList | php | xiebruce/PicUploader | vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/aliyuncs/oss-sdk-php/src/OSS/Model/ObjectVersionListInfo.php | MIT |
public function getAllowedContentTypes()
{
if (array_key_exists("allowedContentTypes", $this->_propDict)) {
if (is_a($this->_propDict["allowedContentTypes"], "\Beta\Microsoft\Graph\Model\ContentTypeInfo") || is_null($this->_propDict["allowedContentTypes"])) {
return $this->_propDict["allowedContentTypes"];
} else {
$this->_propDict["allowedContentTypes"] = new ContentTypeInfo($this->_propDict["allowedContentTypes"]);
return $this->_propDict["allowedContentTypes"];
}
}
return null;
} | Gets the allowedContentTypes
Content types allowed in document set.
@return ContentTypeInfo|null The allowedContentTypes | getAllowedContentTypes | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function setAllowedContentTypes($val)
{
$this->_propDict["allowedContentTypes"] = $val;
return $this;
} | Sets the allowedContentTypes
Content types allowed in document set.
@param ContentTypeInfo $val The value to assign to the allowedContentTypes
@return DocumentSet The DocumentSet | setAllowedContentTypes | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function getDefaultContents()
{
if (array_key_exists("defaultContents", $this->_propDict)) {
if (is_a($this->_propDict["defaultContents"], "\Beta\Microsoft\Graph\Model\DocumentSetContent") || is_null($this->_propDict["defaultContents"])) {
return $this->_propDict["defaultContents"];
} else {
$this->_propDict["defaultContents"] = new DocumentSetContent($this->_propDict["defaultContents"]);
return $this->_propDict["defaultContents"];
}
}
return null;
} | Gets the defaultContents
Default contents of document set.
@return DocumentSetContent|null The defaultContents | getDefaultContents | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function setDefaultContents($val)
{
$this->_propDict["defaultContents"] = $val;
return $this;
} | Sets the defaultContents
Default contents of document set.
@param DocumentSetContent $val The value to assign to the defaultContents
@return DocumentSet The DocumentSet | setDefaultContents | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function getPropagateWelcomePageChanges()
{
if (array_key_exists("propagateWelcomePageChanges", $this->_propDict)) {
return $this->_propDict["propagateWelcomePageChanges"];
} else {
return null;
}
} | Gets the propagateWelcomePageChanges
Indicates whether to add the name of the document set to each file name.
@return bool|null The propagateWelcomePageChanges | getPropagateWelcomePageChanges | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function setPropagateWelcomePageChanges($val)
{
$this->_propDict["propagateWelcomePageChanges"] = $val;
return $this;
} | Sets the propagateWelcomePageChanges
Indicates whether to add the name of the document set to each file name.
@param bool $val The value of the propagateWelcomePageChanges
@return DocumentSet | setPropagateWelcomePageChanges | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function getShouldPrefixNameToFile()
{
if (array_key_exists("shouldPrefixNameToFile", $this->_propDict)) {
return $this->_propDict["shouldPrefixNameToFile"];
} else {
return null;
}
} | Gets the shouldPrefixNameToFile
Add the name of the Document Set to each file name.
@return bool|null The shouldPrefixNameToFile | getShouldPrefixNameToFile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function setShouldPrefixNameToFile($val)
{
$this->_propDict["shouldPrefixNameToFile"] = $val;
return $this;
} | Sets the shouldPrefixNameToFile
Add the name of the Document Set to each file name.
@param bool $val The value of the shouldPrefixNameToFile
@return DocumentSet | setShouldPrefixNameToFile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function getWelcomePageUrl()
{
if (array_key_exists("welcomePageUrl", $this->_propDict)) {
return $this->_propDict["welcomePageUrl"];
} else {
return null;
}
} | Gets the welcomePageUrl
Welcome page absolute URL.
@return string|null The welcomePageUrl | getWelcomePageUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function setWelcomePageUrl($val)
{
$this->_propDict["welcomePageUrl"] = $val;
return $this;
} | Sets the welcomePageUrl
Welcome page absolute URL.
@param string $val The value of the welcomePageUrl
@return DocumentSet | setWelcomePageUrl | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DocumentSet.php | MIT |
public function getProperties()
{
return $this->_propDict;
} | Gets the property dictionary of the TrustFramework
@return array The list of properties | getProperties | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php | MIT |
public function jsonSerialize()
{
$serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) {
if (is_a($val, "\DateTime")) {
$serializableProperties[$property] = $val->format(\DateTime::RFC3339);
} else if (is_a($val, "\Microsoft\Graph\Core\Enum")) {
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
} | Serializes the object by property array
Manually serialize DateTime into RFC3339 format
@return array The list of properties | jsonSerialize | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/TrustFramework.php | MIT |
public function getFeature()
{
if (array_key_exists("feature", $this->_propDict)) {
if (is_a($this->_propDict["feature"], "\Beta\Microsoft\Graph\Model\AuthenticationMethodFeature") || is_null($this->_propDict["feature"])) {
return $this->_propDict["feature"];
} else {
$this->_propDict["feature"] = new AuthenticationMethodFeature($this->_propDict["feature"]);
return $this->_propDict["feature"];
}
}
return null;
} | Gets the feature
Number of users registered or capable for Multi-Factor Authentication, Self-Service Password Reset and Passwordless Authentication. Possible values are: ssprRegistered, ssprEnabled, ssprCapable, passwordlessCapable, mfaCapable.
@return AuthenticationMethodFeature|null The feature | getFeature | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | MIT |
public function setFeature($val)
{
$this->_propDict["feature"] = $val;
return $this;
} | Sets the feature
Number of users registered or capable for Multi-Factor Authentication, Self-Service Password Reset and Passwordless Authentication. Possible values are: ssprRegistered, ssprEnabled, ssprCapable, passwordlessCapable, mfaCapable.
@param AuthenticationMethodFeature $val The value to assign to the feature
@return UserRegistrationFeatureCount The UserRegistrationFeatureCount | setFeature | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | MIT |
public function getUserCount()
{
if (array_key_exists("userCount", $this->_propDict)) {
return $this->_propDict["userCount"];
} else {
return null;
}
} | Gets the userCount
Number of users.
@return int|null The userCount | getUserCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | MIT |
public function setUserCount($val)
{
$this->_propDict["userCount"] = $val;
return $this;
} | Sets the userCount
Number of users.
@param int $val The value of the userCount
@return UserRegistrationFeatureCount | setUserCount | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UserRegistrationFeatureCount.php | MIT |
public function __call($method, array $args)
{
return call_user_func_array(array($this->decoratedBatch, $method), $args);
} | Allow decorators to implement custom methods
@param string $method Missing method name
@param array $args Method arguments
@return mixed
@codeCoverageIgnore | __call | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php | MIT |
public function getDecorators()
{
$found = array($this);
if (method_exists($this->decoratedBatch, 'getDecorators')) {
$found = array_merge($found, $this->decoratedBatch->getDecorators());
}
return $found;
} | Trace the decorators associated with the batch
@return array | getDecorators | php | xiebruce/PicUploader | vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/guzzle/guzzle/src/Guzzle/Batch/AbstractBatchDecorator.php | MIT |
public function getRelatedContacts()
{
if (array_key_exists("relatedContacts", $this->_propDict)) {
return $this->_propDict["relatedContacts"];
} else {
return null;
}
} | Gets the relatedContacts
Related records related to the user. Possible relationships are parent, relative, aide, doctor, guardian, child, other, unknownFutureValue
@return array|null The relatedContacts | getRelatedContacts | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setRelatedContacts($val)
{
$this->_propDict["relatedContacts"] = $val;
return $this;
} | Sets the relatedContacts
Related records related to the user. Possible relationships are parent, relative, aide, doctor, guardian, child, other, unknownFutureValue
@param RelatedContact[] $val The relatedContacts
@return EducationUser | setRelatedContacts | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getAccountEnabled()
{
if (array_key_exists("accountEnabled", $this->_propDict)) {
return $this->_propDict["accountEnabled"];
} else {
return null;
}
} | Gets the accountEnabled
True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter.
@return bool|null The accountEnabled | getAccountEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setAccountEnabled($val)
{
$this->_propDict["accountEnabled"] = boolval($val);
return $this;
} | Sets the accountEnabled
True if the account is enabled; otherwise, false. This property is required when a user is created. Supports /$filter.
@param bool $val The accountEnabled
@return EducationUser | setAccountEnabled | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getAssignedLicenses()
{
if (array_key_exists("assignedLicenses", $this->_propDict)) {
return $this->_propDict["assignedLicenses"];
} else {
return null;
}
} | Gets the assignedLicenses
The licenses that are assigned to the user. Not nullable.
@return array|null The assignedLicenses | getAssignedLicenses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setAssignedLicenses($val)
{
$this->_propDict["assignedLicenses"] = $val;
return $this;
} | Sets the assignedLicenses
The licenses that are assigned to the user. Not nullable.
@param AssignedLicense[] $val The assignedLicenses
@return EducationUser | setAssignedLicenses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getAssignedPlans()
{
if (array_key_exists("assignedPlans", $this->_propDict)) {
return $this->_propDict["assignedPlans"];
} else {
return null;
}
} | Gets the assignedPlans
The plans that are assigned to the user. Read-only. Not nullable.
@return array|null The assignedPlans | getAssignedPlans | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setAssignedPlans($val)
{
$this->_propDict["assignedPlans"] = $val;
return $this;
} | Sets the assignedPlans
The plans that are assigned to the user. Read-only. Not nullable.
@param AssignedPlan[] $val The assignedPlans
@return EducationUser | setAssignedPlans | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getBusinessPhones()
{
if (array_key_exists("businessPhones", $this->_propDict)) {
return $this->_propDict["businessPhones"];
} else {
return null;
}
} | Gets the businessPhones
The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property.
@return array|null The businessPhones | getBusinessPhones | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setBusinessPhones($val)
{
$this->_propDict["businessPhones"] = $val;
return $this;
} | Sets the businessPhones
The telephone numbers for the user. Note: Although this is a string collection, only one number can be set for this property.
@param string[] $val The businessPhones
@return EducationUser | setBusinessPhones | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "\Beta\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["createdBy"])) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
return null;
} | Gets the createdBy
Entity who created the user.
@return IdentitySet|null The createdBy | getCreatedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setCreatedBy($val)
{
$this->_propDict["createdBy"] = $val;
return $this;
} | Sets the createdBy
Entity who created the user.
@param IdentitySet $val The createdBy
@return EducationUser | setCreatedBy | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getDepartment()
{
if (array_key_exists("department", $this->_propDict)) {
return $this->_propDict["department"];
} else {
return null;
}
} | Gets the department
The name for the department in which the user works. Supports /$filter.
@return string|null The department | getDepartment | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setDepartment($val)
{
$this->_propDict["department"] = $val;
return $this;
} | Sets the department
The name for the department in which the user works. Supports /$filter.
@param string $val The department
@return EducationUser | setDepartment | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
} | Gets the displayName
The name displayed in the address book for the user. Supports $filter and $orderby.
@return string|null The displayName | getDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
} | Sets the displayName
The name displayed in the address book for the user. Supports $filter and $orderby.
@param string $val The displayName
@return EducationUser | setDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getExternalSource()
{
if (array_key_exists("externalSource", $this->_propDict)) {
if (is_a($this->_propDict["externalSource"], "\Beta\Microsoft\Graph\Model\EducationExternalSource") || is_null($this->_propDict["externalSource"])) {
return $this->_propDict["externalSource"];
} else {
$this->_propDict["externalSource"] = new EducationExternalSource($this->_propDict["externalSource"]);
return $this->_propDict["externalSource"];
}
}
return null;
} | Gets the externalSource
The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual.
@return EducationExternalSource|null The externalSource | getExternalSource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setExternalSource($val)
{
$this->_propDict["externalSource"] = $val;
return $this;
} | Sets the externalSource
The type of external source this resource was generated from (automatically determined from externalSourceDetail). Possible values are: sis, lms, or manual.
@param EducationExternalSource $val The externalSource
@return EducationUser | setExternalSource | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getExternalSourceDetail()
{
if (array_key_exists("externalSourceDetail", $this->_propDict)) {
return $this->_propDict["externalSourceDetail"];
} else {
return null;
}
} | Gets the externalSourceDetail
The name of the external source this resources was generated from.
@return string|null The externalSourceDetail | getExternalSourceDetail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setExternalSourceDetail($val)
{
$this->_propDict["externalSourceDetail"] = $val;
return $this;
} | Sets the externalSourceDetail
The name of the external source this resources was generated from.
@param string $val The externalSourceDetail
@return EducationUser | setExternalSourceDetail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getGivenName()
{
if (array_key_exists("givenName", $this->_propDict)) {
return $this->_propDict["givenName"];
} else {
return null;
}
} | Gets the givenName
The given name (first name) of the user. Supports /$filter.
@return string|null The givenName | getGivenName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setGivenName($val)
{
$this->_propDict["givenName"] = $val;
return $this;
} | Sets the givenName
The given name (first name) of the user. Supports /$filter.
@param string $val The givenName
@return EducationUser | setGivenName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getMail()
{
if (array_key_exists("mail", $this->_propDict)) {
return $this->_propDict["mail"];
} else {
return null;
}
} | Gets the mail
The SMTP address for the user; for example, '[email protected]'. Read-Only. Supports /$filter.
@return string|null The mail | getMail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setMail($val)
{
$this->_propDict["mail"] = $val;
return $this;
} | Sets the mail
The SMTP address for the user; for example, '[email protected]'. Read-Only. Supports /$filter.
@param string $val The mail
@return EducationUser | setMail | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getMailingAddress()
{
if (array_key_exists("mailingAddress", $this->_propDict)) {
if (is_a($this->_propDict["mailingAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["mailingAddress"])) {
return $this->_propDict["mailingAddress"];
} else {
$this->_propDict["mailingAddress"] = new PhysicalAddress($this->_propDict["mailingAddress"]);
return $this->_propDict["mailingAddress"];
}
}
return null;
} | Gets the mailingAddress
Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources.
@return PhysicalAddress|null The mailingAddress | getMailingAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setMailingAddress($val)
{
$this->_propDict["mailingAddress"] = $val;
return $this;
} | Sets the mailingAddress
Mail address of user. Note: type and postOfficeBox are not supported for educationUser resources.
@param PhysicalAddress $val The mailingAddress
@return EducationUser | setMailingAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getMailNickname()
{
if (array_key_exists("mailNickname", $this->_propDict)) {
return $this->_propDict["mailNickname"];
} else {
return null;
}
} | Gets the mailNickname
The mail alias for the user. This property must be specified when a user is created. Supports /$filter.
@return string|null The mailNickname | getMailNickname | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setMailNickname($val)
{
$this->_propDict["mailNickname"] = $val;
return $this;
} | Sets the mailNickname
The mail alias for the user. This property must be specified when a user is created. Supports /$filter.
@param string $val The mailNickname
@return EducationUser | setMailNickname | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getMiddleName()
{
if (array_key_exists("middleName", $this->_propDict)) {
return $this->_propDict["middleName"];
} else {
return null;
}
} | Gets the middleName
The middle name of user.
@return string|null The middleName | getMiddleName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setMiddleName($val)
{
$this->_propDict["middleName"] = $val;
return $this;
} | Sets the middleName
The middle name of user.
@param string $val The middleName
@return EducationUser | setMiddleName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getMobilePhone()
{
if (array_key_exists("mobilePhone", $this->_propDict)) {
return $this->_propDict["mobilePhone"];
} else {
return null;
}
} | Gets the mobilePhone
The primary cellular telephone number for the user.
@return string|null The mobilePhone | getMobilePhone | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setMobilePhone($val)
{
$this->_propDict["mobilePhone"] = $val;
return $this;
} | Sets the mobilePhone
The primary cellular telephone number for the user.
@param string $val The mobilePhone
@return EducationUser | setMobilePhone | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getOnPremisesInfo()
{
if (array_key_exists("onPremisesInfo", $this->_propDict)) {
if (is_a($this->_propDict["onPremisesInfo"], "\Beta\Microsoft\Graph\Model\EducationOnPremisesInfo") || is_null($this->_propDict["onPremisesInfo"])) {
return $this->_propDict["onPremisesInfo"];
} else {
$this->_propDict["onPremisesInfo"] = new EducationOnPremisesInfo($this->_propDict["onPremisesInfo"]);
return $this->_propDict["onPremisesInfo"];
}
}
return null;
} | Gets the onPremisesInfo
Additional information used to associate the AAD user with it's Active Directory counterpart.
@return EducationOnPremisesInfo|null The onPremisesInfo | getOnPremisesInfo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setOnPremisesInfo($val)
{
$this->_propDict["onPremisesInfo"] = $val;
return $this;
} | Sets the onPremisesInfo
Additional information used to associate the AAD user with it's Active Directory counterpart.
@param EducationOnPremisesInfo $val The onPremisesInfo
@return EducationUser | setOnPremisesInfo | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getPasswordPolicies()
{
if (array_key_exists("passwordPolicies", $this->_propDict)) {
return $this->_propDict["passwordPolicies"];
} else {
return null;
}
} | Gets the passwordPolicies
Specifies password policies for the user. See standard [user] resource for additional details.
@return string|null The passwordPolicies | getPasswordPolicies | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setPasswordPolicies($val)
{
$this->_propDict["passwordPolicies"] = $val;
return $this;
} | Sets the passwordPolicies
Specifies password policies for the user. See standard [user] resource for additional details.
@param string $val The passwordPolicies
@return EducationUser | setPasswordPolicies | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getPasswordProfile()
{
if (array_key_exists("passwordProfile", $this->_propDict)) {
if (is_a($this->_propDict["passwordProfile"], "\Beta\Microsoft\Graph\Model\PasswordProfile") || is_null($this->_propDict["passwordProfile"])) {
return $this->_propDict["passwordProfile"];
} else {
$this->_propDict["passwordProfile"] = new PasswordProfile($this->_propDict["passwordProfile"]);
return $this->_propDict["passwordProfile"];
}
}
return null;
} | Gets the passwordProfile
Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details.
@return PasswordProfile|null The passwordProfile | getPasswordProfile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setPasswordProfile($val)
{
$this->_propDict["passwordProfile"] = $val;
return $this;
} | Sets the passwordProfile
Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. See standard [user] resource for additional details.
@param PasswordProfile $val The passwordProfile
@return EducationUser | setPasswordProfile | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getPreferredLanguage()
{
if (array_key_exists("preferredLanguage", $this->_propDict)) {
return $this->_propDict["preferredLanguage"];
} else {
return null;
}
} | Gets the preferredLanguage
The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'.
@return string|null The preferredLanguage | getPreferredLanguage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setPreferredLanguage($val)
{
$this->_propDict["preferredLanguage"] = $val;
return $this;
} | Sets the preferredLanguage
The preferred language for the user. Should follow ISO 639-1 Code; for example, 'en-US'.
@param string $val The preferredLanguage
@return EducationUser | setPreferredLanguage | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getPrimaryRole()
{
if (array_key_exists("primaryRole", $this->_propDict)) {
if (is_a($this->_propDict["primaryRole"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["primaryRole"])) {
return $this->_propDict["primaryRole"];
} else {
$this->_propDict["primaryRole"] = new EducationUserRole($this->_propDict["primaryRole"]);
return $this->_propDict["primaryRole"];
}
}
return null;
} | Gets the primaryRole
Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter.
@return EducationUserRole|null The primaryRole | getPrimaryRole | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setPrimaryRole($val)
{
$this->_propDict["primaryRole"] = $val;
return $this;
} | Sets the primaryRole
Default role for a user. The user's role might be different in an individual class. Possible values are: student, teacher, faculty. Supports /$filter.
@param EducationUserRole $val The primaryRole
@return EducationUser | setPrimaryRole | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getProvisionedPlans()
{
if (array_key_exists("provisionedPlans", $this->_propDict)) {
return $this->_propDict["provisionedPlans"];
} else {
return null;
}
} | Gets the provisionedPlans
The plans that are provisioned for the user. Read-only. Not nullable.
@return array|null The provisionedPlans | getProvisionedPlans | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setProvisionedPlans($val)
{
$this->_propDict["provisionedPlans"] = $val;
return $this;
} | Sets the provisionedPlans
The plans that are provisioned for the user. Read-only. Not nullable.
@param ProvisionedPlan[] $val The provisionedPlans
@return EducationUser | setProvisionedPlans | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getRefreshTokensValidFromDateTime()
{
if (array_key_exists("refreshTokensValidFromDateTime", $this->_propDict)) {
if (is_a($this->_propDict["refreshTokensValidFromDateTime"], "\DateTime") || is_null($this->_propDict["refreshTokensValidFromDateTime"])) {
return $this->_propDict["refreshTokensValidFromDateTime"];
} else {
$this->_propDict["refreshTokensValidFromDateTime"] = new \DateTime($this->_propDict["refreshTokensValidFromDateTime"]);
return $this->_propDict["refreshTokensValidFromDateTime"];
}
}
return null;
} | Gets the refreshTokensValidFromDateTime
@return \DateTime|null The refreshTokensValidFromDateTime | getRefreshTokensValidFromDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setRefreshTokensValidFromDateTime($val)
{
$this->_propDict["refreshTokensValidFromDateTime"] = $val;
return $this;
} | Sets the refreshTokensValidFromDateTime
@param \DateTime $val The refreshTokensValidFromDateTime
@return EducationUser | setRefreshTokensValidFromDateTime | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getResidenceAddress()
{
if (array_key_exists("residenceAddress", $this->_propDict)) {
if (is_a($this->_propDict["residenceAddress"], "\Beta\Microsoft\Graph\Model\PhysicalAddress") || is_null($this->_propDict["residenceAddress"])) {
return $this->_propDict["residenceAddress"];
} else {
$this->_propDict["residenceAddress"] = new PhysicalAddress($this->_propDict["residenceAddress"]);
return $this->_propDict["residenceAddress"];
}
}
return null;
} | Gets the residenceAddress
Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources.
@return PhysicalAddress|null The residenceAddress | getResidenceAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setResidenceAddress($val)
{
$this->_propDict["residenceAddress"] = $val;
return $this;
} | Sets the residenceAddress
Address where user lives. Note: type and postOfficeBox are not supported for educationUser resources.
@param PhysicalAddress $val The residenceAddress
@return EducationUser | setResidenceAddress | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getStudent()
{
if (array_key_exists("student", $this->_propDict)) {
if (is_a($this->_propDict["student"], "\Beta\Microsoft\Graph\Model\EducationStudent") || is_null($this->_propDict["student"])) {
return $this->_propDict["student"];
} else {
$this->_propDict["student"] = new EducationStudent($this->_propDict["student"]);
return $this->_propDict["student"];
}
}
return null;
} | Gets the student
If the primary role is student, this block will contain student specific data.
@return EducationStudent|null The student | getStudent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setStudent($val)
{
$this->_propDict["student"] = $val;
return $this;
} | Sets the student
If the primary role is student, this block will contain student specific data.
@param EducationStudent $val The student
@return EducationUser | setStudent | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getSurname()
{
if (array_key_exists("surname", $this->_propDict)) {
return $this->_propDict["surname"];
} else {
return null;
}
} | Gets the surname
The user's surname (family name or last name). Supports /$filter.
@return string|null The surname | getSurname | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setSurname($val)
{
$this->_propDict["surname"] = $val;
return $this;
} | Sets the surname
The user's surname (family name or last name). Supports /$filter.
@param string $val The surname
@return EducationUser | setSurname | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getTeacher()
{
if (array_key_exists("teacher", $this->_propDict)) {
if (is_a($this->_propDict["teacher"], "\Beta\Microsoft\Graph\Model\EducationTeacher") || is_null($this->_propDict["teacher"])) {
return $this->_propDict["teacher"];
} else {
$this->_propDict["teacher"] = new EducationTeacher($this->_propDict["teacher"]);
return $this->_propDict["teacher"];
}
}
return null;
} | Gets the teacher
If the primary role is teacher, this block will contain teacher specific data.
@return EducationTeacher|null The teacher | getTeacher | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setTeacher($val)
{
$this->_propDict["teacher"] = $val;
return $this;
} | Sets the teacher
If the primary role is teacher, this block will contain teacher specific data.
@param EducationTeacher $val The teacher
@return EducationUser | setTeacher | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getUsageLocation()
{
if (array_key_exists("usageLocation", $this->_propDict)) {
return $this->_propDict["usageLocation"];
} else {
return null;
}
} | Gets the usageLocation
A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter.
@return string|null The usageLocation | getUsageLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setUsageLocation($val)
{
$this->_propDict["usageLocation"] = $val;
return $this;
} | Sets the usageLocation
A two-letter country code ([ISO 3166 Alpha-2]). Required for users who will be assigned licenses. Not nullable. Supports /$filter.
@param string $val The usageLocation
@return EducationUser | setUsageLocation | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getUserPrincipalName()
{
if (array_key_exists("userPrincipalName", $this->_propDict)) {
return $this->_propDict["userPrincipalName"];
} else {
return null;
}
} | Gets the userPrincipalName
The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details.
@return string|null The userPrincipalName | getUserPrincipalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setUserPrincipalName($val)
{
$this->_propDict["userPrincipalName"] = $val;
return $this;
} | Sets the userPrincipalName
The user principal name (UPN) for the user. Supports $filter and $orderby. See standard [user] resource for additional details.
@param string $val The userPrincipalName
@return EducationUser | setUserPrincipalName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getUserType()
{
if (array_key_exists("userType", $this->_propDict)) {
return $this->_propDict["userType"];
} else {
return null;
}
} | Gets the userType
A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter.
@return string|null The userType | getUserType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setUserType($val)
{
$this->_propDict["userType"] = $val;
return $this;
} | Sets the userType
A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports /$filter.
@param string $val The userType
@return EducationUser | setUserType | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getAssignments()
{
if (array_key_exists("assignments", $this->_propDict)) {
return $this->_propDict["assignments"];
} else {
return null;
}
} | Gets the assignments
List of assignments for the user. Nullable.
@return array|null The assignments | getAssignments | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setAssignments($val)
{
$this->_propDict["assignments"] = $val;
return $this;
} | Sets the assignments
List of assignments for the user. Nullable.
@param EducationAssignment[] $val The assignments
@return EducationUser | setAssignments | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getRubrics()
{
if (array_key_exists("rubrics", $this->_propDict)) {
return $this->_propDict["rubrics"];
} else {
return null;
}
} | Gets the rubrics
When set, the grading rubric attached to the assignment.
@return array|null The rubrics | getRubrics | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setRubrics($val)
{
$this->_propDict["rubrics"] = $val;
return $this;
} | Sets the rubrics
When set, the grading rubric attached to the assignment.
@param EducationRubric[] $val The rubrics
@return EducationUser | setRubrics | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getClasses()
{
if (array_key_exists("classes", $this->_propDict)) {
return $this->_propDict["classes"];
} else {
return null;
}
} | Gets the classes
Classes to which the user belongs. Nullable.
@return array|null The classes | getClasses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setClasses($val)
{
$this->_propDict["classes"] = $val;
return $this;
} | Sets the classes
Classes to which the user belongs. Nullable.
@param EducationClass[] $val The classes
@return EducationUser | setClasses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getSchools()
{
if (array_key_exists("schools", $this->_propDict)) {
return $this->_propDict["schools"];
} else {
return null;
}
} | Gets the schools
Schools to which the user belongs. Nullable.
@return array|null The schools | getSchools | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setSchools($val)
{
$this->_propDict["schools"] = $val;
return $this;
} | Sets the schools
Schools to which the user belongs. Nullable.
@param EducationSchool[] $val The schools
@return EducationUser | setSchools | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getTaughtClasses()
{
if (array_key_exists("taughtClasses", $this->_propDict)) {
return $this->_propDict["taughtClasses"];
} else {
return null;
}
} | Gets the taughtClasses
Classes for which the user is a teacher.
@return array|null The taughtClasses | getTaughtClasses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function setTaughtClasses($val)
{
$this->_propDict["taughtClasses"] = $val;
return $this;
} | Sets the taughtClasses
Classes for which the user is a teacher.
@param EducationClass[] $val The taughtClasses
@return EducationUser | setTaughtClasses | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationUser.php | MIT |
public function getProperties()
{
return $this->_propDict;
} | Gets the property dictionary of the AppCatalogs
@return array The list of properties | getProperties | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php | MIT |
public function jsonSerialize()
{
$serializableProperties = $this->getProperties();
foreach ($serializableProperties as $property => $val) {
if (is_a($val, "\DateTime")) {
$serializableProperties[$property] = $val->format(\DateTime::RFC3339);
} else if (is_a($val, "\Microsoft\Graph\Core\Enum")) {
$serializableProperties[$property] = $val->value();
} else if (is_a($val, "\Entity")) {
$serializableProperties[$property] = $val->jsonSerialize();
} else if (is_a($val, "\GuzzleHttp\Psr7\Stream")) {
$serializableProperties[$property] = (string) $val;
}
}
return $serializableProperties;
} | Serializes the object by property array
Manually serialize DateTime into RFC3339 format
@return array The list of properties | jsonSerialize | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppCatalogs.php | MIT |
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
} | Gets the displayName
The name of the scope.
@return string|null The displayName | getDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php | MIT |
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
} | Sets the displayName
The name of the scope.
@param string $val The value of the displayName
@return AppConsentRequestScope | setDisplayName | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AppConsentRequestScope.php | MIT |
public function getCloudPcStatus()
{
if (array_key_exists("cloudPcStatus", $this->_propDict)) {
return $this->_propDict["cloudPcStatus"];
} else {
return null;
}
} | Gets the cloudPcStatus
The status of the cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, deprovisioning, failed. Required. Read-only.
@return string|null The cloudPcStatus | getCloudPcStatus | php | xiebruce/PicUploader | vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcDevice.php | https://github.com/xiebruce/PicUploader/blob/master/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/ManagedTenants/Model/CloudPcDevice.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.