Skip to content

Commit

Permalink
Merge pull request #1329 from microsoftgraph/beta/pipelinebuild/123864
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
Ndiritu authored Aug 30, 2023
2 parents c180d59 + 01a5bf3 commit 141710f
Show file tree
Hide file tree
Showing 31 changed files with 351 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can install the PHP SDK with Composer, either run `composer require microsof
```
{
"require": {
"microsoft/microsoft-graph": "^1.105.0"
"microsoft/microsoft-graph": "^1.106.0"
}
}
```
Expand Down
31 changes: 31 additions & 0 deletions src/Beta/Microsoft/Graph/Model/AccessPackageSubject.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,37 @@ public function setAltSecId($val)
return $this;
}

/**
* Gets the cleanupScheduledDateTime
*
* @return \DateTime|null The cleanupScheduledDateTime
*/
public function getCleanupScheduledDateTime()
{
if (array_key_exists("cleanupScheduledDateTime", $this->_propDict)) {
if (is_a($this->_propDict["cleanupScheduledDateTime"], "\DateTime") || is_null($this->_propDict["cleanupScheduledDateTime"])) {
return $this->_propDict["cleanupScheduledDateTime"];
} else {
$this->_propDict["cleanupScheduledDateTime"] = new \DateTime($this->_propDict["cleanupScheduledDateTime"]);
return $this->_propDict["cleanupScheduledDateTime"];
}
}
return null;
}

/**
* Sets the cleanupScheduledDateTime
*
* @param \DateTime $val The cleanupScheduledDateTime
*
* @return AccessPackageSubject
*/
public function setCleanupScheduledDateTime($val)
{
$this->_propDict["cleanupScheduledDateTime"] = $val;
return $this;
}

/**
* Gets the connectedOrganizationId
* The identifier of the connected organization of the subject.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function setAuthenticationStrength($val)

/**
* Gets the conditionsNotSatisfied
* Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk.
* Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @return ConditionalAccessConditions|null The conditionsNotSatisfied
*/
Expand All @@ -78,7 +78,7 @@ public function getConditionsNotSatisfied()

/**
* Sets the conditionsNotSatisfied
* Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk.
* Refers to the conditional access policy conditions that are not satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @param ConditionalAccessConditions $val The value to assign to the conditionsNotSatisfied
*
Expand All @@ -92,7 +92,7 @@ public function setConditionsNotSatisfied($val)

/**
* Gets the conditionsSatisfied
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk.
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @return ConditionalAccessConditions|null The conditionsSatisfied
*/
Expand All @@ -111,7 +111,7 @@ public function getConditionsSatisfied()

/**
* Sets the conditionsSatisfied
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk.
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client,ipAddressSeenByAzureAD,ipAddressSeenByResourceProvider,unknownFutureValue,servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals,servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @param ConditionalAccessConditions $val The value to assign to the conditionsSatisfied
*
Expand Down Expand Up @@ -209,7 +209,7 @@ public function setEnforcedSessionControls($val)

/**
* Gets the excludeRulesSatisfied
* List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didnt apply, because the DevicePlatform condition was a match.
* List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn't apply, because the DevicePlatform condition was a match.
*
* @return ConditionalAccessRuleSatisfied|null The excludeRulesSatisfied
*/
Expand All @@ -228,7 +228,7 @@ public function getExcludeRulesSatisfied()

/**
* Sets the excludeRulesSatisfied
* List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didnt apply, because the DevicePlatform condition was a match.
* List of key-value pairs containing each matched exclude condition in the conditional access policy. Example: [{'devicePlatform' : 'DevicePlatform'}] means the policy didn't apply, because the DevicePlatform condition was a match.
*
* @param ConditionalAccessRuleSatisfied $val The value to assign to the excludeRulesSatisfied
*
Expand Down
31 changes: 31 additions & 0 deletions src/Beta/Microsoft/Graph/Model/AttachmentContentProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,35 @@ public function setCurrentLabel($val)
$this->_propDict["currentLabel"] = $val;
return $this;
}

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

/**
* Sets the discoveredSensitiveTypes
*
* @param DiscoveredSensitiveType $val The value to assign to the discoveredSensitiveTypes
*
* @return AttachmentContentProperties The AttachmentContentProperties
*/
public function setDiscoveredSensitiveTypes($val)
{
$this->_propDict["discoveredSensitiveTypes"] = $val;
return $this;
}
}
12 changes: 6 additions & 6 deletions src/Beta/Microsoft/Graph/Model/BaseItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BaseItem extends Entity
{
/**
* Gets the createdBy
* Identity of the user, device, or application which created the item. Read-only.
* Identity of the user, device, or application that created the item. Read-only.
*
* @return IdentitySet|null The createdBy
*/
Expand All @@ -45,7 +45,7 @@ public function getCreatedBy()

/**
* Sets the createdBy
* Identity of the user, device, or application which created the item. Read-only.
* Identity of the user, device, or application that created the item. Read-only.
*
* @param IdentitySet $val The createdBy
*
Expand Down Expand Up @@ -148,7 +148,7 @@ public function setETag($val)

/**
* Gets the lastModifiedBy
* Identity of the user, device, and application which last modified the item. Read-only.
* Identity of the user, device, and application that last modified the item. Read-only.
*
* @return IdentitySet|null The lastModifiedBy
*/
Expand All @@ -167,7 +167,7 @@ public function getLastModifiedBy()

/**
* Sets the lastModifiedBy
* Identity of the user, device, and application which last modified the item. Read-only.
* Identity of the user, device, and application that last modified the item. Read-only.
*
* @param IdentitySet $val The lastModifiedBy
*
Expand Down Expand Up @@ -276,7 +276,7 @@ public function setParentReference($val)

/**
* Gets the webUrl
* URL that displays the resource in the browser. Read-only.
* URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.
*
* @return string|null The webUrl
*/
Expand All @@ -291,7 +291,7 @@ public function getWebUrl()

/**
* Sets the webUrl
* URL that displays the resource in the browser. Read-only.
* URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.
*
* @param string $val The webUrl
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ConditionalAccessRuleSatisfied extends Entity

/**
* Gets the conditionalAccessCondition
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk.
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @return ConditionalAccessConditions|null The conditionalAccessCondition
*/
Expand All @@ -45,7 +45,7 @@ public function getConditionalAccessCondition()

/**
* Sets the conditionalAccessCondition
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk.
* Refers to the conditional access policy conditions that are satisfied. The possible values are: none, application, users, devicePlatform, location, clientType, signInRisk, userRisk, time, deviceState, client, ipAddressSeenByAzureAD, ipAddressSeenByResourceProvider, unknownFutureValue, servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: servicePrincipals, servicePrincipalRisk, authenticationFlows, insiderRisk. conditionalAccessConditions is a multi-valued enumeration and the property can contain multiple values in a comma-separated list.
*
* @param ConditionalAccessConditions $val The value to assign to the conditionalAccessCondition
*
Expand All @@ -59,7 +59,7 @@ public function setConditionalAccessCondition($val)

/**
* Gets the ruleSatisfied
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals.
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk.
*
* @return ConditionalAccessRule|null The ruleSatisfied
*/
Expand All @@ -78,7 +78,7 @@ public function getRuleSatisfied()

/**
* Sets the ruleSatisfied
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals.
* Refers to the conditional access policy conditions that were satisfied. The possible values are: allApps, firstPartyApps, office365, appId, acr, appFilter, allUsers, guest, groupId, roleId, userId, allDevicePlatforms, devicePlatform, allLocations, insideCorpnet, allTrustedLocations, locationId, allDevices, deviceFilter, deviceState, unknownFutureValue, deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: deviceFilterIncludeRuleNotMatched, allDeviceStates, anonymizedIPAddress, unfamiliarFeatures, nationStateIPAddress, realTimeThreatIntelligence, internalGuest, b2bCollaborationGuest, b2bCollaborationMember, b2bDirectConnectUser, otherExternalUser, serviceProvider, microsoftAdminPortals, deviceCodeFlow, accountTransfer, insiderRisk.
*
* @param ConditionalAccessRule $val The value to assign to the ruleSatisfied
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public function setInboundTrust($val)

/**
* Gets the isInMultiTenantOrganization
* Identifies whether a tenant is a member of a multi-tenant organization.
*
* @return bool|null The isInMultiTenantOrganization
*/
Expand All @@ -269,6 +270,7 @@ public function getIsInMultiTenantOrganization()

/**
* Sets the isInMultiTenantOrganization
* Identifies whether a tenant is a member of a multi-tenant organization.
*
* @param bool $val The isInMultiTenantOrganization
*
Expand Down
Loading

0 comments on commit 141710f

Please sign in to comment.