Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated models and request builders #1319

Merged
merged 1 commit into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Model/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ public function setHomeRealmDiscoveryPolicies($val)

/**
* Gets the owners
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @return array|null The owners
*/
Expand All @@ -1257,7 +1257,7 @@ public function getOwners()

/**
* Sets the owners
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @param DirectoryObject[] $val The owners
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/ConditionalAccessConditionSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function setClientApplications($val)

/**
* Gets the clientAppTypes
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required.
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms.
*
* @return ConditionalAccessClientApp|null The clientAppTypes
*/
Expand All @@ -111,7 +111,7 @@ public function getClientAppTypes()

/**
* Sets the clientAppTypes
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required.
* Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. Required. The easUnsupported enumeration member will be deprecated in favor of exchangeActiveSync which includes EAS supported and unsupported platforms.
*
* @param ConditionalAccessClientApp $val The value to assign to the clientAppTypes
*
Expand Down
31 changes: 31 additions & 0 deletions src/Model/PublicationFacet.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,37 @@
*/
class PublicationFacet extends Entity
{

/**
* Gets the checkedOutBy
*
* @return IdentitySet|null The checkedOutBy
*/
public function getCheckedOutBy()
{
if (array_key_exists("checkedOutBy", $this->_propDict)) {
if (is_a($this->_propDict["checkedOutBy"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["checkedOutBy"])) {
return $this->_propDict["checkedOutBy"];
} else {
$this->_propDict["checkedOutBy"] = new IdentitySet($this->_propDict["checkedOutBy"]);
return $this->_propDict["checkedOutBy"];
}
}
return null;
}

/**
* Sets the checkedOutBy
*
* @param IdentitySet $val The value to assign to the checkedOutBy
*
* @return PublicationFacet The PublicationFacet
*/
public function setCheckedOutBy($val)
{
$this->_propDict["checkedOutBy"] = $val;
return $this;
}
/**
* Gets the level
* The state of publication for this document. Either published or checkout. Read-only.
Expand Down
4 changes: 2 additions & 2 deletions src/Model/ServicePrincipal.php
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ public function setOwnedObjects($val)

/**
* Gets the owners
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @return array|null The owners
*/
Expand All @@ -1404,7 +1404,7 @@ public function getOwners()

/**
* Sets the owners
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
* Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
*
* @param DirectoryObject[] $val The owners
*
Expand Down
58 changes: 58 additions & 0 deletions src/SecurityNamespace/Model/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,64 @@ public function setActorDisplayName($val)
return $this;
}

/**
* Gets the additionalData
*
* @return Dictionary|null The additionalData
*/
public function getAdditionalData()
{
if (array_key_exists("additionalData", $this->_propDict)) {
if (is_a($this->_propDict["additionalData"], "\Microsoft\Graph\SecurityNamespace\Model\Dictionary") || is_null($this->_propDict["additionalData"])) {
return $this->_propDict["additionalData"];
} else {
$this->_propDict["additionalData"] = new Dictionary($this->_propDict["additionalData"]);
return $this->_propDict["additionalData"];
}
}
return null;
}

/**
* Sets the additionalData
*
* @param Dictionary $val The additionalData
*
* @return Alert
*/
public function setAdditionalData($val)
{
$this->_propDict["additionalData"] = $val;
return $this;
}

/**
* Gets the alertPolicyId
*
* @return string|null The alertPolicyId
*/
public function getAlertPolicyId()
{
if (array_key_exists("alertPolicyId", $this->_propDict)) {
return $this->_propDict["alertPolicyId"];
} else {
return null;
}
}

/**
* Sets the alertPolicyId
*
* @param string $val The alertPolicyId
*
* @return Alert
*/
public function setAlertPolicyId($val)
{
$this->_propDict["alertPolicyId"] = $val;
return $this;
}

/**
* Gets the alertWebUrl
* URL for the alert page in the Microsoft 365 Defender portal.
Expand Down
27 changes: 27 additions & 0 deletions src/SecurityNamespace/Model/Incident.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,33 @@ public function setIncidentWebUrl($val)
return $this;
}

/**
* Gets the lastModifiedBy
*
* @return string|null The lastModifiedBy
*/
public function getLastModifiedBy()
{
if (array_key_exists("lastModifiedBy", $this->_propDict)) {
return $this->_propDict["lastModifiedBy"];
} else {
return null;
}
}

/**
* Sets the lastModifiedBy
*
* @param string $val The lastModifiedBy
*
* @return Incident
*/
public function setLastModifiedBy($val)
{
$this->_propDict["lastModifiedBy"] = $val;
return $this;
}

/**
* Gets the lastUpdateDateTime
* Time when the incident was last updated.
Expand Down