Skip to content

Commit

Permalink
Merge pull request #1237 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
Release 1.98.0
  • Loading branch information
Ndiritu authored May 17, 2023
2 parents 54e5694 + ff04dbe commit 15cec55
Show file tree
Hide file tree
Showing 62 changed files with 1,071 additions and 98 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"php": "^8.0 || ^7.3",
"guzzlehttp/guzzle": "^6.0 || ^7.0",
"ext-json": "*",
"psr/http-message": "^1.0"
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class AccessReviewInstanceDecisionItemServicePrincipalResource extends AccessRev
{
/**
* Gets the appId
* The globally unique identifier of the application to which access has been granted.
*
* @return string|null The appId
*/
Expand All @@ -39,6 +40,7 @@ public function getAppId()

/**
* Sets the appId
* The globally unique identifier of the application to which access has been granted.
*
* @param string $val The value of the appId
*
Expand Down
30 changes: 28 additions & 2 deletions src/Beta/Microsoft/Graph/Model/AttackSimulationUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,34 @@ public function setEmail($val)
return $this;
}
/**
* Gets the outOfOfficeDays
*
* @return int|null The outOfOfficeDays
*/
public function getOutOfOfficeDays()
{
if (array_key_exists("outOfOfficeDays", $this->_propDict)) {
return $this->_propDict["outOfOfficeDays"];
} else {
return null;
}
}

/**
* Sets the outOfOfficeDays
*
* @param int $val The value of the outOfOfficeDays
*
* @return AttackSimulationUser
*/
public function setOutOfOfficeDays($val)
{
$this->_propDict["outOfOfficeDays"] = $val;
return $this;
}
/**
* Gets the userId
* This is the id property value of the user resource that represents the user in the Azure Active Directory tenant.
* id property value of the user resource that represents the user in the Azure Active Directory tenant.
*
* @return string|null The userId
*/
Expand All @@ -96,7 +122,7 @@ public function getUserId()

/**
* Sets the userId
* This is the id property value of the user resource that represents the user in the Azure Active Directory tenant.
* id property value of the user resource that represents the user in the Azure Active Directory tenant.
*
* @param string $val The value of the userId
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function getProperties()

/**
* Gets the appId
* The identifier for an application corresponding to a condition which will trigger an authenticationEventListener.
*
* @return string|null The appId
*/
Expand All @@ -71,6 +72,7 @@ public function getAppId()

/**
* Sets the appId
* The identifier for an application corresponding to a condition which will trigger an authenticationEventListener.
*
* @param string $val The appId
*
Expand Down
2 changes: 2 additions & 0 deletions src/Beta/Microsoft/Graph/Model/AuthenticationConditions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class AuthenticationConditions extends Entity

/**
* Gets the applications
* Applications which will trigger a custom authentication extension.
*
* @return AuthenticationConditionsApplications|null The applications
*/
Expand All @@ -44,6 +45,7 @@ public function getApplications()

/**
* Sets the applications
* Applications which will trigger a custom authentication extension.
*
* @param AuthenticationConditionsApplications $val The value to assign to the applications
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class AuthenticationConditionsApplications extends Entity
{
/**
* Gets the includeAllApplications
* Whether the custom authentication extension should trigger for all applications with appIds specified in the includeApplications relationship. This property must be set to false for listener of type onTokenIssuanceStartListener.
*
* @return bool|null The includeAllApplications
*/
Expand All @@ -39,6 +40,7 @@ public function getIncludeAllApplications()

/**
* Sets the includeAllApplications
* Whether the custom authentication extension should trigger for all applications with appIds specified in the includeApplications relationship. This property must be set to false for listener of type onTokenIssuanceStartListener.
*
* @param bool $val The value of the includeAllApplications
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class AuthenticationConfigurationValidation extends Entity

/**
* Gets the errors
* Errors in the validation result of a customAuthenticationExtension.
*
* @return GenericError|null The errors
*/
Expand All @@ -44,6 +45,7 @@ public function getErrors()

/**
* Sets the errors
* Errors in the validation result of a customAuthenticationExtension.
*
* @param GenericError $val The value to assign to the errors
*
Expand All @@ -57,6 +59,7 @@ public function setErrors($val)

/**
* Gets the warnings
* Warnings in the validation result of a customAuthenticationExtension.
*
* @return GenericError|null The warnings
*/
Expand All @@ -75,6 +78,7 @@ public function getWarnings()

/**
* Sets the warnings
* Warnings in the validation result of a customAuthenticationExtension.
*
* @param GenericError $val The value to assign to the warnings
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class AuthenticationEventListener extends Entity
{
/**
* Gets the authenticationEventsFlowId
* The identifier of the authenticationEventsFlow object.
*
* @return string|null The authenticationEventsFlowId
*/
Expand All @@ -40,6 +41,7 @@ public function getAuthenticationEventsFlowId()

/**
* Sets the authenticationEventsFlowId
* The identifier of the authenticationEventsFlow object.
*
* @param string $val The authenticationEventsFlowId
*
Expand All @@ -53,6 +55,7 @@ public function setAuthenticationEventsFlowId($val)

/**
* Gets the conditions
* The conditions on which this authenticationEventListener should trigger.
*
* @return AuthenticationConditions|null The conditions
*/
Expand All @@ -71,6 +74,7 @@ public function getConditions()

/**
* Sets the conditions
* The conditions on which this authenticationEventListener should trigger.
*
* @param AuthenticationConditions $val The conditions
*
Expand All @@ -84,6 +88,7 @@ public function setConditions($val)

/**
* Gets the priority
* The priority of this handler. Between 0 (lower priority) and 1000 (higher priority).
*
* @return int|null The priority
*/
Expand All @@ -98,6 +103,7 @@ public function getPriority()

/**
* Sets the priority
* The priority of this handler. Between 0 (lower priority) and 1000 (higher priority).
*
* @param int $val The priority
*
Expand Down
8 changes: 4 additions & 4 deletions src/Beta/Microsoft/Graph/Model/AuthorizationPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function setAllowedToSignUpEmailBasedSubscriptions($val)

/**
* Gets the allowedToUseSSPR
* Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant.
* Indicates whether the Admin Self-Serve Password Reset feature is enabled on the tenant.
*
* @return bool|null The allowedToUseSSPR
*/
Expand All @@ -70,7 +70,7 @@ public function getAllowedToUseSSPR()

/**
* Sets the allowedToUseSSPR
* Indicates whether the Self-Serve Password Reset feature can be used by users on the tenant.
* Indicates whether the Admin Self-Serve Password Reset feature is enabled on the tenant.
*
* @param bool $val The allowedToUseSSPR
*
Expand Down Expand Up @@ -146,7 +146,7 @@ public function setAllowInvitesFrom($val)

/**
* Gets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false.
* Indicates whether user consent for risky apps is allowed. Default value is false. We recommend that you keep the value set to false.
*
* @return bool|null The allowUserConsentForRiskyApps
*/
Expand All @@ -161,7 +161,7 @@ public function getAllowUserConsentForRiskyApps()

/**
* Sets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false.
* Indicates whether user consent for risky apps is allowed. Default value is false. We recommend that you keep the value set to false.
*
* @param bool $val The allowUserConsentForRiskyApps
*
Expand Down
8 changes: 8 additions & 0 deletions src/Beta/Microsoft/Graph/Model/Contract.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Contract extends DirectoryObject
{
/**
* Gets the contractType
* Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below.
*
* @return string|null The contractType
*/
Expand All @@ -40,6 +41,7 @@ public function getContractType()

/**
* Sets the contractType
* Type of contract. Possible values are: SyndicationPartner, BreadthPartner, ResellerPartner. See more in the table below.
*
* @param string $val The contractType
*
Expand All @@ -53,6 +55,7 @@ public function setContractType($val)

/**
* Gets the customerId
* The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
*
* @return string|null The customerId
*/
Expand All @@ -67,6 +70,7 @@ public function getCustomerId()

/**
* Sets the customerId
* The unique identifier for the customer tenant referenced by this partnership. Corresponds to the id property of the customer tenant's organization resource.
*
* @param string $val The customerId
*
Expand All @@ -80,6 +84,7 @@ public function setCustomerId($val)

/**
* Gets the defaultDomainName
* A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
*
* @return string|null The defaultDomainName
*/
Expand All @@ -94,6 +99,7 @@ public function getDefaultDomainName()

/**
* Sets the defaultDomainName
* A copy of the customer tenant's default domain name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's default domain name changes.
*
* @param string $val The defaultDomainName
*
Expand All @@ -107,6 +113,7 @@ public function setDefaultDomainName($val)

/**
* Gets the displayName
* A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
*
* @return string|null The displayName
*/
Expand All @@ -121,6 +128,7 @@ public function getDisplayName()

/**
* Sets the displayName
* A copy of the customer tenant's display name. The copy is made when the partnership with the customer is established. It is not automatically updated if the customer tenant's display name changes.
*
* @param string $val The displayName
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CredentialUserRegistrationCount extends Entity
{
/**
* Gets the totalUserCount
* Provides the total user count in the tenant.
* Provides the count of users with accountEnabled set to true in the tenant.
*
* @return int|null The totalUserCount
*/
Expand All @@ -41,7 +41,7 @@ public function getTotalUserCount()

/**
* Sets the totalUserCount
* Provides the total user count in the tenant.
* Provides the count of users with accountEnabled set to true in the tenant.
*
* @param int $val The totalUserCount
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CrossTenantAccessPolicyConfigurationDefault extends Entity
{
/**
* Gets the automaticUserConsentSettings
* Determines the default configuration for automatic user consent settings. inboundAllowed and outboundAllowed will always be false and cannot be updated in the default configuration. Read only.
* Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and cannot be updated in the default configuration. Read-only.
*
* @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings
*/
Expand All @@ -45,7 +45,7 @@ public function getAutomaticUserConsentSettings()

/**
* Sets the automaticUserConsentSettings
* Determines the default configuration for automatic user consent settings. inboundAllowed and outboundAllowed will always be false and cannot be updated in the default configuration. Read only.
* Determines the default configuration for automatic user consent settings. The inboundAllowed and outboundAllowed properties are always false and cannot be updated in the default configuration. Read-only.
*
* @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getProperties()

/**
* Gets the automaticUserConsentSettings
* Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties will be null and inherit from the default settings, which is always false.
* Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false.
*
* @return InboundOutboundPolicyConfiguration|null The automaticUserConsentSettings
*/
Expand All @@ -76,7 +76,7 @@ public function getAutomaticUserConsentSettings()

/**
* Sets the automaticUserConsentSettings
* Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties will be null and inherit from the default settings, which is always false.
* Determines the partner-specific configuration for automatic user consent settings. Unless specifically configured, the inboundAllowed and outboundAllowed properties are null and inherit from the default settings, which is always false.
*
* @param InboundOutboundPolicyConfiguration $val The automaticUserConsentSettings
*
Expand Down Expand Up @@ -344,7 +344,7 @@ public function setTenantRestrictions($val)

/**
* Gets the identitySynchronization
* Defines the cross-tenant policy for synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating creating, updating, and deleting users from one tenant to another.
* Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another.
*
* @return CrossTenantIdentitySyncPolicyPartner|null The identitySynchronization
*/
Expand All @@ -363,7 +363,7 @@ public function getIdentitySynchronization()

/**
* Sets the identitySynchronization
* Defines the cross-tenant policy for synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating creating, updating, and deleting users from one tenant to another.
* Defines the cross-tenant policy for the synchronization of users from a partner tenant. Use this user synchronization policy to streamline collaboration between users in a multi-tenant organization by automating the creation, update, and deletion of users from one tenant to another.
*
* @param CrossTenantIdentitySyncPolicyPartner $val The identitySynchronization
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getProperties()

/**
* Gets the displayName
* Display name for the cross-tenant user synchronization policy. Use the name of the partner Azure AD tenant to easily identify the policy. Optional.
* Display name for the cross-tenant user synchronization policy. Use the name of the partner Azure AD (Azure Active Directory) tenant to easily identify the policy. Optional.
*
* @return string|null The displayName
*/
Expand All @@ -72,7 +72,7 @@ public function getDisplayName()

/**
* Sets the displayName
* Display name for the cross-tenant user synchronization policy. Use the name of the partner Azure AD tenant to easily identify the policy. Optional.
* Display name for the cross-tenant user synchronization policy. Use the name of the partner Azure AD (Azure Active Directory) tenant to easily identify the policy. Optional.
*
* @param string $val The displayName
*
Expand Down
Loading

0 comments on commit 15cec55

Please sign in to comment.