Skip to content

Commit

Permalink
Merge pull request #1354 from microsoftgraph/v1.0/pipelinebuild/126033
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
Ndiritu authored Oct 6, 2023
2 parents c7e698e + 5b4b93f commit 66a0c14
Show file tree
Hide file tree
Showing 146 changed files with 9,167 additions and 232 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.107.0"
"microsoft/microsoft-graph": "^1.108.0"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/Core/GraphConstants.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class GraphConstants
const REST_ENDPOINT = "https://graph.microsoft.com/";

// Define HTTP request constants
const SDK_VERSION = "1.107.0";
const SDK_VERSION = "1.108.0";

// Define error constants
const MAX_PAGE_SIZE = 999;
Expand Down
1 change: 1 addition & 0 deletions src/ExternalConnectors/Model/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ class Label extends Enum
const FILE_NAME = "fileName";
const FILE_EXTENSION = "fileExtension";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
const ICON_URL = "iconUrl";
}
12 changes: 6 additions & 6 deletions src/ExternalConnectors/Model/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Property extends \Microsoft\Graph\Model\Entity
{
/**
* Gets the aliases
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
* A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
*
* @return string|null The aliases
*/
Expand All @@ -40,7 +40,7 @@ public function getAliases()

/**
* Sets the aliases
* A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
* A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
*
* @param string $val The value of the aliases
*
Expand Down Expand Up @@ -137,7 +137,7 @@ public function setIsRetrievable($val)
}
/**
* Gets the isSearchable
* Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Non-searchable properties are not added to the search index. Optional.
* Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional.
*
* @return bool|null The isSearchable
*/
Expand All @@ -152,7 +152,7 @@ public function getIsSearchable()

/**
* Sets the isSearchable
* Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Non-searchable properties are not added to the search index. Optional.
* Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional.
*
* @param bool $val The value of the isSearchable
*
Expand All @@ -166,7 +166,7 @@ public function setIsSearchable($val)

/**
* Gets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
*
* @return Label|null The labels
*/
Expand All @@ -185,7 +185,7 @@ public function getLabels()

/**
* Sets the labels
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
* Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional.
*
* @param Label $val The value to assign to the labels
*
Expand Down
8 changes: 4 additions & 4 deletions src/Model/AccessPackageAssignmentApprovalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AccessPackageAssignmentApprovalSettings extends Entity
{
/**
* Gets the isApprovalRequiredForAdd
* If false, then approval is not required for new requests in this policy.
* If false, then approval isn't required for new requests in this policy.
*
* @return bool|null The isApprovalRequiredForAdd
*/
Expand All @@ -40,7 +40,7 @@ public function getIsApprovalRequiredForAdd()

/**
* Sets the isApprovalRequiredForAdd
* If false, then approval is not required for new requests in this policy.
* If false, then approval isn't required for new requests in this policy.
*
* @param bool $val The value of the isApprovalRequiredForAdd
*
Expand All @@ -53,7 +53,7 @@ public function setIsApprovalRequiredForAdd($val)
}
/**
* Gets the isApprovalRequiredForUpdate
* If false, then approval is not required for updates to requests in this policy.
* If false, then approval isn't required for updates to requests in this policy.
*
* @return bool|null The isApprovalRequiredForUpdate
*/
Expand All @@ -68,7 +68,7 @@ public function getIsApprovalRequiredForUpdate()

/**
* Sets the isApprovalRequiredForUpdate
* If false, then approval is not required for updates to requests in this policy.
* If false, then approval isn't required for updates to requests in this policy.
*
* @param bool $val The value of the isApprovalRequiredForUpdate
*
Expand Down
8 changes: 4 additions & 4 deletions src/Model/AccessPackageAssignmentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function setCustomExtensionCalloutInstances($val)

/**
* Gets the requestType
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property can't be changed once set.
*
* @return AccessPackageRequestType|null The requestType
*/
Expand All @@ -171,7 +171,7 @@ public function getRequestType()

/**
* Sets the requestType
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property cannot be changed once set.
* The type of the request. The possible values are: notSpecified, userAdd, UserExtend, userUpdate, userRemove, adminAdd, adminUpdate, adminRemove, systemAdd, systemUpdate, systemRemove, onBehalfAdd (not supported), unknownFutureValue. A request from the user themselves would have requestType of userAdd, userUpdate or userRemove. This property can't be changed once set.
*
* @param AccessPackageRequestType $val The requestType
*
Expand All @@ -185,7 +185,7 @@ public function setRequestType($val)

/**
* Gets the schedule
* The range of dates that access is to be assigned to the requestor. This property cannot be changed once set.
* The range of dates that access is to be assigned to the requestor. This property can't be changed once set.
*
* @return EntitlementManagementSchedule|null The schedule
*/
Expand All @@ -204,7 +204,7 @@ public function getSchedule()

/**
* Sets the schedule
* The range of dates that access is to be assigned to the requestor. This property cannot be changed once set.
* The range of dates that access is to be assigned to the requestor. This property can't be changed once set.
*
* @param EntitlementManagementSchedule $val The schedule
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessPackageAssignmentRequestCallbackData.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function setCustomExtensionStageInstanceId($val)

/**
* Gets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
* Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @return AccessPackageCustomExtensionStage|null The stage
*/
Expand All @@ -101,7 +101,7 @@ public function getStage()

/**
* Sets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
* Indicates the stage at which the custom callout extension is executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @param AccessPackageCustomExtensionStage $val The value to assign to the stage
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessPackageAssignmentRequestorSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AccessPackageAssignmentRequestorSettings extends Entity
{
/**
* Gets the allowCustomAssignmentSchedule
* False indicates that the requestor is not permitted to include a schedule in their request.
* False indicates that the requestor isn't permitted to include a schedule in their request.
*
* @return bool|null The allowCustomAssignmentSchedule
*/
Expand All @@ -40,7 +40,7 @@ public function getAllowCustomAssignmentSchedule()

/**
* Sets the allowCustomAssignmentSchedule
* False indicates that the requestor is not permitted to include a schedule in their request.
* False indicates that the requestor isn't permitted to include a schedule in their request.
*
* @param bool $val The value of the allowCustomAssignmentSchedule
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessPackageTextInputQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function setIsSingleLineQuestion($val)

/**
* Gets the regexPattern
* The regular expression pattern which any answer to this question must match.
* The regular expression pattern that any answer to this question must match.
*
* @return string|null The regexPattern
*/
Expand All @@ -70,7 +70,7 @@ public function getRegexPattern()

/**
* Sets the regexPattern
* The regular expression pattern which any answer to this question must match.
* The regular expression pattern that any answer to this question must match.
*
* @param string $val The regexPattern
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessReviewHistoryScheduleSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function setRecurrence($val)
}
/**
* Gets the reportRange
* A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required.
* A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required.
*
* @return string|null The reportRange
*/
Expand All @@ -73,7 +73,7 @@ public function getReportRange()

/**
* Sets the reportRange
* A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the reportRange is P1M. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required.
* A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the first of every month, the reportRange is P1M. In this case, on the first of every month, access review history data is collected containing only the previous month's review data. Note: Only years, months, and days ISO 8601 properties are supported. Required.
*
* @param string $val The value of the reportRange
*
Expand Down
Loading

0 comments on commit 66a0c14

Please sign in to comment.