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 #1343

Merged
merged 2 commits into from
Sep 13, 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
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.106.0"
"microsoft/microsoft-graph": "^1.107.0"
}
}
```
Expand Down
8 changes: 4 additions & 4 deletions src/CallRecords/Model/MediaStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function setAverageVideoPacketLossRate($val)

/**
* Gets the endDateTime
* UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.
*
* @return \DateTime|null The endDateTime
*/
Expand All @@ -434,7 +434,7 @@ public function getEndDateTime()

/**
* Sets the endDateTime
* UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.
*
* @param \DateTime $val The value to assign to the endDateTime
*
Expand Down Expand Up @@ -776,7 +776,7 @@ public function setRmsFreezeDuration($val)

/**
* Gets the startDateTime
* UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.
*
* @return \DateTime|null The startDateTime
*/
Expand All @@ -795,7 +795,7 @@ public function getStartDateTime()

/**
* Sets the startDateTime
* UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
* UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.
*
* @param \DateTime $val The value to assign to the startDateTime
*
Expand Down
4 changes: 2 additions & 2 deletions src/CallRecords/Model/NetworkInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function setLinkSpeed($val)
}
/**
* Gets the macAddress
* The media access control (MAC) address of the media endpoint's network device.
* The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies.
*
* @return string|null The macAddress
*/
Expand All @@ -241,7 +241,7 @@ public function getMacAddress()

/**
* Sets the macAddress
* The media access control (MAC) address of the media endpoint's network device.
* The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies.
*
* @param string $val The value of the macAddress
*
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.106.0";
const SDK_VERSION = "1.107.0";

// Define error constants
const MAX_PAGE_SIZE = 999;
Expand Down
4 changes: 2 additions & 2 deletions src/ExternalConnectors/Model/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -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, 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 (e.g. 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, 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 (e.g. 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
4 changes: 2 additions & 2 deletions src/IdentityGovernanceNamespace/Model/Workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function setId($val)

/**
* Gets the nextScheduleRunDateTime
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
*
* @return \DateTime|null The nextScheduleRunDateTime
*/
Expand All @@ -107,7 +107,7 @@ public function getNextScheduleRunDateTime()

/**
* Sets the nextScheduleRunDateTime
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy.
* The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby.
*
* @param \DateTime $val The nextScheduleRunDateTime
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessPackageResourceRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function setRequestType($val)

/**
* Gets the state
* The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only.
* The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it could not be added or removed. Read-only.
*
* @return AccessPackageRequestState|null The state
*/
Expand All @@ -111,7 +111,7 @@ public function getState()

/**
* Sets the state
* The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only.
* The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it could not be added or removed. Read-only.
*
* @param AccessPackageRequestState $val The state
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AccessReviewScheduleDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function setDescriptionForReviewers($val)

/**
* Gets the displayName
* Name of the access review series. Supports $select and $orderBy. Required on create.
* Name of the access review series. Supports $select and $orderby. Required on create.
*
* @return string|null The displayName
*/
Expand All @@ -195,7 +195,7 @@ public function getDisplayName()

/**
* Sets the displayName
* Name of the access review series. Supports $select and $orderBy. Required on create.
* Name of the access review series. Supports $select and $orderby. Required on create.
*
* @param string $val The displayName
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/AdministrativeUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function setDescription($val)

/**
* Gets the displayName
* Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @return string|null The displayName
*/
Expand All @@ -70,7 +70,7 @@ public function getDisplayName()

/**
* Sets the displayName
* Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @param string $val The displayName
*
Expand Down
8 changes: 4 additions & 4 deletions src/Model/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public function setCertification($val)

/**
* Gets the createdDateTime
* The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
* The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby.
*
* @return \DateTime|null The createdDateTime
*/
Expand All @@ -229,7 +229,7 @@ public function getCreatedDateTime()

/**
* Sets the createdDateTime
* The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.
* The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby.
*
* @param \DateTime $val The createdDateTime
*
Expand Down Expand Up @@ -328,7 +328,7 @@ public function setDisabledByMicrosoftStatus($val)

/**
* Gets the displayName
* The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @return string|null The displayName
*/
Expand All @@ -343,7 +343,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @param string $val The displayName
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/DelegatedAdminCustomer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DelegatedAdminCustomer extends Entity
{
/**
* Gets the displayName
* The Azure AD display name of the customer tenant. Read-only. Supports $orderBy.
* The Azure AD display name of the customer tenant. Read-only. Supports $orderby.
*
* @return string|null The displayName
*/
Expand All @@ -41,7 +41,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The Azure AD display name of the customer tenant. Read-only. Supports $orderBy.
* The Azure AD display name of the customer tenant. Read-only. Supports $orderby.
*
* @param string $val The displayName
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/DelegatedAdminRelationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public function setLastModifiedDateTime($val)

/**
* Gets the status
* The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy.
* The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby.
*
* @return DelegatedAdminRelationshipStatus|null The status
*/
Expand All @@ -305,7 +305,7 @@ public function getStatus()

/**
* Sets the status
* The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy.
* The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby.
*
* @param DelegatedAdminRelationshipStatus $val The status
*
Expand Down
4 changes: 2 additions & 2 deletions src/Model/DelegatedAdminRelationshipOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function setOperationType($val)

/**
* Gets the status
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy.
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderby.
*
* @return LongRunningOperationStatus|null The status
*/
Expand All @@ -173,7 +173,7 @@ public function getStatus()

/**
* Sets the status
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderBy.
* The status of the operation. Read-only. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. Read-only. Supports $orderby.
*
* @param LongRunningOperationStatus $val The status
*
Expand Down
12 changes: 6 additions & 6 deletions src/Model/Device.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function setAlternativeSecurityIds($val)

/**
* Gets the approximateLastSignInDateTime
* The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy.
* The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby.
*
* @return \DateTime|null The approximateLastSignInDateTime
*/
Expand All @@ -104,7 +104,7 @@ public function getApproximateLastSignInDateTime()

/**
* Sets the approximateLastSignInDateTime
* The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy.
* The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby.
*
* @param \DateTime $val The approximateLastSignInDateTime
*
Expand Down Expand Up @@ -296,7 +296,7 @@ public function setDeviceVersion($val)

/**
* Gets the displayName
* The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @return string|null The displayName
*/
Expand All @@ -311,7 +311,7 @@ public function getDisplayName()

/**
* Sets the displayName
* The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
* The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby.
*
* @param string $val The displayName
*
Expand Down Expand Up @@ -681,7 +681,7 @@ public function setSystemLabels($val)

/**
* Gets the trustType
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory.
*
* @return string|null The trustType
*/
Expand All @@ -696,7 +696,7 @@ public function getTrustType()

/**
* Sets the trustType
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory
* Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory.
*
* @param string $val The trustType
*
Expand Down
Loading